Commit Graph

13269 Commits

Author SHA1 Message Date
Benau
b09eec4bcb Allow speed weight objects to be attached to bone 2017-09-18 11:27:21 +08:00
Benau
cef65cb98a Use the same radius as before 2017-09-17 08:44:58 +08:00
Deve
29ba4ee543 Avoid a warning about missing texture in race result gui 2017-09-16 23:38:26 +02:00
Benau
12188c5287 Allow sharing headlight model and config its color (for gnu) 2017-09-16 14:46:21 +08:00
Benau
00660293b7 Fix #1795, fix #2755 and fix #2886
Allow using bone attachment in straight-frame static mesh.

Advanced headlight rendering with light origin from center mass
of headlight model which can be bound to any bone in kart model
2017-09-15 20:08:38 +08:00
auria.mg
024b642d27 Add margin 2017-09-14 19:24:23 -04:00
auria.mg
1d2e882ffe Merge branch 'master' into master_fhach
# Conflicts:
#	src/guiengine/widgets/kart_stats_widget.cpp
2017-09-14 19:24:06 -04:00
Deve
04cc5bb62c Make sure that music pointers are always null when deleted 2017-09-13 21:11:12 +02:00
Deve
be4d0e7208 Fixed a crash when starting ghost replay 2017-09-12 20:14:10 +02:00
deve
6829bb1e51 Fixed aspect ratio for icon button widget.
It happened when using non-hd textures. Textures with aspect ratio != 1, are scaled to MAX_TEXTURE_SIZE, for example from 512x256 to 256x256, so we can't base on scaled texture size.

Btw. such behaviour seems to not have a sense (for example 2048x256 will be scaled down to 256x256), so it may need some work in stk_texture.cpp.
2017-09-12 06:10:23 +02:00
Deve
fd00ef4d92 Fixed a crash in grand prix editor 2017-09-09 21:25:56 +02:00
deve
4610572649 Don't draw explosion particles if only important effects are selected in options.
It causes slowdown on some devices, i.e. from 30fps to 5fps when explosion occurs very near of the camera. So disable it for lowest graphical level.
2017-09-08 06:25:21 +02:00
Deve
f96863c421 Add a possibility to totally disable particles.
Particles cause a crash on some radeon devices, so people can at least disable it to make the game working.
Also tfb causes quite big slowdown on slow devices even if there is no particles displayed, so it can give few more fps.
2017-09-08 00:33:46 +02:00
QwertyChouskie
039a7d0ecc Put screenshots in ~/.local/share/supertuxkart/screenshots (#2932)
* Put screenshots in ~/.local/share/supertuxkart/screenshots

Instead of `~/.cache/supertuxkart/screenshots`.

* whoops :(
2017-09-06 20:22:05 -04:00
auria.mg
5e8f25a1fc Add a slight delay when triggering the falling camera, avoids triggering it too soon when the kart is not yet sure to fall 2017-09-06 19:23:58 -04:00
Benau
88972f8308 Cache all mipmap levels for compressed texture
Not sure if devee has super-fast loading speed like me
2017-09-06 15:14:36 +08:00
Benau
ee3d0df242 Try to fix "Cannot find container_id for texture" for models 2017-09-06 15:13:50 +08:00
hiker
416b93b0a1 Reset steering when calling reset in a kart, which results in more accurate
physics replays.
2017-09-04 18:08:14 +10:00
hiker
71978e2bb0 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-09-04 10:43:00 +10:00
auria.mg
15ea4a8f17 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2017-09-03 20:38:16 -04:00
auria.mg
b974b35a07 Code cleanup in kart audio code 2017-09-03 20:37:43 -04:00
hiker
5d51b7fcd1 Added #define to switch between AI-debugging-topview camera (high up)
and physics-debugging-topview camera (close to kart).
2017-09-04 08:41:21 +10:00
hiker
bd6c2d9b21 Allow setting bevel to 0, fix incorrect Y position when using bevelled
values for wheel positions.
2017-09-04 08:30:31 +10:00
Deve
b820a60e98 Tweak default accelerometer sensitivity.
Also move it to the config file.
2017-09-03 23:39:03 +02:00
auria.mg
beb10863c4 Continue optimizing OpenAL sources, see #2921 2017-09-02 22:49:36 -04:00
auria.mg
cb2295c738 Improve kart audio refactor, see #2921 2017-09-02 22:35:41 -04:00
auria.mg
663c7aacaf Tweak kart audio code to use fewer OpenAL sources (see #2921). Seems to work well, though I need to take a closer look to make it thread-safe 2017-09-02 22:00:37 -04:00
Deve
1123ceeceb Don't try to create textures for empty names.
It's not designed to work with empty file names, because the "existFile" function in irrlicht returns true for directories, our file manager doesn't check that it's a directory and generally strange things happen.

This solves a problem with luna track that doesn't have a screenshot and possibly with some broken add-ons, so that valgrind doesn't complain anymore.

Benau, feel free to revert it if you have better solution.
2017-09-03 00:04:29 +02:00
Deve
6710fc2a5c Don't add absolute path if screenshot name is empty 2017-09-02 23:47:25 +02:00
Benau
f07a7062b3 Add min / max height testing for all graphs 2017-09-01 14:12:10 +08:00
hiker
f7397028ff Merge branch 'master' of github.com:supertuxkart/stk-code 2017-08-31 23:55:33 +10:00
hiker
4759ff2490 Cancel the setAnimationEndCallback when a non-existing animation is
tried to be set. Fixes #2628.
2017-08-31 23:47:39 +10:00
auria.mg
64c1e8d19c Fix SFX leaks 2017-08-30 20:39:20 -04:00
Deve
69e26d7561 Remove unclear warning.
Weather node without particles is fine and it's used in Blackhill Mansion (just for lightning). The warning was suggesting that something is wrong there.
2017-08-30 21:21:43 +02:00
hiker
0dd3bbbd9b Changed severity level so that additional information in case of a crash
is certain to be seen.
2017-08-30 17:54:45 +10:00
hiker
7a3448a159 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-08-30 17:52:41 +10:00
hiker
c33ee321cc Merge branch 'master' of github.com:supertuxkart/stk-code 2017-08-30 17:49:59 +10:00
hiker
4440c7e40a Added error check for alDeleteSource. 2017-08-30 17:46:07 +10:00
deve
2de3a39e04 Make device name translatable 2017-08-30 06:46:55 +02:00
Allan Nordhøy
f08b53c1fc Spelling: Chose, add-ons, low, command-line (#2914)
* Spelling: Chose, add-ons, low, command-line, HTTPS

* Back to http for privacy.supertuxkart.net

It auto-negotiates for https from Let's Encrypt when connected to through http, strange.
2017-08-29 19:47:07 -04:00
Deve
184ecce836 Reset multitouch buttons state when game is restarted 2017-08-29 22:00:45 +02:00
Deve
65363a2fa0 Move multitouch race gui creation.
It's to avoid duplicated buttons because result gui uses gui_base too.
2017-08-29 22:00:45 +02:00
Benau
ba55fc7d2e Fix previously always true statement
bufferSize (Real*BOSize) was never used and set
2017-08-29 10:31:56 +08:00
hiker
ab6fbd2609 Merge remote-tracking branch 'origin/master' into fix-ball-cannon 2017-08-29 09:19:41 +10:00
hiker
cf98e049b0 Fixed sliding (i.e. not being able to drive up steep uphill sections). Fixes #2906. 2017-08-29 08:23:06 +10:00
Deve
2fdb33990e Tweak some touch device params.
Better on 5'', worse on 10''... Can be changed in options anyway.
2017-08-28 22:25:32 +02:00
Deve
704d3ea9d9 Try to make touch device a bit more comfortable 2017-08-28 22:25:32 +02:00
Benau
ea58a736d5 Fix displace fallback in non-advanced pipeline 2017-08-28 13:04:41 +08:00
Benau
7b571de395 Fix the wrong "misuse"
Now you can play hot.ogg
2017-08-25 16:39:34 +08:00
Deve
6465cc4569 Minor fix in graphics restrictions.
Some android restrictions are very basic, eg. UniformBufferObject is disabled on whole platform. So make sure that it's not used on any exotic OS.
2017-08-23 21:18:45 +02:00