mbjornstk
5940abf58b
Add string include so it compiles.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-16 20:52:08 +00:00
hikerstk
351f766ca4
Made KArtProperties member of STKConfig a pointer,
...
which removes the dependency of kart_properties.hpp
from stk_config.hpp, hopefully reducing the compile
time when kart_properties.hpp is changed. Had to
add many missing includes all over the place as a
result :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-16 05:59:51 +00:00
auria
72b409344e
Start work to have trigger items, and for now use them to play a sound when crossing the force fields in overworld. This is WIP.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-11 02:47:06 +00:00
auria
c45e9be77d
Make level of anisotropic configurable, plus default to x8 (previously, was using maximum available which could use a lot more video memory with no need since above x8 the improvement is minor). Also remove some debug code that is no more used.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-27 19:49:03 +00:00
auria
9bb6dc84dd
Minor overworld update, add switch to disable pixel shaders, fix custom settings to not be accessible in in-game menu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-25 20:22:37 +00:00
auria
b0270f69d6
Show in the options when many similar gamepads are connected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 19:47:59 +00:00
auria
9f727200c3
Add remember me checekbox on the initial screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-07 20:34:28 +00:00
auria
92eb0ebd2a
Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
hikerstk
2c33ed75ed
Merged the physics branch back to trunk. There should be no change at
...
this stage for users.
The physics branch added a few new stability options (which are disabled
by default), fixed bug and reproducing history files when using physics
replay, using --log=file command line option. See log on the physics
branch for full details.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-01 01:14:10 +00:00
auria
3e260658cc
Another compilation fix
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-08 02:02:57 +00:00
auria
5af9ce44b1
Add adjustable AI handicap in stk_config.xml
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-30 20:37:14 +00:00
auria
d04bc58413
Quite a bit of work on Doxygen docs to contain an overview of the STK source code base
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-25 17:46:14 +00:00
auria
b5669e151c
Fixed what happens when starting from terminal and the akrt 'random' is selected in the suer config
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9994 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 00:18:13 +00:00
hikerstk
80cf7c3468
Fixed compilation error on linux.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 11:19:30 +00:00
hikerstk
9767765cb9
Removed exception throwing from MusicInformation constructor, and
...
use a simple static function to create a MusicInformation object.
This simplifies handling of errors in calling functions, and
appears to have fixed a (minor) memory leak as well.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 11:15:53 +00:00
hikerstk
060c8059be
More line length changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-30 04:37:46 +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
red-skull
c4a24ad6b6
mark conflicts between configuration in blue for #39 (commit with Auria's blessing)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-29 02:21:50 +00:00
auria
2c677b46c0
Apply patch by nathanm32292394, thanks\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-28 15:25:30 +00:00
auria
5647c5dadc
Allow pausing game from gamepad
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-19 01:40:27 +00:00
funto66
1a0c45be42
Integrated the motion blur in game and adjusted the parameters
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 20:35:44 +00:00
funto66
1079391fd1
Started implementing post-processing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-20 23:50:25 +00:00
funto66
40cb784ecd
Oops!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-16 00:37:39 +00:00
funto66
a102680a13
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-16 00:36:58 +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
de401bc234
Added a first (unfinished) version of a graphical profiler
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 19:13:17 +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
hikerstk
8d2ac03837
Removed unused explosion-impulse property.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 13:21:06 +00:00
auria
a66accd21c
Put 'all' group first in tracks too
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 01:36:42 +00:00
auria
3dbbb47648
Show all tab first, select by default
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-01 01:26:52 +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
f373632486
Remember latest kart and track group
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 23:54:12 +00:00
auria
357af5a27d
More work on 'thou shalt not include irrlicht.h everywhere carelessly'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:29:52 +00:00
auria
5b073ca9d0
More work on 'thou shalt not include irrlicht.h everywhere carelessly', plus add debug checks to tinygettext in a desperate attempt to make STK Arthur_D-proof
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:41:52 +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
auria
7a50215426
Minimal code to support disabling FBOs. No GUI for that at this time.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-30 22:58:05 +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
auria
8bd30a0b87
Fix abundant warnings with GCC
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 17:47:02 +00:00
hikerstk
afad571929
Added convenience functions to check for log messages of various
...
types.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 04:25:58 +00:00
hikerstk
74f3baec20
Started to add bit-patterns to be used with verbosity setting so that
...
only certain debug messages can be enabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 12:47:47 +00:00
auria
6346188a64
Hat support is now believed to be there
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-13 01:47:06 +00:00
hikerstk
47ddddd00f
Only cosmetic changes so that the files would follow
...
our style guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-04 05:22:32 +00:00
hikerstk
d922f47515
Applied Stephen's patch to use the new stkaddons.net url for the news
...
server and also to allow redirections in curl.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-01 02:49:29 +00:00
hikerstk
434852bd91
Fixed (very) minor typo.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-01 01:59:32 +00:00
hikerstk
9e8a53631e
The internet status saved in the user config file can now have
...
three values: not-asked, allowed, not allowed. It defaults to
'not asked', which will enable us to show a popup message
the first time STK is started.
NOTE: you have to enable internet news in the UI settings now!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 05:10:45 +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
hikerstk
1815b6f223
Added files missing in previous commit (started adding
...
support for new addon list, but that's work-in-progress).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-23 12:07:16 +00:00
hikerstk
954b420446
Started to add support for downloading news from the addon server
...
at a specified interval only (e.g. only download every 2nd day).
Not fully working yet, might not work on linux/mac atm.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-23 03:57:49 +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
abaa9847a7
Clean up config file a little (group GFX options toghether) and make anti-aliasing available in the GFX slider
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 17:39:05 +00:00
auria
8b76268b8b
Make vsync configurable in config file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 15:39:52 +00:00
auria
d113bc4104
Added (disabled by default) support for anti-aliasing (edit your config file to get it)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-17 23:13:33 +00:00
auria
ffc53dabf6
Mostly fix focused track issue (see ticket 80)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-02 00:16:58 +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
hikerstk
f73a476814
Made the '0.7' camera style the default (again), and not
...
the (newly implement) classic camera style.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 15:21:35 +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
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
hikerstk
8ab10035a1
Updated VS10 project file, and started to add minimal race gui.
...
This was only committed early to update the VC10 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-08 12:59:32 +00:00
auria
f3663e4f90
Prevent guest account from being selected by default
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 01:56:18 +00:00
hikerstk
4d8b8e5dea
Renamed ptr_vector to PtrVector so that is follows
...
our naming convention, also changed contentsVector
to m_contents_vector, and removed unused add method
(which is using an iterator, which would not work
when using aligned_arrays on windows anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:20:53 +00:00
hikerstk
95a7e5c125
Added smoothing of normals for raycast wheels, but disabled for now (since
...
the normals of some tracks need to be fixed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 21:06:50 +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
auria
84fcc8f1b0
Prevent some strings from being flipped twice in fribidi
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 23:47:39 +00:00
mbjornstk
015443f582
Set props as per SVN-CONFIG for .[ch]pp, AKA SVN props clean up day. :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-21 01:54:38 +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
d62816117a
Fix r7411 typo here too.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 03:41:52 +00:00
auria
7ae7fb5dfd
Added GFX level slider in options + spell wheather correctly in options...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 03:10:04 +00:00
auria
4396695920
Add a new config option for wheather effects (notm accessible in GUI yet)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:52:22 +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
auria
41e1d57f0b
Fix player names so that they may contain accentuated characters
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:50:24 +00:00
auria
5bd9afdd7f
Big refactor : move a lot of strings and config files to use wide strings. For instance to be able to cope with foreign characters in player names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:29:36 +00:00
auria
6bf16b651e
Mark another forgotten string as translatable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 18:35:47 +00:00
auria
d725d5daea
Added a few missing copyiright statements. More to come most likely
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:56:57 +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
30c5ae81ab
Rolled back to old version(6772)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 02:12:48 +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
auria
4ac69fefa2
Use peach skin by default
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 16:42:55 +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
9dbe8120e2
Fixed compilation problems when compiling without -DDEBUG.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 10:02:47 +00:00
hikerstk
ec93b9889a
Added explit delete of m_all_players to avoid a (non-reproducible)
...
crash that might depend on the order in which objects are freed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 00:23:19 +00:00
hikerstk
148d09c4ba
Hopefully fixed gamepad related issues (esp. bug 3114440 - can't assign axis+0).
...
Simplified code somewhat.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:53:34 +00:00
hikerstk
e73ca4bbee
Moved all slipstream handling from kart into slipstream
...
(also started to add debug features).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 05:57:06 +00:00
auria
48478bbe15
Fixed a couple warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 15:49:00 +00:00
hikerstk
732f8e0c61
Fixed handling of [] in linux: if a key code is 0 (which is the case on
...
linux for [] and other keys) the unicode character is now used to
identify the key. This solves displaying the key code in the GUI, and
also to handle keys with identical key codes (0) properly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 21:55:50 +00:00
hikerstk
fc202a57f5
Some code cleanup: made input data structure to follow the m_
...
notation, removed unnecessary include.
Added new field to input that stores the character (i.e. the
visual character) of a key (but it's not used yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 20:59:49 +00:00
auria
1640542d36
Added GUI support for disabling and enablign gamepads
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 01:40:00 +00:00
auria
92e7be10d3
Started adding option to disable gamepads, this will allow shutting up gamepads that have soemthing constantly pressed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-08 01:26:31 +00:00
auria
3fc514d2f8
Remember user kart choice between sessions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 20:10:16 +00:00
hikerstk
1f7a882c85
File forgotten in previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-26 09:57:26 +00:00
hikerstk
0f0c74f391
Added new object to handle max-speed of karts. ATM it will slow down
...
depending on terrain, so zipper etc. handling is not yet finished but
will come soon.
Also zipper parameters can now be specified per kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:52:50 +00:00
auria
6b337dfe71
Made game mode choice persistent
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 01:53:50 +00:00
mbjornstk
33d535a991
Add include, otherwise compile fails due to missing assert definition.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-24 00:05:26 +00:00
auria
f5f48d5861
Fixed binding conflict detection being based on name; really verify their values, not only their names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-23 21:27:56 +00:00
auria
b957d7923a
Perform decent error checking when getting music file, previous code would silently return an empty file. Fixed the use of the 'smart' function used too early when loading title music
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:19:31 +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
984030f990
Added much debug code to help detect bugs early in kart selection screen and player management (see recent ticket; although these checks can be useful outside of this particular ticket anyway)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 18:34:04 +00:00
hikerstk
3db98d8ba7
Added a 'powerup collect' mode setting to stk config. This controls
...
what happens if a kart already has a powerup when it hits a bous box:
you can get one more item of the same kind, one new item, or only one
more item if a random item is the same one as the one you currently have
(the latter being the old STK mode). stk_config.xml now sets 'new'
(always get a new randomly chosen item) as mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 01:15:16 +00:00
hikerstk
30994d5a54
Removed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 03:36:43 +00:00
hikerstk
92d18a7a25
Definitions for GP points is now independent of the maximum number of karts.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 02:31:20 +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
42565ba603
Removed NoCoy from UserConfigParam because it can (and is) copied
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 15:22:22 +00:00
hikerstk
c13933a792
Added more NoCopy.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 11:39:19 +00:00
hikerstk
0e84cdf091
Modified behaviour of startup boost: instead of giving it to the first
...
two karts, it is now given for all karts starting withint a certain
amount of time. These times and boost value are specified in
stk-config.xml.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 00:19:06 +00:00
hikerstk
9de958aa17
Bugfix: tried to read incorrect keyword from config file, and as a result
...
GP start positions were reversed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-22 22:33:53 +00:00
hikerstk
534404d154
Added the penalty time (when starting too early) to stk_config.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 01:34:46 +00:00
hikerstk
e9837ca8fc
Added some startup speed boost, mainly for testing. The first two
...
karts to press 'accelerate' after 'go' will receive a boost.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 23:53:27 +00:00
hikerstk
396db5ae2b
Added intro sfx to be played before ready-set-go.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 23:10:47 +00:00
xapantu
5a653e26e9
Adding the addons menu, I am going to write a mail to the ML
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 18:40:55 +00:00
hikerstk
7c0ff2772a
Added option to disable kart animations in the user config file.
...
For now it also disables win/lose animations, but if it's worth
keeping non-animated karts (for performance on lower end graphics
card) this will be added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-09 23:33:06 +00:00
auria
45dfd6d415
Fixed default bindings to be more consistent between game bindings and menu bindings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 19:28:06 +00:00
auria
5cddb8ffb6
Added support for selecting GUI skin through user interface; aded skins by Dakal as a proof it works
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 18:10:55 +00:00
auria
c5b50e5a5c
Major update to input handling code to support our #1 feature request : menu navigation should not be tied to accelerate/brake/steer, there should be keys especially for menu navigation. Note that the code is not yet complete, namely you cannot configure the menu keys
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 18:56:55 +00:00
auria
1b3ea64041
Initial incarnation of the new input configuration menu. More to come
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 19:39:09 +00:00
auria
d114f2844b
Extracted default group name into constants.hpp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 23:40:50 +00:00
hikerstk
10ea91e758
Made bubble gum disappear (after a certain number of hits, set in
...
stk_config.xml).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-27 22:43:44 +00:00
hikerstk
200aa4ca36
Added new command line flag to enable debug debug camera (showing the view from high above
...
the kart down).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:28:11 +00:00
auria
8a8408bb23
Added back support for displaying messages in the GUI (for instance when an old config file is found; though this won't actually happen for the 0.6->0.7 transition since it went from LISP to XML)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 01:21:53 +00:00
auria
2810193fb2
Lots of small changes to make the output Doxygen file much more useful
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:36:13 +00:00
hikerstk
468507af8b
Added debugging features for check structures (use --check-debug), which
...
prints when a checkline is triggered or activated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-19 12:37:45 +00:00
auria
765ed3aaa3
Removed large bits of old unused code that was jsut confusing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 01:32:00 +00:00
auria
f9cb8b125d
Initial work towards selecting the most used profile for game master, and guest profile for others (by default). not really there yet so expect weird stuff to happen if you don't play with the spinner and leave the defaults.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 02:08:11 +00:00
auria
2b68412239
Fixed in config code : the code was mixed up by all players described using a <Player ...> node in XML... because often it did getNode(Player) which always returned the first player. People please delete your config file (or the Players section in it) to amke sure your data is OK
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 01:35:11 +00:00
hikerstk
939caf1981
1) Added -v X verbosity command line option, so that debug output is only printed
...
if an appropriat ehigh verbosity is selected. For now most debug statements
that are always printed (i.e. independent of user actions) is only printed
if verbosity is >=5, debug statement which are a reaction of a user action
with verbosity >=4.
2) track- and gamepad-debug flags are not saved in config files anymore, made
disabled reverse_look_threshold as default.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 23:52:41 +00:00
auria
a73cf90dca
Fixed title music
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 02:06:01 +00:00
auria
84f4d6d3f3
Save config file when relevant. Forbid editing or removing the guest account through the GUI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 01:39:01 +00:00
auria
5e45b7e1b5
Started adding guest account, so that multiplayer gameplay is not hindered by having to make a player account for everyone
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 01:21:49 +00:00
hikerstk
667b208aab
Converted all kart.xml files from lisp to .xml files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 04:23:32 +00:00
hikerstk
b6637277ab
Started re-design of stk-config file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 23:00:34 +00:00
hikerstk
d50bd9dbe6
Merged the switch_coordinate_system branch with trunk. This means
...
that now all coordinate systems are y up, z forwards - including
the file format. For now only one track has been ported, the
rest will follow shortly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 02:16:11 +00:00
auria
2efb0ceb10
Added the possibility to use trilinear filtering. Trilinear and anisotropic filtering can now be configured (disbaled) in the user config (not yet in the GUI)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 22:56:32 +00:00
hikerstk
d7c44cc93d
Physics debug mode now cycles through off, show karts and collision shape,
...
to show only collission shape and then back to off. The command line
option --bullet-debug was removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 07:03:12 +00:00
auria
b868909efe
Some cleanups with ActivePlayer. Moved it to StateManager, because that's where active players are created and stored - this will be less confusing than hiding it inside a configuration class. More work is still to be done if we want to make this code really clean, though.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 21:28:32 +00:00
hikerstk
895324adbb
Fixed gcc compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 00:08:10 +00:00
auria
11b0f5b226
Removed unnecessary includes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:49:05 +00:00
hikerstk
da3de6d131
Big code refactoring: instead of having auto_kart, player_kart, the karts
...
now use a 'controller' object which is responsible for its steering, e.g.
a default_ai_controller, player_controller etc. This makes it easier to
switch a player kart to use a end-of-race computer controller to drive
the kart once the race is finished (though that's not implemented yet).
I expect some bugs with restarting race, and perhaps end of race
behaviour at this stage.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 00:54:28 +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
hikerstk
47a1a1dfa2
Removed m_local_player_karts vector from world.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 12:47:18 +00:00
hikerstk
8be9c3397a
Added first version of switch collectable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-04 22:53:24 +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
hikerstk
52ce4576e8
Cleanly removed unused variable (which caused stk not to start previously).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-20 09:33:36 +00:00
hikerstk
f1c45b0609
Changed name of the user config files from supertuxkart.cfg to
...
config.xml.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-19 22:15:35 +00:00
hikerstk
037069a257
Improved handling of directory for user configuration files to work even if $HOME/.config
...
does not exist, and moved handling of files and directories from user_config to file_manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 01:46:03 +00:00
hikerstk
cf0e69b48f
Removed #include of kart and player_kart from world.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 23:12:29 +00:00
hikerstk
d39b76f433
Applied Graham's 'reverse camera' patch, which changes to reverse camera when driving
...
backwards faster than a certain speed (defined in user config).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 01:13:53 +00:00
auria
df422703ac
Much cleanup and documentation in input code, which was done on the way of fixing a bug that dealt with multiple and/or custom keyboard configs and menu navigation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 19:12:44 +00:00
auria
cb91674631
Started adding support for multiple keyboard players (does not work at kart selection screen atm)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 15:09:34 +00:00
auria
bc9f8ebf6c
Improved assignment of mouse to which player (a few known glitches when game master uses a gamepad, but getting better overall)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4193 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 01:04:05 +00:00
hikerstk
0a84da2726
Applied Hendrik's patch:
...
Adding command line option --renderer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-15 04:48:14 +00:00
auria
c3f0f7ab82
Massive conversion from std::string to stringw for all strings that need to be translated. Currently, translation is broken (strings i try to transalte appear as junk) -- since irrlicht GUI widgets all use wchar_t, using std::string in UTF-8 just didn't make it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 18:21:59 +00:00
auria
d9707351ea
First steps towards letting two different players choose their own kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 18:41:20 +00:00
hikerstk
4ce732574a
1) Added support for new --trackdir command line parameter (which specifies a directory with more
...
tracks).
2) Challenges are now saved in its own file (not in user config file anymore).
3) The TRACKNAME.{irrtrack,scene,graph,quads} files are now called {track,scene,graph,quads}.xml
(so not containing the name of the track anymore). Beach and lighthouse tracks have been
updated.
4) Track exporter uses the new filenames above.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-25 11:58:25 +00:00
cosmosninja
15902af969
Added XML support for the stk_config.data file and challenges; removed the LISP support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 19:44:31 +00:00
hikerstk
c1d69986b0
1) Profile mode now works, and is now completely implemented
...
in ProfileWorld only (no more m_profile in UserConfig)
2) Added some more virtual functions to the modes to simply
code a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 15:42:58 +00:00
davemk
344f203d18
Add configurable parameter for zipper max speed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 14:28:07 +00:00
rforder
5b62ac9a59
Fixed ActivePlayer::getKart to actually return the correct kart.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-14 20:16:34 +00:00
rforder
47cfe64301
More cleanup. Replaced StateManager::addActivePlayer(PlayerProfile *) with StateManager::createActivePlayer(PlayerProfile *, InputDevice *) . This will ensure that in the future no active players will accidentally be added without an associated device and also removes some redundant code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-14 17:36:47 +00:00
rforder
aee48faca8
Updated input configuration GUI to work correctly with recent changes to the input system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 18:12:35 +00:00
rforder
3ef3c67213
Fix problem with DeviceConfig::getBindingAsString(), input config gui works again.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 17:05:41 +00:00
rforder
cf8e767f5c
more input code clean-up
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 04:12:04 +00:00
rforder
1d681112af
Fixed sticky joystick bug that cropped up in the last commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-07 00:29:43 +00:00
rforder
f12463b4c9
Fixed temporarily broken keyboard support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 20:13:22 +00:00
rforder
f3e3206b26
More cleanup for the input system. Removed a lot of functions from InputDevice that won't be used there anymore.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 19:05:26 +00:00
rforder
9ba0bd67d2
Added new DeviceConfig class (/config/device_config.cpp) for review. The DeviceConfig class will be responsibile for handling Gamepad and Keyboard configurations. It is now possible to share a single configuration between identical devices. Begun integration, still needs *a lot* of cleanup, but basically works.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 18:00:18 +00:00
auria
70f74f7142
fixed crashes with command line arguments
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 17:56:59 +00:00
auria
fbc3119dbc
Continued cleaning up references to Player & ActivePlayer and docs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 15:32:54 +00:00
auria
2c0a322b61
Started cleaning up references to Player to use ActivePlayer where relevant
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 15:21:16 +00:00
auria
dd95352fe2
Added file forgotten in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-12 00:34:40 +00:00
auria
a44b531525
Replaced usage of some confusing IDs with more explicit pointers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-12 00:18:37 +00:00
auria
ab4cdcae00
A player can now remove himself by pressing rescue at the kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 19:24:42 +00:00
auria
f987fff348
more work on multiplayer kart selection screen & multioplayer input
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-11 16:50:57 +00:00
auria
18dc556fe6
Added functions to clean-up input after a game (though they're not called yet)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-04 20:09:49 +00:00
auria
a7abbf4c82
More work towards multiplayer (player 1 is now assigned an input device when pressing 'new game'). Cleanup when restarting game not implemented
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-04 20:00:18 +00:00
auria
1c256c7805
Refactored kart selection screen code to work towards multiplayer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-04 17:24:09 +00:00
auria
09ce7366c8
Added saving challenges to config file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-23 01:44:49 +00:00
auria
d2cd16910a
Fixed bug with config file when switching resolution
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-23 00:46:13 +00:00
mbjornstk
516fb47751
Some clean up documentation strings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 22:34:42 +00:00
hikerstk
2dd3153a87
Fixed some compiler warnings (turned track-debug back into an int since
...
it will be used in future to switch on/off different options at runtime).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 02:00:36 +00:00
auria
bd48fc0b8e
protection against bogus config files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 01:45:56 +00:00
auria
30b2f8472e
Fixed old LISP config file crashing STK.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 00:31:46 +00:00
auria
36bfc5e7fe
The player list can now be extended in Options, and is saved to file and loaded too
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 18:55:12 +00:00
auria
2e22e1c58a
improved XML generation for user config (noew contains all comments)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 17:13:54 +00:00
auria
b15cd04c5f
Further improved XML generation for user config + prepared infrastructure for saving challenges/players (groups)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 16:15:27 +00:00
auria
6f2f918590
improved XML generation for user config
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 15:44:02 +00:00
auria
7624194dd5
saving/loading to/from user config file should now work (in XML)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 01:44:11 +00:00
auria
2f6b05bace
started converting user config to XML. Implementation is not 100% complete yet; saving works, not lodading. Implementation is not the prettiest but designed for minimal maintenance.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 01:10:43 +00:00
hikerstk
ee90eca26e
1) Created new config subdir and moved the last remaining files into
...
appropriate subdirs (only main.cpp and main_loop.?pp are now directly
in the src directory).
2) Cleaned up all #include directives, so that all files now use
the right subdirectories.
3) Some minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 10:00:43 +00:00