Commit Graph

17090 Commits

Author SHA1 Message Date
hiker
74f521980a Fixed time handling to be in synch between history and rewind. 2016-09-23 07:56:21 +10:00
Benau
111fc297d5 Fix overworld crash 2016-09-23 00:15:04 +08:00
hiker
25a457f88f Moved m_speed computation, so that the correct speed was computed
when the engine force (which is speed dependent) is used.
2016-09-22 08:57:37 +10:00
hiker
f0b5f41fc7 Added info message in case of rewinding. 2016-09-21 17:33:37 +10:00
hiker
1651d28a4c In case of history replay update dt earlier so that World is updated
with the replay dt value.
2016-09-21 17:31:24 +10:00
hiker
15660f2d7a Bugfixes: update MaxSpeed(dt=0) (which updates additional engine power
and slowdowns correctly). Call proceedToTransform after updating
the velocities (which are read).
2016-09-21 17:28:26 +10:00
hiker
f09ed569cc Bugfix: kart rewinder stored incorrect bullet zipper speed. 2016-09-21 17:27:08 +10:00
hiker
8ceb85ef14 Merge branch 'konstin-doc' 2016-09-21 09:13:04 +10:00
hiker
ec3dd221a2 Merge branch 'doc' of https://github.com/konstin/stk-code into konstin-doc 2016-09-21 09:12:32 +10:00
hiker
cf3f75c6e3 Moved SVN-CONFIG file to assets (subversion) repo. 2016-09-21 09:10:07 +10:00
hiker
3ccbeff180 Removed exec permission. 2016-09-21 09:07:06 +10:00
Benau
54bf37c09b Make camera works better in upside down area 2016-09-20 10:51:51 +08:00
Deve
a1e2764263 Merge pull request #2636 from SuicSoft/patch-1
Fix typo in main_loop.cpp
2016-09-19 11:38:16 +02:00
Suici Doga
1d75987fe6 Fix typo in main_loop.cpp 2016-09-19 13:54:42 +05:30
Benau
36eca8bc55 Avoid setting gravity in btKart 2016-09-19 11:18:16 +08:00
Benau
8a0a9b2617 Allow showing 3D quad in track debug better 2016-09-19 08:49:59 +08:00
Benau
3187c7e0f9 Allow referee showing on upside down starting position 2016-09-18 13:54:00 +08:00
Benau
ffd497276b Fix kart flying 2016-09-18 12:38:36 +08:00
Benau
b137dbb71c Set gravity inside btKart, allowing starting upside down in arena 2016-09-18 10:53:58 +08:00
Benau
eeac5668d9 Rename QuadGraph to DriveGraph, make it use the new Graph interface 2016-09-17 14:30:28 +08:00
Deve
f2d354d759 Fixed graphics restrictions on android 2016-09-17 03:55:50 +02:00
Deve
852cc068d3 Restore SSAO on linux with GLES renderer. 2016-09-17 03:55:50 +02:00
Deve
21d62ed405 Check availability of color buffer float extension in GLES renderer 2016-09-17 03:55:50 +02:00
Deve
d05cff09c8 Add a graphics restriction for BGRA format on android.
It causes issues with particles transparency.
2016-09-17 03:55:50 +02:00
Benau
606a5401d3 Allow starting position on an upside down surface in arena
Todo: referee and make btKart cast ray at correct normal
2016-09-17 09:53:44 +08:00
Benau
a0005d57e9 Bugfix and better error handling in ArenaGraph 2016-09-16 12:21:38 +08:00
Benau
20e85aa781 Port all function from battle graph to new graph interface 2016-09-16 11:08:19 +08:00
Benau
fff0bab42a Merge remote-tracking branch 'origin/master' into walldriving 2016-09-16 09:23:18 +08:00
Benau
05d2d05f2a Make ArenaAI use only new graph interface 2016-09-16 09:22:57 +08:00
auria.mg
7c2642d427 Workaround crash 2016-09-15 21:12:01 -04:00
auria.mg
6a94d12a11 Update credits 2016-09-15 20:05:06 -04:00
auria.mg
f2bf4eb549 Add new soccer ball icons 2016-09-15 20:00:00 -04:00
Benau
1491236e84 Allow TrackSector to use with new graph class 2016-09-15 15:47:17 +08:00
Benau
05ad91c701 Port all function from battle graph to arena graph
Todo: AI and worlds
2016-09-15 13:29:26 +08:00
Benau
483dca3754 Make EndController to use length() 2016-09-15 12:40:58 +08:00
Benau
8c830bdabf Inital work on one graph interface 2016-09-15 11:46:31 +08:00
Benau
061f187142 Make slipstream work in upside down track 2016-09-13 15:07:07 +08:00
Benau
4574686c1d Make angle computation work in 3D 2016-09-13 12:49:30 +08:00
Benau
3f86722181 Fix skid mark on wall surface 2016-09-13 11:48:36 +08:00
Benau
382905716f Simplify code 2016-09-13 09:26:05 +08:00
hiker
457cb700d2 Make rewind work with history replay (when replaying kart controls),
which allows to have reproducible test cases.
2016-09-13 09:58:42 +10:00
hiker
f8b48a0313 Added zipper speed to state of kart. 2016-09-13 09:55:51 +10:00
Benau
f5d43aaa2e Use btAsin in setHPR
The following quaternion calculated by shortestArcQuat in
rescue animation leads to nan in asinf:

0.710828841, -0.00974362344, -0.703500867, 0.00481829932
-2.0f * (X * Z - Y * W) equals 1.00004351 with above figures

With btAsin it will:
if (x<btScalar(-1)) x=btScalar(-1);
if (x>btScalar(1)) x=btScalar(1);
return asin(x);
2016-09-13 07:43:19 +08:00
Deve
3a9b2b9872 Fixed advanced lighting on android 2016-09-12 21:43:31 +02:00
Benau
b699018879 Only do custom direction of raycast if item is on quad graph 2016-09-12 13:04:05 +08:00
Benau
7544dc3315 Fix uninitialized value 2016-09-12 11:35:34 +08:00
Benau
cc54c44ec0 Fix rotation of items on upside down surface 2016-09-12 10:43:49 +08:00
Benau
f4861a6279 Fix bubblegum on upside down track 2016-09-12 09:33:05 +08:00
Deve
b0c0af8c46 Check if drivers support BGRA texture format and fallback to RGBA 2016-09-11 22:35:54 +02:00
Benau
f687454313 Fix item positioning on Node3D 2016-09-11 16:31:57 +08:00