13796 Commits

Author SHA1 Message Date
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
1cc9f503a4 DT can actually be 0 :P (e.g. in server with no graphics, and I
guess on really fast computers). Bad things happen with dt=0, so
set dt to at least 1 ms.
2017-08-11 17:22:25 +10:00
hiker
6edfc02ec5 Removed debug output. 2017-08-11 17:10:59 +10:00
hiker
a7a3f2b137 Fixed typo in profiler call. 2017-08-11 17:10:28 +10:00
hiker
e7f8cc7239 Added profiling events for playing network events. 2017-08-11 09:50:08 +10:00
hiker
4c0ffdb055 Added profiling events for ProtocolManager. 2017-08-11 09:48:34 +10:00
hiker
aa757637ec Added more profiling events for rewinding. 2017-08-11 09:46:30 +10: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
hiker
379a9db3c9 Merge remote-tracking branch 'origin/fix-profiler' into game_protocol 2017-08-09 17:43:14 +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
28890aad33 Merge branch 'master' into game_protocol
Some minor changes to make code easier to read.
2017-08-09 09:50:46 +10: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