auria.mg
8496352133
Make it easier to launch cutscenes, see #2482
2016-05-04 19:44:26 -04:00
hiker
2745e42935
Added a new 'testing ai', which can be started using a command line
...
option to either test it in play against computer, or in AI against
AI races. Atm the test_ai is nearly identical to the skidding
ai, except for one brake statement that needs to be investigated.
2016-05-03 21:28:11 +10:00
hiker
92f0ab6819
Implemented command line option "--dont-load-navmesh" to disable
...
loading of any navmeshes (to avoid extremly slow loading times
in debug mode, e.g. for temple).
2016-04-28 17:15:07 +10:00
hiker
b59194cdf3
Add a command line option to start the network console.
2016-04-22 16:37:17 +10:00
hiker
889baa7e39
Removed unnecessary --with-profile command line option.
2016-04-21 22:32:24 +10:00
hiker
d65dd6c199
Started to refactor the camera into different classes. Normal
...
camera is working atm. but not much more.
2016-04-18 23:29:10 +10:00
hiker
f59ea0f258
Moved the camera debug parameter from UserConfig to a static value
...
in camera. Added proper names for the debug modes instead of int.
2016-04-14 09:30:26 +10:00
hiker
7d0953ad83
Merge branch 'master' into rewind
2016-04-12 17:36:56 +10:00
hiker
68e394702b
Merge branch 'refactor-network-string' of github.com:supertuxkart/stk-code into refactor-network-string
2016-03-07 12:20:43 +11:00
hiker
9c71dc78d1
Merge remote-tracking branch 'origin/master' into refactor-network-string
2016-03-06 16:42:16 +11:00
hiker
e3c7033aa1
Fixed incorrect level of info message.
2016-03-01 11:54:09 +11:00
hiker
b18712f8c2
Added some output when running unit tests.
2016-02-29 13:53:15 +11:00
hiker
9a16595261
Renamed NewNetworkString to NetworkString.
2016-02-28 14:58:15 +11:00
Lucas Baudin
287349716c
[android] hack to control the kart with the accelerometer (to be moved in a proper place - just for debugging purpose right now)
2016-02-27 00:23:55 +01:00
Lucas Baudin
3f13d69eb3
[android] Remove the main loop from main to debug things more easily
2016-02-25 23:12:02 +01:00
Lucas Baudin
d4d3817d63
Disable sound and curl, add freetype
2016-02-24 22:24:33 +01:00
hiker
98ba11d9ba
Started to introduce new network string. It compiles, but certainly
...
does not work yet.
2016-02-23 16:29:57 +11:00
Benau
71c1fadcd3
Merge remote-tracking branch 'origin/master' into fix_replay
2016-02-16 09:57:41 +08:00
Benau
8a121ed32b
Add Ghost replay GUI
2016-02-13 01:34:00 +08:00
hiker
bfced53aaf
Started to add password support for a controlling a server.
2016-02-10 13:32:39 +11:00
hiker
e7dd7f4d1a
Replaced setLocalKartInfo with setPlayerKart. Updated some docs.
2016-01-12 13:00:45 +11:00
hiker
f0c5f43fe2
Removed setNumLocalPlayers (which is now part of setNumPlauers)<
...
fixed coding style in race manager.
2016-01-11 07:58:30 +11:00
hiker
e46c47d5c9
Removed m_local_player_karts data structure in RaceManager.
2016-01-08 17:03:50 +11:00
hiker
68e37c902f
Merge remote-tracking branch 'origin/master' into refactor_networking
2015-12-15 22:52:55 +11:00
Benau
2644b0458b
Merge remote-tracking branch 'origin/master' into battleAI
2015-12-08 10:09:35 +08:00
auriamg
f0fafc2651
Merge pull request #2245 from Flakebi/kart-properties
...
Kart properties
2015-12-07 18:44:14 -05:00
Benau
8a0cbea933
Merge remote-tracking branch 'origin/master' into battleAI
2015-12-05 16:27:06 +08:00
deve
94d5c19b7f
Fixed compiler warnings.
...
The winsock2.h header should be always included before windows.h header (or we should define WIN32_LEAN_AND_MEAN). It's because windows.h header includes also winsock.h header and there is possible conflict between winsock and winsock2.
I didn't test in on Visual Studio yet. I hope there is no WIN32_LEAN_AND_MEAN redefinition errors...
2015-12-03 14:59:54 +01:00
Flakebi
ffa85d2206
Merge remote-tracking branch 'upstream/master' into kart-properties
2015-11-21 23:03:58 +01:00
hiker
093283c5b0
Avoid crash if networking was selected, but not actually started.
2015-11-21 12:20:05 +11:00
hiker
ba4ccd5621
Added command line option to start a LAN server.
2015-11-18 17:24:56 +11:00
Benau
f4b723de82
Merge remote-tracking branch 'origin/battleAI' into battleAI
2015-11-15 12:29:01 +08:00
hiker
af9018ea64
Moved Server and ServersManager into network directory.
2015-11-12 17:52:04 +11:00
hiker
5fc830825f
Refactoring: Created a separate NetworkConfiguration class which stores
...
all information to create the STKHost.
2015-11-12 09:53:12 +11:00
hiker
bdf34edc00
Removed --client command line option (since this command needs a
...
server id to work).
2015-11-05 07:54:58 +11:00
hiker
0b62d2f82b
Created two different constructors for STKHost - one for server, one for client.
2015-11-02 08:11:51 +11:00
hiker
15e3ac021f
Fix ending STK when no STKHost exists.
2015-11-01 21:28:39 +11:00
hiker
1334a467e3
Don't start a STKHost if neither client nor server is requested.
2015-11-01 19:45:28 +11:00
hiker
6297d8c65d
Removed NetworkManager and ClientNetworkManager.
2015-10-27 08:23:59 +11:00
hiker
90b8db9993
Start to remove ClientNetworkManager.
2015-10-27 00:23:20 +11:00
hiker
1e9afd473d
Removed isClient/isServer from NetworkManager.
2015-10-26 21:30:41 +11:00
hiker
5564239773
Removed NetworkManager::run().
2015-10-26 18:33:23 +11:00
hiker
cf51d2f0e0
Added missing object deletions.
2015-10-26 17:54:19 +11:00
hiker
4c0a195fdd
Moved handling of peers from NetworkManager to STKHost.
2015-10-26 08:33:07 +11:00
hiker
350f434c37
Started to refactor network code.
2015-10-24 12:39:17 +11:00
hiker
4833659085
Added --stdout= command line option to change the name of
...
the stdout.log file.
2015-10-22 11:51:18 +11:00
Marianne Gagnon
06fb6d4eb2
Delete old fonts and related code
2015-10-18 20:15:05 -04:00
Deve
6318e8c8f8
Fixed compiler warnings
2015-10-04 16:54:14 +02:00
Flakebi
5e6e85ab79
Merge branch master into kart-properties
2015-10-03 15:20:06 +02:00
hiker
449e754849
Fixed #2327 .
2015-09-29 07:58:24 +10:00
hiker
da848a4c72
Accept --difficulty as well as --mode.
2015-08-31 17:09:51 +10:00
Flakebi
b51eadae28
Merge branch 'master' into kart-properties
2015-08-16 16:45:47 +02:00
hiker
78c592e4e5
Added a file with a 'unique filename' with version number which is used by STK
...
to detect that stk is reading the right data files (and therefore avoids #2073 ,
in which stk finds the wrong data directory).
2015-07-31 22:06:21 +10:00
Flakebi
5d36b95c95
Merge remote-tracking branch 'upstream/master' into kart-properties
...
Conflicts:
data/stk_config.xml
sources.cmake
src/karts/kart.cpp
src/karts/kart.hpp
src/karts/kart_properties.cpp
src/karts/kart_properties.hpp
src/tracks/track.cpp
2015-07-29 02:48:43 +02:00
Marianne Gagnon
4356dfde0c
Document missing command-line option, fixes #2095
2015-07-25 20:06:42 -04:00
Flakebi
eb19bf571e
Load and combine characteristics
2015-07-11 15:38:52 +02:00
hiker
369ed86380
Added 'behind kart' camera which helps debugging graphical
...
vs physical chassis position issues.
2015-07-02 16:39:13 +10:00
Marianne Gagnon
be81a7fd11
Increase size of popup, text was truncated at least in french
2015-06-23 18:46:36 -04:00
Deve
199cda80b1
Merge pull request #2101 from konstin/fix_2095
...
add --log to --help message; fixes 2095
2015-05-08 10:32:05 +02:00
Nado
1a395efbfd
Fix #2102 .
...
Moving output modifier and early exit options (--help, --version,
--log, etc) earlier in the execution so nothing useless is printed.
2015-04-23 20:13:37 +02:00
konstin
adceb35812
add --log to --help message
2015-04-23 17:40:20 +02:00
hiker
8d07d26c25
Updated (c) year to include 2015.
2015-03-30 11:42:50 +11:00
hiker
17039141e4
Fix #2051 by keeping a copy of the timer in the SktTimer class.
2015-03-28 01:35:17 +11:00
hiker
3d4509b863
Add a log statement about outdated drivers or opengl version to
...
the log file (even if the popup for those issues is disabled).
2015-03-27 11:53:25 +11:00
hiker
a560aafa50
Merge branch 'fix_non_hd_option'
2015-03-27 09:33:07 +11:00
hiker
27dec2fbf8
Added attribute to irrlicht's driver to enable automatic resize
...
of images that are too big. This is then used to automatically
resize any textures (except fonts, background screen) to be
automatically resized to 512x512 if they are bigger.
2015-03-26 11:28:22 +11:00
Deve
5828dddde8
Allow to disable popup messages about too old drivers in config.xml
2015-03-25 18:53:09 +01:00
Marianne Gagnon
3157051560
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2015-03-11 20:28:53 -04:00
Marianne Gagnon
ad68d9a866
Warn if OpenGL is too old
2015-03-11 20:28:35 -04:00
hiker
41a67d4250
Added privacy notice to 'enable internet' dialog; used redirecting
...
URLs for privacy and terms&conditions.
2015-03-12 10:33:42 +11:00
hiker
f542aea53d
Fixed line endings style.
2015-02-27 22:33:03 +11:00
hiker
359582d0e6
Added support for "Easter Bunny Ears" easter egg.
2015-02-21 11:19:15 +11:00
Flakebi
d4f982d7dd
Fix crash with --nographics
2015-02-11 20:52:05 +01:00
Flakebi
4abe3ce327
Make music and sound work with fast starts, fixes #1291
2015-02-09 01:22:47 +01:00
hiker
eb37092643
Moved all remaining music commands to be handled by sfx thread.
2015-02-04 17:08:22 +11:00
hiker
4658bd83de
Handle playing and stopping of music in separate thread. Make the sfx
...
manager thread use CanBeDeleted to allow for timed deleting.S
2015-02-03 16:27:05 +11:00
Daniel Butum
f18167d345
Fix abortable requests which in turn fixes the sending of the 'client-quit' request to the server when quiting
2015-01-22 17:56:30 +02:00
Marianne Gagnon
e62253c76a
Fix #1897
2015-01-21 20:24:41 -05:00
hiker
79df2151e9
Add a popup window to be shown first if it is detected that
...
the driver is too old.
2015-01-19 10:21:41 +11:00
hiker
3eb2d87029
Fix crash first time STK is run.
2015-01-13 17:07:29 +11:00
hiker
593e52dd6f
Reduced indentation somewhat.
2015-01-13 17:04:08 +11:00
hiker
a2006c3e16
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-12 12:10:23 +11:00
Vincent Lejeune
8798eda41b
Remove hardware skinning files
2015-01-11 00:59:09 +01:00
hiker
b0879514fb
Merge branch 'master' of github.com:supertuxkart/stk-code
2015-01-08 13:33:16 +11:00
hiker
520625adae
Removed 'sign' (in/out), use 'log' (in/out) instead.
2015-01-08 13:32:50 +11: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
hiker
949c16cfb0
Changed GrpahicsRestriction API to just use one isDisabled(...) function.
2015-01-06 17:09:16 +11:00
hiker
93a3e6c3da
Allow irrlicht to use an existing file system (instead of creating
...
a new each time a device is created). This simplifies the implementation
of the file manager (now the file manager always exists, even when
deleting the dummy device and creating the real device).
2015-01-06 07:48:32 +11:00
GunChleoc
5a7f7781af
Some string fixes.
2014-12-23 13:24:50 +00:00
hiker
deb8672446
Allow command line options --kart and --track to select locked tracks.
...
This will allow reviewers to post screenshot of new tracks.
2014-12-19 16:08:35 +11:00
hiker
7a9d724bd9
Missing patch in previous commit.
2014-12-15 14:04:55 +11:00
Deve
42d2591bf8
Use default track if remembered track doesn't exist.
...
It avoids issues in #1776 and probably other problems with addons tracks.
2014-12-12 19:54:30 +01:00
hiker
98c8985739
Removed unused constants.
2014-10-31 21:06:26 +11:00
hiker
ec908d85c6
Split GamepadDevice and KeyboarDevice from input_device into their
...
own files. Renamed InputManager::getDeviceList() to getDeviceManager().
2014-10-25 23:09:00 +11:00
hiker
69c155063a
Added Yes/No dialog box, and used it for the 'allow STK to connect
...
to internet' question.
2014-10-22 09:15:42 +11:00
hiker
c012e98f9b
Allow disabling of hw stats collection.
2014-10-22 08:20:26 +11:00
hiker
df62c8921e
Added limited lazy-load flag to avoid loading of all font textures
...
(most of which might not be needed). Fixes #1592 .
2014-10-05 21:35:14 +11:00
hiker
f63e7d93b8
Fixed #1598 (error message about font texture not found).
2014-10-04 23:32:54 +10:00
deve
57c14f2c07
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-09-25 11:56:28 +02:00
deve
4fd3d977e4
Restore help printing when logs are printed only to stdout.log file.
2014-09-25 10:25:44 +02:00
hiker
7c66dd1865
Fix #1516 . Also fixed (probably unrelated) bug that first time STK
...
is started with internet permission, the addon server would not be
accessible. Note: any current configuration will not be read anymore
(if you need it, you can just move the files and directories from
.../supertuxkart into .../supertuxkart/0.8.2 (except addons, whic
stays in .../supertuxkart/addons!!).
2014-09-25 09:05:46 +10:00
hiker
aa64f31f83
Added Screen::push() function to shorten the calls to pushScreen().
2014-09-23 16:43:50 +10:00
hiker
ad20635cce
Applied patch for #600 (support 64 bit compilation on windows).
2014-09-23 14:41:32 +10:00
hiker
99fd49bdc0
Run SFX in a separate thread (for #1511 ).
2014-09-22 17:04:14 +10:00
hiker
302470df7e
Fixed #1266 (we won't need a --players command line option anyway).
2014-09-22 12:09:49 +10:00
hiker
86b351fbf4
Turn sfx_manager into a singleton.
2014-09-17 21:38:21 +10:00
hiker
9cdbaebd29
Started to add hardware stats reporting functionality.
2014-09-16 22:27:41 +10:00
hiker
7dbfc151bf
Added random GP functionality into gp_info screen. Changed GPData
...
in GPInfoScreen from a pointer to be an object, while this adds
some coping of this object, it removes potential memory leaks.
2014-09-02 09:32:12 +10:00
Deve
90ecf50414
Show console on windows only in debug mode
2014-08-22 20:40:22 +02:00
hiker
b2a936c8cd
Fix crash caused when downloading requests for icons were still
...
executing at game end.
2014-08-18 22:42:27 +10:00
hiker
32707b8f88
Changed m_grand_prix of RaceManager to be an object (and not a pointer to
...
an object) anymore, which fixes a memory leak (and I also reverted my quick
fix from last night de7ceb0c2d
to fix a crash,
which now not necessary anymore.
2014-07-08 13:20:53 +10:00
hiker
c222bbcb1c
Merge branch 'a' of https://github.com/konstin/stk-code into konstin-a
2014-07-07 16:15:34 +10:00
hiker
9e44c5980a
Fixed --track command line option.
2014-06-27 15:39:33 +10:00
konstin
f4ce845b6f
Merge branch 'master' of https://github.com/supertuxkart/stk-code into a
2014-06-21 16:20:53 +02:00
hiker
d72decfa65
Fixed using the last used track when specifying -N.
2014-06-12 16:54:09 +10:00
konstin
acc32703ed
Merge branch 'master' of https://github.com/supertuxkart/stk-code into a
2014-06-05 18:26:28 +02:00
hiker
e3513b10c6
Merge branch 'master' of https://github.com/Flakebi/stk-code into Flakebi-master
2014-06-05 08:23:47 +10:00
hiker
8960b79181
Wait for request_manager to be ready to be deleted (i.e. current request
...
have been properly aborted, and sign out done). Also shut down more of
STK after signaling the request manager to shut down, so that the user does
not notice the time for the sign out. Also added docs.
2014-06-05 07:56:51 +10:00
Flakebi
af6c121a22
Run whitespaces.py
2014-06-04 15:10:20 +02:00
hiker
c62cc7fbaa
Added CanBeDeleted class, which implements a timeout function. It is
...
used to make sure that (in this case) the NewsManager thread does not
need the file manager anymore when stk exists (which can only happen
on very very quick exists, and slow downloads). This avoids a potential
crash that the NewsManager thread could access the file manager after
the file manager was deleted.
2014-06-04 16:51:29 +10:00
konstin
0db8531a5d
Merge branch 'master' of https://github.com/supertuxkart/stk-code into a
2014-06-02 16:57:14 +02:00
konstin
6bf1a33ddc
fix compilation failure due to merging
2014-05-31 16:50:01 +02:00
hiker
e39f2164b5
Removed OnlineProfile from ActivePlayer, since it was not used at all.
2014-05-31 10:26:02 +10:00
hiker
c705ad7732
Combined windows and non-windows handling of redirecting log to file (no
...
idea why there was ever made a distinction).
2014-05-30 10:54:08 +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
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
71603816fa
Merge remote-tracking branch 'origin/master' into new_login
2014-05-16 14:21:13 +10:00
hiker
6650827784
Fixed various bugs in menu not showing up.
2014-05-16 08:24:15 +10:00
hiker
717a989bf8
Fixed --profile-laps command line parameter.
2014-05-15 09:08:18 +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
d847e8de00
Renamed StoryModeLobby to UserScreen.
2014-05-05 21:17:46 +10:00
hiker
b3291caea2
Moved 'startup now' code in separate function to make main more readable.
2014-04-28 07:51:24 +10:00
hiker
886e7614e2
Fixed -help command line options (which was broken elsewhere before).
2014-04-22 14:24:32 +10:00
Daniel Butum
c7e9b87e90
Fix memory leak on early exit(0) in handleCmdLinePreliminary()
2014-04-19 20:44:30 +03:00
Marianne Gagnon
f6d52511ea
Merge branch 'Issue_1263'
2014-04-18 18:24:31 -04:00
hiker
447ca89c0a
Removed CurrentUser usage from all files except PlayerManager
...
and PlayerProfile.
2014-04-16 11:13:35 +10:00
hiker
f33a9f7cf6
Fixed #1282 : STK crash on startup for the first time.
2014-04-15 09:06:50 +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
Marianne Gagnon
9a5e3d9c9c
Try to handle case where addons XML file cannot be loaded
2014-03-30 11:48:38 -04:00
konstin
4d3e835021
re-adding -help
2014-03-30 16:19:09 +01: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
fc2d55d6a5
Fixing #1263 and little bit refactoring
2014-03-28 22:10:43 +01:00
konstin
65e2dcf2f0
Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces
2014-03-28 20:08:39 +01:00
hiker
3c1a7b1c7b
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-03-07 16:05:17 +11:00
hiker
c8749a3400
Fixed unnecessary include.
2014-03-07 16:04:59 +11:00
nixt
28b089592d
Merge remote-tracking branch 'upstream/master'
2014-03-07 05:17:59 +05:30
konstin
f7953f4f12
Adding debug messages for 1180
2014-03-06 20:30:52 +01:00
konstin
b561f440ba
1180 Loading Grand Prix's from locale directory
2014-03-06 11:30:51 +01:00
hiker
58a5928b17
Fixed #1228 (crash when no default player is set and -N, -R, ... is used).
2014-03-06 17:06:41 +11:00
nixt
c3bd527b8c
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
data/shaders/ssao.frag
2014-03-06 04:25:17 +05:30
konstin
c09a3172f1
Solving Issue 1180 - Load addon GPs from local folder
2014-03-05 12:11:20 +01:00
hiker
e79a46ef38
Fixed crash when --track or --kart is used and no default player exists.
...
Also only print an error message if --track or --kart do not work (e.g.
the track/kart is not unlocked, or no default player exists) instead of
aborting STK.
2014-03-01 17:14:56 +11:00
hiker
1c6d63acc7
Added separate create() function for ProfileManager, and some cosmetic changes.
2014-02-26 16:34:46 +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
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
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
nixt
cc78233258
Merged from master
2014-01-23 03:17:32 +05:30
hiker
0d51477f5b
Disabled online menu by default (use --online to get access to it).
2014-01-22 08:52:22 +11:00
hikerstk
9ee06a5fe0
Replaced boolstr with toString specialisation for bool;
...
fixed translations in current user. Otherwise many many
cosmetic only changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-14 11:47:25 +00:00
hikerstk
428f74d859
Removed old network_http and related data structure. Its function
...
is now either in the addons/news_manager, or in Online::RequestManager.
Also added leack check and copy-preventing to online/Request.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 05:21:48 +00:00
hikerstk
b136e16f7a
Preparation to remove network_http (its work will be
...
taken over by the reqeust manager).
Initialise news and addons manager in a separate thread
and not from the network_http thread anymore. Icons are
also downloaded now from the request manager instead
of the network_http.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-12 11:20:32 +00:00
hikerstk
54e6396df6
Renamed HTTPManager to RequestManager, and split request
...
into three files request, http_request and xml_request.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-09 04:57:58 +00:00
hikerstk
a1c964f71d
Some refactoring and cleanup of the online request handling:
...
added setter/getter, renamed functions to have better names,
removed synchronousRequest from http_manager. Should be no
change in functionality.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 12:08:46 +00: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
3e8741c442
Fixed typo.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-06 12:28:24 +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
nixt
83d91b7b07
Merge from trunk, pending.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 04:34:57 +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
nixt
43f1c59a6e
Huge merge from trunk, part 1.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-08 03:45:57 +00:00
hikerstk
f7cf407208
Deallocated http manager earlier (in case that it is using a command
...
which needs any of the objects that have been deleted while cleaning up).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 13:12:45 +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
hikerstk
c0783283e0
Fixed VS compilation (without WIN32_LEAN_AND_MEAN
...
VS defines MAX_PRIORITY as a macro).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-04 09:58:24 +00:00
hikerstk
41804c99da
Fixed windows compilation (without WIN32_LEAN_AND_MEAN
...
windows will define a macro MAX_PRIORITY, which clashes
with the constant of the same name in http_manaher).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-21 04:29:40 +00:00
nixt
d3f92542df
Split AIBaseController to AIBaseLapController and AIBaseController.
...
AIBaseLapController inherits from AIBaseController.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/battleAI@14223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-09 07:26:55 +00:00
hilnius
a637ce6e36
some buxfixes + implementation of the max player count
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@14127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-21 20:56:39 +00:00
hilnius
0ce03186ee
merging uni's branch and fixing compilation problems
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-15 10:12:54 +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
unitraxx
c775662e4a
fix rfc for achievements when no default profile is selected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-14 22:52:21 +00:00
unitraxx
2c1d02095a
Changes to HTTPManager and it's clean-up sequence. Main thread now "joins" the network thread and thus waits for all the requests to be done. (Remember me to start a discussion on the memory leak checker!)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-12 18:23:56 +00:00
hilnius
20418a82af
Lot of changes to make a cleaner startup in no-graphics mode and having a clean exit with all threads being stopped etc...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-12 15:54:32 +00:00
unitraxx
e71d99aa2d
small clean up improvement
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-12 02:44:52 +00:00
unitraxx
5ba1493990
Some fixes in the sequence of quiting STK. Though the thread still gets killed before the request is done.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-12 02:29:05 +00:00
unitraxx
cbca9404e3
Big ass commit regarding achievement viewing of other people via their profile.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-10 20:41:57 +00:00
unitraxx
c67c5a6fb1
Achievements progress now actually gets saved.. how cool is that?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-05 23:20:39 +00:00
unitraxx
03be63ea5b
Even more achievements stuff. Unlock manager is a mess!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-04 19:44:10 +00:00
unitraxx
91e77a14c3
Lots of additions to achievements! core almost done.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-02 20:53:55 +00:00
curaga
fe9d2ec86c
Mark the main clean function static
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-30 11:39:40 +00:00
unitraxx
7e8d167a89
Decent clean-up when closing STK. Send a message to the server if still signed in. (Server-code will not be pushed immediately, so testers might experience errors.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 22:45:11 +00:00
hikerstk
298bd078fb
Applied Deve's patch for #1042 - thanks!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 13:58:45 +00:00
curaga
97232fe314
Invalid params should go to console
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-28 13:51:12 +00:00
hilnius
98f3b20bcb
merging uni's branch and trunk
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-15 12:35:23 +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
9fe8d0f259
Started to work on rewinding. ATM a single kart can be rewound
...
to a previous time (i.e. the race continuous from the previous
location). No memory handling is done, ... all work in progress :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/rewind@13468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-12 23:29:21 +00:00
hikerstk
f9fa721a22
Minor bugfix: if an invalid kart name was specified on the
...
command line, it was not ignored (as stated), it would
result in STK aborting. Now this is just ignored.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 06:06:09 +00:00
hikerstk
5efa7c8ad2
Removed apparently unnecessary #include <io.h>, since
...
it will actually include io.h from wiiuse, not the
internal one from VS (which results in some warnings
about RAD_TO_DEGREE already defined).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 06:02:44 +00:00
hilnius
057c8f46be
adding things in order to be able to leave the world at the end of a network race
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-01 01:03:07 +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
hilnius
a20c200b77
merging uni's branch. one bug appeared back
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 00:41:47 +00:00
hilnius
87e9deea78
established back login from command line
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 01:21:03 +00:00
hilnius
c5c6c6195f
merging uni's branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-24 15:43:54 +00:00
unitraxx
ac40b8111b
Decent killing of the network singleton and thread.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-20 02:14:36 +00:00
hilnius
75e75c43ee
adding a workaround to be able to start a network client from a server (with --no-graphics option)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-16 22:27:28 +00:00
hilnius
0625379706
slight modification in the synchronization protocol to handle correctly multiple clients on the server (token management was not working).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 23:28:20 +00:00
hilnius
c1534075d3
adding a protocol to synchronize client/servers and a little bit of code to test it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-13 23:12:53 +00:00
hilnius
212b77fef3
adding features in the client lobby room protocol, separating client and server lobby room protocols in their own files to have clearer code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13162 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 20:15:17 +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
f56f1ec3b1
weird commit number 2 to fix issues
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-08 14:36:39 +00:00
hilnius
1e94193b8b
splitting --no-graphics option into --no-graphics and --with-profile options
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-07 22:55:21 +00:00
hilnius
9aa25a4e97
Modifications in protocols to use the http connector and xml to get information from the database. Correcting the --server option which wasn't working. Now launching supertuxkart --server will connect the user 'server':'serverpass' and start automatically a ServerLobbyRoomProtocol that listens to incoming peer connections.
...
Improvement of logging. Some were fatal whereas they shouldn't.
Improvement of the protocol system. There were mutex permanent locking.
Protocols that do not use http are now non-blocking (except maybe one).
A user can 'quick join' the server by logging then pressing the 'quick play' button in the online panel.
Improvement of packet serialization/unserialization
Added a ping protocol to ping peers as long as they don't respond
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-07 19:49:51 +00:00
hilnius
ed6e4ebfb4
correcting the ai kart bug due to the former networking removal
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 12:01:29 +00:00
hilnius
2a0a9a3617
merging uni's and hilnius's branches in networking
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 17:24:20 +00:00
hilnius
253a3ec1e8
cleaning destructors, using log:: instead of printf or std::cout, cleaning more paths, removed useless fnctions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-04 16:59:30 +00:00
hilnius
613e97d0d6
breaking everything that was working. cannot even start a race now, need to rewrite the network manager and part of the race startup sequence
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-29 22:57:18 +00:00
curaga
454fef7fe4
Fix crash when closing window in the middle of a race
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-21 08:19:17 +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
hikerstk
366f8cd6b1
Cosmetic changes only.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 06:26:47 +00:00
curaga
b8cc3217d2
Fix an inefficiency in listing. Using std::string here allocates memory needlessly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 12:37:59 +00:00
curaga
007bbacf5f
Fix the --list options, broken by the file logging (we _want_ them to console)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 11:24:39 +00:00
hikerstk
717e0e2992
Fixed installation (the desktop entry still used --log=file
...
instead of --no-console), fixed help text for --no-console as well.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 23:44:28 +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
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
da9d75bbae
Re-enabled windows console in debug mode - it's just handy to have ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-10 23:19:36 +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
5776ae8b80
Log all important info to stdout.log on windows (part
...
of #836 : remove console on windows).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-23 00:28:11 +00:00
hikerstk
c9695fa1d2
Disable console window on Windows ( #836 ). Thanks to hired777 for the patch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-21 12:39:25 +00:00
hikerstk
23814a3145
Fixed 'fixmes': checking for locked tracks and karts did not work
...
anymore (since it's not known which player is actually selected to
use those). Since it can be assumed that whoever uses --track
or --kart will also use -N (otherwise the GUI will handle notification
of the player), this is now tested for player 0.
Also the corresponding --list-kart/track options will now use all
karts/tracks, but add '(locked)' at the end of locked items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-17 07:18:23 +00:00
hikerstk
2829f711c6
Applied curaga's patch for #675 : don't create GUI with certain
...
command line options - thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-17 07:00:30 +00:00
hikerstk
9a9ff77812
iAdded new 'best' AI difficulty. ATM this is not locked yet, and
...
art work (icon) is still missing. Also we have to find what
to call it (atm 'Iron Man').
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-11 06:17:46 +00:00
hikerstk
a14a9df3f1
Removed unnecessary "\n" in Log messages.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-14 05:26:17 +00:00
funto66
07c74c41b5
Merge soccer mode back into trunk - but still WIP, can be disabled via a #define in race_setup_screen.cpp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-11 22:30:50 +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
97e8fddd7e
Added --wii command line option, which shows the connect-wiimote dialog
...
at startup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-05 11:11:25 +00:00
hikerstk
4410101721
Remove the usage of '//', which isn't properly supported by Irrlicht's CFileList
...
("a/b" and "a//b" on a file archive are not equal) and is not necessary.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-21 05:37:33 +00:00
hikerstk
67dc8141da
Use Log:: in main.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 21:44:51 +00:00
auria
16df188b03
Delete old unsued files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 01:02:38 +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