Commit Graph

17755 Commits

Author SHA1 Message Date
Benau
372ce6923c Log in terminal if recording isn't supported 2017-03-24 08:51:42 +08:00
hiker
6c35c08474 Increased suspensoin stiffness to offset the reduced impulse casued
by removing the '*f' factor (seee 9a5eec3761).
Otherwise the AI triggers rescue in sandtrack because of very frequent
chassis-track collisions.
2017-03-24 09:58:26 +11:00
hiker
b26d833e84 Fixed compiler warnings. 2017-03-24 08:41:17 +11:00
hiker
f35b9c9480 Try setting kart (vs track specificially) friction to 0, and
reduce roll/pitch impact which should keep karts more parallel
to the ground.
2017-03-23 19:22:53 +11:00
hiker
b8655e53cc Added support to modify the angular factor of a kart. The angular
factor can be used to reduce the effect of an impulse for roll
and pitch - keeping karts more parallel to the ground.
2017-03-23 19:07:34 +11:00
Benau
2660a5b332 Allow message queue to be able to do linebreak
Also set "/" and "\" to be breakable
2017-03-23 00:51:50 +08:00
Benau
aecb1a97ce Update license of img.h as Stragus said in IRC
Also remove unneeded file
2017-03-23 00:12:06 +08:00
Benau
81c6735ba2 Fix when getNumProcessors return 0 2017-03-22 20:47:34 +08:00
deve
a3a8289836 Fixed a hang on startup under cygwin 2017-03-22 13:17:04 +01:00
deve
4df773d283 Some fixes in cmake.
Note that you need updated dependencies on windows.
2017-03-22 10:24:33 +01:00
hiker
f55c39b3b1 Support setting of friction for karts, moveable and track in stk_config.xml
and kart_characteristics.xml (for now no changed settings, all are at
tbe default of 0.5).
2017-03-22 19:52:03 +11:00
Benau
41e66bef37 Allow keeping target name after changing resolution 2017-03-22 12:44:32 +08:00
Benau
9a69859c8f Fix crash when deleting AVIWriter with file closing 2017-03-22 11:34:42 +08:00
Benau
7e9f723038 Allow recording video with ctrl + printscreen 2017-03-22 10:43:02 +08:00
Benau
4b663a08ce Use array deallocation 2017-03-22 09:58:22 +08:00
Benau
9034d89a31 Add the missing clear() 2017-03-22 09:53:02 +08:00
Benau
58c665efc6 Merge branch 'avi_writer' 2017-03-22 09:14:35 +08:00
Benau
740bf19446 Fix grammar 2017-03-22 09:08:44 +08:00
Benau
6ef70e2e7c Use message queue to inform users about recording status 2017-03-22 09:02:21 +08:00
Benau
2b9a84253a Make MessageQueue thread-safe 2017-03-22 08:40:58 +08:00
Benau
668b28f632 Allow to config whether to limit game framerate with recordings 2017-03-22 07:43:00 +08:00
Benau
196b2b722c Fix mac build 2017-03-22 07:42:48 +08:00
Deve
4ef8ec3af2 Fixed a warning in shaders compilation 2017-03-21 19:42:53 +01:00
Deve
583b858860 Handle #stk_include in better way.
It allows to use it recursively.
2017-03-21 18:41:18 +01:00
Benau
f58cf2d9cc Better handling with thread 2017-03-22 00:39:24 +08:00
Benau
3ed52e26d0 Call createFile only in AVIWriter thread 2017-03-21 16:16:10 +08:00
Benau
e2482e602c Don't use irrlicht image 2017-03-21 14:35:20 +08:00
hiker
5bbacfc72d Allow tracks to set their friction (defaults to the bullet default 0f 0.5). 2017-03-21 16:24:29 +11:00
Benau
449d63c0d8 Save record option in user config 2017-03-21 13:08:08 +08:00
Benau
547d28a9e4 Use jpeg-turbo library in msvc 2017-03-21 09:17:39 +08:00
samuncle
8265bb14f3 Revert, the high frequency noise has it's own branch 2017-03-20 15:15:51 -05:00
Sam
16c0736f8b Add base for detail map with splatting 2017-03-20 20:49:54 +01:00
Benau
3087a7c856 Don't call malloc for each frame 2017-03-21 01:09:20 +08:00
Benau
78dcabb143 Try to maintain a better synchronization with game framerate 2017-03-20 16:16:26 +08:00
Deve
2a64ce94c8 Some fixes for scale rtts.
- Don't force using rtts when advanced lighting is disabled because it actually makes the game slower
- Keep the minimap and kart selection screen in high quality
2017-03-18 22:26:35 +01:00
Benau
88cbcd202c Don't enable AVIWriter if PBO is not usable 2017-03-18 16:06:38 +08:00
Benau
8259026ac1 Make AVIWriter threaded and get pixel with 3 async PBOs
Also try to record at a fixed 24fps
2017-03-18 15:50:18 +08:00
Benau
21cbcd9185 Load speedmeter texture before rendering the first frame 2017-03-18 08:30:50 +08:00
Benau
d3d7c95b4d Fix msvc build 2017-03-17 17:19:46 +08:00
Benau
65da13fc52 Merge remote-tracking branch 'origin/threaded_tex_loader' into avi_writer 2017-03-17 16:31:32 +08:00
Benau
09e2f96ba8 Remove libpng's png_set_gamma
Stragus suggested:

It will degrade quality by converting from true sRGB to ^2.2 and
then rounding the values back on 8 bits
2017-03-17 13:19:56 +08:00
Benau
41844de6a5 Apply real fix from Stragus for normal map 2017-03-17 13:08:08 +08:00
hiker
6ac6d9ebfe Fixed compiler warnings. 2017-03-17 15:56:47 +11:00
Benau
e1a563612f Avoid calling gamma correction on non-srgb png 2017-03-17 10:15:06 +08:00
Benau
40a94b5562 First try to use Stragus's normal map filter on normal map texture 2017-03-17 09:57:45 +08:00
Benau
de3c9d7411 Allow to preserve more texture config 2017-03-16 16:20:05 +08:00
Benau
0f218cff32 Allow re-create ThreadedTexLoader with suitable capacity 2017-03-16 13:15:33 +08:00
hiker
9a5eec3761 Try tp reduce sudden rotation after a collision, and reduce frequencies
of kart being pushed into the air.
2017-03-16 16:14:48 +11:00
hiker
0f37f7cdc0 Merge branch 'master' of github.com:supertuxkart/stk-code 2017-03-16 15:59:10 +11:00
Benau
feb66664f4 Don't build graphics utils if server only or gles 2017-03-16 11:29:16 +08:00