Commit Graph

17739 Commits

Author SHA1 Message Date
hiker
a2bca46958 Fixed compiler warning. 2017-03-15 12:52:46 +11:00
hiker
71f247ecb7 Fix 2809. 2017-03-15 12:46:20 +11:00
Benau
6b0610af50 Don't use HQ Mipmap on colorization mask 2017-03-15 00:59:30 +08:00
Benau
bfd8198f72 Update from stragus 2017-03-15 00:25:20 +08:00
hiker
47835bc1ef Fixed VS compiler warnings. 2017-03-14 22:39:27 +11:00
Benau
eef2c19db7 Merge remote-tracking branch 'origin/master' into hq_mipmap_generator 2017-03-14 13:06:27 +08:00
Benau
ea948014a2 Allow dumping single channel texture by manual conversion 2017-03-14 12:58:00 +08:00
hiker
9bee42ccb7 Merge remote-tracking branch 'origin/master' into fix-cannon 2017-03-14 15:10:27 +11:00
Benau
eedc7f55c9 Make addThreadedLoadTexture thread safe 2017-03-14 11:35:26 +08:00
hiker
e5eb40b773 Smooth skidding rotation when entering a cannon. 2017-03-14 12:51:10 +11:00
Benau
abfb402acb Disable saving generated mipmap to disk 2017-03-13 12:47:13 +08:00
Benau
677723fe5d Fix msvc build 2017-03-13 12:34:08 +08:00
Benau
ab10702d12 Try to fix build 2017-03-13 12:12:51 +08:00
Benau
a1492981cf Apply fixes from Stragus for restrict keyword 2017-03-13 11:50:57 +08:00
Benau
76aa38e5b4 Try HQMipmapGenerator 2017-03-13 10:28:43 +08:00
Deve
6ea06e05de Use kart lights only in shader-based pipeline.
It causes a huge slowdown in legacy pipeline, even if the radius is set to 0.
2017-03-13 01:26:48 +01:00
Sam
97670ed23c Improved wind effect for vegetation 2017-03-12 21:35:48 +01:00
Deve
b8e3de0161 Allow to use debug menu on android 2017-03-12 11:42:21 +01:00
Benau
498ce3ebc9 Use a correct method to detect last queue texture 2017-03-12 15:03:02 +08:00
Benau
27fcc4e266 Allow custom memory management in IImage 2017-03-12 09:09:40 +08:00
rogue-spectre
d33d72dfb8 fix feedback offroad #2761 (#2806)
* Fix updateenginesfx

smooth engine sound and fix https://github.com/supertuxkart/stk-code/issues/2761

* update enginesfx

* remove m_last_max_speed useless

* forgot : float max_speed

* Add missing space around =

* add space around = m_last_factor_engine_sound
2017-03-11 09:04:38 -05:00
Benau
a274f217ed Fix build 2017-03-11 15:41:54 +08:00
Benau
40a25e1d9e Remove dependency on STKTexture (for HQ mipmap generator later) 2017-03-11 15:33:36 +08:00
Benau
ead543fae4 Avoid checking too many 2017-03-11 14:04:42 +08:00
Benau
ab673fc03b Merge remote-tracking branch 'origin/master' into threaded_tex_loader 2017-03-11 13:55:18 +08:00
Benau
b0adb92964 Make sure all textures are uploaded without using timeout in TTL 2017-03-11 13:35:33 +08:00
Benau
6e80271ad9 Max texture size 2k and allow them to be threaded load 2017-03-11 09:41:46 +08:00
Benau
6eb69db4ea Properly clean up when exit 2017-03-11 00:23:54 +08:00
Benau
579aa8a9d1 Allow setThreadName to be used in linux (glibc > 2.11) 2017-03-10 23:30:18 +08:00
Benau
85011791e4 Try to use priority queue 2017-03-10 20:43:40 +08:00
Benau
6b3441d2a0 Allow reload texture with threads 2017-03-10 15:40:58 +08:00
Benau
ed9b16fe7b Don't use std::thread library 2017-03-10 15:02:21 +08:00
Benau
553c483bf4 Avoid unnecessary sync 2017-03-10 14:16:23 +08:00
hiker
0bd459c2aa Fix the transition from physics orientation to cannon (i.e. no more
yerk when the kart is not parallel to the tangent of the curve at start).
2017-03-10 17:11:54 +11:00
Marianne Gagnon
62d64847c4 Fix texture paths on case-sensitive file systems, fixes #2807 2017-03-09 18:41:35 -05:00
hiker
aac92f6111 Code simplification. 2017-03-10 08:44:51 +11:00
hiker
5640436aa8 Support cannons in reverse tracks. 2017-03-10 08:38:03 +11:00
hiker
c8b69cecb6 Merge remote-tracking branch 'origin/master' into fix-cannon 2017-03-09 23:05:03 +11:00
hiker
a500f3becc Applied Stragus' SSE optimisations for spherical harmonics. 2017-03-09 22:58:22 +11:00
hiker
12e6bab90a Merge branch 'master' of github.com:supertuxkart/stk-code 2017-03-09 22:42:06 +11:00
Benau
68e36268aa Try to use pbo for each ThreadedTexLoader 2017-03-09 16:41:15 +08:00
auria.mg
2d6cf4c487 Remove a few more string allocations/manipulations 2017-03-08 20:42:16 -05:00
auria.mg
571832fbbc Make all material names and path lowercase upon loading them, moving several string allocations and modifications outside of hot loops 2017-03-08 20:30:45 -05:00
Deve
adfa8f30f9 Better fix for missing transparency in GLES legacy pipeline 2017-03-08 23:17:03 +01:00
hiker
87950c9a94 Adjust up vector of kart slowly so that the kart is upright (even
when it was not upright at the start of the cannon).
2017-03-09 08:56:01 +11:00
Deve
21cb853079 One more tweak for hiding story mode icon if it's not available.
Now it should work properly, sorry for the mess.
2017-03-08 22:09:47 +01:00
Deve
d339d9acef Fixed ambient light for legacy pipeline.
TODO: It should be possible to convert it once together with spherical harmonics computations.
2017-03-08 21:41:53 +01:00
Deve
11255cb2b8 Fixed wrong lights color for legacy pipeline.
SColor is ARGB, but SColorf is RGBA... WTF?
2017-03-08 21:12:24 +01:00
Benau
d864995c7d First version of ThreadedTexLoader 2017-03-08 15:54:59 +08:00
hiker
bedb565f24 Simplified maths. 2017-03-08 17:57:03 +11:00