Commit Graph

17455 Commits

Author SHA1 Message Date
Benau
5d30393641 Allow reload texture with control+f3 for sam in game 2017-02-05 14:10:26 +08:00
Benau
6fae872a69 Fix #2766 2017-02-05 09:11:48 +08:00
Deve
7c48c3e6cc Choose a directory where we have the most available disk space for data extraction.
It's not a perfect solution because at least on my device internal storage is much faster than sd card. But at least it should be much safer to choose a path with more free space.
2017-02-03 23:53:47 +01:00
auria.mg
01765fce80 Fix crash 2017-02-02 19:54:48 -05:00
Benau
13081a07ec Fix #2763 2017-02-03 08:41:18 +08:00
Deve
2557a700cc Just to be more clear about explicit attrib location availability in GLES 2017-02-02 22:26:37 +01:00
Deve
19cb9cd041 Fixed a crash when starting cutscene 2017-02-02 22:22:33 +01:00
Deve
d4d5452825 Enable glBindSampler in GLES 2017-02-01 22:52:07 +01:00
Deve
b54c3648b3 Again missing parenthesis... 2017-02-01 22:15:48 +01:00
Deve
28d85d7ba3 Use explicit attrib location when the extension is available.
It allows to enable it easily in GLES renderer. And we check if this extension is available anyway because it's needed for shadows, so we can use it for other shaders too.
2017-02-01 21:58:10 +01:00
deve
d124c61e3c Remove useless ifdef.
It should depend on features available in graphics drivers and not on headers that were used for compilation.
In theory there was a possible case that GL_VERSION_3_3 was not defined and CVS->getGLSLVersion() >= 330 was true, so that bind wasn't done at all.
And still GL_VERSION_3_3 should be always true for OpenGL renderer because it's defined in glew.
2017-02-01 10:40:48 +01:00
deve
3c8369b915 Set GLSL version for GLES.
It's not 100% true because GLES has different versions numbering. For example it doesn't have geometry shaders even if they were introduced in GLSL 1.50 (OpenGL 3.2).
But still in this way we make sure that it uses the same features on all devices, no mater if it's GLES 3.0, 3.1, 3.2 etc.
2017-02-01 10:30:46 +01:00
auria.mg
93d6b1e515 Tweak camera settings 2017-01-30 19:17:27 -05:00
auria.mg
62e8ec86fa Merge branch 'NewSmoothCamera' 2017-01-30 18:51:24 -05:00
Deve
fbffb108f1 Force to use rtts when scale_rtts_factor is set.
It allows to scale down resolution even if advanced lighting is disabled.
2017-01-31 00:18:02 +01:00
deve
bf64459458 Handle a case that advanced lighting is disabled in graphics restrictions. 2017-01-30 11:18:31 +01:00
auria.mg
e7252cc643 More work on camera smoothness 2017-01-29 21:48:54 -05:00
auria.mg
e8cb873f08 Finish smoothing the kart rotation 2017-01-29 21:37:58 -05:00
auria.mg
6d3eb84a8e Reduce shaking a bit by smoothing kart position. Still need to smooth kart rotation, can't quite get it to work yet 2017-01-29 21:33:11 -05:00
auria.mg
56b6f81eb7 New smooth camera 2017-01-29 19:58:33 -05:00
Deve
803eba5d5c Fixed typo 2017-01-27 22:44:22 +01:00
deve
62bcf52f9c Add a possibility to select team without a keyboard for single player mode 2017-01-26 10:23:45 +01:00
deve
99b2cd7e57 Some corrections in team selection events 2017-01-26 10:22:31 +01:00
deve
85f153f0d5 Move changing a team to separate function to avoid code duplication 2017-01-26 09:21:35 +01:00
Deve
49a77a8f48 Add a possibility to disable touch steering in options.
It may be useful if someone wants to play with external keyboard.
The multitouch_mode parameter will be also used to choose between steering with buttons and using accelerometer.
2017-01-25 21:50:11 +01:00
deve
9ede4d2185 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2017-01-25 10:29:18 +01:00
deve
fea3b1b3e5 Set curl nosignal option.
It fixes the crash under cygwin and should also fix a crash when c-ares/threaded resolver are not available in curl library.
Fixes #2753
2017-01-25 10:28:48 +01:00
auria.mg
6e8480379b Add support of headlight models to karts 2017-01-23 20:14:42 -05:00
Arthur-D
925d756454 Adding some replays from Kitoko, thanks! Also removing a few so as to keep a low number of replays, and renamed easy replay files to novice. 2017-01-23 23:44:34 +01:00
deve
a1e8cb8acd Try to fix build 2017-01-23 10:49:18 +01:00
deve
8c8d2ac8c4 Add a screen keyboard that can be used on touch screens 2017-01-23 07:14:09 +01:00
samuncle
d935f0318c The exhaust is tweaked a bit 2017-01-23 00:27:31 -05:00
samuncle
9e1afc89ee Add a permanant exhaust to the kart, tweaking needed 2017-01-22 23:20:07 -05:00
samuncle
50f3c224b3 change the name to development more accurate 2017-01-22 22:14:19 -05:00
samuncle
74cc87cd65 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2017-01-22 22:10:12 -05:00
samuncle
d600720830 Add a new category of production babies 2017-01-22 22:09:56 -05:00
auria.mg
2bcc579f61 Fix crash 2017-01-22 21:23:33 -05:00
samuncle
996cea5a14 Oups, I forgot to drop the light 2017-01-22 20:32:25 -05:00
samuncle
979f61b8c1 Add support for day/night notion in tracks 2017-01-22 19:28:08 -05:00
samuncle
4f1101d62b Activate headlight only for the player 2017-01-22 10:09:32 -05:00
samuncle
93011e934e Merge branch 'master' into headlight 2017-01-22 08:35:07 -05:00
hiker
3712f1d600 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-01-21 10:59:15 +11:00
samuncle
e86e146442 Add emit map to a shader, so cars in candela are like small dots 2017-01-20 00:06:35 -05:00
samuncle
44207e9620 ground work for an headlight for karts to allow better visiblity in dark tracks 2017-01-19 23:45:42 -05:00
hiker
620a5b34f2 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-01-20 14:15:55 +11:00
hiker
b5f285a182 Fixed #2742 - incorrect triggering if cannon line triggereed Caused
by not updating m_front_xyz when moving the kart (so an incorrect
position was used to detect checkline triggering).
2017-01-20 14:13:12 +11:00
auria.mg
7234caffd9 Fix travis build 2017-01-19 21:11:44 -05:00
auria.mg
a0499fcfd6 Merge branch 'master' of https://github.com/supertuxkart/stk-code
# Conflicts:
#	src/scriptengine/script_engine.cpp
2017-01-19 21:04:35 -05:00
auria.mg
52fff152de Scripting : add support for "onStart" callbacks in library objects 2017-01-19 21:03:09 -05:00
samuncle
ef82257110 Add support for array in scripting 2017-01-19 20:49:46 -05:00