Commit Graph

19102 Commits

Author SHA1 Message Date
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
Alayan-stk-2
dd13fbd977
Merge pull request #6 from supertuxkart/master
Update fork
2018-04-19 03:40:56 +02: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
Qwerty Chouskie
ffe9dad241 Update again 2018-04-18 16:26:58 -07: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
hiker
a9a73e643b Save an initial state at t=0 on the client, to make sure they
can always rewind (e.g. in case that an event from another client
arrives before a state from the server).
2018-04-17 18:42:16 +10:00
Alayan-stk-2
c72cf74138 Fixes server_only build issue (#3199) 2018-04-16 20:16:51 -04:00
hiker
70e7625282 Don't split a game state upon receiving into separate chunks (one
for each rewinder), instead save only one state with all rewind
buffers.
2018-04-17 09:17:02 +10:00
Alayan-stk-2
131011d01e Better GP points distribution (#3178) 2018-04-16 18:32:25 -04:00
auria.mg
54d3476c13 Merge branch 'FixGaugeI' 2018-04-16 18:29:00 -04:00
Alayan-stk-2
e39735934b
Merge pull request #5 from supertuxkart/master
Update fork
2018-04-16 23:09:50 +02:00
hiker
292243ddad Merge branch 'STK-helper-SStreaming' 2018-04-16 23:04:03 +10:00
hiker
0637dd0fa1 Merge branch 'SStreaming' of https://github.com/STK-helper/stk-code into STK-helper-SStreaming 2018-04-16 22:37:49 +10:00
Alayan-stk-2
ba2df185e2
Fixes speedometer saturation 2018-04-16 14:34:02 +02:00
Alayan-stk-2
15ff516b53
New helper function for drawing meters 2018-04-16 14:28:15 +02:00
Alayan-stk-2
746d862e84
Various improvements
1)Use a new helper function for the drawing as the code was nearly identical at three different places
2)Fixes the coloring of transparent points : full color as intended, rather than black
3)Additional drawing points to properly manage the gauge_goal going outside of the gauge_full space
2018-04-16 14:27:27 +02:00
Alayan-stk-2
63127f553f
Better gauge goal 2018-04-16 14:08:28 +02:00
Alayan-stk-2
8bd6cafddf
Attempt to fix #3195 2018-04-16 12:46:23 +02:00
hiker
3167180d7f Refactored state saving into a separate function to later allow
saving of an initial local state.
2018-04-16 17:25:50 +10:00
auria.mg
40372319f6 At general request, remove follow-the-lreader from story mode 2018-04-15 18:31:13 -04:00
auria.mg
264fac392e Ajust forgotten texture 2018-04-15 18:08:08 -04:00
auria.mg
655faa81a0 Reduce speedometer images to a more reasonable size 2018-04-15 18:03:02 -04:00
Deve
868dbf792c Avoid a crash in general text field dialog.
onEnterPressed can be executed twice - in event handler and in input manager.
2018-04-15 21:14:43 +02:00
Deve
32acae7507
Merge pull request #3194 from psypherium/patch-2
minor Update README.md
2018-04-15 20:17:15 +02:00
Psypherium
8341c3657e
minor Update README.md
Refine syntax to match protocol
moved one line back into code fence.
2018-04-16 02:59:56 +10:00