Commit Graph

744 Commits

Author SHA1 Message Date
hiker
50acbea315 Fix crash in case of invalid kart types (e.g. 'default', which the
exporter actually writes if 'default' is selected).
2015-04-16 07:56:41 +10:00
hiker
8d07d26c25 Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
Deve
5828dddde8 Allow to disable popup messages about too old drivers in config.xml 2015-03-25 18:53:09 +01:00
hiker
98671b620d Added some support to enable a legacy (2.1) opengl context. Many
things don't work with that atm (rtt, some transparent textures).
Needs to be manually set in the user's config file.
2015-03-11 16:45:20 +11:00
Flakebi
2aef246897 Fix #1824 - Hardware stats sends duplicate data 2015-03-08 01:04:30 +01:00
Vincent Lejeune
13a2f9f597 First part of #1988 fix 2015-02-22 20:31:14 +01:00
hiker
359582d0e6 Added support for "Easter Bunny Ears" easter egg. 2015-02-21 11:19:15 +11:00
Marianne Gagnon
e6aea6e0b6 Improve tools and usage of XML encoding, fixes #1982 2015-02-14 18:30:23 -05:00
hiker
e17add7bc8 Allow users to enable high res textures, even if their default
value stats that they should be disabled.
2015-01-22 11:38:15 +11:00
Vincent Lejeune
b5243089a5 Enable dynamic lights by default 2015-01-20 03:20:33 +01:00
Vincent Lejeune
019ec344fe Allow to reduce shadow resolution 2015-01-11 00:45:38 +01:00
hiker
526b38fc2a Added some kind of unit testing for version numbers in graphics
restrictions. It's only doing asserts for the tests :)  Use
--unit-testing command line switch.
2015-01-08 10:05:19 +11:00
hiker
1eb51db5ea Added command line option for keyboard debugging. 2015-01-08 09:05:04 +11:00
Vincent Lejeune
3451d4e9a0 Add a ESM/PCF switch 2015-01-01 20:06:34 +01:00
Vincent Lejeune
f644543bc1 Move all gfx related config to a separate file 2014-12-27 03:14:16 +01:00
hiker
0e569d1c7f Give the first player tux as icon (instead of sara). Fixes #1771 for now. 2014-12-15 16:49:12 +11:00
Deve
7114657c02 Merge pull request #1781 from thamlett/master
Fix some typos
2014-12-13 18:07:18 +01:00
hiker
c0c4357331 Switch from IP address to addons.supertuxkart.net (including new
certificate).
2014-12-10 23:53:47 +11:00
hiker
f0ddaa50a5 Removed option to disable CURLOPT_SSL_VERIFYPEER, since it's not needed
anymore.
2014-12-10 12:55:32 +11:00
hiker
b592e5224b Updated the URL to work with new server configuration. 2014-12-10 11:35:43 +11:00
hiker
83f49ec319 Merge remote-tracking branch 'origin/master' into new_server
Conflicts:
	src/online/http_request.cpp
2014-12-10 11:25:16 +11:00
Timothy Hamlett
e473b656d2 Fix some typos 2014-12-07 16:49:17 -06:00
hiker
60cde7e63d Added option to disable peer verification in curl. This might help
on some platforms (osx) with authentication problems.
2014-12-04 16:43:57 +11:00
hiker
abb486b640 Fixed server version to be 2. 2014-12-04 16:27:29 +11:00
hiker
cc17d8e0b2 Set our vps as new online server. 2014-12-04 16:23:21 +11:00
Timothy Hamlett
263d072c98 Fix some coding conventions
Thanks to hiker for the info
2014-12-01 12:49:15 -06:00
Timothy Hamlett
0a3d71aead Add Windows 8.1 to the hardware reports 2014-11-30 22:27:39 -06:00
Vincent Lejeune
0aa6b9fcd1 Make sdsm optionnal
scene manager is not ready yet
2014-11-29 01:33:10 +01:00
hiker
020c129691 Specify the replay buffer size as time value (i.e. how many seconds),
not how many frames.
2014-11-27 16:15:53 +11:00
hiker
d4ea2e8786 Merge branch 'fixes' of https://github.com/Flakebi/stk-code into Flakebi-fixes 2014-11-26 23:56:33 +11:00
deve
cac87cce34 Fixed mingw compilation.
I don't know how it worked previously because MEMORYSTATUSEX was there rather longer time and it needs this definition.
2014-11-26 06:46:03 +01:00
Flakebi
1585199ccc Change variable names again 2014-11-22 13:44:27 +01:00
Marianne Gagnon
c7b43b49e7 Tweak variable names 2014-11-21 18:25:50 -05:00
Flakebi
9e5eced8df Improve smooth camera movement and move settings to user config 2014-11-20 23:01:40 +01:00
Flakebi
497fa10695 First try of a fps camera 2014-11-18 11:55:32 +01:00
Vincent Lejeune
d5330a8f39 Fix VS2013 "dereferencing null ptr" static analysis error 2014-11-16 04:40:19 +01:00
Flakebi
9dd86c8332 Don't handicap AIs 2014-11-04 23:57:33 +01:00
hiker
ed10b022d2 Use a group for handicap related config settings. 2014-11-03 08:32:35 +11:00
Flakebi
abf7bacfea Merge branch 'upstream/master' into perPlayerDifficulties
Conflicts:
	src/graphics/stkmesh.cpp
	src/states_screens/kart_selection.cpp
2014-10-31 16:47:34 +01:00
Flakebi
46f3fa5f74 Merge branch 'upstream/master' into perPlayerDifficulties
Conflicts:
	data/gui/options_ui.stkgui
	src/graphics/stkmesh.cpp
	src/states_screens/options_screen_ui.cpp
2014-10-26 17:47:29 +01:00
Flakebi
690e632e1b Move handicap to ui options and to the player name spinner 2014-10-26 16:56:50 +01:00
hiker
e8f509eefe Moved DeviceConfig from config to input directory. 2014-10-26 23:26:02 +11:00
hiker
6893e94e71 Replaced irrXML usage with out XMLNode. 2014-10-24 21:47:50 +11:00
hiker
c012e98f9b Allow disabling of hw stats collection. 2014-10-22 08:20:26 +11:00
konstin
f65ad8f84f Save GP reverse Type; close #1137 2014-10-20 23:46:25 +02:00
konstin
035fc599ee fix ordering of the karts and maybe some more 2014-10-20 23:46:25 +02:00
konstin
ae24c6b40f only one saved GP per GP-ident
Conflicts:
	src/graphics/glwrap.cpp
2014-10-20 23:46:25 +02:00
Flakebi
57afd1d585 Merge remote-tracking branch 'origin/master' into perPlayerDifficulties, this time the right branch...
Conflicts:
	data/gui/user_screen.stkgui
	data/gui/user_screen_tab.stkgui
	src/graphics/glwrap.cpp
	src/graphics/weather.cpp
	src/states_screens/user_screen.cpp
2014-10-20 22:36:54 +02:00
hiker
8d587ab8f1 Fixed windows compilation. 2014-10-10 09:54:57 +11:00
hiker
a5ad78654e Remove data after "-" when using uname (which could theoretically be
used to identify a system).
2014-10-10 09:40:19 +11:00
hiker
3877bf1dab Added support for detecting BSD versions; added uname based fallback
on linux in case /etc/*release does not find valid info.
2014-10-10 09:21:15 +11:00
auriamg
3061123e3e Merge pull request #1606 from Flakebi/fix
Fix some more bugs
2014-10-08 18:18:37 -04:00
hiker
029c33c276 Avoid writing the players.xml file multiple time at the exit time. 2014-10-08 22:53:34 +11:00
deve
f11b482576 Use stringstream instead of visual studio specific sscanf_s 2014-10-08 07:07:27 +02:00
Flakebi
069853b11f Fix #1153 Cleanup logging code 2014-10-07 20:54:54 +02:00
Deve
8818892bd2 Restore saved GPs is working again. 2014-10-07 19:16:18 +02:00
hiker
6a47c157d2 Removed "" around linux version number in hardware report,
compiler warning and windows line endings.
2014-10-07 15:42:22 +11:00
Flakebi
0193c4c7a5 Fix #1170 Add "Don't Assign" option when configuring inputs 2014-10-07 00:06:15 +02:00
hiker
1c7a9229f2 Added OS version for windows and distro-version for linux (not fully tested). 2014-10-06 22:08:28 +11:00
Flakebi
47da30dd24 Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties 2014-09-30 19:22:18 +02:00
Flakebi
2cf9707294 Merge branch 'upstream/master' into perPlayerDifficulties
Conflicts:
	src/states_screens/kart_selection.cpp
I hope I got everything
2014-09-24 17:58:12 +02:00
hiker
044972be2a Activate HW reporting. 2014-09-24 10:58:34 +10:00
hiker
596cc44dfa Fixed line endings. 2014-09-23 16:26:41 +10:00
hiker
ad20635cce Applied patch for #600 (support 64 bit compilation on windows). 2014-09-23 14:41:32 +10:00
hiker
9b0a6d2703 Allow the hw-report-server to be changed using the news.xml file. 2014-09-22 08:26:49 +10:00
hiker
f31a85268e Added error message in case a not-yet-supported platform tries to report
memory or #procs.
2014-09-21 10:44:33 +10:00
hiker
b4208fe52d Try to report number of processors for apples (untested). 2014-09-20 23:39:33 +10:00
hiker
f25794327b Report #cores for linux (untested) and windows. 2014-09-20 14:09:37 +10:00
hiker
8a25683e2c Disable submitting the data for now. 2014-09-19 16:28:30 +10:00
hiker
63c7d02c7e Made line endings consistent. 2014-09-19 16:25:18 +10:00
hiker
c05896729e Made the user_id (which is apparently necessary on the server to calculate
number of configurations correctly) a random number, that is saved in the
config file.
2014-09-19 16:23:26 +10:00
hiker
64702d8ada Don't submit requests for now (server is still expecting compressed
data, and can't handle he requests we send atm).
2014-09-19 09:41:44 +10:00
hiker
48e5e7c4e6 Added a version number to the hardware report, and report the hw config
only once per installation. Print error messages in case submitting the
request.
2014-09-19 09:40:11 +10:00
hiker
cba1c8c471 Report memory on windows and osx (not tested). 2014-09-19 08:16:20 +10:00
hiker
48938f2880 Started to add GL limits to the statistics. Work in progress. 2014-09-18 22:09:56 +10:00
hiker
08b2beb339 Report available RAM on linux. 2014-09-18 15:55:25 +10:00
hiker
2e42898f4a Fixed incorrect value for opengl version. 2014-09-18 12:55:30 +10:00
Flakebi
9bcc76127f Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties 2014-09-17 13:20:09 +02:00
hiker
04dd7869cb Added gfx_drv_ver and gfx_vard to hardware report. 2014-09-17 16:58:50 +10:00
hiker
fca103b6a0 File missing in previous commit. 2014-09-17 16:16:38 +10:00
hiker
c7650ba769 Fixed parameter names and missing / in URL (which is required). 2014-09-17 13:21:03 +10:00
hiker
9cdbaebd29 Started to add hardware stats reporting functionality. 2014-09-16 22:27:41 +10:00
Flakebi
e2089fcea6 Switch per player difficulty to player config 2014-09-02 01:18:58 +02:00
Flakebi
dc4a30202f Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties 2014-09-01 11:31:26 +02:00
Vincent Lejeune
0b4532b6da Implement AZDO 2014-08-25 17:30:03 +02:00
Vincent Lejeune
6ac3d69471 Play with bindless textures 2014-08-22 23:48:28 +02:00
Marianne Gagnon
ba3027b6bb Little improvement to for_in macro. Still only works on PtrVector though 2014-08-13 19:47:59 -04:00
hiker
93fcb9a2a7 Added server-version configuration, which supports the GSOC server (version 2).
Made version 1 compatible with the 0.8.1 stkaddon server (i.e. all commands
are sent to client-user.php, and receive the actual command as 'action' parameter).
2014-08-11 14:10:01 +10:00
Daniel Butum
c10ca31452 Use new API paths when calling the stk server 2014-08-04 21:55:56 +03:00
Daniel Butum
b3f9f9f407 Refactor online namespace. Define api php file names from a single place 2014-08-04 18:41:47 +03:00
vlj
2fcb574c90 Automate UBO fix detection.
It only concerns Intel Sandy Bridge (maybe Ivy Bridge ?) gpu on Windows.
2014-08-04 01:45:08 +02:00
Flakebi
71f8766cb1 Add per-player difficulty 2014-07-28 18:32:39 +02:00
Flakebi
55090a0566 Unify log output 2014-07-22 12:54:11 +02:00
hiker
26fd76b904 Fixed warnings and unnecessary divisions. 2014-07-04 08:45:12 +10:00
Bart Cools
8862be1efc Final fix for properties, every missing field / overwrite should now be handled 2014-07-01 10:59:42 +02:00
Bart Cools
a73462759b Moved the default kart-type to <general-kart-defaults> to better catch missing values in the kart-type nodes. Also moved the documentation again to properly fit the fields. 2014-07-01 10:37:00 +02:00
Bart Cools
109f783fa4 Finally implemented the correct way to parse the data 2014-06-27 23:26:02 +02:00
Marianne Gagnon
e3a2246e25 More work on cutscene screens 2014-06-12 18:43:20 -04:00
hiker
8228a5bc15 Merge branch 'master' of https://github.com/Flakebi/stk-code into Flakebi-master 2014-06-12 22:09:49 +10:00
Marianne Gagnon
8a4b4ae213 Update cutscene shortcuts 2014-06-10 19:59:30 -04:00
Flakebi
de4e45280b Remember password better 2014-06-06 11:31:52 +02:00
Flakebi
cd8c27cbec Save 'remember-password' setting per user 2014-06-05 22:07:00 +02:00
Flakebi
af6c121a22 Run whitespaces.py 2014-06-04 15:10:20 +02:00
hiker
0d789c3bd2 Don't create icons for guests (which are never shown). 2014-06-02 17:07:57 +10:00
hiker
5c959e07a2 Fixed multiplayer kart selection. Now guests are created on demand,
and are not saved to the players.xml file anymore.
2014-06-02 08:08:42 +10:00
hiker
a0ee4d0bc5 Don't save guest players to the players.xml file. 2014-05-31 10:25:08 +10:00
hiker
1cb7445e1b Merge branch 'master' of github.com:supertuxkart/stk-code 2014-05-28 21:41:56 +10:00
hiker
b18d7e75ac Rewrote insertionSort to only require operator< (no >),
and removed the unnecessary operators.
2014-05-28 21:41:07 +10:00
vlj
220719e507 Allow to toggle off GI. 2014-05-28 07:47:06 +02:00
hiker
3f1029c55e Fixed overwritten icons (which prevents player from using their
own icons).
2014-05-28 08:57:00 +10:00
hiker
36d705f021 Added 'always-show-login-screen' option, moved 'remember-password'
option from UI-options to UserScreen.
2014-05-27 15:36:44 +10:00
hiker
fc32fcc865 Fix crash when deleting the current player (also prevent the user from
deleting the last user, since STK (after login) needs a current player).
2014-05-24 11:52:09 +10:00
hiker
3739e7515d Support old configs (i.e. if icons don't exist, they will be
created at startup).
2014-05-24 10:05:54 +10:00
hiker
11d80d47ad Added support for player icons. 2014-05-23 22:43:19 +10:00
hiker
498c6b46db Removed m_save_session, some code cleanup. 2014-05-22 07:44:26 +10:00
hiker
8441dbbd32 Fixed saving login credentials. It's now possible to switch
user (and automatically a logout and login is triggered).
2014-05-20 22:13:26 +10:00
hiker
1946df97be Fixed start with no players (including aborting the create user screen),
added 'lastWasOnline' flag to enable saving of a login token even
when the account is used offline in between.
2014-05-17 11:43:05 +10:00
hiker
b38a31f303 Simplified handling of current player: instead of storing a flag
in each player, PlayerManager now just uses its m_current_player
to write this information in the players.xml file.
2014-05-16 15:39:33 +10:00
hiker
1102702f5b Removed saving of all online ids in players.xml file. 2014-05-16 08:31:58 +10:00
hiker
ce52bf90e4 Merge branch 'new_login' of github.com:supertuxkart/stk-code into new_login 2014-05-14 14:10:10 +10:00
hiker
d9daf928e5 Merge remote branch 'origin/master' into new_login 2014-05-14 14:06:06 +10:00
hiker
8d4b33f221 Removed tabs, and use a separate screen instead. Some more refactoring
to make remember-me a global setting.
2014-05-08 22:17:15 +10:00
hiker
83c29b0778 Instead of individual 'remember-me' settings, use one global setting. 2014-05-07 16:39:09 +10:00
hiker
00cf9a3dbe Merge remote branch 'origin/master' into new_login 2014-05-05 09:20:37 +10:00
Guillaume P
14508bc2ac Merge remote-tracking branch 'remotes/upstrem/master' into hd-textures-option 2014-05-02 19:18:58 +02:00
vlj
401471fc18 Allow to toggle dof off 2014-05-02 13:44:10 +02:00
hiker
13024bf6ef On first time start the player is automatically asked to create a new
player with a sensible default name.
2014-04-30 08:42:43 +10:00
hiker
ecef685b32 Adding new players now works. 2014-04-30 07:54:49 +10:00
hiker
812da3e0c0 Some work on new login screen, though wip atm. 2014-04-29 09:02:44 +10:00
Guillaume P
03fbdc260d Add a new option for high-definition textures. 2014-04-28 18:42:23 +02:00
hiker
2f17264f39 Very eary first version of a new login screen. 2014-04-28 16:41:47 +10:00
hiker
ea2b797bb3 Keep track of online ids used in the player.xml file. 2014-04-24 08:17:44 +10:00
hiker
1bff514c27 Merge branch 'master' of https://github.com/leyyin/stk-code into leyyin-master 2014-04-22 14:14:49 +10:00
hiker
c8d679139f Improved documentation. 2014-04-22 14:13:27 +10:00
Daniel Butum
c7e9b87e90 Fix memory leak on early exit(0) in handleCmdLinePreliminary() 2014-04-19 20:44:30 +03:00
Vincent Lejeune
d7eaaf4885 Add a m_ubo_disabled switch in user config file.
This should be used to workaround a bug in intel windows drivers.
2014-04-19 18:38:57 +02:00
hiker
a8bf73633f Renamed CurrentUser to OnlinePlayerProfile. 2014-04-17 15:39:51 +10:00
hiker
056aa5ed6f Refactor so that PlayerProfile provides a proper interface plus
function/states for local use, and CurrentUser implements the
missing functions.
2014-04-17 08:19:04 +10:00
hiker
447ca89c0a Removed CurrentUser usage from all files except PlayerManager
and PlayerProfile.
2014-04-16 11:13:35 +10:00
hiker
5ec71c5b06 Moved getProfile from CurrentUser to PlayerManager::getCurrentOnlineProfile(). 2014-04-15 16:25:55 +10:00
hiker
f33a9f7cf6 Fixed #1282: STK crash on startup for the first time. 2014-04-15 09:06:50 +10:00
vlj
4c85f6255b Remove the ability to disable pixel shaders
It doesn't work with GL 3.1 and mesa drivers (which requires a core
context)
2014-04-14 22:11:20 +02:00
vlj
b7f6084fba Add a config option to disable dynamic lights 2014-04-14 22:06:24 +02:00
vlj
de1bbad76c Add some more graphic config options. 2014-04-14 21:46:51 +02:00
vlj
1d84ea850b Add an option for Tex compression
Also turn m_ssao into bool.
2014-04-14 21:37:50 +02:00
hiker
488c1231c9 Moved getUserState from CurrentUser to PlayerManager::getCurrentOnlineState(). 2014-04-11 16:37:48 +10:00
hiker
3a5a0a56b2 Moved isRegisteredUser from CurrentUser into PlayerManager::isCurrentLoggedIn. 2014-04-11 16:20:04 +10:00
hiker
071aa01f35 Changed all calls to CurrentUser::getID() to PlayerManager::getCurrentOnlineId(). 2014-04-11 16:06:51 +10:00
hiker
502987d3e0 Now each PlayerProfile has a (currently still called) CurrentUser
which manages online connection data. Work-in-progress to use
only one object for all player data (instead of two atm: PlayerProfile
and CurrentUser).
2014-04-10 16:32:58 +10:00
hiker
25c96d88ec Moved saved session data from UserConfig to PlayerProfile - which
means that now each player can individually save an online session.
2014-04-09 08:33:42 +10:00
hiker
43593d6312 Made getCurrentUser() a static function. 2014-04-08 08:06:52 +10:00
hiker
712d4cf84e Updated documentation for Christmas mode. 2014-04-03 08:20:43 +11:00
konstin
7cc83e1475 running whitespaces.py update 1 2014-03-29 11:33:43 +01:00
konstin
663fffdebb Revert "Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces"
This reverts commit 65e2dcf2f0.
2014-03-29 11:32:04 +01:00
konstin
65e2dcf2f0 Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces 2014-03-28 20:08:39 +01:00
hiker
4eb4ce1511 Bugfix: onRaceEnd was not called for achievements (resulting in
achievements not being reset at end of a race).
2014-03-12 22:40:43 +11:00
konstin
b561f440ba 1180 Loading Grand Prix's from locale directory 2014-03-06 11:30:51 +01:00
konstin
c09a3172f1 Solving Issue 1180 - Load addon GPs from local folder 2014-03-05 12:11:20 +01:00
hiker
0ec7542175 Added more comments. 2014-03-01 17:16:23 +11:00
hiker
7e9682bde6 Merge branch 'master' of https://github.com/dimitrijejankov/stk-code into dim 2014-03-01 09:47:59 +11:00
Dimitrije Jankov
a354648497 Fix for
Author: hikerstk

Atm the user config.xml file is in UTF (since previously it stored the
name of players which requires special characters). The player
information is now stored in a separate file, so the config.xml can be
written as ascii now (avoiding problems some people have that they can't
see or edit the file)
2014-02-28 15:32:38 +01:00
Bart Cools
89a336ff9a Tweaked the logic of parachutes to be more modifiable. There now is an upper bound percentage and lower bound percentage which will be applied if you are driving faster and slower respectively. Also added those values in stk_config.xml to make playtesting easier (ticket #1135) 2014-02-28 11:10:25 +01:00
Dimitrije Jankov
9fc0d5be77 This fixes the issues my patch has caused...
1) if I start without existing user config files, it crashes (current
player is NULL)
2) the m_remember_me variable is not used
3) if I understand the code correctly, it sets the current player to a
guest player to indicate that there is no current player atm (which is
then used to start the login window). If this correct, then it would be
better to indicate this by setting the current player to NULL. Reason is
that this way we can easily detect incorrect usage elsewhere (since we
will get a crash, instead of storing data in the guest player, and we
will only later detect that something was not saved as expected).
2014-02-28 10:23:09 +01:00
hiker
14d6e6ae7e Added missing initialisation of m_is_default. 2014-02-28 19:01:40 +11:00
Dimitrije Jankov
d0f93d3b98 Fixed the skiping of the lobby screen :) 2014-02-28 02:36:53 +01:00
Dimitrije Jankov
2ef991e9e7 Removed the m_default_player from the user_config.hpp because the
default user is loaded from the players.xml file
2014-02-28 00:38:35 +01:00
hiker
4d6b110e56 Removed unnecessary #include of user_config.hpp in other hpp files
(to reduce the amount of recompilation when user_config.hpp is changed).
2014-02-26 12:52:16 +11:00
hiker
0b33474f2f For now disable shader by default, to avoid people not being able to
run stk at all (#1212).
2014-02-26 10:24:09 +11:00
hiker
4139d145cf Create a default user config file if no user config file exists.
This is for now useful for crash problems (e.g. to disable shaders).
2014-02-26 09:41:38 +11:00
hiker
99fe4388d4 Added an enum to reference the achievements by a name instead of
an integer number.
2014-02-24 17:14:42 +11:00
hiker
5fc300d7bb Removed Single and MapAchievent (and Singe/MapAchievementInfo), instead
using the generic key-value mapping Map* has provided for everything.
Changed format of achievements.xml to be more compact.
2014-02-24 08:21:15 +11:00
hiker
8307e0d8a3 Fixed memory leak. 2014-02-21 16:54:52 +11:00
hiker
a3a5d5fc3b Moved achievements data into PlayerProfile (and data is saved in players.xml
now instead of in a separate achievements.xml file).
2014-02-20 22:04:03 +11:00
hiker
8cd1e2e491 Renamed the node name in the player.xml file to better describe what
it is, removed unused variable.
2014-02-18 07:38:44 +11:00
hiker
94da45238c Renamed GameSlot to StoryModeStatus to better describe its function. 2014-02-17 23:16:53 +11:00
hiker
f2e6126f8d Renamed Challenge to ChallengeStatus (to better describe what
this class is doing).
2014-02-17 22:20:23 +11:00
hiker
2b4729a145 Renamed player.?pp to player_profile.?pp (to follow our style
guide); removed unnecessary #includes.
2014-02-17 20:10:29 +11:00
hiker
ff585e4c73 Automatically compute active challenges when changing the current player. 2014-02-11 22:35:23 +11:00
hiker
83bc8c83e6 Fixed empty user config.xml files. 2014-02-11 08:54:44 +11:00
hiker
810c536d43 Fixed various minor bugs. 2014-02-11 08:12:10 +11:00
hiker
230e1789f2 Made sorting of players descending (instead of using > in operator<),
removed kart and unique id from game slot, replaced some forgotten calls to
unlock_manager with calls to PlayerManager.
2014-02-10 17:00:16 +11:00
hiker
5acf3e1681 Various compilation fixes, some cosmetic changes. 2014-02-10 08:41:54 +11:00
hiker
97be85777d Started to move current player info from unlock manager into
player_manager.
2014-02-09 23:22:45 +11:00
hiker
045bfeaf13 Removed m_all_players from UserConfigParams (though there are stil
bugs in the new code).
2014-02-06 23:08:55 +11:00
hiker
78b73aa3c8 Added new player manager, and started to replace the saved data
from user_config with player manager.
2014-02-06 14:43:47 +11:00
hiker
62d46b7ec0 Renamed XMLWriter to UTFWriter (which is the correcter name). 2014-02-05 08:22:38 +11:00
hiker
5e8c8f2715 Fixed linux compilation. 2014-01-31 11:31:26 +11:00
Marianne Gagnon
a38a3b1b9a Try to fix compilation 2014-01-30 19:14:19 -05:00
Marianne Gagnon
87f5fd988e Don't use raw char*, use std::string instead. Fixes leaks. 2014-01-29 19:39:38 -05:00
hiker
d4b95e81b4 Moved hash function from StringUtils into player, there is no
other use of that function.
2014-01-23 09:54:48 +11:00
hikerstk
7cdca13d7b Fixed all(?) warnings about signed and unsigned comparisons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 00:09:19 +00:00
hikerstk
6ee751e3c3 Added new class to handle command line parameters, which
simplifies parameter handling in main (e.g. it's not
necessary to list and ignore parameters in the 2nd
pass, when they were handled in the first pass).
Removed some command line options for which there
is a guy (e.g. --weather), or which are not really
useful (--list-karts). 

All parameters to options must now consistently be
specified using '=', e.g.: --log=1 and --kart=tux.

Also removed support for 'classic' camera (which was
not used anymore). Removed now unneccessary #include
in user_config.hpp, which made some #include changes
in other files necessary.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 12:23:16 +00:00
deveee
1a2d26b894 - Fixed crash when goal is scored after time limit
- Set time max value to 15 - playing one game 45 minutes doesn't have a sense
- Remember time value in user config
- Little beter look of soccer setup
- Set goal-limit mode as default

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-21 17:04:46 +00:00
hikerstk
c450c97472 Allowed the music directory to be external. Renamed
getMusicFile to searchMusic and getTextureFile to
searchTexture. Removed m_root_dir from file_manager.
Added convenience function getTexture to irr_driver
which takes an asset type, so now less code is needed
to load textures (though that's proably not used
everywhere yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-18 22:29:08 +00:00
hikerstk
73c498daf3 Start to support 'externa' data directories. Most directories
from data can now be moved out (except music). STK prints
an overview of which directory is taken from where. More 
cleanups and improvements will come.
Also moved skins into a separate directory under data (from
data/skins), since it's likely that skins will be part
of a binary package (i.e. changes to skins not really
related to code), while gui files will more likely stay
with the code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 23:48:47 +00:00
hikerstk
09dc33d07e Moved the glowing data from stk_config.xml to items.xml.
Unfortunately I can't test (since the shaders don't work for me).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-09 12:24:26 +00:00
samuncle
627004a536 Add glow support for banana and bubblegum
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 23:19:43 +00:00
deveee
ec13bcf802 Merge branch 'hilnius'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-05 17:28:55 +00:00
hikerstk
bced8cdb9f Merged with trunk, part 1 (due to previous failures I am splitting this
patch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:27:55 +00:00
hilnius
262f70205c merging trunk and fixing compilation issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-15 10:05:34 +00:00
hilnius
0bddb320cd Adding packet logging + fixing lost packets (that are now kept for 2 seconds while waiting protocols that should receive them to be started).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-09 19:15:31 +00:00
curaga
efe3b59bc5 Rename Time to StkTime, X11 has a type called Time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-30 12:24:12 +00:00
hilnius
8233b8067d merging uni's and trunk branches. Not everything tested right now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-27 01:02:41 +00:00
hilnius
ff1ef8b0b6 addded a List UserConfigParam and a StringListUserConfigParam that contains a list of STUN servers (to avoid hard-coding the STUN server domain name.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-24 16:47:56 +00:00
unitraxx
c8df03e7ce first SSL layer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-16 01:11:19 +00:00
unitraxx
2711744ed8 merge with trunk
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 00:20:28 +00:00
hikerstk
df9d90b342 Merged bubble bum branch into trunk. The new bubble gum
shield is still work in progress.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-08 03:11:03 +00:00
hilnius
ea2b52a663 merging hilnius's branch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-31 18:03:11 +00:00
unitraxx
8656a12d12 Undoing last commit which was not what I wanted after all.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 22:05:06 +00:00
unitraxx
75e286932f An attempt to merge with hilnius' branch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 21:39:27 +00:00
unitraxx
3463a01e85 Remember session (without GUI) and starting to integrate online-multiplayer and addons networking code. (Limited to config file for now.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 15:59:27 +00:00
hilnius
60e4a2bb5e adding possibilities to connect directly with command-line options, adding console entry for the client server manager'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-09 12:42:44 +00:00
hilnius
e0e64680a5 merging trunk and networking. 'data/gui/menu_story_focus.png' has its networking version kept (dunno why the two files were different, they seemed same to me)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 11:48:23 +00:00
unitraxx
bf13bed7a2 Merge with trunk
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-06 00:38:39 +00:00
auria
a27853a592 Apply patch by Lilian Gimenez to support gamepad triggers in input code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-01 22:50:59 +00:00
unitraxx
6d37125348 [_GSoC Uni_] Merge to revision 13035
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13036 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-30 00:56:57 +00:00
hikerstk
674be5b6d0 1) Fix #1011 by re-implementing the bubblegum not as a
damping of velocity, but as a max_speed restriction.
2) Bubblegum parameters are now fully configurable in
   stk_config.xml.
3) Apply slowdown fraction also to speed increases
   (e.g. previously a max speed of 23 with a zipper
   giving a 15  additional speed with a slowdown of
   0.3 would end up as: 23*0.3 + 15 = 21.9.
   Now it is (23+15)*0.3 = 11.4. While this was done
   mainly for bubble gums, it can affect other items
   as well.
4) Used bubblegum as one word consistenly in variable
   names and xml files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-27 22:25:36 +00:00
unitraxx
be11ce1cd0 [uni GSoC] Connection with server OK. Remark : won't work if you don't have a locally set up server, change the adress in the config accordingly and have the code of my stkaddons branch running.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@12889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 18:49:20 +00:00
auria
485551aa89 Apply patch by KroArtem to fix minor issues : unused variables and other minor warnings from cppcheck, crash when launching from terminal with AI karts in a mode where AI is not supported
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-09 20:04:07 +00:00
curaga
a6a2ec66d4 Make fatal fatal
Removes a lot of duplicated code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:09:39 +00:00
curaga
ef9a1e78eb Only the GL driver is supported.
DX hasn't worked in months, SW are not worth their LOC, and NULL is pointless with 
--no-graphics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:07:43 +00:00
curaga
57c3cbae3e Space cleanup pass on the headers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:47:39 +00:00
curaga
b56bf4dc53 Remove trailing space, git doesn't like it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 22:04:35 +00:00
hikerstk
b3e7a7ebbf Applied Unitraxx's patch to save GP. At this stage no GUI support
was added.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-24 23:38:26 +00:00
hikerstk
7ac899ade7 Refactored wiimote handling, splitting into two separate files.
Also added non-threading support (while it is too slow/too high
latency it's useful for debugging).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-22 11:28:57 +00:00
hikerstk
6d097b6ad5 Added --wiimote-debug command line option to print raw values read
from a wiimote.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 06:50:41 +00:00
hikerstk
e99e944f9b Fix #942. Thanks to hilnius.
(note I modified the original patch, and had no opportunity to verify it
again on linux. If it doesn't work, blame me, not hilnius).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-30 07:17:02 +00:00
hikerstk
a693eb7eb5 Added reverse-sorting of addons (#916). Thanks to ingridmorstrad for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-18 22:44:18 +00:00
hikerstk
9299418079 Tweaked default wiimote settings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-13 04:00:19 +00:00
hikerstk
c18ccef5b3 Added sin and asin in addition to linear and square mapping of
wii-rotation to steering value, all can be combined using weights.
Code is not tested (sorry, no access to wiimote atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12527 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-24 22:09:15 +00:00
funto66
43a37aee1b Only enable Christmas mode in December, except --xmas=1 is given in the command line
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-09 15:01:58 +00:00
hikerstk
62a65279bb Remove pause between news messages, instead a "+++" is
shown between messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-05 22:11:43 +00:00
hikerstk
d12254237d Made wiimote settings configurable in the user's config file:
wii-mote max is the 'angle' (0-128) at which full steering is
reached, and a weight factor to shape the steering depending on
wiimote angle, which adds up a weighted components of a linear 
(weight=0) and quadratic curve (weight=1).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-03 21:50:24 +00:00
hikerstk
5d8c0d7be1 Added log infrastructure. Only a few files of STK are actually using it,
but all (f)printfs should be replaced. Note that I had to rename
tinygettext/log.?pp to avoid linking problems on windows.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 00:38:07 +00:00
hikerstk
57a29ff15c Added popup window to show a news message that has
'important="true"' specified. The message is only
shown once.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-09 05:46:26 +00:00
hikerstk
43b7f28d54 Added a setting to stk_config.xml to replace normals that are
'too different' from the normal of the triangle with the
normal of the triangle for interpolating the normals which
are used by the physics.
This should make 'smooth normals' more useful for tracks where
track and (say) a wall are connected, resulting in incorrect
normals for the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-18 22:22:30 +00:00
hikerstk
885c0c0b1d Added setting to disable caching of overworld to
user_config file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 05:48:50 +00:00
hikerstk
6eca109725 Added option to let the camera follow the skid angle (there is still
some discrepancy due to smoothing of camera movement). For now
enabled in stk_config.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-17 21:42:33 +00:00
hikerstk
7b99faeeb8 iDisable steering for players when a skid is stopped (till the physics are
aligned with the graphics again). That _may_ help with controlling the
kart better after skid. Testwise enabled by default - feedback welcome.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-16 22:50:59 +00:00
hikerstk
e2caea1c05 Refactored ItemManager to use static components to load
the default item meshes. An instance of it is now only
created when a race is started (and deleted once the
race is finished). This makes the race-specific 
initialisation and cleanup better to understand. Also
added singleton access to the one instance of ItemManager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-09 06:37:29 +00:00
wardje
9589f7c9a5 Fixes minor bug in player options screen
* Fixes minor bug where incorrect internal name was set to the listitem.
 * Moves refreshing of player list to its own (private) function.
 * Also a small indentation correction in accordance with the style
   guide, which sadly makes for a big heap of recompiling.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-21 16:33:30 +00:00
auria
9ba0c7f137 More work to make cutscenes work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-02 22:35:09 +00:00
auria
fcfbd4e163 Change the default screen size from 800x600 to 1024x768... everyone supports more than 800x600 nowadays and that is just too small
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-29 13:22:41 +00:00
auria
d6c00120f9 Use std::ostringstream to work around issues printf has with 64-bit variables
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 22:51:21 +00:00
undef-in-ed
9728e8514e fix format warning emitted by gcc when printing int64_t
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 22:29:45 +00:00
undef-in-ed
57cbf2a921 simplify PlayerProfile::generateUniqueId: modulo operation can be saved because of bitmask
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 22:29:23 +00:00
undef-in-ed
4fdc916f9c move non-trivial PlayerProfile methods to source file: reduce compile time when code changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 22:29:03 +00:00
auria
caf8083b62 Prevent sign extension when generating player ID so that the date does not become FFFFFFFF
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 19:27:53 +00:00
auria
b400320745 Make anti-aliasing level configurable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 15:44:17 +00:00
auria
7e5f51b270 Identify players by a unique ID and no more by their name, so that when you rename a player game slots are no longer so confused. This is a somewhat painful change, please report any breakage
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-24 01:28:43 +00:00
auria
1b85ced4f9 Allow remembering Window position. Useful for multi-monitor setups. Only works for Windows at this time I'm afraid - although the code for Linux is mostly there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-29 01:04:07 +00:00
wardje
a40462594c GP start order option to user's config + add option to have players always last
In light of #28, the GP start order option is probably more at home in a user's
configuration. While at it, also add an option to keep the player always last.
This is more of a challenge for the player than just reverse mode since your
direct opponents _will_ be at the forefront while you have to play catch up.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 16:39:32 +00:00
hikerstk
3fc43d4d14 Refactored replay by splitting it into one base class, and dedicated
classes for recording and for replaying. Added compression (by use of
interpolation) settings to stk_config - atm only using a certain
frequency (delta-t setting in stk_config) is used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-28 22:33:49 +00:00
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