Commit Graph

1054 Commits

Author SHA1 Message Date
hiker
f8f0c4e4e4 Fixed compiler warning. 2015-08-18 16:54:55 +10:00
Flakebi
b51eadae28 Merge branch 'master' into kart-properties 2015-08-16 16:45:47 +02:00
hiker
e97b0a9955 Avoid crash when using --check-debug (still wip). 2015-08-14 23:14:19 +10:00
hiker
3a0f2e7ce5 Merge branch 'master' of github.com:supertuxkart/stk-code 2015-08-13 13:49:31 +10:00
hiker
567d08d360 Visualise invisible physics-only meshes when --physics-debug is
specified (helps debugging invisible walls).
2015-08-13 09:51:45 +10:00
Deve
63249309c3 Fixed compiler warning.
Previously address of local variable was returned.
2015-08-12 19:23:38 +02:00
Marianne Gagnon
7b8da0ef34 Bugfix : objects with a physics collision from a library should rotate and scale according to the parent library object 2015-08-11 20:55:04 -04:00
Marianne Gagnon
d488c043d1 Continue work on scripting, fixing #2268. Use this as an opportunity to clean up a lot of old hardcoded overworld code, and replace it with cleaner scripting. Make sure to update SVN and the exporter (other commits in SVN coming soon) 2015-08-09 21:38:01 -04:00
Marianne Gagnon
43d5dbeb3e Implement setEnabled method for sound track objects, fixes warnings on terminal and fixes hiding objects containing sounds from scripting 2015-08-07 18:26:37 -04:00
Elderme
ae5f71e50e Merge branch 'master' into skybox_refactoring 2015-08-07 15:12:56 +02:00
Elderme
87b493aaa2 Cleaned code 2015-08-07 15:11:32 +02:00
Elderme
f583fafd97 Fixed bug (SH textures were not taken into account) 2015-08-07 14:26:38 +02:00
Marianne Gagnon
518a55d1e3 Fix quad requirements issue causing rescues to wrong quad 2015-08-06 20:24:20 -04:00
hiker
340dec329c Support to mirror a texture around U or V axis if a track is driven
in reverse.
2015-08-03 23:25:11 +10:00
Elderme
2817fda910 Merge branch 'master' into skybox_refactoring 2015-08-02 00:09:10 +02:00
hiker
7799e9835d Added a getStartTransform function to World. Use this to change
the start position of the non-leader karts in a FTL race, so that
those karts now start at the end of all start positions, and not
directly behind the leader.
2015-07-30 17:12:48 +10:00
Elderme
39d1c87b11 Fixed incorrect rendering when there is no spherical harmonic textures 2015-07-30 08:14:57 +02:00
Flakebi
5d36b95c95 Merge remote-tracking branch 'upstream/master' into kart-properties
Conflicts:
	data/stk_config.xml
	sources.cmake
	src/karts/kart.cpp
	src/karts/kart.hpp
	src/karts/kart_properties.cpp
	src/karts/kart_properties.hpp
	src/tracks/track.cpp
2015-07-29 02:48:43 +02:00
Tobias Markus
fcc3e75a99 Fix crash when loading story mode 2015-07-26 16:41:36 +02:00
hiker
622d0821cf Fixed rescue (which my previous commit broke). 2015-07-24 21:38:35 +10:00
hiker
ac779d0652 Merge branch 'master' of github.com:supertuxkart/stk-code 2015-07-24 16:40:37 +10:00
hiker
cefce3152c Fixed #2246. 2015-07-24 16:36:55 +10:00
hiker
cd8fd7fb16 Merge remote-tracking branch 'origin/master' into Flakebi-fixes 2015-07-20 09:10:05 +10:00
hiker
e755a7eda8 Merge remote-tracking branch 'origin/master' into graphical_chassis_to_physical_chassis 2015-07-18 11:53:49 +10:00
Marianne Gagnon
675b0b9458 Improve scripting error handling, more work on different shapes for collision triggers 2015-07-17 19:18:12 -04:00
Marianne Gagnon
3cb57358a3 Fix #2242 2015-07-16 19:38:34 -04:00
Marianne Gagnon
84e78e0d40 Some cleanup to check structures, start adding new cylinder check structure (WIP) 2015-07-14 19:00:00 -04:00
Marianne Gagnon
77fac34e41 More cleanup to remove hardcoded things in favor of scripting, and start work to allow for more action trigger shapes (work in progress) 2015-07-13 20:27:16 -04:00
Flakebi
9fc6f84545 Switch from properties to characteristics 2015-07-11 19:22:27 +02:00
hiker
93282f8abf Completely removed the usage of a physical wheel radius in the physics, it was
never really necessary, the phsyics are basically the same). Wheel rotation is
was refactored to be completely done in KartModel now.
2015-07-09 23:59:53 +10:00
Flakebi
fbf26df23d Merge branch 'master' into fixes
Conflicts:
	src/graphics/2dutils.cpp
	src/graphics/graphics_restrictions.cpp
	src/graphics/render_skybox.cpp
	src/graphics/rtts.hpp
2015-07-03 15:29:53 +02:00
hiker
8aabb30687 Fixed memory leak. 2015-07-01 08:58:15 +10:00
Marianne Gagnon
1ceb05c2cb More scripting functions to control particles 2015-06-28 19:10:43 -04:00
Marianne Gagnon
68eb4eb359 Start work to control particle emitters from scripts, and allow getting kart velocity from script 2015-06-28 19:00:25 -04:00
hiker
0dc2e66039 Fixed compiler warnings. 2015-06-29 08:24:31 +10:00
Marianne Gagnon
f992b864e1 More work on moving track objects via scripting 2015-06-25 19:33:28 -04:00
Marianne Gagnon
74f19f0cbc Start working on scripting API to move objects 2015-06-22 19:36:30 -04:00
Marianne Gagnon
ae18901bb2 Try fixing travis build 2015-06-21 19:57:06 -04:00
Marianne Gagnon
789384a7bf Fix loading scripts in local library nodes 2015-06-18 19:24:39 -04:00
Marianne Gagnon
8119b59af0 More fixes on intially hidden objects 2015-06-18 19:09:13 -04:00
Marianne Gagnon
403d61e754 Allow creating initially hidden objects, that can later be shown through scripting 2015-06-17 19:33:53 -04:00
Marianne Gagnon
b3cc5f9f0d Try to fix Travis build 2015-06-15 20:09:22 -04:00
Marianne Gagnon
fa027c11da Work on hiding/showing library nodes (especially when they contain movable children, which are a special case) 2015-06-15 19:44:31 -04:00
Marianne Gagnon
32edaa25fe Adjust load and cleanup sequence for scripts, enabling scripts in library objects 2015-06-09 20:24:17 -04:00
Marianne Gagnon
cb510840ae Work on scripting, namely improving interaction with library objects 2015-06-05 19:34:46 -04:00
Marianne Gagnon
238578c921 More work towards handling library nodes in scripting 2015-06-04 20:12:03 -04:00
hiker
9531f0b3a4 Merge remote-tracking branch 'origin/master' into refactor_shaders 2015-06-05 09:13:27 +10:00
Marianne Gagnon
bd006c875e Let track objects know what library object they are part of, paving the way for scripting to interact with library objects 2015-06-03 20:34:58 -04:00
hiker
a51d56a6e5 Merge remote-tracking branch 'origin/master' into refactor_shaders
Conflicts:
	src/tracks/track_object_presentation.cpp
2015-06-01 09:28:23 +10:00
hiker
e5a7f27f19 Renamed files to follow our coding style. 2015-05-30 12:16:11 +10:00
Marianne Gagnon
1ada542fa5 Continue porting overworld to scripting 2015-05-24 19:15:50 -04:00
Marianne Gagnon
4c02204eff Start porting the overworld to scripting 2015-05-24 18:34:01 -04:00
Marianne Gagnon
0a3daf9484 Scripting work : the tutorial is now completely scripting-powered, nothing hardcoded anymore 2015-05-21 20:26:28 -04:00
Marianne Gagnon
080936f144 Work on scripting 2015-05-17 19:27:25 -04:00
Marianne Gagnon
a29fa5c4a3 More work on scripting 2015-05-10 19:19:35 -04:00
Marianne Gagnon
1559d03ea1 More work on scripting, test ways to pass arguments to script functions 2015-04-30 20:24:02 -04:00
Marianne Gagnon
585d1c5016 Scripting cleanup, remove hardcoded stuff in favor of more generic approaches 2015-04-30 19:37:11 -04:00
Marianne Gagnon
dfcaf44058 Scripting work 2015-04-26 19:06:51 -04:00
Marianne Gagnon
9f883db6f7 Start work to enable scripting 2015-04-24 20:59:32 -04:00
hiker
8d07d26c25 Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
Marianne Gagnon
2d2624f71c Merge remote-tracking branch 'Flakebi/fribidi-text' 2015-03-29 20:06:21 -04:00
Flakebi
06c8089dfc Fribidize more strings 2015-03-30 01:22:57 +02:00
Marianne Gagnon
8deac178d0 Attempt fix for 2055. Committed in a branch for now until we can test it better. 2015-03-28 18:20:28 -04:00
hiker
6c57ce8507 Disable texture cache for resized textures (which are all in lower
res compared what we use now that we resize _every_ big texture).
2015-03-27 08:05:55 +11:00
Marianne Gagnon
5e34ac3a44 Fix bug #2037 (objects in library objects with curve animations not working) 2015-03-18 21:48:22 -04:00
Marianne Gagnon
e596c48f42 Tweak per-track library objects to be grouped in a subdirectory 2015-03-17 20:44:14 -04:00
Marianne Gagnon
184f48b931 Fix movable LOD objects vs scale 2015-03-17 20:36:43 -04:00
Marianne Gagnon
ba773b8452 Support per-track library objects 2015-03-15 19:26:15 -04:00
Flakebi
e5abf4cec3 Merge branch 'origin/master' into fixes 2015-03-08 01:16:51 +01:00
Marianne Gagnon
fb4f4aeb2e Always create movables at scene manager root 2015-03-04 19:39:12 -05:00
hiker
727f0806a3 Fixed typo in error message. 2015-03-02 19:01:21 +11:00
hiker
cab6149193 Cosmetic change for coding style (removed 2 unnecessary constructors). 2015-03-01 22:46:03 +11:00
hiker
b7fb159de4 Fix #2000 (missing variable initialisation). 2015-03-01 19:41:28 +11:00
Marianne Gagnon
e6aea6e0b6 Improve tools and usage of XML encoding, fixes #1982 2015-02-14 18:30:23 -05:00
Flakebi
32a044e292 Fix some clang warnings and bugs 2015-02-04 18:30:27 +01:00
Flakebi
0051254f03 Merge branch 'origin/master' into fixes
Conflicts:
	src/graphics/graphics_restrictions.cpp
2015-02-04 12:28:39 +01:00
hiker
b9a7c11dab Removed unnecessary #includes. 2015-02-03 14:30:18 +11:00
hiker
27ed23a6e7 Fixed warnings about missing screenshots caused by 'prefetching'
screenshots.
2015-01-23 10:59:16 +11:00
Flakebi
d6fee72295 Merge branch 'origin/master' into fixes
Conflicts:
	src/graphics/graphics_restrictions.cpp
2015-01-23 00:15:40 +01:00
hiker
e17add7bc8 Allow users to enable high res textures, even if their default
value stats that they should be disabled.
2015-01-22 11:38:15 +11:00
Flakebi
9c6dd1c1b5 Fix some compiler warnings 2015-01-18 23:28:53 +01:00
Vincent Lejeune
c8bd922314 Fix attempt for #1836
Reinitialize m_sun_interposer each time we load a track
2015-01-17 00:26:06 +01:00
auriamg
1baa51418f Merge pull request #1895 from marcoll/0.8.2-beta
Fix music stop problem when loading track selection screen
2015-01-13 18:09:04 -05:00
Deve
cacb474c42 Add initial values in TrackObject 2015-01-13 17:57:16 +01:00
Deve
2f0524dcbd Fixed memory corruption in three strikes battle 2015-01-12 21:06:47 +01:00
Marc Coll Carrillo
798130a40d Fix music stop problem when loading track selection screen
Populate irrlicht's texture cache on startup with all the track
screenshots to avoid the problem
2015-01-09 16:23:37 +01:00
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