Commit Graph

19129 Commits

Author SHA1 Message Date
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
samuncle
50e433afca Add shader specialized for roads, still some stuff to be tuned 2018-04-15 09:37:55 +02:00
Alayan-stk-2
080cecd400
Fix member variable name 2018-04-15 06:54:38 +02:00
Alayan-stk-2
8797f5b1fe
Fix member variable name 2018-04-15 06:53:09 +02:00
Alayan-stk-2
8f2c118e33 Improved AI testing (#3184)
* New command line option for testing

* Fix command line option

* Allow races from command line without player kart

* Use the new command line option for testing

Also increase the default number of karts for testing from 9 (including player kart) to 15 (no player kart) for reduced randomness.
And set the default test difficulty to SuperTux
2018-04-14 21:07:12 -04:00
Alayan-stk-2
ff55703457 Nitro fixes (#3190)
* Nitro fixes

* Remove the attachment of a kart on elimination
2018-04-14 20:56:16 -04:00
Psypherium
45e5612985 Update README.md (#3181)
* Update README.md

- Add recompilation instructions
- Add build threading instructions
- Rearranged 1 sentence with passive voice to match the rest of the readme

* Update README.md

* Update README.md

Clarification

* Update README.md

Rephrasing, reformatting
2018-04-14 20:42:17 -04:00
Alayan-stk-2
f16ed91bd5 Go back to the overworld in losing challenges (#3192) 2018-04-14 20:38:23 -04:00
Deve
45aa9c2e3a Minor tweak for init android dialog 2018-04-14 22:39:51 +02:00
hiker
896b631f97 Removed unused skidding code. 2018-04-15 00:40:41 +10:00
hiker
b4107bfc25 Added a new constructor taking a string and port number (including
test cases) - mostly useful for debugging.
2018-04-15 00:32:30 +10:00
Alayan-stk-2
9d1abed0cd
Remove erroneous chars at EOF 2018-04-14 04:37:55 +02:00
Alayan-stk-2
39d6178f64
Checks to avoid undefined operations on moving textures 2018-04-14 04:09:27 +02:00
Alayan-stk-2
79fd0f12a5
Fixes a too small index 2018-04-13 23:32:37 +02:00
Alayan-stk-2
607ee6ed75
Merge pull request #3 from supertuxkart/master
Update fork
2018-04-13 21:57:35 +02:00
Alayan-stk-2
0c4c5fbe80
Slipstreaming characteristics completely reworked 2018-04-13 08:50:10 +02:00
Alayan-stk-2
bffebe32fc
Update header for slipstreaming improvements 2018-04-13 08:41:57 +02:00
Alayan-stk-2
f41b537477
Completely revamps slipstreaming 2018-04-13 08:40:03 +02:00
Alayan-stk-2
b2bdd49931
Allow instantSpeedIncrease use from Kart 2018-04-13 04:36:35 +02:00
Alayan-stk-2
885eaa516c
Allow instantSpeedIncrease use from Kart 2018-04-13 04:35:48 +02:00
Alayan-stk-2
7e0bb71d64
Allow instantSpeedIncrease use from Kart 2018-04-13 04:34:45 +02:00
Alayan-stk-2
c490db927b
Remember previous positions 2018-04-12 21:45:53 +02:00
Alayan-stk-2
3425fb3c70
Remember previous positions
Use an array of 30 Vec3 to remember the previous kart positions 0,25s before. Each one is updated with the previous one, starting from the oldest.

time_previous_counter is used to keep the time of the oldest as close as possible to 0,25s ; in case the physics ticks proceed faster or slower than 1/120th of second.
2018-04-12 21:41:09 +02:00
Alayan-stk-2
8d1fc02b0d
Remember previous positions 2018-04-12 21:35:54 +02:00