Commit Graph

896 Commits

Author SHA1 Message Date
Vincent Lejeune
f644543bc1 Move all gfx related config to a separate file 2014-12-27 03:14:16 +01:00
Marianne Gagnon
526e565c4d Fix memory leak found by vlj 2014-12-23 19:57:29 -05:00
Marianne Gagnon
7686628401 Allow animated meshes in LOD, fixes #1747 2014-12-06 19:51:46 -05:00
hiker
59540abb59 Removed hard coded <B> for backwards (though that message is not
even shown atm).
2014-12-03 11:39:39 +11:00
Marianne Gagnon
d38b7ca080 Fix a few strings 2014-12-02 18:38:54 -05:00
hiker
006a7f95c9 Cherrypicked pull request #1743 (cppcheck performance fixes). 2014-12-01 15:14:27 +11:00
Vincent Lejeune
d34bdc2344 Fix null ref ptr static analysis 2014-11-16 23:24:50 +01:00
hiker
ad976e0d19 Fixed compilation. 2014-11-17 08:01:44 +11:00
Vincent Lejeune
d5330a8f39 Fix VS2013 "dereferencing null ptr" static analysis error 2014-11-16 04:40:19 +01:00
Marianne Gagnon
b204de7a8e Ignore billboard text nodes in physics, fixes #1666 2014-11-14 18:26:48 -05:00
Marianne Gagnon
6c85480010 Do not use 0,0,0 as default sun position when unspecified, as this will give unpredictable results when normalized 2014-11-14 18:09:53 -05:00
Marianne Gagnon
6429d394e5 bugfix: auto-calculate tangents for static-mesh too 2014-10-30 19:57:03 -04:00
hiker
f7d767e57b Merge branch 'master' of github.com:supertuxkart/stk-code 2014-10-28 09:47:28 +11:00
Marianne Gagnon
139f20b39d Merge remote-tracking branch 'sachith/ScriptEngine'
Conflicts:
	CMakeLists.txt
	sources.cmake
	src/io/file_manager.cpp
	src/io/file_manager.hpp
	src/modes/world.hpp
	src/tracks/track.hpp
	src/tracks/track_object_presentation.cpp
2014-10-27 18:43:09 -04:00
hiker
b66fb2e56b Removed unnecessary parameter for gamepads in processAndMapInput,
started a common virtual function for processAndMapInput. Removed
unnecessary #includes, cosmetic changes.
2014-10-28 09:00:22 +11:00
hiker
ec908d85c6 Split GamepadDevice and KeyboarDevice from input_device into their
own files. Renamed InputManager::getDeviceList() to getDeviceManager().
2014-10-25 23:09:00 +11:00
Marianne Gagnon
047c6fc760 Add debug name to meshes and mesh buffers, helps debugging 2014-10-24 19:25:24 -04:00
Marianne Gagnon
0025f908db Add cleanup post-minimap-RTT. Appears to fix #1470 . Hard to know for sure since this bug is random :( 2014-10-20 20:38:37 -04:00
hiker
a09c1346b7 Fixed sound objects. 2014-10-21 08:21:58 +11:00
Vincent Lejeune
f3dd009376 Try to fix model loader hpp 2014-10-19 18:44:08 +02:00
Marianne Gagnon
9b46cdc981 Refactor library nodes to be proper TrackObjects, allows animating them with curves 2014-10-18 19:11:24 -04:00
hiker
8fcc373b2a Add volume, speed, and position settings to be done by the sfx
thread. Removed more unnecessary error checks (which mostly flood
stdout with 'not playing ...' messages), and renamed volume, position
and speed to setVolume, setPosition and setSpeed.
2014-10-15 07:55:18 +11:00
hiker
665f146923 Moved SFXStatus enum to SFXBase. 2014-10-14 08:05:04 +11:00
Marianne Gagnon
2b90cb2a69 Use case-insensitive comparison for animated textures, for some reason 2014-10-12 20:12:40 -04:00
hiker
bfe84612fa Let all SFX commands be handled by the sfx manager thread (otherwise
events could be handled in the wrong order, e.g. a delete from the
main thread before the play in the manager thread, resulting in a crash).
Should fix #1511 and #1604.
2014-10-13 08:26:45 +11:00
Vincent Lejeune
b56901bacd Fix minimap halo second time it is rendered. 2014-10-04 01:42:25 +02:00
Marianne Gagnon
22a884828a Use unlit material for minimap, to avoid dark minimap segments 2014-10-02 18:52:17 -04:00
hiker
584e909846 Use a separaet asset class for library object to avoid hardcoding
the name of library directory (and avoid searching for files in
more than one directory).
2014-09-30 10:47:10 +10:00
hiker
2cab457cbc Removed unnecessary call to getAsset(). 2014-09-30 09:47:57 +10:00
Marianne Gagnon
c26a2413b2 Properly cleanup mesh cache, fixes crash on second play 2014-09-29 18:42:10 -04:00
Marianne Gagnon
fe569797a3 Partial fix for objects not being cleaned up when they should. There's more left 2014-09-27 20:37:20 -04:00
Marianne Gagnon
4f6bb4565f Revert earlier bugfix attempt, causes other issues 2014-09-27 20:10:47 -04:00
Marianne Gagnon
38b9c059d1 Tentative fix for a crash when playing a track the 2nd time 2014-09-27 19:48:48 -04:00
Marianne Gagnon
ef94c77a67 suppress false positive warning 2014-09-27 19:27:28 -04:00
Marianne Gagnon
6df86551eb Remove unused code 2014-09-23 18:40:07 -04:00
hiker
ad20635cce Applied patch for #600 (support 64 bit compilation on windows). 2014-09-23 14:41:32 +10:00
Marianne Gagnon
53f9c5efdc Fix tangent generation in track objects 2014-09-19 20:17:49 -04:00
Vincent Lejeune
ad6728ce51 Apparently fix minimap 2014-09-20 01:31:11 +02:00
hiker
e18c20db65 Fixed various compiler warnings. 2014-09-19 11:02:20 +10:00
hiker
86b351fbf4 Turn sfx_manager into a singleton. 2014-09-17 21:38:21 +10:00
Sachith Hasaranga Seneviratne
10e2634f22 Merged master 2014-09-13 08:45:41 +05:30
hiker
bf135095d8 Updated documentation, removed commented out code. 2014-09-12 08:37:03 +10:00
hiker
68e45db8d3 Start to support driving (and rescuing) on physical track objects. 2014-09-11 21:48:03 +10:00
Sachith Hasaranga Seneviratne
71ad22b2d8 Resetting a track now properly accounts for scripting 2014-09-10 19:09:31 +05:30
Sachith Hasaranga Seneviratne
b6a9e5be9c Merge branch 'master' of https://github.com/supertuxkart/stk-code into ScriptEngine 2014-09-10 17:15:01 +05:30
hiker
52a9993ba3 Minor cosmetic changes. 2014-09-08 21:26:49 +10:00
Sachith Hasaranga Seneviratne
118db58a02 Merged Master 2014-09-07 11:28:15 +05:30
hiker
1c23309161 Merge branch 'master' into gui_screen 2014-09-05 09:18:17 +10:00
vlj
13e1a40b7b Remove stkinstancedscenenode.h/cpp 2014-09-03 01:33:52 +02:00
Marianne Gagnon
102e517497 Remove manual LOD code, it's now automatic 2014-09-02 18:54:38 -04:00