Commit Graph

21897 Commits

Author SHA1 Message Date
Benau
e31bd30f1f Avoid exit hang in wan server for GUI server 2020-02-28 22:49:21 +08:00
Benau
ee22c0f714 Stop STKHost if cannot register public address 2020-02-28 22:49:06 +08:00
Benau
eff00140f1 Remove unneeded previous unjoin because request is executed one by one 2020-02-28 20:27:26 +08:00
Benau
9a7dcf8d8b Fix global variable of rubber ball id 2020-02-28 19:53:18 +08:00
Benau
e6deaabcf1 Use std::atomic enum for SFXStatus 2020-02-28 19:53:13 +08:00
Benau
a2f72a0d13 Avoid including sfx_manager.hpp inside kart properties header 2020-02-28 19:53:08 +08:00
Benau
f590280431 Fix mobile STK server logging 2020-02-28 19:53:01 +08:00
Benau
f37a5ee5d3 Only use sound and music in main process 2020-02-28 19:52:54 +08:00
Benau
885aec8020 Add 3d animation ipo copying to child track objects 2020-02-28 19:52:23 +08:00
Benau
607c6932f0 Add track object copying to child process 2020-02-28 19:52:17 +08:00
Benau
f3b5938b8e Use a new way to identify server owner in graphical server 2020-02-28 19:52:12 +08:00
Benau
4322f47413 Reset graphical client server if its owner quited the game 2020-02-28 19:52:07 +08:00
Benau
97ad138763 Fix child process invalid usage at different places 2020-02-28 19:52:00 +08:00
Benau
d41594ea5b Initial working of starting game if no physical object exists 2020-02-28 19:51:40 +08:00
Benau
6b08a873a2 Allow world to have 2 process instances
Also add specific process type handling to world
2020-02-28 09:43:25 +08:00
Benau
1958e5940c Allow rewind manager to have 2 process instances 2020-02-28 09:43:19 +08:00
Benau
ca0749cf6b Allow game protocol to have 2 process instances 2020-02-28 09:43:13 +08:00
Benau
6a635e1a56 Turn physics into a singleton get for 2 processes 2020-02-28 09:43:05 +08:00
Benau
63bad92765 Turn race event manager into a singleton get for 2 processes 2020-02-28 09:43:00 +08:00
Benau
ccdca532b5 Turn projectile manager into a singleton get for 2 processes 2020-02-28 09:42:52 +08:00
Benau
6a3e606c2d Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
Benau
c8ea01d264 Initial work on client server within same process 2020-02-28 09:41:07 +08:00
Benau
b7f2a9614d Add tool for server creation in the same process
For iOS or Android App Bundle (or other platform) where create process
or fork is not possible or can not be easily done
2020-02-28 09:35:25 +08:00
Benau
d63c68af78 Add thread safe log prefix assignment 2020-02-28 09:35:11 +08:00
Benau
56fb1b9cba Add header helper for thread local storage 2020-02-28 09:35:07 +08:00
Benau
015530e1eb Don't dismiss dialog in no graphics world of STK 2020-02-28 09:32:22 +08:00
Benau
d7003ab9c3 Remove global variable in btQuantizedBvh 2020-02-28 09:32:11 +08:00
Benau
eed95e7c92 Remove global variable in btCollisionDispatcher 2020-02-28 09:31:11 +08:00
Benau
8008753aa5 Remove global variables in btOverlappingPairCache 2020-02-28 09:31:07 +08:00
Benau
1cb966d04d Remove global variable in btSequentialImpulseConstraintSolver 2020-02-28 09:31:02 +08:00
Benau
a58c443247 Remove global variables in btGjkPairDetector 2020-02-28 09:30:56 +08:00
Benau
05ed086d28 Remove global variables in btAlignedAllocator 2020-02-28 09:30:52 +08:00
Benau
336883e2e7 Remove global variables in btRigidBody 2020-02-28 09:30:47 +08:00
Benau
ef1d74b961 Move C and CXX flags earlier to allow libraries of STK to use sanitizer 2020-02-28 09:30:00 +08:00
Benau
fa0da462fb Update ENetAddress to use 5 uint32_t to store IP
ENetAddress ea = {} will allow to listen to any IPv4 or IPv6 address
when using system or bundled enet

The last uint32_t is for IPv6 scope id (required for IPv6 only lan
servers)
2020-02-28 00:59:37 +08:00
Benau
8995491eb6 Update enet to 1.3.14 (remove all IPv6 changes first) 2020-02-28 00:55:10 +08:00
Benau
6d85a03423 Remove unneeded checking of client lobby peer connection 2020-02-27 11:02:15 +08:00
Benau
2ddc26ef9c Move disconnected peer checking to STKHost loop to avoid race condition 2020-02-27 11:00:41 +08:00
Benau
f935c68d20 Don't discard static message in no graphics STK 2020-02-25 12:22:35 +08:00
Benau
a418302d9f Add thread safe function for server time logging prefix 2020-02-25 12:17:27 +08:00
Benau
40c57e8115 Don't check dialog for enterGameState in no graphics STK 2020-02-25 09:55:59 +08:00
Benau
c9dc68e578 Move item manager to track to allow copying easier later 2020-02-24 11:10:06 +08:00
Benau
f325a0fa14 Add code for copying check structures 2020-02-24 10:58:17 +08:00
Benau
3d13686af7 Move check manager to track to allow copying easier later 2020-02-24 10:57:57 +08:00
Benau
306eb1b531 Disable built-in bullet profiler which uses global variables
It breaks client and server in same process later
2020-02-24 09:26:22 +08:00
Deve
11cac8f631 Fixed bad accelerometer icon proportion 2020-02-23 18:24:41 +01:00
Deve
e32f032e68 Generate assets for fdroid in android builder 2020-02-23 00:41:59 +01:00
Deve
bf5ebef481 Allow to set input/output dir for generate assets script 2020-02-23 00:41:59 +01:00
Benau
325cc243c5 Remove more hit effects for no graphics STK 2020-02-23 01:26:59 +08:00
Benau
68ecc980c7 Allow compiling STK with thread sanitizer 2020-02-23 01:14:41 +08:00