Commit Graph

13494 Commits

Author SHA1 Message Date
hiker
d6251054cb Merge branch 'master' of github.com:supertuxkart/stk-code 2017-10-23 09:45:20 +11:00
hiker
4c1874ebf8 Hopefully fix #2939 (backpedal animation flickers when stopping and
left/right is being pressed).
2017-10-23 08:44:17 +11:00
Benau
fc2e05c0a6 Use a trick to make skinned mesh shader branchless 2017-10-22 13:03:45 +08:00
Benau
7252a38da1 Fix skinning glitches possible in (some) cards 2017-10-22 02:17:37 +08:00
Benau
aa080db501 Fix resolution change crash
UpdateFlips stop working if we don't m_flips_data.clear();
2017-10-22 01:52:37 +08:00
Benau
a0991c3233 Don't use unsync map buffer
It causes regression in hd5670 in windows

Although we should update ubo only once per frame
2017-10-22 01:51:45 +08:00
Benau
6a79d204c1 Don't use SSBO for skinning
It causes trouble in hd5670 in windows
2017-10-22 01:31:15 +08:00
Deve
cf26337bd4 Fixed particles in multiplayer mode 2017-10-21 08:18:28 +02:00
hiker
7f1c460227 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-10-21 01:00:44 +11:00
hiker
d7f5fb9e69 Avoid flicker when a kart with backpedal animation is stopping and
left/right is pressed (see #2939).
2017-10-21 00:58:25 +11:00
Benau
6896c44da8 Clang fix 2017-10-20 18:35:28 +08:00
Benau
42a3eb1880 Uniform vertex color for fonts in all pipelines 2017-10-20 18:21:55 +08:00
Benau
e61eb3415a Remove hardcoded max 1024 bones for skinning 2017-10-20 17:10:08 +08:00
Benau
1b70144c80 Reserve a graphics restriction for hardware skinning 2017-10-20 14:00:38 +08:00
Benau
fd0eaf064f Show a ghost hat for ghost kart 2017-10-20 10:05:49 +08:00
Benau
ebdde49984 Merge remote-tracking branch 'origin/master' into tbo_skinning 2017-10-20 08:36:54 +08:00
Deve
5216f8e917 Fixed jump explosion on android 2017-10-19 21:44:50 +02:00
Benau
553b2439ac Allow using SSBO for skinning if supported 2017-10-20 01:27:44 +08:00
Benau
0d96906d54 Use texture buffer (texture2d in gles) for skinning 2017-10-19 13:31:07 +08:00
Deve
1a9cf6a46f Set max texture size to 256 for Raspberry Pi 2017-10-18 21:13:23 +02:00
Deve
9ec06f122c Allow to filter graphical restrictions by vendor 2017-10-18 20:51:26 +02:00
Deve
c3e772e863 Add different explosion effect for Android.
It gives much better performance while it still looks similar.
2017-10-17 23:34:19 +02:00
Benau
fa48d099f2 Fix the remaining msvc warnings 2017-10-17 10:51:52 +08:00
Benau
88e15147b8 Merge remote-tracking branch 'origin/win-64bit' 2017-10-17 00:55:22 +08:00
Benau
e47aa5d567 Take relative path issue into account when unloading texture
Now except global particle textures all textures loaded by track can be
clean properly
2017-10-16 16:09:07 +08:00
Benau
c8d13d7360 Preload the particle textures when first load
This prevent hangs when lazy loading texture runtime
2017-10-16 14:22:09 +08:00
Benau
7e0d706946 Don't call setLastTriggeredCheckline for check cannon
It will override the track check line
2017-10-16 13:47:21 +08:00
Benau
30e78fb1c0 Merge branch 'fix_2427' 2017-10-16 07:25:38 +08:00
hiker
9166e704e9 Take ball squashing into account when computing the ball height (so now
the basketball properly touches the ground if its height is 0).
2017-10-16 10:10:33 +11:00
Benau
c7dbe715fc Remove duplicated and unused code 2017-10-16 00:48:08 +08:00
Benau
4573e51e98 Fix #2427 2017-10-15 19:14:07 +08:00
Benau
a7debc286a Check flips using unordered_set 2017-10-15 15:05:49 +08:00
Benau
058f9163db Some work to make particle shader able to render billboard
The lifetime in height map stimulation will always now < 1.0f
2017-10-15 13:57:01 +08:00
Benau
f646a26fbe Clean up particle .xml
Remove unsupported entries, notice that particles now are auto-
faded out by lifetime

Also remove flips that are not visible at all
2017-10-15 12:47:21 +08:00
Benau
998b11ed51 Add an option to disable pre-generation for explosion particles
Also remove some unused code
2017-10-15 11:32:58 +08:00
Benau
b1f4ced6f0 Fix bounding boxes in legacy pipeline 2017-10-15 00:18:11 +08:00
Benau
85adab6e1e Allow to use new STKParticle with legacy pipeline
Due to cull face issue the kart exhaust is still not visible
2017-10-14 15:42:10 +08:00
Benau
088d09cb64 Don't hardcode first vbo size 2017-10-14 14:42:54 +08:00
Benau
c3a22ddcf7 Pre-generate some particles if max count is small 2017-10-14 14:42:24 +08:00
Benau
a0c9ba2b8c Pack mixed color into instanced array
With half-floats for lifetime and size for same stride
2017-10-14 12:33:08 +08:00
Benau
e49a7139d7 Split MiniGLM for more usage (instancing, cpu particle, network...) 2017-10-14 11:00:51 +08:00
Benau
0b9a3e1c69 Fix some issues found in first-try 2017-10-14 09:47:13 +08:00
Benau
0066722dab Features completed cpu particle 2017-10-14 00:19:59 +08:00
Deve
928ae4e44d Try to fix server-only compilation 2017-10-11 21:50:44 +02:00
Deve
b0cdbd94b4 Merge branch 'srgb_fb' 2017-10-11 21:46:58 +02:00
Deve
c1e17f0593 Add a fallback for intel on linux.
When workaround with alpha_channel=true failed, then fallback to the path with disabled srgb framebuffer.
2017-10-11 21:39:13 +02:00
Benau
9304f6fa3c Disable the usage of all parts colorized
Please use colorization mask for better effect
2017-10-11 13:05:15 +08:00
Benau
839142b752 Add up-to-date restriction for hd3000 in windows 2017-10-11 11:25:28 +08:00
Deve
ae4e302741 Add a way to run STK without srgb framebuffer 2017-10-09 21:18:15 +02:00
Benau
10e3467f96 Merge remote-tracking branch 'origin/better_rescue_animation' 2017-10-09 07:44:50 +08:00
hiker
fba22def40 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-10-09 10:29:24 +11:00
hiker
b97088c933 Fixed computation of new point. The previous approach was based on
the newly computed point. If this point should be under the track,
and the new height is not enough to offset this, the ball will be
tunnelling, which results in the ball being reset to the previous
position, i.e. the ball will not move.
2017-10-09 10:25:36 +11:00
hiker
f94b3a9120 Added more debug info, removed unused code. 2017-10-09 10:25:11 +11:00
Deve
48d94e10a7 Use separate os name for android stats 2017-10-07 21:37:59 +02:00
Benau
4f1becb20d Add a better rescue animation
Also fix #2501
2017-10-06 23:42:23 +08:00
Benau
cf2a9f7089 Allow configurable exhuast particle, fixes #2878 2017-10-06 01:08:27 +08:00
Deve
27a79526b1 Allow to use particles heightmap simulation in GLES 2017-10-02 23:05:12 +02:00
Deve
843ebad9a1 Don't use GL_FRAMEBUFFER_SRGB in GLES 2017-10-01 22:25:37 +02:00
Benau
d6d1fa40c0 Use a hack to get the "real" transformation for bones
Sometimes the value return before was not as correct as in blender

Todo: expose it in mesh interface
2017-10-01 15:20:37 +08:00
Deve
1a250c5b74 Hopefully fixed rare crash in createVideoModeList.
Assume that the window was null.
2017-09-30 23:43:29 +02:00
Deve
d99b2d4b5a Fixed a crash in overworld after kart selection screen when accelerometer is enabled 2017-09-30 23:08:17 +02:00
Deve
e2c0f83fb0 Move patform specific code from irr_driver to irrlicht devices 2017-09-27 17:37:56 +02:00
Benau
e655c5e971 Don't initInverseBoneMatrices for < version 3 karts
grep -rn speed-weighted-object in deveee's addon karts show nothing
(even most addons)
2017-09-20 13:27:46 +08:00
Benau
3cd2f403e0 Force re-skin when getMesh with hardware skinning on
Actually spm has a built in way to use mesh without bothering bind
pose
2017-09-20 01:27:52 +08:00
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
Benau
850afc8620 Allow using animated texture with displace shader
Plus some clean-up
2017-08-23 00:55:25 +08:00
Deve
6a03f147f6 Add a possibility to use ubo on gles.
Disabled by default on android, because it's been tested on only one device and it's a bit slower in most cases.
2017-08-22 00:02:34 +02:00
Benau
ad369b88da Remove .b3d usage in stk-code 2017-08-21 16:02:06 +08:00
Benau
a8e20101f8 Make SPM loader more portable (for stk-editor later)
Also allow calculating normal if required
2017-08-21 14:57:33 +08:00
hiker
f1f8bf0e4d Oops - fixed unexplainable #includes ... I am sure I didn't put them in :P 2017-08-21 14:59:28 +10:00
hiker
6d61ef7fb9 Use StringUtils instead of strrchr, some code cleanup. 2017-08-21 08:47:28 +10:00
hiker
5a35bb6195 Made crash reporting work with 32- and 64-bit windows executables. 2017-08-21 08:11:03 +10:00
Deve
d698e62053 Minor fix in video settings dialog 2017-08-19 22:09:42 +02:00
Benau
1ca6a6edea Remove the need of 2nd UVmap for displace objects 2017-08-19 08:51:09 +08:00
Benau
4c0b28a43e Fix speed weight object looping in non-animated character 2017-08-17 15:48:21 +08:00
Benau
fd7bf80493 Fix kart selection screen animation if only 1 kart 2017-08-17 15:28:04 +08:00
Benau
a00b878919 Use transposed matrix everywhere 2017-08-17 01:26:08 +08:00
hiker
f3d56b37df Merge branch 'master' into win-64bit 2017-08-16 17:29:57 +10:00
Benau
3031fabcf9 Add spm loader 2017-08-16 13:48:27 +08:00
hiker
01be800253 Fixed stack traces for win32 (#2642). 2017-08-15 23:54:39 +10:00
hiker
5a2b92d79d Merge branch 'master' into improve-xbox-gamepad-support 2017-08-14 10:05:26 +10:00
Deve
0bf0ca0a35 Fixed memory leak 2017-08-13 01:38:21 +02:00
Deve
1f4a9135b6 Remove useless elif 2017-08-13 01:38:21 +02:00
hiker
3923da30bc Use unique names for profiler events. 2017-08-11 09:41:22 +10:00
hiker
587687a614 Merge remote-tracking branch 'origin/fix-2850' 2017-08-09 21:40:44 +10:00
hiker
626f540b15 Merge branch 'Fix-2617' 2017-08-09 21:21:03 +10:00
hiker
86d5e11c13 Merge branch 'improve-xbox-gamepad-support' of github.com:supertuxkart/stk-code into improve-xbox-gamepad-support 2017-08-09 20:32:13 +10:00
hiker
8be5443f8c Merge branch 'fix-profiler' into improve-xbox-gamepad-support 2017-08-09 17:56:40 +10:00
Benau
861e7f7ebd Remove contradiction 2017-08-09 15:36:26 +08:00
Benau
cc8331f5cd Fix #2897 2017-08-09 15:03:37 +08:00
Benau
79c6705bb1 Fix #2814 2017-08-09 13:00:09 +08:00
Benau
ea97258b65 Add scripting code for throwing banana monkeys 2017-08-09 12:23:37 +08:00
auria.mg
94bb657102 Ignore input sensing coming from the wrong gamepad 2017-08-08 20:44:31 -04:00
auria.mg
f589bbea04 Attempt to fix 2617 2017-08-08 20:23:22 -04:00
hiker
c3cd7ceaa2 Merge branch 'master' into improve-xbox-gamepad-support 2017-08-08 23:08:14 +10:00
hiker
0acda38987 Add profiling events to sfx manager, but they are commented out
by default (using preprocessor directives), since they are typically
not useful.
2017-08-08 16:44:55 +10:00
hiker
6a0fb83209 Clear existing events when the circular buffer wraps around. 2017-08-08 16:36:54 +10:00
hiker
d29d2b831f Only use start and end time for thread 0, since all other threads
might not have valid start and end times (since they can record
several identical events during one frame). Bars for all other
threads can therefore not be nested.
2017-08-08 16:09:49 +10:00
hiker
887814ea98 Fixed incorrect start and end time setting when synchronising
frames. Only use thread 0's start and end time to compute the
duration (since other threads might have multiple identical
events during one frame, resulting in incorrect start times).
2017-08-08 16:08:15 +10:00
hiker
6783ab26f8 Keep a list of all event names in the order in which they first
appear. This list allows the proper ordering of events when drawing
the bar chart to show nesting. Make sure that enabling the profiler
starts at the next synch point (to avoid incomplete event pairs).
Create a seprate output file for each thread.
2017-08-07 17:53:15 +10:00
hiker
4c55ca4da9 Merge commit 'e6a134c3479ccdbaf91bb36d46ffb64b6a3b52b9' into improve-xbox-gamepad-support 2017-08-06 22:58:49 +10:00
hiker
891e439264 Remapped XInput to be the same as DirectInput buttons, so that
existing configs works as expected. Hard-coded 6 axis for xbox
controller to allow for triggers to be reported as two different
axis (instead of as one axis). Updated gamepad config to use
proper names for triggers.
2017-08-06 22:56:59 +10:00
Geoffrey Mon
a73af6eb0d Save and use usernames in replay files (#2754) (#2893)
* Save and use usernames in replay files

Fixes #2754.

* Store usernames of each racer in recorded replay files
* Display those usernames in a column of the replay selection UI
  and in race result dialogs
* RaceResultGUI::getKartDisplayName functionality moved into
  Controller::getName

* Move Controller::getName definition to avoid unnecessary #include

* Backwards compatibility: use kart name if username is not in replay

* Fix code style issues
2017-08-03 19:51:42 -04:00
hiker
04c775eead Don't measure lock time, some whitespace cleanup. 2017-08-03 21:21:40 +10:00
Geoffrey Mon
802d70ca8d Fix code style issues 2017-08-02 17:21:37 -04:00
Geoffrey Mon
9ec2ff5c4a Backwards compatibility: use kart name if username is not in replay 2017-08-02 14:13:26 -04:00
Geoffrey Mon
ca5258a46c Move Controller::getName definition to avoid unnecessary #include 2017-08-02 13:48:44 -04:00
Benau
ac406e1e00 Fix #2891 2017-08-03 01:34:35 +08:00
Geoffrey Mon
f3a962c391 Save and use usernames in replay files
Fixes #2754.

* Store usernames of each racer in recorded replay files
* Display those usernames in a column of the replay selection UI
  and in race result dialogs
* RaceResultGUI::getKartDisplayName functionality moved into
  Controller::getName
2017-08-02 12:55:23 -04:00
hiker
203995262c Exclude the time to get the lock from profile measurements. 2017-08-02 22:40:19 +10:00
hiker
d8fe700f64 Don't store data when the profiler is disabled. 2017-08-02 08:48:01 +10:00
hiker
d800a8c0bc Made everything threadsafe. 2017-08-02 08:34:43 +10:00
hiker
ea12c8f494 Very first version of profiler that supports multiple threads
and handles events in branches better.
2017-07-31 22:56:47 +10:00
hiker
47d2e30c5f Fixed compiler warnings. 2017-07-31 22:56:00 +10:00
hiker
e6a134c347 Fix 2850 by increasing the number of axis for a gamepad to include
D-pad.
2017-07-30 23:05:27 +10:00
hiker
65c8cb7ae1 Replaced arrays with std::vector (to get better error checking). 2017-07-30 23:03:40 +10:00
Deve
7d4fbb8d0c Minor modification in play tutorial text. Fixes #2535 2017-07-29 00:43:17 +02:00
Benau
979e1546fb Fix #2881, only create a camera when initializing 2017-07-21 09:27:57 +08:00
Deve
0dba3c8f67 Add a prefix to irrlicht key codes 2017-07-20 22:58:11 +02:00
Benau
10909b9556 Remove m_scale_rtts_factor == 1.0f in image quality for now
Because not working in advanced pipeline
2017-07-20 10:19:30 +08:00
Deve
11b2409fab Activate accelerometer only if needed 2017-07-18 21:43:45 +02:00
Deve
d44802a482 Add a workaround for some qualcomm devices on android 4.4 2017-07-11 00:37:31 +02:00
Deve
70c481cb26 Add a possibility to set android version in graphics restrictions. 2017-07-10 22:54:38 +02:00
Benau
8653d410f8 Option 1 for fixing android 4.4
Reinit vertex attribute pointer each time, performance may hurt
2017-07-09 00:46:42 +08:00
QwertyChouskie
7b185ce2f1 Add new GPwin cutscene (#2875)
* Add new cutscene

* Cleanup

* Make all podiums arrive at the same time
2017-07-06 20:54:42 -04:00
Deve
6fc285b794 Show only native resolution in settings on android.
Changing resolution is atm. not available, so adding 1024x768 doesn't have a sense.
2017-07-06 23:18:43 +02:00
Deve
9fc1acc4c0 Allow to draw steering wheel on the right side 2017-07-05 21:21:33 +02:00
Deve
2cda14686d Simplify touch device settings 2017-07-05 20:43:57 +02:00
Deve
09262a606b Add missing copyright.
The EGL context manager has been written from scratch, so our copyright should be fine.
2017-07-04 22:55:08 +02:00
Deve
f13f69851f Fixed black screen on some GLES 2.0 devices.
It affects only GLES 2.0. The GLES >= 3.0 and OpenGL allow sized internal formats.
2017-06-29 23:00:08 +02:00
Deve
8462c552d1 Add a warning for very low screen resolutions.
There are some android devices that are 320x240, 400x240 etc... Bare minimum to run STK is 640x480. Otherwise some important gui elements are not displayed and it may crash in guiengine.
2017-06-28 21:32:12 +02:00
Deve
68cfdfbf17 Minor fix for android progress bar that probably doesn't make any difference anyway 2017-06-24 21:41:36 +02:00
Matthew Trescott
1d8a709e38 Fix the --cutscene=<cutscene> commandline flag (#2861)
If the menu is shown, there's this ugly purple background (the OpenGL default, I think) and the cutscene won't play.
2017-06-17 18:49:00 -04:00
Matthew Trescott
3dee6ce5dd Add option to unlock everything (and disable that option) from the command line
This was a complaint of Michael Larabel from Phoronix and is why he doesn't use STK in benchmarks; because the new tracks are mostly locked from the start and unavailable even with the --track flag
2017-06-17 11:45:57 -04:00
QwertyChouskie
10e439b6a1 Clean up output (#2856) 2017-06-13 20:50:13 -04:00
QwertyChouskie
be00283b2e Fix a few compiler warnings (#2854)
* Fix compiler warnings in gpwrap.cpp

* Fix compiler warning in skybox.cpp
2017-06-11 15:59:12 -04:00
Deve
c8137fc0fa Add a possibility to set a window class in irr device.
This makes one ugly #ifdef less in the irr_driver.cpp.
2017-05-25 21:26:31 +02:00
Deve
ce0a7bde84 Correct the rule for Polish plural forms.
It's already fixed in transifex.
2017-05-25 16:17:38 +02:00
Deve
8968706c09 Merge branch 'wayland' 2017-05-18 21:25:53 +02:00
Deve
1966d3f072 Use x11 functions in irr_driver only if x11 device was created 2017-05-14 00:05:36 +02:00
hiker
91bad37939 Fixed incorrect position for a rubber ball in a cannon. 2017-05-13 21:38:59 +10:00
hiker
bdbc7fd728 Reduce the height of a rubber ball in a cannon over time, so that
it starts closer to the ground when released after the cannon.
2017-05-12 17:52:15 +10:00
hiker
490bef516e Fix crash: the ProjectileManager must be cleared before the CheckManager
(since a rubber ball will emove itself from all cannon checklines, so
a crash happens if the checklines are gone).
2017-05-12 17:39:53 +10:00
hiker
1b75ed9b4c First fix for the basket-ball in cannon - make the ball follow
the cannon.
2017-05-12 17:11:46 +10:00
Deve
23c428160f Some fixes 2017-05-12 00:57:01 +02:00
hiker
03f4b76a32 Fixed various compiler warnings. 2017-05-09 09:34:37 +10:00
hiker
3a176f818c Merge remote-tracking branch 'origin/master' 2017-05-09 09:26:30 +10:00
auria.mg
dbd0cfa7d0 Expose the time of day to scripting, see #2315 2017-05-06 18:48:18 -04:00
auria.mg
242c8be90c Pause the bomb during animations, fixes #2846 2017-05-06 18:46:25 -04:00
Deve
e02a8f4448 Allow to make single build with both x11 and wayland device 2017-05-06 21:53:32 +02:00
QwertyChouskie
58a170b4b7 Update string (#2824)
* Change message

* Update string in another file.

* Update addons_manager.cpp

* Update news_manager.cpp
2017-05-04 19:17:08 -04:00