hikerstk
cdb2a7dab6
Removed support for explicit setting of verbosity flag using -v
...
(which clashed with -v usage for version number). Use
--debug={memory,addons,gui,misc,all}.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 14:06:06 +00:00
auria
6e4cee9341
Includes cleanup; especially avoid including in headers, creating implicit dependencies and horrible chains of recursive includes. Avoid iostream when possible because this header is not small
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 19:52:24 +00:00
auria
1671a445b1
Remove leftover check for ADDONS_MANAGER
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 01:06:31 +00:00
auria
d501753ef2
Clean up irrlicht includes; avoiding including the huge irrlicht.h when we only need one specific class, especially in header files; use forwards when possible
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:03:28 +00:00
hikerstk
c52fa8ceff
1) Fixed race condition: the network thread could access network_http
...
before it is assigned.
2) The network thread is now signalled to quit earlier, giving it more
time to quit cleanly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 06:29:12 +00:00
auria
1ad86ccf55
Allow escaping from gamepad visualisation screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 00:03:12 +00:00
hikerstk
498a0a104e
1) Moved news message handling into a separate object.
...
2) Added prioritised request list to network manager.
3) Fixed ticket 217 (crash at shutdown), which happens if
the background thread downloading the icons is still
active when STK is quit (and then accessing managers
that have been deleted).
4) Handled partial downloads correctly: files are now
downloaded with ".part" appended to the filename,
and only upon a successful download renamed to
the original name.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-12 23:51:00 +00:00
hikerstk
9c127322f2
Added assert to material_manager to catch if unintentionally
...
temporary materials are made permanent (while this is not
a memory leak, the code should use the right functions to
indicate which materials will stay around). Fixed some
materials that became permanently even though the code
called 'pushTempMaterial' (but the materials stayed
permanent). Moved icons_frame into commong race gui
base class, and made race gui textures permanent (so
that they don't cause any false texture-leaked messasges,
and also to avoid loading them again at each race).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-04 00:15:46 +00:00
hikerstk
6f765cb95f
Added --debug=all as a shortcut if all debug output should be enabled.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-29 03:42:47 +00:00
hikerstk
84badc0eeb
Added --debug={memory,gui,addons,misc} command line
...
option (so far only memory debug is actually supported
by debug code).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 10:56:13 +00:00
hikerstk
af2476c6e0
The verbosity was set too late, so many messages where not shown.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 00:11:16 +00:00
hikerstk
ea64332130
Accept both American and Britain spelling for -gamepad-visuali{s,z}ation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-12 01:23:27 +00:00
auria
6c71c30b8c
Undo test modification I accidentally committed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-06 23:45:34 +00:00
auria
0c30bfbf53
Tweak RTL : should only happen when a stirng is actually translated, if no translation is provided and the string stays in English keep it LTR
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-06 23:43:17 +00:00
hikerstk
5a43a98286
Fixed incorrect function for setting environment variable in windows, which
...
resulted in the saved language not being used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-03 23:20:17 +00:00
auria
05a2ee825c
Print irrlicht version on terminal as per suggestion by Joerg (but I realize this isn't really needed since irrlicht logs it anyway)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 22:27:04 +00:00
hikerstk
a074268876
Fixed hang when STK ends the first time internet news is enabled.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 21:13:40 +00:00
auria
4a8c7c05e0
Change popup message now that we have yes/no
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 16:25:08 +00:00
auria
b056d06ea9
ops, forgot to close the dialog once the user gave their answer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 16:20:04 +00:00
auria
da46fe21cb
Add a IConfirmDialogListener to the 'can I access iternet' popup + while we're at it, modify the Dialog class a bit to simplify memory management in some cases
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 16:17:51 +00:00
hikerstk
64411d616f
Fixed typo in previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 10:25:05 +00:00
hikerstk
542aabf0a5
Added a popup window to inform the user about STK accessing a server
...
on the internet.
Auria: I couldn't easily find (or remember) the class to use which allows the
user to select yes/no - could you fix that?
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 10:15:09 +00:00
auria
b548b1bc93
Rename VERSIOn to STKVERSION
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8132 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 23:41:25 +00:00
auria
1c270cde1f
Add VERSION to constants.hpp, please remove that define from Visual Studio file and autotools
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-30 23:31:29 +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
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
hikerstk
28aaaf4f5b
Added --ftl-debug command line option, to print some debug information for
...
FTL (esp. GP) races.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-21 06:15:39 +00:00
auria
94015c38cd
Fixed kart/track confusion in command-line output
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7800 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-03 21:56:30 +00:00
auria
3a3619750a
Artist debug features are now enabled even in release builds, but disabled in config by default
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-02 00:04:13 +00:00
auria
230de5728d
Forbid selecting locked kart when starting from command-line
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-01 19:23:23 +00:00
mbjornstk
b8a0ab32b4
Apply camera changes provided by Jesse Smith to have v0.6 camera option.
...
Feel free to fix any C++ style issues, this saves you fighting with patch or
can be undone quickly by reverting this single commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 05:11:26 +00:00
auria
83049114db
Change way language from config is set in the environment, should hopefully work under Linux now
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 01:21:50 +00:00
mbjornstk
42cd443a54
Add --rendering-debug to allow testing material settings or anisotrophy speed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-14 02:07:04 +00:00
auria
896e2664fc
Fixed track names not being translated on live language switch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:59:19 +00:00
auria
a580f413e3
Fix kart names not being translated on live language switch + correct more RTL issues I found on the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:49:45 +00:00
hikerstk
4ab6331ff4
Update to bullet-2.77.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:04:13 +00:00
mbjornstk
0cb39ad40c
Fix typo in string and shorten other to fit console.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 03:13:57 +00:00
auria
66e5d396bf
Make 'guest' translatable again, fixed chicken-and-egg issue with initialisation order
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 16:56:21 +00:00
auria
24d0d549ba
Improve error handling in XML classes (namely, atoi must die) since I was bitten several times now by insufficient error handling. Also set up base architecture to support the new gfx mode 'my kart is animated but not Ai karts', though it doesn't work atm for the simple reason that at the time the model node is created we do not yet know if the kart is player or AI...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 00:06:59 +00:00
auria
28db1165b1
Remember language selection in user config + fix a few language menu glitches
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 21:49:15 +00:00
mbjornstk
70be2dc965
Add --weather=0 (or 1) parameter to set weather effects.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 04:05:46 +00:00
hikerstk
eeafd79995
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:06:19 +00:00
auria
a9d7500fe2
Add gamepad visualisation command-line option, maybe can help debug those issues with gamepads stuck...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 16:49:34 +00:00
hikerstk
110af2b7ae
Removed/replaced getKartFile/Dir functions in file_manager, which
...
should solve issues with addon karts not being found or textures
not correctly loaded.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:47:49 +00:00
auria
fa8b2a8ed6
Improve documentation of race manager; this is one huge class so having good doxygen docs is important. Also clarify difference between setNumPlayers and setNumLocalPlayers; replace many calls to setNumPlayers with calls to setNumLocalPlayers, since setNumPlayers is called by the network manager already and as such calls to setNumPlayers had no effect (the same method was called again later) and were just confusing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 20:17:44 +00:00
auria
fdbafeb5ff
More FIXME cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:06:45 +00:00
hikerstk
d11fed1471
Fixed incorrect/hard coded paths.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:28:18 +00:00
mbjornstk
810dbc3edc
Add --animations=[01] and --gfx=[01] to control effects from command line.
...
Plus clean a bunch of tabs and trailing whitespace.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 05:04:59 +00:00
hikerstk
ce986d623d
Many style changes and code improvements to addons management.
...
The addons icon is now greyed out in case of an error (and till
the list of addons is downloaded, though usually that is done by
the time the main gui is shown). Moved synchronisations/threading
from addons_manager to network_http. Added 'Synchron' template
to hide usage of mutex to provide synchronised accesses to a variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 22:48:44 +00:00
aeonphyxius
86ba25bc59
Tutorial incremental commit. Add main loading and improving xml loading
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 13:38:38 +00:00