hiker
991dc00049
Moved hsitory replay handling into physics loop to make sure we
...
get identical replay independent of frame rate (otherwise input
might get delayed by a few frames).
2018-06-21 19:33:20 +10:00
hiker
526482bab4
Removed unused variable.
2018-06-21 19:32:09 +10:00
Benau
62ea07ecc8
Try to synchronize timer independent of music
2018-04-24 01:01:47 +08:00
Benau
ba681a7cf8
Initial GP in network
2018-04-21 16:00:14 +08:00
Benau
e5c991e3d2
Merge remote-tracking branch 'origin/master' into kobato
2018-04-20 13:03:34 +08:00
Benau
2a3d57706a
Reset timer after finished loading world
...
It avoid some clients with slower loading time than anybody else hanging
when rewinding
2018-04-20 12:19:58 +08:00
Benau
660ccd1f43
Don't crash if user opened a dialog when server shutting down
2018-04-20 12:19:58 +08:00
hiker
da7780a9e1
Removed the storing of DT (which is not necessary when using ticks
...
now). Removed TimeStep information class etc.
2018-04-20 12:19:57 +08:00
hiker
ac3c99a3ca
Removed support for position-based history files, now only
...
physics history files are supported.
2018-04-20 12:19:57 +08:00
hiker
98555a8f35
Merge remote-tracking branch 'origin/master' into game_protocol
2018-04-19 10:57:37 +10:00
auria.mg
61469a6806
Mitigate AI-related edge cases of original fx
2018-04-08 20:47:24 -04:00
Benau
7f17d7ab25
Rebuild the network screen stacks up to wan / lan screen
2018-03-31 15:23:20 +08:00
hiker
1b72d88593
Merge remote-tracking branch 'origin/kobato' into game_protocol
2018-03-31 01:12:22 +11:00
hiker
b1013f6030
Merge remote-tracking branch 'origin/network_improvements' into game_protocol
2018-03-31 00:38:57 +11:00
hiker
2192d1383f
Removed the storing of DT (which is not necessary when using ticks
...
now). Removed TimeStep information class etc.
2018-03-30 18:32:48 +11:00
hiker
17b3a79997
Removed support for position-based history files, now only
...
physics history files are supported.
2018-03-20 23:52:02 +11:00
Benau
e58d86d4d5
Merge branch 'origin/game_protocol'
2018-03-20 08:32:45 +08:00
hiker
e1a2f68073
Fixed warning.
2018-03-20 10:25:06 +11:00
hiker
4fd205773e
Moved graphical weather update into separate update function that
...
is only called once per rendered frame.
2018-03-20 09:58:34 +11:00
hiker
78b120a04f
Moved wiimote handling into input manager.
2018-03-20 09:42:26 +11:00
hiker
c456edd9f2
Convert more time handling to handling ticks.
2018-03-20 09:25:39 +11:00
Benau
6a963ffcc9
Add POSIX equivalent for detecting parent termination
2018-03-17 12:26:37 +08:00
hiker
d3a60356c9
Merge remote-tracking branch 'origin/fix-timestep' into game_protocol.
...
Started to use ticks instead of time floating point values in networking.
2018-03-13 18:37:12 +11:00
Benau
93c910f18b
Use a uniform translated timed out string
2018-03-12 11:38:37 +08:00
Benau
80a9cc5c48
Auto shutdown the child STK server in windows
2018-03-02 13:25:14 +08:00
Benau
b26b784b6a
Various improvements to WAN and LAN connection
2018-02-24 15:48:30 +08:00
hiker
95f0bf9e3b
Used functions in stk_config to convert between ticks and times.
2018-02-23 23:22:49 +11:00
Benau
7d14954012
Simpify network console
2018-02-23 14:57:59 +08:00
Benau
1458f3ef8e
Fix wan connection, move get public address from stun to stk host
2018-02-22 15:11:07 +08:00
Benau
c5b986e874
Allow going back to online menu if server connection is lost
2018-02-18 14:06:17 +08:00
Benau
bcf8e4e5fe
Allow shutdown STKHost from dialog
2018-02-17 16:25:53 +08:00
Benau
05f7c014dd
Create a prototype for thread-safe protocol manager
...
Using weak and shared_ptr, if !lock(), than it was atomtically
destroyed
2018-02-15 16:47:04 +08:00
hiker
c0333fe0f7
Bugfix: TimeInfo objects were missing for substeps, resulting in
...
very stuttering game play.
2018-02-15 10:06:13 +11:00
hiker
4bd7848431
Removed duplicated update of the ProtocolManager, and only
...
update it when STKHost exists (otherwise STK will crash since
ProtocolManager can get called when it does not exist).
2018-02-14 09:27:13 +11:00
hiker
26401972d2
Merge branch 'fix-timestep' into game_protocol
2018-02-13 08:41:49 +11:00
hiker
fa20e4f866
Only issue sfx commands once per rendered frame (during the last
...
substep).
2018-02-12 18:01:05 +11:00
hiker
c7bc47f2e3
Fixed world update to be fixed at the physics frame rate.
2018-02-12 09:54:46 +11:00
hiker
b4d9e03e5c
On GUI-less servers the frame rate can be <1ms. Previously the minimum
...
time-step size was 1 ms, which resulted in the world time advancing
faster than real time. This caused problems in the communication
and synchronisation with clients.
2018-01-23 08:30:23 +11:00
hiker
373ec0f242
Made the history files use events for players (will break physics replay
...
for AIs for now). Useful for network debugging.
2018-01-03 16:29:35 +11:00
hiker
54b32ba6b1
Merge branch 'master' into game_protocol
2017-11-05 13:03:15 +11:00
hiker
1cc9f503a4
DT can actually be 0 :P (e.g. in server with no graphics, and I
...
guess on really fast computers). Bad things happen with dt=0, so
set dt to at least 1 ms.
2017-08-11 17:22:25 +10:00
hiker
3923da30bc
Use unique names for profiler events.
2017-08-11 09:41:22 +10:00
hiker
28890aad33
Merge branch 'master' into game_protocol
...
Some minor changes to make code easier to read.
2017-08-09 09:50:46 +10:00
hiker
a13856c6d1
Adjust DT on client (due to server requests) at time DT is computed
...
(to keep consistent DT across all further calls, esp. avoid
issues with rewinding getting different DT).
2017-06-05 09:46:34 +10:00
hiker
3747427c5f
ixed handling of adding states to time step info to minimise
...
rewindw by assigning new events to existing time step info events.
2017-06-05 08:54:52 +10:00
QwertyChouskie
0123228c20
Set menu FPS to 60 ( #2823 )
...
Smoother, see https://github.com/supertuxkart/stk-code/issues/2302 .
2017-03-27 21:56:20 -04:00
Benau
668b28f632
Allow to config whether to limit game framerate with recordings
2017-03-22 07:43:00 +08:00
Benau
b0adb92964
Make sure all textures are uploaded without using timeout in TTL
2017-03-11 13:35:33 +08:00
Benau
d864995c7d
First version of ThreadedTexLoader
2017-03-08 15:54:59 +08:00
hiker
9df07ac0c2
Rearranged code somewhat to make it easier to read - only cosmetic changes.
2017-01-31 18:25:30 +11:00