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
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
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
Benau
f687454313
Fix item positioning on Node3D
2016-09-11 16:31:57 +08:00
Benau
ba047a4f99
Keep flying karts parallel to the ground in the physics, not outside
...
Like 44da1fb4f2
, but takes terrain
into account
2016-09-11 15:35:42 +08:00
Benau
2415340cae
Try to fix too bouncy bowling ball
2016-09-11 10:07:43 +08:00
Benau
c37f75bf90
Improve item projection on upside down surface
2016-09-10 16:09:21 +08:00
Benau
b3d5e58dd1
Revert enable sliding for upside down tracks.
...
Actually !getMaterial()->highTireAdhesion() is always false for
upside down texture, so the below code was useless to test with
normal
2016-09-10 14:32:55 +08:00
Benau
7cfd9752d0
Fix restarting the race when karts are up-side-down
2016-09-10 11:11:52 +08:00
Benau
fde9ccd53e
Move updateTerrainInfo to a better location
2016-09-10 11:09:52 +08:00
Benau
ceb92f9b4a
Try to completely fix rescue issue
2016-09-10 01:20:11 +08:00
Benau
4f67567834
Fix the up vector
2016-09-09 19:48:11 +08:00
Benau
ca4640716a
Fix findOutOfRoadSector with Node3D
2016-09-09 16:30:35 +08:00
Benau
505b50da0c
Make getNode return pointer. (easier with dynamic_cast later)
2016-09-09 16:14:28 +08:00
Benau
9d65e2047c
Fix heading (which got overwriten by merge)
2016-09-09 12:46:42 +08:00
Benau
262eb40dfe
Allow showing yellow (2d) / green (3d) quads in track debug
2016-09-04 14:33:23 +08:00
Benau
9d41f4b429
Add assert check for graph.xml
2016-09-04 13:15:51 +08:00
Benau
23a49d5245
Merge remote-tracking branch 'origin/master' into walldriving
2016-09-04 11:56:28 +08:00
Benau
21dc569f70
Start to clean up quad and graph node
2016-09-04 11:56:03 +08:00
Benau
78baaff23e
Fix crash in profile mode
2016-09-03 23:03:14 +00:00
Deve
29eda8a206
Merge pull request #2620 from LoadingPleaseWait/tiny-typo
...
Fix CPU marker typo
2016-08-31 22:57:00 +02:00
LoadingPleaseWait
3dc13eb071
Fix CPU marker typo
2016-08-31 15:36:15 -05:00
deve
6c9050f47a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-08-26 10:36:09 +02:00
deve
5abc047b0c
Declare precision also in vertex shaders in GLES renderer.
...
Some drivers complain that it was declared only in fragment shaders.
2016-08-26 10:35:48 +02:00
Benau
35ce9a39ce
Merge branch 'master' into walldriving
2016-08-26 15:36:57 +08:00
auria.mg
061323ffb0
Add information for translators
2016-08-23 20:01:06 -04:00
auria.mg
a07a8b6516
Fix XML files and regenerate strings
2016-08-23 19:53:41 -04:00
Aapo Rantalainen
38e5799167
Four help?.stkgui -files were treated as binary by git ( #2612 )
2016-08-23 19:36:16 -04:00
Deve
7f4d815dde
Request GLES 3.0 context and fallback to 2.0 if not available.
2016-08-22 20:05:36 +02:00
Deve
ed5a957a64
Fixed typo in config.xml
2016-08-20 23:39:31 +02:00
Deve
790634a914
Use proper size for RSM framebuffer when scale rtts parameter is set.
...
It looks that only RSM visualization was affected.
2016-08-20 23:34:12 +02:00
Deve
a4dfbc552f
Fixed also minimap in overworld with scale rtts parameter
2016-08-20 22:47:53 +02:00
Deve
150e40e4e8
Break the loop with glClientWaitSync also when GL_CONDITION_SATISFIED is returned.
...
The GL_CONDITION_SATISFIED says that the sync was signaled before the timeout expired. In this case there is no reason to make another glClientWaitSync execution.
2016-08-20 09:31:29 +02:00
Deve
d5fe015ba7
Fixed typo in previous commit.
2016-08-20 08:35:08 +02:00
Deve
a001505abd
Set ForceLegacyDevice for intel ironlake and for old radeon drivers.
...
This hopefully will allow to run STK with these graphics cards and drivers.
2016-08-20 08:13:17 +02:00
Deve
c7d970b745
Allow to set ForceLegacyDevice in graphics restrictions
2016-08-20 08:13:17 +02:00
Benau
91e11a8d88
Don't crash in overworld
2016-08-20 09:01:52 +08:00
Alpt
67e94e73ce
In the addons screen, show a tip to remember that the Internet connection is disabled. (Issue #1763 ). ( #2605 )
2016-08-19 18:28:59 -04:00
Benau
a1c09c4adb
Fix potential crash
2016-08-18 15:34:58 +08:00
Benau
6b0fe9dd89
Clean up:
...
Try to use forward enum declaration for KartRenderType
NoCopy for RenderInfo
2016-08-18 11:15:05 +08:00
Benau
fa39de691e
Fix Release build
2016-08-17 12:08:20 +08:00