Commit Graph

4124 Commits

Author SHA1 Message Date
hikerstk
2d2b3abad8 If the STK version is 'SVN', return '99.99.999' as a version number.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8130 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 23:29:35 +00:00
hikerstk
b588c65b0a Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 21:53:39 +00:00
hikerstk
dd333becc1 Added support for conditional news messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 21:48:42 +00:00
auria
66cb1f729b Allow translating wide stirngs too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8121 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 16:28:50 +00:00
auria
7cf08bf3e6 Update the screen loading code to support loading unicode XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 15:50:25 +00:00
auria
3be02f1bc4 Fixed bug in previous commit, oops
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 13:44:53 +00:00
auria
1ba9c8f6e7 Fix label scrolling
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 13:35:10 +00:00
hikerstk
008109a254 More fixed to split screen layout (as a result of trying to make
all screens as consistent as possible the time in single player
mode is now on the top left). Comments welcome!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 10:57:40 +00:00
hikerstk
426cf060b2 Commented out disabling of news messages after they have been
displayed a certain number of times (using #ifdef
NEWS_MESSAGE_REMOVAL, so it can be enabled easily again).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 10:56:08 +00:00
hikerstk
ae5272e6ca Disables scaled fonts in race gui since they don't look too good.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8109 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 23:14:50 +00:00
hikerstk
d00f587d7a Added disableShadow method to ScalableFont, and
added black shadow/outline to text in the race gui.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 22:59:32 +00:00
hikerstk
ca651b37b3 Removed all #ifdef VERSION, since VERSION is necessary to set the user-agent
for the news server, so we detect any problems with VERSION at compile time.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 22:25:20 +00:00
auria
952a8ed312 Fix bug in insertion sort algorithm
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 22:03:02 +00:00
auria
2e3a953004 Fixed crash when freeing LOD nodes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 21:50:13 +00:00
hikerstk
cfcadf2015 Moved energy bar to the left side for the players shown
on the left side in split screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 21:48:09 +00:00
hikerstk
fa4568b379 Improved split screen mode for minimap (work in progress).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 11:19:12 +00:00
hikerstk
5eee0884e2 Added more debug prints (if verbosity is set).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-28 23:58:50 +00:00
hikerstk
86bcc57f41 Fixed windows compilation (where pthread_t is a struct, not a integer like type).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-28 23:34:36 +00:00
hikerstk
ec8e808c8c Removed debug print, fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-28 23:32:40 +00:00
hikerstk
15ad480827 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-28 23:18:51 +00:00
hikerstk
6bd2d0b3b5 Fixed crash at end if threads could not be created. Added appropriate
warning, and made more prints depend on verbosity level.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-28 23:06:21 +00:00
hikerstk
51c134c2af More work on the minimal race gui: rank is displayed in top left,
time in top right, lap in lower right. Font is larger.
Note that split-screen settings have not been tuned yet!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-28 22:40:18 +00:00
auria
aba8b2df34 Allow labels to resize up on setText
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8093 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 23:07:23 +00:00
hikerstk
51850f3ed6 Disabled 'race gui style' button while in race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8091 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 21:29:28 +00:00
hikerstk
c91285765e Added 'minimal race gui' button.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 21:15:51 +00:00
hikerstk
b2ab95ff16 Made the 'enable internet' button work.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 21:02:00 +00:00
hikerstk
6867018d52 Enabled news (but not addons) in normal debug mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 12:10:07 +00:00
auria
02ddcc961b Blindly trying to add hat support (I don't have hats so can't test)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 02:03:46 +00:00
auria
581205944a Fixed navigation issues with lists (why did it ever work??)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8084 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 01:47:21 +00:00
auria
32e05b9da5 Remove another dbeugging print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8083 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 01:32:28 +00:00
auria
76374f0198 Shut up annoying warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 01:30:38 +00:00
auria
f3f58cc297 Fix challenges screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8081 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 01:10:06 +00:00
auria
1985d54536 Attempt to fix tab traversal in irrlicht 1.8
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 00:53:28 +00:00
auria
7377d6739e Add uniform back buttons everywhere in a subtle location
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 23:51:49 +00:00
auria
7bc9cfb3ff Fixed eliminating karts in three strikes mode looking ugly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 19:36:29 +00:00
auria
41b9f6b8f7 After feedback on IRC, make lightning occur les often
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 19:22:44 +00:00
auria
83969acd6d Properly handle bananas in 3 strikes mode (with swappers this makes it a bit spicier ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 18:44:21 +00:00
auria
1d60d24d48 Fixed silly copy and paste error in my new code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 17:35:42 +00:00
auria
7ce7daa5ac Added support for external masks; this allows using JPEG even on images that need transparency. Reduced palmacacia from 800 KB to 300 KB using this feature
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 23:52:30 +00:00
auria
9306c5c7e6 Fixed scrolling test under irrlicht 1.8
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8062 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 19:31:03 +00:00
auria
b65915a919 Raise ignore level in temp logger; irrlicht 1.8 is a little more chatty than 1.7 so shut it up
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 19:25:31 +00:00
auria
de743669f8 Fix wide-string player names (only if irrlicht 1.8 is used)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 15:52:59 +00:00
auria
c4660216fd Fixed text clipping issues (only if using irrlicht 1.8)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8059 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 15:37:52 +00:00
hikerstk
30d39e30f0 Read in the number of times a message was displayed from the user config file,
and discared messages that have been displayed often enough.
Note that this is mostly a first test, we might want to only increase the
display counter once each time STK is started or so.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8058 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 11:23:17 +00:00
hikerstk
ff152bfeed Save number of times a message is displayed to the config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 03:20:21 +00:00
auria
4af41ee77a Fixed label scrolling code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 22:51:17 +00:00
hikerstk
ebda46f19a Removed time between consecutive scrolled test displays.
Added count of how often a message is being (fully) displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 21:28:50 +00:00
hikerstk
f75f306737 Added horizontally scrolling to the news message, and support for multiple
news messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 21:10:36 +00:00
hikerstk
8f34aea2b4 Added support for horizontally scrolling text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 21:06:11 +00:00
auria
a18de8941f Updates to Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 02:02:25 +00:00