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
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
Qwerty Chouskie
14ea69dc90
Cleanup V2
2017-08-02 09:29:15 -07: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
22208365d2
Switch to direct input for joystick handling.
2017-08-02 08:13:24 +10:00
hiker
1e5d2643be
Bugfix: incorrect index.
2017-08-02 08:13:04 +10:00
hiker
cc6a1a3909
Started to add XInput support (to be able to distinguish the two
...
triggers).
2017-08-01 17:48:18 +10:00
hiker
85ee217d77
Converted tab to spaces.
2017-08-01 17:19:52 +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
a89b2f5df2
Minor tweak for linux icon.
...
On freedesktop specs they suggest to use 48x48 icon.
2017-07-30 12:56:25 +02:00
Deve
7d4fbb8d0c
Minor modification in play tutorial text. Fixes #2535
2017-07-29 00:43:17 +02:00
QwertyChouskie
0be10ce448
Fix MinGW cross-compilation ( #2883 )
...
* Fix MinGW x64 cross-compilation
* Fix MinGW x86 cross-compilation
2017-07-22 20:17:31 -04:00
Benau
979e1546fb
Fix #2881 , only create a camera when initializing
2017-07-21 09:27:57 +08:00
auria.mg
1770d01e07
Changelog, continued
2017-07-20 19:57:42 -04:00
auria.mg
b2fd3d341a
Changelog
2017-07-20 19:50:46 -04:00
Deve
09a735c25e
Use key names in android device too
2017-07-20 22:58:12 +02:00
Deve
7a92708fd3
Use key names in wayland device
2017-07-20 22:58:12 +02: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
samuncle
a3d6f2f453
Start to update the changelog for the release (please add/correct if needed)
2017-07-19 19:35:04 +02:00
Deve
11b2409fab
Activate accelerometer only if needed
2017-07-18 21:43:45 +02:00
Deve
20850c9811
Remove unused cmake option
2017-07-18 00:11:09 +02:00
Deve
bbee93dfe8
Update readme and generate_assets script.
...
The issues on android 4.4 + qualcomm should be already fixed in 8653d410f8
and d44802a482
I also added few lightweight tracks and karts to the apk
2017-07-14 22:04:52 +02:00
Deve
cbba2b6b7d
Merge pull request #2880 from scootergrisen/patch-2
...
Add danish translation
2017-07-14 06:21:38 +02:00
scootergrisen
cb8e0d7b2a
Add danish translation
2017-07-14 00:40:56 +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
Deve
1fd6a8aa86
Make sure that we are not using files from our zlib/libpng when STK is compiled with shared libraries.
...
It's possible that STK was using these files for compilation when cmake was run from main directory. In this case compiled files are stored in stk-code/lib, so that CMAKE_CURRENT_BINARY_DIR is stk-code/lib/irrlicht rather than stk-code/build/lib/irrlicht and we include whole lib/libpng rather than non-existing directory.
2017-07-10 21:14:28 +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