Commit Graph

15339 Commits

Author SHA1 Message Date
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
b788aa6e95 Removed NetworkManager::isConnectedTO 2015-10-26 18:31:32 +11:00
hiker
d45d5a1051 Fixed type name debug print. 2015-10-26 18:29:28 +11:00
hiker
334780b5d7 Moved sendPacket from NetworkManager to STKHost. 2015-10-26 18:26:53 +11:00
hiker
51d39879b4 Moved NetworkManager::connect and STKPeer::connextTo functions into STKHost. 2015-10-26 18:01:07 +11:00
hiker
0bd2b48ea0 Removed sendPacket function and destructor. 2015-10-26 17:55:19 +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
f610573295 Removed unnecessary function. 2015-10-25 20:28:35 +11:00
hiker
85cca69113 Moved GameSetup handling from NetworkManager to STKHost. 2015-10-25 00:19:30 +11:00
hiker
34f0d1b349 Moved public address data from NetworkManager to STKHost. 2015-10-24 23:30:34 +11:00
hiker
350f434c37 Started to refactor network code. 2015-10-24 12:39:17 +11:00
hiker
b8cd9cfb81 Removed unused functions. 2015-10-22 23:41:49 +11:00
hiker
e6ae208b4f Removed many unnecessary copies of NetworkString. 2015-10-22 21:43:06 +11:00
hiker
c59f958c2f Removed unnecessary #include, and disabled copying of STKPeer. 2015-10-22 18:46:01 +11:00
hiker
a102d97e3a Cosmetic changes, some minor refactoring. 2015-10-22 18:40:52 +11:00
hiker
1f4f2bce86 Coding style changes. 2015-10-22 16:03:11 +11:00
hiker
b8837d5d59 Coding style changes. 2015-10-22 14:54:12 +11:00
hiker
9b9fc2ee35 Fixed --no-graphics option. 2015-10-22 11:53:52 +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
hiker
65454db0ce Merge branch 'master' of https://github.com/supertuxkart/stk-code 2015-10-22 11:04:07 +11:00
hiker
6213959f31 Cosmetic/coding style changes. 2015-10-22 11:03:41 +11:00
Deve
8bfe048f0f Remember race type in saved GP.
Continue standard race as follow the leader and vice versa doesn't have a sense.
2015-10-21 22:42:59 +02:00
Deve
4049722677 Don't crash if selection is larger than number of items in ribbon widget 2015-10-21 22:37:38 +02:00
hiker
25ca5646ff Merge branch 'master' of https://github.com/supertuxkart/stk-code 2015-10-22 00:03:11 +11:00
hiker
d6e7ddf000 Avoid copying STK Events for networking. 2015-10-22 00:02:40 +11:00
hiker
f297c92039 Removed more includes of event.hpp in hpp files. 2015-10-21 17:39:53 +11:00
hiker
841d9b248e Removed some unnecessary #includes. 2015-10-21 17:31:33 +11:00
hiker
1a0fb9fa4c Renamed notifyEvent to propagateEvent for the manager to avoid
'duplicated' name (notifyEvent also exists in each protocol).
2015-10-21 17:18:27 +11:00
hiker
cce4793fa3 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2015-10-21 08:43:32 +11:00
hiker
40629d9816 Changed Event's m_peer from STKPeer** to STKPeer *. Fixes some minor memory leaks. 2015-10-21 08:11:35 +11:00
hiker
814f248cbd Fixed linux compilation. 2015-10-21 08:09:24 +11:00
hiker
9cdf7058a7 More coding style fixes. 2015-10-21 08:07:00 +11:00
hiker
94e87796f5 Coding style fixes. 2015-10-21 07:51:53 +11:00
Deve
054d9251bb Don't sort karts after loading saved GP.
This causes issues in follow the leader races, because after sorting the leader is not leader anymore.
This sorting function is most probably not needed because the list is sorted in startNextRace function (where the leader is properly skipped).
2015-10-20 19:52:57 +02:00
Deve
4ac479cbf3 Merge pull request #2354 from hasufell/master
Fix compilation with system angelscript
2015-10-20 19:12:32 +02:00
hasufell
4e307522d1
Fix compilation with system angelscript
Upstream names the shared library angelscript_s.
In addition, add more common PATH_SUFFIXES.
2015-10-20 16:47:23 +02:00
hiker
54a0e50fe3 Try to fix linux compilation. 2015-10-21 00:18:51 +11:00
hiker
10c612a0f6 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2015-10-20 22:44:26 +11:00
hiker
0dfa05227e Cosmetic changes mostly, removed unused functions. 2015-10-20 22:42:57 +11:00
Marianne Gagnon
cc7f7b9b4c Use SigmarOne font for digits 2015-10-19 21:02:25 -04:00
Marianne Gagnon
9c3da791a4 Add Benau to credits, thank you :) 2015-10-19 20:56:38 -04:00
Marianne Gagnon
2dfc493adf Minor FreeType cleanup 2015-10-19 19:25:51 -04:00
hiker
6fc4b9c19d Prevent crash in case of issues creating the server. 2015-10-20 09:37:51 +11:00
hiker
46b4d275a9 Minor refactoring and coding style fixes. 2015-10-20 09:34:14 +11:00
Deve
0d58774b54 Fixed mingw compilation 2015-10-19 20:50:39 +02:00
hiker
d5a9364ece Minor cosmetic changes. 2015-10-19 17:06:14 +11:00
hiker
3a544b69eb Merge branch 'freetype_lazyloadchar' of github.com:supertuxkart/stk-code into freetype_lazyloadchar 2015-10-19 13:31:39 +11:00
hiker
52b5b7c8d1 Fixed crash caused by using a char pointer to a temporary string only (which can get
overwritten/freed before the pointer is used).
2015-10-19 13:29:52 +11:00