Commit Graph

14869 Commits

Author SHA1 Message Date
Marianne Gagnon
90cf3176d1 Start adding an audio scripting API, and also fix a deadlock in sfx_manager due to improper release of locks 2015-06-21 18:31:16 -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
01b9ee2a63 RTT: calculate diffuse coefficients only once 2015-06-15 19:47:52 -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
db55c35ed1 Disable bloom / depth-of-field when using physics debug modes, makes lines easier to see 2015-06-15 19:38:12 -04:00
Marianne Gagnon
97100db507 RTT: avoid computing diffuse coefficients every frame 2015-06-15 19:21:34 -04:00
Marianne Gagnon
f651321ceb Using system angelscript must now be explicitely requested through an option, shouldn't be enabled by default as this will mostly lead to build errors due to finding a different version 2015-06-15 18:46:06 -04:00
hiker
edbb6892e0 Added comments. 2015-06-13 12:34:33 +10:00
Marianne Gagnon
e35d5a07b4 Little hack : make the kart selection screen seem faster by moving the cursor immediately, and loading the kart model only on next frame. See #2216 2015-06-11 20:22:30 -04:00
samuncle
da6133d72e Merge pull request #2215 from tobbi/fix_2214
Fix flags on GetModule call. Thanks to seebi for the fix
2015-06-12 00:48:29 +02:00
Tobias Markus
b32fff8dad Fix flags on GetModule call 2015-06-12 00:28:55 +02:00
hiker
d95bdc2ea9 Merge branch 'master' of github.com:supertuxkart/stk-code 2015-06-10 23:18:48 +10:00
hiker
09227fa19d Finally fully fixed #2213. 2015-06-10 23:18:06 +10:00
hiker
860135376d Start to fix resolution change by properly freeing data. 2015-06-10 10:33:47 +10:00
hiker
0162407ff3 Added proper ref-counting. 2015-06-10 10:33:06 +10: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
9a1cba3ac8 Merge remote-tracking branch 'origin/master' into refactor_shaders 2015-06-03 15:11:27 +10:00
hiker
9094cbd31a Added NoCopy to FrameBuffer objects (copying a frame buffer e.g.
as a parameter to a function can lead to incorrect results, likely
because on exit of the function, data in the (copied) frame buffer
object is freed, and then not available for OpenGL anymore.
2015-06-03 15:10:11 +10:00
hiker
f59d277f3e Improve handling of sudden steeper uphill section by increasing the
suspension force, which makes it less likely for the kart to hit
the terrain.
2015-06-03 09:03:40 +10:00
hiker
d4f3fc88d6 Merged pull requests #2191. 2015-06-02 14:50:32 +10:00
hiker
2cf4341916 Merge remote-tracking branch 'origin/master' into refactor_shaders 2015-06-02 14:49:50 +10:00
hiker
1dabb39ed4 Fixed warnings most likely caused by copying a frame buffer object
(missing &), added several const to frame buffer references.
2015-06-02 14:19:15 +10:00
hiker
8fd0b9186a Merge pull request #2198 from nado/Fix-#2164
Fix #2164 : Resized max length of mail address up to 254 chars
2015-06-02 13:47:54 +10:00
hiker
0f5a44ea1f Merge pull request #2209 from AMDmi3/errno
Include cerrno for errno; fixes clang compilation error
2015-06-02 13:46:51 +10:00
Dmitry Marakasov
cfbec1f470 Include cerrno for errno; fixes clang compilation error 2015-06-02 04:36:30 +03: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
Marianne Gagnon
b3d97241d7 Scripting : cleanup, add poweruptype enum 2015-05-31 18:39:40 -04:00
Marianne Gagnon
501dd14bb6 More scripting work on item-object collisions 2015-05-31 18:20:52 -04:00
hiker
9b2994c975 Added documentation to shader base classes. 2015-06-01 08:19:31 +10:00
hiker
2f287fbee6 Removed unused clean-shader functionality (which is now done by
shader.?pp), removed global shader name variable.
2015-06-01 08:14:56 +10:00
Marianne Gagnon
8ef16c146e Scripting work : improve flyable vs object collision callbacks. More work to do still. 2015-05-31 18:09:51 -04:00
hiker
51fb693455 Remove all kill functions for shader reloading after all shaders
have been deleted.
2015-05-30 12:37:39 +10:00
hiker
642216da83 Minor coding style change. 2015-05-30 12:16:38 +10:00
hiker
e5a7f27f19 Renamed files to follow our coding style. 2015-05-30 12:16:11 +10:00
hiker
48235a5d77 Turned ShadowMatrices into a stand-alone proper class. 2015-05-30 11:29:08 +10:00
Marianne Gagnon
40ea7f94f0 Scripting work : improve object-kart collision callbacks 2015-05-28 19:57:36 -04: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
hiker
855c59db09 Removed global variable shadowSplit (missing in previous commit). 2015-05-22 16:45:09 +10:00
hiker
0b2c44ed71 Removed unused function, minor coding style cleanup. 2015-05-22 16:44:22 +10:00
hiker
5ba3dee122 Moved global variable at least into a class. 2015-05-22 16:37:54 +10:00
hiker
ced9e55639 Moved shared shaders into Shaders class. 2015-05-22 16:26:30 +10:00
hiker
cbd5670764 DIE global function - rest in peace, push up the daisies, kick the bucket. 2015-05-22 11:09:51 +10:00