Commit Graph

16220 Commits

Author SHA1 Message Date
hiker
97ac0a6f59 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-03-19 10:28:01 +11:00
hiker
d25f3cee25 Added time step size as parameter to each protocol's synchromous update
function (which is needed for interpolation later).
2016-03-19 10:24:44 +11:00
auriamg
616a34ea77 Merge pull request #2456 from tobbi/coverity_issues_3
Properly free memory for m_story_mode_status and m_achievements_status
2016-03-18 19:08:38 -04:00
hiker
10bb5caae3 Show lobby screen on interactive server in LAN mode. 2016-03-18 08:10:47 +11:00
Tobias Markus
8ae746f330 Properly free memory for m_story_mode_status and m_achievements_status 2016-03-17 15:48:24 +01:00
Tobias Markus
0775347431 Add missing unlock 2016-03-17 15:38:40 +01:00
hiker
4101d72d90 Avoid crashes when the server enters the lobby (somewhat temporary,
the server needs a different kind of lobby anyway).
2016-03-17 17:20:02 +11:00
hiker
b6bcf33ae0 Added end of race handling, so that clients and server shut
down properly and go back to the lobby.
2016-03-17 17:19:21 +11:00
Benau
5b7161710d Add GUI option in track info screen for random item location. 2016-03-17 12:16:19 +08:00
hiker
094a87eb94 Avoid NULL reference crash. 2016-03-17 10:00:03 +11:00
Benau
d2509baf5c Allow random items number and type for arena with navmesh.
Number and types are hard-coded for now.
2016-03-17 01:27:24 +08:00
hiker
970159d98f Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-03-16 22:47:34 +11:00
hiker
c6b22cdffb Fix crash when player is not logged in. See #2453 for more details. 2016-03-16 22:29:51 +11:00
hiker
90f82494f7 Cosmetic changes only. 2016-03-16 09:49:30 +11:00
auriamg
6f5d36f479 Merge pull request #2451 from egirsova/master
Update README
2016-03-14 20:00:56 -04:00
hiker
07048d62fe Removed indices used in reading network string, now all reading
is sequentially.
Merge branch 'network_string_sequential_read'
2016-03-15 10:34:19 +11:00
hiker
19222c25bc Merge remote-tracking branch 'origin/master' into network_string_sequential_read 2016-03-15 10:33:47 +11:00
hiker
3a3e8bb49e Create a dummy camera if the server is running with graphics. This
allows starting a server from the gui.
2016-03-15 09:53:26 +11:00
hiker
1ad41db6c9 Fixed reading code which ignored 2 bytes. 2016-03-15 00:04:00 +11:00
egirsova
8d312174d8 Update README.
There is no stk-code/src/ide folder. Users should simply follow the instructions in the wiki to build for Mac OS X
2016-03-13 16:10:02 -05:00
Benau
c48ce20091 Thanks leper for this fix 2016-03-14 00:43:00 +08:00
hiker
7783de8770 Fixed line ending style. 2016-03-13 16:37:19 +11:00
hiker
e267aa9dff Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-03-13 16:31:36 +11:00
hiker
54463e9d66 Save server password so that authentication works. 2016-03-13 16:30:24 +11:00
hiker
467953cfe6 Merge remote-tracking branch 'origin/master' into network_string_sequential_read 2016-03-13 16:08:21 +11:00
hiker
f2c26f06f1 Another refactoring of NetworkString, this time added support for sequential
reads, so that you don't need to specify the offset anymore (and no more
removeFromFront).
2016-03-13 13:49:43 +11:00
Benau
8a9168a024 Remove the hard-coded localized name in language.cpp 2016-03-13 10:25:26 +08:00
hiker
96bf567c2e Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-03-11 16:46:20 +11:00
hiker
655987b992 Removed NetworkPlayerProfile field from STKPeer (since if splitscreen will
be supported there will be no 1:1 relationship between peer and players
anymore). All voting related protocols were extended to include the
voting player's player id (sp in future split screen player can vote
individually - though atm they would all vote for the same thing).
2016-03-11 16:42:35 +11:00
Marianne Gagnon
5500a06ceb Tweak subsea challenge 2016-03-10 20:57:43 -05:00
Marianne Gagnon
d0499be4b9 Update protocol to include server difficulty and mode 2016-03-10 19:25:55 -05:00
Marianne Gagnon
90f0c12393 More work on networking UI 2016-03-10 18:48:40 -05:00
Marianne Gagnon
35451515a2 Work on "Create server" screen to include more options 2016-03-09 19:47:45 -05:00
Marianne Gagnon
193aabe393 Remove weird unicode character from help GUI files 2016-03-09 19:47:21 -05:00
hiker
fc38acbea4 Fixed waiting screen. 2016-03-10 09:29:53 +11:00
hiker
b4d4f770ca Fixed line endings. 2016-03-10 09:28:52 +11:00
hiker
69f128b62f Added some log messages about received events. 2016-03-09 21:22:53 +11:00
hiker
6d1e5dc8ae Fixed crashed caused by sending messages that have been read previously
(which were sent with incorrect length).
2016-03-09 21:21:50 +11:00
hiker
45b2fef88a Merge remote-tracking branch 'origin' into remove-event-processing-info 2016-03-09 16:50:51 +11:00
hiker
058c1554ac Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-03-09 16:47:13 +11:00
hiker
1923ba0ab4 Two bugfixes (thanks to Benau for debugging). 2016-03-09 16:38:06 +11:00
Marianne Gagnon
8ba337c343 Regenerate pot file, fixing transifex issue hopefully 2016-03-08 21:35:25 -05:00
hiker
f35b3d2670 Merge branch 'master' of github.com:supertuxkart/stk-code 2016-03-09 13:22:00 +11:00
hiker
6067b3b8fa Use new #supertuxkart channel instead of #stk. 2016-03-09 13:21:37 +11:00
hiker
67068db470 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-03-09 13:19:16 +11:00
hiker
603dfe7eee Minor code cleanup. 2016-03-09 13:18:46 +11:00
hiker
62a527a14b Fixed protocol. 2016-03-09 13:16:14 +11:00
hiker
f371a019c6 Fixed compiler warning. 2016-03-09 07:49:27 +11:00
hiker
087d491445 Removed EventProcessingInfo, and pre-computing of protocols that should
receive an event. Solves potential problem that an event might arrive at
a client before the destination protocol is up and running. Also improved
handling of (dis)connects, now only protocols that can handle a disconnect
event will receive them, hopefully reducing the number of crashes when
a client disconnects.
2016-03-09 07:46:33 +11:00
Benau
114732035f Fix log 2016-03-08 10:32:35 +08:00