985 Commits

Author SHA1 Message Date
auria
fad4cb4c01 Updated menu singleton code, there was a bug in its logic (that had no consequence that i know but better fix it anyway) + some code style cleanup along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 18:18:19 +00:00
auria
5239b62e0d Notify player when he unlocked a feature by completing a GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 16:44:09 +00:00
auria
4340cccd9f Added support for displaying the same fonts in different sizes. Use smaller font for in-game messages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 02:03:39 +00:00
auria
2827533e70 Don't allow selecting ribbon grid filler items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:54:07 +00:00
auria
0efd96d8da Fixed '?' icons still appearing at times in ribbons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:36:38 +00:00
auria
26fc6bb627 Fixed screen cleanup method not being called under some circumstances
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 23:38:27 +00:00
auria
6b65eb0217 Applied other patch by Hilton Medeiros
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 19:45:16 +00:00
auria
bdd985c88a Can now unlock game modes too. Centralized a couple mode-related stuff to make code cleaner with new changes. Made challenges more robust, fixes a couple crashes that could happen because errors went undetected
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:28:23 +00:00
auria
6b95ca8ec3 Removed debug print that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:53:12 +00:00
auria
0fffb14b88 Fixed focus loss issue when using tabs in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:50:45 +00:00
auria
c17f4f0e07 forbid changing kart group after a player confirmed his selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:48:31 +00:00
auria
90b95f6944 Fixed what happens when pressing escape on feature unlocked screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 23:40:20 +00:00
auria
d27e3d90c5 Show 'feature unlocked' screen when unlocking a feature. It's not yet complete : it doesn't really show what you unlocked, and you can't leave the screen properly (game crashes or hangs)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 20:17:31 +00:00
auria
5a32323c61 Modified 'setup new race' to skip kart selection (what use is this feature otherwise...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 20:10:43 +00:00
auria
c151c124cb Added utility methods to set badges in GUI; used them to fix missing green badge when selecting kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:21:53 +00:00
auria
10834134d4 Started adding more interesting stuff to end-of-3-strikes battle dialog (more polish to come)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 02:52:07 +00:00
auria
93c12ead08 Fixed const correctness issue with class ModalDialog + fixed behaviour when pressing ESC in race over dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 22:08:41 +00:00
auria
f0b59c19b7 Added a 'loading' screen, so that the game does not seem unresponsive when loading a big track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 01:00:21 +00:00
auria
9880ed1537 Disable the AI karts amount widget when selection 3 Strikes Battle, because we have no AI for this mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 01:07:21 +00:00
auria
ea4cd3263a Removed a couple debug prints that w ere not useful anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 23:32:37 +00:00
auria
b167931b9c Minor code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 16:12:50 +00:00
auria
219cc77c1e Handle better locked GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:53:16 +00:00
auria
6d4078d3c7 Fixed absolute vs relative paths for images, fixing lots of warnings printed on the terminal
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:44:07 +00:00
auria
410226503d Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 23:24:07 +00:00
auria
32d631ff00 use cycling images for GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 22:20:58 +00:00
auria
77c29ca276 Max number of rows in a ribbon grid is no more hardcoded, can now be specified ion XML.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 17:45:10 +00:00
auria
10116f628b Give some eye candy to the GP list in the tracks selection screen + clean code along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 02:21:07 +00:00
auria
787a2839dd Fixed several FIXMEs in GUI code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 20:53:45 +00:00
auria
fc45605bf4 Improved comments a bit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 20:16:16 +00:00
auria
6c9239dc28 Fixed typos in GUI engine doc
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 19:59:45 +00:00
hikerstk
328373289a 1) Moved access to world object from race_manager to static functions in
world.
2) Removed more dujplicated/unnecessary functions from race_manager
   (getPlayerKart, getTrack).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 07:11:52 +00:00
auria
5d2d0973f2 Added back support for detecting bogus resolutions when switching, and revert to the previous working one when user can't click confirmation button
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 00:45:24 +00:00
auria
4abd5310f7 Improved handling of empty 'squares' in scrolling ribbon grids
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 22:03:16 +00:00
auria
cd787f9085 Kart and track groups tabs are now dynamically determined at runtime instead of being hardcoded
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-31 18:52:24 +00:00
auria
fd5730a0da Better cursor show/hide management (esp. cursor will show in in-game dialogs)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-30 19:53:06 +00:00
auria
6705f0899a Fixed a bug with fallback fonts and invisible characters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-30 19:32:19 +00:00
hikerstk
4d0d99678f Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4559 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-30 04:21:28 +00:00
auria
b256e43ab2 Added features to manually control size of each texture in a font (this is useful for our 'composite font', where chinese characters are larger than latin ones)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-29 00:19:17 +00:00
hikerstk
da7fc76a49 Removed compiler warnings (and also saved one multiplication - whow).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4544 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-27 12:11:24 +00:00
auria
3920dfe101 Improved black border effect for title font
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 16:48:13 +00:00
auria
f2e2a37407 Added fallback mechanism to font, as well as some graphical effect, so that the orange title font can now be used with any language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 16:26:31 +00:00
auria
60425bf01d Added preliminary support for greek and russian. Chinese is also supported if the SungTil files are present (I'm not committing them yet since they're quite large, so we need to decide first if we want to ship them by default or separately)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 01:30:33 +00:00
auria
05f21d45ee Moved fonts to the (duh) /fonts directory in /data
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-24 00:26:41 +00:00
auria
11d999f8c5 Implemented lazy font loading, so that if we add chinese characters they are not loaded unless needed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-23 19:55:19 +00:00
auria
f3fa19bfa8 Added new font, thanks to Arthur_D
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 17:00:41 +00:00
hikerstk
a37bb29ff0 Removed compiler warnings (code is correct, but people might get
confused about && abd || precedence).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 01:13:58 +00:00
auria
2236237e02 improvements to layout engine & improvements to help menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4488 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-19 02:43:57 +00:00
auria
3f28d198f4 Fixed the 'property overloading' in GUI XML files that caused a couple internal strings to be exported to pot files, confusing translators
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-16 00:02:27 +00:00
auria
258976d284 Always use irrDriver::getTexture and never IVideoDriver::getTexture, then it's easier to debug bogus calls. Order files alphabetically in Xcode (/me needs to take first grade again -.-)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 18:33:33 +00:00
auria
a567f5a498 Removed no more needed print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 18:19:55 +00:00