Commit Graph
17869 Commits
Author SHA1 Message Date
Deve ad062d3b81 Fixed indentations 2017-08-17 00:11:25 +02:00
Deve 3cf8649a6e More work with generate_assets script.
Now uncompressed tux with .spm takes just 350 kb.
2017-08-17 00:11:25 +02:00
Benau a00b878919 Use transposed matrix everywhere 2017-08-17 01:26:08 +08:00
Benau 3031fabcf9 Add spm loader 2017-08-16 13:48:27 +08:00
Deve 196fe378b4 Fix for png->jpg converter.
It's possible that there are multiple file names in single parameter, for example:
<sky-box texture="0006.png 0001.png 0004.png 0002.png 0003.png 0005.png" ... />
now it should work.

Also use is_opaque rather than has_alpha that gives better results.
2017-08-15 23:03:22 +02:00
hiker 01be800253 Fixed stack traces for win32 (#2642). 2017-08-15 23:54:39 +10:00
Deve 8fa0e4e7b3 Make it less verbose 2017-08-15 10:12:56 +02:00
Deve 4da945f710 Move duplicated code to separate function 2017-08-15 10:12:56 +02:00
Deve 0a2d05a998 Add a possibility to convert png->jpg for spm format for smaller apk 2017-08-15 10:12:56 +02:00
hiker 5a2b92d79d Merge branch 'master' into improve-xbox-gamepad-support 2017-08-14 10:05:26 +10:00
Deve 71bbafadbd Fixed memory leaks in gles 2017-08-13 22:02:55 +02: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
Deve ee5bdad926 Move output/seat listener to better place 2017-08-13 01:38:21 +02:00
Deve fd4ab9d88f Fixed possible uninitialized variable in gles renderer 2017-08-13 01:38:21 +02:00
Deve cf868df93f Fixed memory leaks in wayland device 2017-08-13 01:38:21 +02:00
hiker 50c3ac671b Merge branch 'master' of github.com:supertuxkart/stk-code 2017-08-11 10:10:27 +10:00
hiker 3923da30bc Use unique names for profiler events. 2017-08-11 09:41:22 +10:00
hiker 5b68e18df4 Fix cygwin support. 2017-08-11 09:38:58 +10:00
auria.mg 936ef3c4c7 Update changelog 2017-08-09 19:37:49 -04: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 e03c0849ce Fixed previous commit - got confused with the #undef :P 2017-08-09 20:30:44 +10:00
hiker 8be5443f8c Merge branch 'fix-profiler' into improve-xbox-gamepad-support 2017-08-09 17:56:40 +10:00
hiker d46b03b317 Hopefully fixed cygwin build problems. 2017-08-09 17:54:29 +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
hiker 6f5b1d2a55 Merge branch 'improve-xbox-gamepad-support' of github.com:supertuxkart/stk-code into improve-xbox-gamepad-support 2017-08-09 10:23:52 +10:00
auria.mg f589bbea04 Attempt to fix 2617 2017-08-08 20:23:22 -04:00
hiker 11a587dd30 Merge branch 'improve-xbox-gamepad-support' of github.com:supertuxkart/stk-code into improve-xbox-gamepad-support 2017-08-09 10:15:35 +10:00
hiker c3cd7ceaa2 Merge branch 'master' into improve-xbox-gamepad-support 2017-08-08 23:08:14 +10:00
hiker b440511c95 Fixed incorrect right thumbstick mapping. 2017-08-08 21:55:28 +10:00
hiker bd5eb89cc0 Use XInput 9.1 which does not need an installer and works on most
windows platforms. Move the linking to irrlicht cmake.
2017-08-08 21:44:32 +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
Deve 0a715ac31a Fixed 32-bit mingw compilation 2017-08-07 22:33:57 +02:00
hiker 620d1f34c1 Link in xinput on windows builds. 2017-08-07 23:50:09 +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 e6c2c3df95 Revert to using guidProduct for all existing code, but the correct guidInstance
for detecting XInput devices only.
2017-08-07 09:15:09 +10:00
Deve b6df36fc39 Don't hardcode build-tools version 2017-08-06 23:15:08 +02:00
Deve bc6ff38b22 Simplify light factor when advanced lighting is disabled.
In this case only diffuseMatColor really matters, other values are constant.

It improves performance on GLES renderer and it's also noticeably faster for GL on desktop.
For example:
- fps increased for me from 60 to 69 on Hacienda with intel HD 4000
- from 43 to 49 on lighthouse

There is much less difference on nvidia graphics card, but still it gives small performance improvement.
2017-08-06 22:18:18 +02: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
hiker 68d41a07ba Now actually use XInput to read the joystick events for all
XInput devices.
2017-08-05 00:34:51 +10:00