Commit Graph

19008 Commits

Author SHA1 Message Date
Benau
ba98e7dde9 Remove invalid warning about logging packets 2018-04-20 12:19:58 +08:00
Benau
f37ca7ada5 Don't update skidmark if rewinding 2018-04-20 12:19:58 +08:00
Benau
c3354923db Avoid skipping of vertex buffer update if called more than once per frame 2018-04-20 12:19:58 +08:00
Benau
22f8095cb0 Remove compiler warnings 2018-04-20 12:19:58 +08:00
Benau
beaafb3d79 Fix clang discarding the translated stringw 2018-04-20 12:19:58 +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
969b56844b Don't pause timer in thunderbird phase when in offline game
And don't show the dialog at all in network game when thunderbird phase
2018-04-20 12:19:58 +08:00
Benau
93d1b9136d Clean all previous AI if exists in offline game 2018-04-20 12:19:58 +08:00
Benau
2dd9174b3a Remove unused code in game events protocol 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
Benau
66c05bbdbf Avoid crash if pressing close window button when networking 2018-04-20 12:19:58 +08:00
Benau
eca5a78075 Fix starting race now network string leaking 2018-04-20 12:19:58 +08:00
hiker
a727f524f2 Modified file to automatically trigger cmake on compilation. 2018-04-20 12:19:58 +08:00
hiker
4f94615c49 Moved wrong-way timer from kart into linear world. 2018-04-20 12:19:58 +08:00
hiker
da039bf6a9 Renamed member variable and method to better describe them. 2018-04-20 12:19:57 +08:00
auria.mg
92edfe5121 Attempt for #3164 2018-04-20 12:19:57 +08:00
auria.mg
ca7aac04c7 Fix leak 2018-04-20 12:19:57 +08:00
Deve
6d435a3dcf Fixed mingw compilation 2018-04-20 12:19:57 +08:00
Deve
7e553356ea Fixed windows compilation 2018-04-20 12:19:57 +08:00
Deve
0773e03246 Avoid some code duplication 2018-04-20 12:19:57 +08:00
Deve
fc3b428360 Allow to use scripting on arm64 2018-04-20 12:19:57 +08:00
auria.mg
6d306e64a7 More UI scaling improvements, see #3146 2018-04-20 12:19:57 +08:00
hiker
99d8ad8ac1 Properly fix #3159 (Wrong direction text is displayed twice).
When this is merged with master, the current work around
in #3159 can be reverted.
2018-04-20 12:19:57 +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
Benau
c2b5e566c0 Merge branch 'game_protocol' 2018-04-20 10:34:19 +08:00
Benau
c926d37bb9 Remove online menu again 2018-04-20 10:31:50 +08:00
Deve
fdea04f34c Simplify setting android project version 2018-04-19 21:05:27 +02:00
Deve
b07a345b1c Merge branch 'version_number_android' 2018-04-19 20:46:20 +02:00
hiker
78bd331cae Fix #3206 (crash in gui-less server). 2018-04-20 00:01:45 +10:00
hiker
5990e172b6 Cleanup unnecessary states and events (i.e. everything up to
the last confirmed state).
2018-04-19 23:54:36 +10:00
hiker
8c420d68d7 Fixed shaky tires (#3051), which was re-introduced by moving the
kart model update the updateGraphics().
2018-04-19 19:33:19 +10:00
hiker
d565ce904d Fixed incorrect comment. 2018-04-19 19:32:31 +10:00
hiker
203c511fab Fixed compiler warnings. 2018-04-19 18:08:48 +10:00
hiker
969f938dce Avoid an assertion error if previously a local race with AI
was done (then #ai karts + player karts != num_karts in
race manager).
2018-04-19 17:44:38 +10:00
Benau
9897a497f5 Fix slipstream crashed in server 2018-04-19 14:48:44 +08:00
Benau
4464d4cd55 Fix quaternion in dynamic draw call 2018-04-19 14:28:26 +08:00
Benau
7fb276e976 Don't update the physical object if it's static 2018-04-19 14:14:37 +08:00
Benau
f8323b9ad1 Remove unneeded skinned mesh shader for road blending shader 2018-04-19 11:49:38 +08:00
Benau
63bb6a467b Fix total_uniforms uninitialized if missing shader program 2018-04-19 11:48:27 +08:00
Benau
c3f2d144b2 Fix m_current_transform uninitialized 2018-04-19 11:46:49 +08:00
hiker
98555a8f35 Merge remote-tracking branch 'origin/master' into game_protocol 2018-04-19 10:57:37 +10:00
auria.mg
c199ba7c63 Bugfix 2018-04-18 20:05:32 -04:00
Deve
26d15e9d8b Update android project after recent modifications related to STK project version 2018-04-19 00:25:22 +02:00
hiker
95bba525c5 Refacotring: instead of Moveable::update calling updateGraphics,
this is now called separately once per rendered frame from
the main loop. Started to split other objects to have separate
updateGraphics functions (e.g. to fix skid marks issues caused
by previously updating skidmarks even in rewind).
2018-04-18 22:27:06 +10:00
Alayan-stk-2
be8ae4dca6 Various slipstreaming refinements (#3202)
* New getRecentPreviousXYZ function

* New getRecentPreviousXYZ function

* New getRecentPreviousXYZ function

* General slipstreaming refinements

* Increase the minimum time to get the slipstream bonus

The obsolete parameter is not yet removed as several other files would have to be changed to not trigger an error.

* Slipstreaming characteristics update

* Changed slipstreaming characteristics

* Update slipstreaming characteristics

* Update slipstreaming characteristics

* Update slipstreaming characteristics

* Update slipstreaming characteristics

* Update slipstreaming characteristics

* Remove slipstreaming power engine bonus per kart type

Power engine bonus is already balanced by the different weights : a heavier kart needs more engine power to achieve/maintain the same speed.

* Remove an unused function

* Various slipstreaming refinements

* Pull the XYZ history size from config

* Pull the XYZ history size from config

* Remove unnecessary logs

* Fix a frenchism with fix
2018-04-17 21:09:49 -04:00
hiker
acdba401a9
Merge pull request #3090 from qwertychouskie/simplify-version-number-change
Reduce number of places version number needs to be changed on release
2018-04-18 09:44:13 +10:00
Alayan-stk-2
539ab45b08 Keep the camera looking to the same kart when changing view type (#3205)
Except for first-person view which keeps resetting to the player kart (the FP view itself is linked to it)
2018-04-17 18:49:43 -04:00
Deve
c23f1bbc5b Fixed a bug in generate_assets script 2018-04-17 23:57:10 +02:00
hiker
b17b45d8c5 Fix non-networked races. 2018-04-17 18:48:32 +10:00