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
hiker
f431730278
Fixed recognition of XInput devices.
2017-08-05 00:12:22 +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
623bb460c6
Merge branch 'master' of github.com:supertuxkart/stk-code
2017-08-03 21:23:32 +10:00
hiker
04c775eead
Don't measure lock time, some whitespace cleanup.
2017-08-03 21:21:40 +10:00
hiker
d3da93f368
Try to use a Microsoft function to detect XInput devices when using
...
DirectInput - atm not working yet :(
2017-08-03 09:24:50 +10:00
Geoffrey Mon
802d70ca8d
Fix code style issues
2017-08-02 17:21:37 -04:00
Deve
1d2ff0bc47
Remove more unused files
2017-08-02 22:03:01 +02:00
Deve
e9496caa71
Merge pull request #2892 from qwertychouskie/cleanup2
...
Cleanup V2
2017-08-02 21:49:58 +02:00
Geoffrey Mon
9ec2ff5c4a
Backwards compatibility: use kart name if username is not in replay
2017-08-02 14:13:26 -04:00