Deve
4157eef894
Get device orientation only if accelerometer is used
2018-03-02 21:38:15 +01:00
Deve
a00c1cadc8
Simplify accelerometer selection in settings
2018-02-28 22:01:30 +01:00
Deve
0ee00ad1e5
Make accelerometer values relative to device orientation
2018-02-28 22:01:30 +01:00
samuncle
0c23e6063d
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-02-27 23:39:28 +01:00
samuncle
7db4ef8056
Add a shader to use the day/night cycle for lamps, etc
2018-02-27 23:38:28 +01:00
Deve
6b4fb50876
Convert tabs to spaces
2018-02-27 23:24:29 +01:00
Deve
36c6ea52ae
Allow to detect device rotation for better accelerometer support
2018-02-27 23:24:29 +01:00
samuncle
39c50c838f
Make access to the time of the track in the shader to react to day/night cycle
2018-02-27 23:20:49 +01:00
Deve
4cc56aec1b
Detect system language on android
2018-02-26 21:25:08 +01:00
Deve
78bb9e78ac
Fixed version number for nvidia gles.
...
It uses gl version string: OpenGL ES 3.2 NVIDIA 384.111
2018-02-25 22:40:15 +01:00
Deve
34f0f8c239
Fixed a bug with red light in thunderbird model on android
2018-02-25 22:17:53 +01:00
Ethan Uzarowski
b782af2949
Remove "Final lap!" message in one-lap races ( #3127 )
...
* Fix "Final lap!" message on one-lap races
When starting a one-lap race, the game gives the message "Final lap!". This should only be given when there is more than one lap in the race. This commit changes linear_world.cpp so that this message is only given when the number of laps in the race is greater than 1.
* Fix spacing
I accidentally changed the spacing when making my last commit. This commit fixes that accident.
2018-02-23 20:43:46 -05:00
hiker
95f0bf9e3b
Used functions in stk_config to convert between ticks and times.
2018-02-23 23:22:49 +11:00
hiker
cb712411e0
Converte some pararchute values to use ticks.
2018-02-23 10:01:22 +11:00
hiker
81342ddd00
Fixed several mixups of ticks and time.
2018-02-22 19:25:11 +11:00
hiker
7a53cf16fe
Fixed compiler warnings.
2018-02-22 19:19:04 +11:00
hiker
797e35c674
Bugfix, forgot to change the type from float to int.
2018-02-22 09:23:45 +11:00
hiker
1c3da88e77
Replaced more time with ticks.
2018-02-22 09:22:57 +11:00
hiker
09e7a5cc13
Converted more times to using ticks; fixed bug that in case of
...
a race restart the fastest lap was not reset.
2018-02-21 22:46:35 +11:00
hiker
27b5409487
Use ticks (at the physics frame rate) for time measurement, which
...
avoids potential floating point errors (in networking).
2018-02-21 22:18:45 +11:00
hiker
208c5eb6d8
Merge remote-tracking branch 'origin/master' into fix-timestep
2018-02-21 08:35:58 +11:00
Deve
bfb862645d
Print some debug info
2018-02-14 22:28:55 +01:00
Deve
959f33223e
Enable multitouch gui only if touchscreen is available
2018-02-14 22:28:55 +01:00
auria.mg
e26239e364
Improve the input sensing text to be a bit clearer
2018-02-13 20:35:07 -05:00
auria.mg
196b5a2bbe
Minor ajustments to kart color screen, make kart slightly bigger, make XML cleaner
2018-02-12 20:22:35 -05:00
auria.mg
ceeb79f3a4
Restore accidentally removed resolution ajustment in kart color selection screen
2018-02-12 20:16:31 -05:00
auria.mg
2830dabfc1
Improve kart color selection screen, fixes #3122
2018-02-12 20:08:51 -05:00
Deve
4cc57dd754
Fixed a crash when logging long messages
2018-02-12 21:31:32 +01:00
hiker
000b613b8b
Fixed compiler warnings.
2018-02-12 18:10:52 +11:00
hiker
4ce66e754b
Fixed compiler warnings.
2018-02-12 18:07:51 +11:00
hiker
fa20e4f866
Only issue sfx commands once per rendered frame (during the last
...
substep).
2018-02-12 18:01:05 +11:00
hiker
c7bc47f2e3
Fixed world update to be fixed at the physics frame rate.
2018-02-12 09:54:46 +11:00
hiker
4d03fbd1fb
Made the physics time step size configurable in the config file.
2018-02-12 08:23:06 +11:00
Benau
971db902a8
Fix queries stop working after changing resolution
2018-02-11 15:06:35 +08:00
Benau
0e3398a46b
Use eglGetProcAddress for debug function
2018-02-11 14:56:43 +08:00
Benau
7ebc33bcaa
Fix server only build
2018-02-11 02:03:09 +08:00
Benau
b42c540eed
Allow to save current GPU query string to apitrace
2018-02-11 01:53:30 +08:00
hiker
434a9c5dcc
Fixed compiler warnings.
2018-02-09 16:14:38 +11:00
hiker
b3243a3589
Merge branch 'speed-cap-to-physics'
2018-02-09 09:38:34 +11:00
hiker
6c0f97261a
Fixed missing startup boost, improved maths to only use
...
velocity in the current plane for boosting.
2018-02-09 09:15:23 +11:00
Deve
a18351c052
Some fixes for gamepad buttons
2018-02-08 22:34:53 +01:00
Benau
7210992e3d
Prevent local player == 0 when in network mode
2018-02-09 00:49:55 +08:00
Benau
19c705f27c
Make wrong way message always centered, fix #3115
2018-02-08 13:15:22 +08:00
Deve
5e8343a068
Add basic gamepad support for android
2018-02-08 01:24:35 +01:00
Ben Krajancic
d96b6b92ce
Split screen regression fixes ( #3116 )
...
* Fix lapcount
* Fix selection box color
* Fix messages on screen
* Fix scaling
* Fix for icons
* Styling fixes
* fix style issue
* Fix calls
* Final call fix
2018-02-07 18:52:53 -05:00
Benau
0e5b7b532c
Further boost stk by writing 1 less framebuffer attachment
...
Now we can get determine the background color by depth, so
the alpha tricks in diffuse color fbo is not necessary
And using rgba8 to pack normal doesn't seem to cause visual glitches.
2018-02-07 12:49:45 +08:00
hiker
777435fb35
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-02-07 09:58:22 +11:00
Deve
f101c9e366
Fixed android compilation
2018-02-06 23:17:34 +01:00
samuncle
704fe3e32a
Fix a bug in the emissive contribution. Now there is a bigger range of value for bloom
2018-02-06 23:15:21 +01:00
hiker
c37f2887c1
Fixed compiler warnings and coding style issues.
2018-02-07 08:54:15 +11:00