Commit Graph

15862 Commits

Author SHA1 Message Date
hiker
896d55816f Removed linux compiler warnings. 2015-11-26 09:13:57 +11:00
hiker
5c0f71ad07 Fixed names utf8ToWide and wideToUtf8; added convenience functions
taking std:;string and core::stringw as parameter (removed .c_str()
in many function calls).
2015-11-26 08:56:03 +11:00
hiker
517b0dabf9 Merge branch 'refactor_networking' of https://github.com/supertuxkart/stk-code into refactor_networking 2015-11-26 08:48:05 +11:00
hiker
f81bd5d0c5 Fixed names utf8ToWide and wideToUtf8; added convenience functions
taking std:;string and core::stringw as parameter (removed .c_str()
in many function calls).
2015-11-26 08:47:02 +11:00
hiker
2f126ab226 Moved NetworkPlayerProfile into its own file, added getter and
setters for it.
2015-11-26 07:41:37 +11:00
Marianne Gagnon
8ca0fea6fa Fix audio listener positionning code crash 2015-11-23 19:05:51 -05:00
Marianne Gagnon
c806c1de49 Clear status text in register screen, fixes #2361 2015-11-23 19:04:24 -05:00
hiker
927969e720 Added new server state for 'selecting karts'. 2015-11-24 07:55:58 +11:00
hiker
078de5fe93 Server-side authorisation now implemented if client is on
same IP address.
2015-11-24 07:53:51 +11:00
hiker
981a4ab234 Fix crash when disconnecting. 2015-11-23 17:22:12 +11:00
hiker
3e9e9349c0 Removed commented out code. 2015-11-23 17:21:51 +11:00
hiker
07876a0899 Fixed linux compilation 2015-11-23 11:40:33 +11:00
Flakebi
6e36c223b9 Hold one kart properties object per player 2015-11-23 01:19:00 +01:00
hiker
064414afa3 Added server-side test to see if client is authorised to send commands. 2015-11-23 08:26:18 +11:00
hiker
da2671c6ee An 'authorised' client can now tell the server to select karts. 2015-11-23 08:08:23 +11:00
hiker
0f38d6fb8a Don't add same peer twice (which causes a crash when the peer disconnects etc) 2015-11-23 08:03:15 +11:00
Deve
8a0927f574 Fixed minor inconsistency in video settings dialog.
Regression since 9b562d31f4
2015-11-22 15:33:46 +01:00
Benau
aa9220772f Merge remote-tracking branch 'origin/master' into battleAI 2015-11-22 15:01:41 +08:00
Benau
e1f1461488 Fix some bugs and copyright year 2015-11-22 15:01:22 +08:00
Flakebi
79c962dd79 Remove skidding properties and use characteristics instead 2015-11-22 00:40:11 +01:00
Flakebi
2f1d08edbd Add enabled property to skid characteristics 2015-11-21 23:27:00 +01:00
Flakebi
b4904b182f Fix merge 2015-11-21 23:15:54 +01:00
Flakebi
ffa85d2206 Merge remote-tracking branch 'upstream/master' into kart-properties 2015-11-21 23:03:58 +01:00
Flakebi
4778460f6c Apply script 2015-11-21 23:02:16 +01:00
Flakebi
4be02becac Add skiding properties to characteristics 2015-11-21 23:02:02 +01:00
Benau
62f5be0d9d First playable version of battle AI
TODO:
backwards firing
better handling to obstacles
ai karts number selection
win/lose screen handling

Please use a better navmesh to test
2015-11-21 15:58:03 +08:00
hiker
f05b6f6dd7 Improved handling of cancelling server creation. 2015-11-21 12:21:50 +11:00
hiker
815d663ee3 Revert "Removed unnecessary stkgui file." - it was the wrong file :P
This reverts commit e804fc281a.
2015-11-21 12:21:16 +11:00
hiker
093283c5b0 Avoid crash if networking was selected, but not actually started. 2015-11-21 12:20:05 +11:00
hiker
e804fc281a Removed unnecessary stkgui file. 2015-11-21 12:15:02 +11:00
hiker
1700395dc2 Fixed crash when no votes for a category have been received. 2015-11-21 12:01:45 +11:00
hiker
68bcd4bde3 Cosmetic changes only. 2015-11-21 11:49:15 +11:00
hiker
10bed9a20d Used more names for protocol commands, and use switch instead of if's. 2015-11-21 10:39:56 +11:00
hiker
3ab66592cd Only minor cosmetic changes. 2015-11-20 17:02:47 +11:00
hiker
7a2c7125e5 Used enums instead of numbers for lobby protocol subcommands. 2015-11-20 16:41:54 +11:00
hiker
73e14a964a Cosmetic changes only. 2015-11-20 08:16:41 +11:00
hiker
c3e74d344f Add warning message in case of an unknown command, and do not send
it to the servrer (which typically just confuses it).
2015-11-20 08:07:31 +11:00
hiker
683f0fdc07 Fixed incorrect index. 2015-11-19 14:21:56 +11:00
hiker
b55b91edf1 Use const & for std::string, cosmetic changes. 2015-11-19 14:20:10 +11:00
hiker
2b687e1051 Avoid crash when voting. 2015-11-19 14:19:01 +11:00
hiker
e7cc868c85 Removed uneccesary vector copy. 2015-11-19 14:18:34 +11:00
hiker
4813637a37 Cosmetic changes only. 2015-11-19 09:21:28 +11:00
hiker
5994123b98 Fixed crash. 2015-11-19 09:21:03 +11:00
Deve
b78d4a0c3d Merge pull request #2372 from rugk/patch-1
Readme and Install.md improvments
2015-11-18 09:32:00 +01:00
hiker
ba4ccd5621 Added command line option to start a LAN server. 2015-11-18 17:24:56 +11:00
hiker
e6c2620c90 Print 'hide address' only in WAN mode; remove commented out code. 2015-11-18 13:44:25 +11:00
hiker
90b92419f3 Avoid crash in case that a player is not logged in online. 2015-11-18 08:15:22 +11:00
hiker
17f588bcf2 Fixed storing of EnetAddresses in TransportAddress. 2015-11-18 08:14:58 +11:00
Deve
a69eb99094 Merge pull request #2380 from nado/clang-fix
Fixes few warnings at compilation
2015-11-17 15:23:55 +01:00
Nado
d66a70b250 Fixing some -Wunused-variable 2015-11-17 11:42:28 +01:00