hikerstk
a93d05d046
Fixed unnecessary creation of an irrlicht NULL device (one in file_manager,
...
one was created just to get the list of modes, before the actual device
is then created). This fixes a minor memory leak (the 2nd NULL device was not
freed), encapsulates all device creation into irr_driver (and not in
file_manager).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-12 11:28:35 +00:00
hikerstk
341b87fd3a
More cosmetic changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-05 04:15:19 +00:00
hikerstk
cc9fce2965
Fixed VS compilation problem ('free' is a macro) by renaming free to deallocate.
...
Updated VS 9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-23 00:07:24 +00:00
auria
978bb5466b
Fixed a couple more leaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:24:28 +00:00
auria
07afe4c87b
Fix quite a few leaks in the GUI engine, and introduce my quick leak-detection macros in dbeug mode (with Joerg's approval)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:08:04 +00:00
hikerstk
f85556d83a
Added thunderbird as start referee. Known bugs:
...
1) Ready, Set, Go is still shown.
2) Orientation of thunderbird is not correct in
all cases (esp. in battle mode).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 00:48:49 +00:00
hikerstk
13de49b5ee
1) Improved rubber ball handling, which should work better in tunnels
...
and inclines now.
2) Added --debug=flyable debug option to use print plenty of debug output
for rubber balls (needs to be compiled with -DDEBUG to work).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 23:20:23 +00:00
auria
bb6ae3f1fa
Correct the first-use string
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-20 21:02:28 +00:00
auria
753ef5c351
Fixed bug found by KroArtem where crashes occur if you specify an invalid gp name on the terminal
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-17 00:22:50 +00:00
coug36
b85ea2ce9a
Added message dialog to reload button on Addons screen. Added callback functionality to the OK dialog by adding a message dialog type enum and requiring it in the constructor. See #266
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 08:13:43 +00:00
hikerstk
d26bc30c9c
Added destructor for addons_manager that saves the installed
...
addons file (and therefore saves the information about cached
icons and prevents them from being re-downloaded next time
STK is started). Fixed #382 .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 22:04:07 +00:00
hikerstk
5edbdca4e7
Renamed cleanTuxKart into cleanSuperTuxKart.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 21:59:57 +00:00
hikerstk
2172f1c4df
Applied changes from statistics branch to trunk (r9413 - r9484).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 02:00:50 +00:00
hikerstk
209237a0c8
Bugfix - incorrect &.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 02:19:01 +00:00
hikerstk
b33c10a369
Fixed missing newline (thanks coug36).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 00:23:04 +00:00
hikerstk
2fe73a6deb
Removed commented out code (that doesn't work anymore).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 00:04:48 +00:00
auria
b669180ea9
Rename the messages about internet to mention add-ons and not only news
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 01:26:31 +00:00
hikerstk
83680f4637
Added --ai=a,b,... command line option to allow specification
...
of which AI karts to use.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-28 22:56:49 +00:00
hikerstk
a62e0f86d3
1) Added new --no-graphics option for fast batch testing.
...
Renamed --profile=+-n options to --profile-laps=n
and --profile-time=n.
2) Fixed averaging in case of --profile-time.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-27 12:11:11 +00:00
funto66
d26b406780
Starting the merge with the swatter branch. Now it should be automatic with karts, but doesn't work with items (yet).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 23:38:40 +00:00
funto66
a8919a8252
Added experimental and buggy hardware skinning support + removed a useless loop in the material manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-14 00:59:00 +00:00
funto66
1c2795f0c8
Added a debug option to skip the ready-set-go phase
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 21:22:50 +00:00
auria
2d824186fd
Fixed crash when starting into an arena from command-line
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-26 22:49:09 +00:00
auria
6c3bb3d12e
Fixed a few typos in main.cpp found by Crendgrim and KroArtem
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-26 14:41:09 +00:00
hikerstk
da8ec214ce
Added a very first version of a swatter (or inflatable hammer).
...
Details are in the wiki (http://supertuxkart.sourceforge.net/Items ).
Note that the model is _obviously_ a placeholder, and I used
the icon for the bomb (which isn't used in game atm) for the
swatter. I hope someone can provide a better model and icon.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-22 12:27:48 +00:00
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
hikerstk
d8afbe9750
Added missing newline to information message.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 04:52:42 +00:00
hikerstk
588870d9bd
Renamed network.?pp to network_http.?pp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 10:37:23 +00:00
hikerstk
29e29c7bb7
Renamed addons.?pp to addons_manager.?pp.
...
NOTE: make distclean is most likely necessary on linux!!!!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 06:00:58 +00:00
auria
9f27068fb7
Fixed kart paths randomness issue (and probably many others) : don't continuously call srand, srand is made to be called ONCE only, repeatedly calling srand gives very poor randomisation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 01:55:29 +00:00
hikerstk
5bbbea2d3c
Fixed compilation problems when not using addon manager.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 22:28:33 +00:00
hikerstk
8ecee44a35
Renamed getConfigFile to getDataFile (since getConfigFile
...
would actually not return a directory under getConfigDir).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:59:06 +00:00
hikerstk
f5662118c6
Made addon manager compiler with windows (though not working yet).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:07:14 +00:00
hikerstk
be7e8793b6
Fixed various compilation problems.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 05:54:04 +00:00
aeonphyxius
777292a74f
<stkgui>
...
<div x="5%" y="0" width="90%" height="98%" layout="vertical-row" >
<icon id="logo" align="center" proportion="8" width="100%" icon="gui/logo.png"/>
<buttonbar id="menu_toprow" proportion="3" width="75%" align="center">
<icon-button id="new" width="128" height="128" icon="gui/main_race.png"
I18N="Main menu button" text="Race"/>
<icon-button id="network" width="128" height="128" icon="gui/main_options.png"
I18N="Main menu button" text="DEBUG"/>
<icon-button id="challenges" width="128" height="128"
icon="gui/challenge.png"
I18N="Main menu button" text="Challenges"/>
<icon-button id="tutorial" width="128" height="128"
icon="gui/tutorial.png"
I18N="Main menu button" text="Tutorial"/>
</buttonbar>
<spacer width="10" proportion="1"/>
<buttonbar id="menu_bottomrow" proportion="3" width="85%" align="center">
<icon-button id="options" width="128" height="128" icon="gui/main_options.png"
I18N="Main menu button" text="Options"/>
<icon-button id="help" width="128" height="128" icon="gui/main_help.png"
I18N="Main menu button" text="Help"/>
<icon-button id="about" width="128" height="128" icon="gui/main_about.png"
I18N="Main menu button" text="About"/>
<icon-button id="quit" width="128" height="128" icon="gui/main_quit.png"
I18N="Main menu button" text="Quit"/>
</buttonbar>
<spacer width="10" proportion="1"/>
</div>
</stkgui>
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 01:42:08 +00:00
hikerstk
e9365d3a70
Fixed memory leak (title music was not freed).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:03:22 +00:00
hikerstk
6f28bb281c
Added visual debug support (--slipstream-debug).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:05:45 +00:00
auria
cb78ded2ed
Tidy up logging + other minor fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +00:00
hikerstk
87f849184d
Added support for --material-debug command line option, which prints
...
the texture the kart is on and its slowdown related parameters.
This should help debugging incorrect slowdowns.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 09:29:44 +00:00
xapantu
ead0f00638
Add addons search path for the tracks and reload the tracks list when an addons is installed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 14:01:17 +00:00
hikerstk
ecfd912d54
Fixed --stk-config parameters: the user specified config file was read too late
...
(after all karts were loaded and therefore initialised with the original config
file default parameters), see bug 3072762.
-This line, and those below, will be ignored--
M main.cpp
M config/stk_config.cpp
M config/stk_config.hpp
M items/item_manager.cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:09:53 +00:00
auria
2c98942c6c
Fixed empty GP list
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:36:12 +00:00
auria
db012e081f
More icons to the shiny loading screen ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 19:30:14 +00:00
auria
37901f7f39
Absolutely frivolous, but very cute, change : show icons of what is being loaded during the loading screen (sorry, couldn't help but waste time on this =)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 23:09:02 +00:00
hikerstk
286d12a5f2
Added number of mesh buffers to --kartsize-debug.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6025 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 05:48:26 +00:00
hikerstk
bb73c6f2f8
Fixed 'tabs' in file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6008 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-15 00:38:07 +00:00
hikerstk
8cb6503ab3
Fixed --kartsize-debug command line option.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6007 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-15 00:31:05 +00:00
auria
5c0fba91f0
Init GUI as early as possible and show a loading screen during the first seconds when STK is loading
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 18:17:17 +00:00
xapantu
96abb55c7d
Change the name of the addons screen (from options to addons)
...
Use a single pointer for addons, it is now initialized in main()
Working on the update screen, we can now see which addons can be updated
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 18:02:48 +00:00
hikerstk
47070a2f5a
Added --gp option to start a GP from the command line.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-25 22:35:53 +00:00
xapantu
ad6785a2b2
Start a class for the network; use sample functions is getting dirty.
...
Starting to implement the 'redirection' system (e.g. if we want to change the server
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 17:02:08 +00:00