Commit Graph

21976 Commits

Author SHA1 Message Date
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
Benau
2872706317 Use separated fixed body for multiple physics instances later 2020-02-23 01:14:20 +08:00
Benau
5e32ab8d07 Remove hit effect in physics for no graphics STK 2020-02-23 01:13:59 +08:00
Benau
96541cf8af Remove irrlicht item node in no graphics STK 2020-02-20 11:00:49 +08:00
Benau
c0a350fe6e Don't create hit effect for no graphics STK 2020-02-20 10:09:29 +08:00
Benau
3bbca7849d Remove irrlicht node for flyable in no graphics STK 2020-02-20 09:46:34 +08:00
Benau
13df4ee83a Don't create collision particles in no graphics STK 2020-02-20 08:57:29 +08:00
Benau
e01381c508 Don't create irrlicht kart node in no graphics STK 2020-02-20 08:52:33 +08:00
Benau
beba4fd4c3 Don't create stars in no graphics 2020-02-20 08:22:35 +08:00
Benau
b799d6454b Don't create particle node with no graphics for kart gfx 2020-02-20 08:07:44 +08:00
Benau
373562bb3c Remove irrlicht node usage from world with no graphics STK 2020-02-19 16:38:28 +08:00
Benau
970fa4a0b5 Allow reverting default configuration name with empty input 2020-02-19 01:42:07 +08:00
Benau
09cc3a47f0 Avoid handling of camera in no graphics STK 2020-02-19 01:31:53 +08:00
GuillaumeBft
2ff79baf26
Add rename config option (#4233)
* Add rename config option

* xmlDe/Encode to deal with " character

* m_config_name string -> stringw

* wcslen() -> empty() , remove useless c_str()
2020-02-19 00:37:26 +08:00
riso
740d57a2c4
Show kart direction by an arrow in soccer (#4230)
* Show kart direction by an arrow in soccer

* bug fix

* bug fix

* correct grammar
2020-02-16 16:31:30 +08:00
Benau
3df7feb654 Fix android compilation 2020-02-15 16:41:20 +08:00
Benau
4a9135c8c0 Avoid pushing and using screen in no graphics 2020-02-15 16:38:49 +08:00
marjorieB
840771d189
Migration Python2 towards Python3 (#4232)
The modified code stays compatible with Python2.
2020-02-15 14:33:25 +08:00
Benau
88bbdbdc92 Move no graphics setting to guiengine which is a better place 2020-02-15 14:00:48 +08:00
Benau
0912ca041b Don't create race gui for no graphics 2020-02-14 13:23:32 +08:00
riso
cf83e4c86c add xcode_build in .gitignore 2020-02-12 23:44:54 +01:00
Benau
45825918d9 Some changes for server in same process 2020-02-12 15:47:30 +08:00