Commit Graph

492 Commits

Author SHA1 Message Date
Benau
afa60c4537 Disable scripting engine in child process 2020-03-11 15:35:02 +08:00
Benau
607c6932f0 Add track object copying to child process 2020-02-28 19:52:17 +08:00
Benau
d41594ea5b Initial working of starting game if no physical object exists 2020-02-28 19:51:40 +08:00
Benau
6a635e1a56 Turn physics into a singleton get for 2 processes 2020-02-28 09:43:05 +08:00
Benau
6a3e606c2d Turn race manager into a singleton get for 2 processes 2020-02-28 09:42:44 +08:00
Benau
2872706317 Use separated fixed body for multiple physics instances later 2020-02-23 01:14:20 +08:00
Benau
e40ab453a6 Fix possible NAN on some extreme tracks 2019-12-12 09:16:10 +08:00
Benau
49e6bda418 Make collision shape more like a circle if it's large 2019-04-14 12:12:53 +08:00
Benau
d8edde34da Add document for compressed network values 2019-03-26 02:44:52 +08:00
Benau
3a90e828a4 Remove kart animation when goal phase
This will make sure all karts will be back to own goal at the same
time without animation playing
2019-03-25 16:19:29 +08:00
Benau
38568484fb Restore physical object moved by 3d animation even the first rewind ticks 2019-03-04 09:54:22 +08:00
Benau
eb8544b785 Use rewinder with binary uid 2019-02-27 11:31:49 +08:00
Benau
224c694dfd Combine static physical objects with irrlicht GeometryCreator 2019-02-27 11:06:18 +08:00
Benau
733794bb3e Clean up compressing for network body 2019-02-27 10:43:42 +08:00
Benau
aa49f4ae8c Reset all smooth network body of rewinders during firstly live join 2019-01-02 16:16:59 +08:00
Benau
eb342b2707 Always update current physical object if there was live join 2019-01-02 15:30:56 +08:00
hiker
4269ac6294 Merge remote-tracking branch 'origin/master' into voting_gui 2018-12-16 02:06:50 +11:00
hiker
f6e758a9d6 Added a phase and optional iteration index/max-iteration to
renderGUI to allow for smooth display of progress bar.
2018-12-06 09:58:29 +11:00
Alayan
5ea5b69200 Fix the possibility to get 1 lap/race achievements in battle/soccer/egg hunt 2018-11-23 16:57:19 +01:00
Benau
b91e018a18 Use only y-axis for timed rotation 2018-11-14 16:07:02 +08:00
hiker
4a4bc7248c Merge remote-tracking branch 'origin/lossless_compression' into dev 2018-11-13 23:04:38 +11:00
hiker
266dc02a44 Removed support for cushioning falls, instead increase max suspensiom
force and damping compression to allow karts to fall without colliding
with the terrain. Needs an increase in network protocol version.
2018-11-13 18:35:41 +11:00
Benau
9de7376b0a Make a lossless compression for btKart state saving 2018-11-13 12:56:40 +08:00
Benau
7075dd5a47 Add kartHit in physics for ctf candela 2018-10-20 01:31:34 +08:00
Benau
2bbe2d5b79 Fix duplicated setsquash explosion animation creation 2018-10-19 23:47:55 +08:00
Benau
876defbc29 Fix valgrind warning 2018-10-19 23:06:36 +08:00
hiker
964d7bf8de Added timing output for physics loop when using --physics-debug. 2018-10-20 00:39:03 +11:00
Alayan
3eab9b11b6 Remove unused code, prepare transition to dynamic progress update 2018-10-06 18:26:57 -04:00
Alayan
358c15b7f9 Make Arch Enemy use a generic counter, fix some wrong enum names 2018-10-06 18:26:57 -04:00
Alayan
05df0d6297 Make Strike use a generic counter 2018-10-06 18:26:57 -04:00
Alayan
69ee902327 Make hiker happy 2018-09-25 19:46:28 +02:00
Alayan
50f87e3f0f Fix even more incorrect flying 2018-09-24 13:08:55 +02:00
Alayan
0b7e2d35fb Fix another instance of kart flying incorrectly 2018-09-22 16:28:51 +02:00
Alayan
6dedbff1a8 Fix all known instances of kart flying due to cushioning 2018-09-20 23:56:53 +02:00
Alayan
0da04805b4 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2018-09-20 22:22:56 +02:00
Alayan
961c4af662 Fix cushioning when landing on a slope, reduce needed data size 2018-09-20 22:22:23 +02:00
Benau
f975e37dea Use a uniform material loading for non-glsl (for server) 2018-09-20 14:20:38 +08:00
Alayan
eb274e01d4 Adjust value to cushion most small jumps 2018-09-18 20:32:13 +02:00
Alayan
6145aff895 Use height data to cushion only close to the ground and adjust impulse strength 2018-09-18 20:01:59 +02:00
Alayan
6af07fac77 Don't assume number of physics ticks per second 2018-09-18 15:56:09 +02:00
Benau
d203239aa2 Improve kart kart collision in network 2018-07-31 01:14:02 +08:00
hiker
4e35fe8fb8 Merge branch 'physics-tweaks' 2018-07-27 21:24:28 +10:00
hiker
f8acc1ad49 Added the cushioning time to the network state (to be decided later
if local state might be good enough).
2018-07-26 21:47:05 +10:00
hiker
84c21c4af2 Merge remote-tracking branch 'origin/master' into physics-tweaks 2018-07-26 17:47:25 +10:00
Benau
05f5663888 Save the uncompressed physics values to objects in server 2018-07-26 13:32:41 +08:00
Benau
60bfc1840b Port rewinders to use shared_ptr 2018-07-24 14:22:20 +08:00
Benau
bbf5c54f87 Use rewinder with shared_ptr for easier item destroy handling 2018-07-24 14:21:42 +08:00
hiker
b4a4de74bb Merge remote-tracking branch 'origin/master' into physics-tweaks 2018-07-19 18:39:55 +10:00
hiker
c01622a5d7 Avoid cushioning a kart more than once per second. This helps
avoiding the hovering effect (a kart is cushioned, moves forwards
on a downward slope, cushioned again, ...).
2018-07-17 09:31:14 +10:00
Benau
724828b031 Don't adjust vertical offset for phyiscial objects 2018-07-13 22:06:13 +08:00