Commit Graph

14904 Commits

Author SHA1 Message Date
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
hiker
9b562d31f4 Replaced Widget's set(De)Activated functions with one setActive(bool)
function, which simplifies code for various screen a lot.
2015-07-03 16:19:28 +10:00
hiker
8059544b21 Try to fix advanced pipeline. 2015-07-03 08:22:39 +10:00
hiker
ad3a5ac730 Merge branch 'master' of github.com:supertuxkart/stk-code 2015-07-03 08:13:39 +10:00
hiker
747aa39bdf Disable artificial shadow if shader-based shadows are available. 2015-07-03 08:12:55 +10:00
hiker
97499759ec Revert "Remove shadow blob"
This reverts commit 33c0dfe7c2.
2015-07-03 07:55:50 +10:00
hiker
369ed86380 Added 'behind kart' camera which helps debugging graphical
vs physical chassis position issues.
2015-07-02 16:39:13 +10:00
hiker
34d22a32c7 Improved distance calculation (so that the same distance to the rear
of each kart is reached).
2015-07-02 16:35:51 +10:00
hiker
799b4cdf7e Minor code cleanup. 2015-07-02 08:04:37 +10:00
hiker
04c84fd23d Moved skidding lights from Kart into KartGFX. 2015-07-01 18:57:44 +10:00
Marianne Gagnon
92974fc4b3 Fix scripting crash 2015-06-30 21:35:17 -04:00
hiker
8aabb30687 Fixed memory leak. 2015-07-01 08:58:15 +10:00
hiker
576270bb17 Coding style changes, removed dead code and unused variables. 2015-07-01 08:57:40 +10:00
hiker
4ec423ff35 Coding style improvements. 2015-07-01 08:22:43 +10:00
hiker
f82bb996ea Fixed memory leaks of lights. 2015-07-01 08:04:10 +10:00
hiker
b41035a008 Moved nitro_light from Kart into KartGFX. 2015-06-30 21:49:20 +10:00
hiker
42114c163c Minor refactoring to move more code into KartGFX. 2015-06-30 16:59:48 +10:00
hiker
1bafdf528f Fix wheel-view camera. 2015-06-29 16:17:14 +10:00
Marianne Gagnon
1ceb05c2cb More scripting functions to control particles 2015-06-28 19:10:43 -04:00
Marianne Gagnon
eda00e12f9 Expose length method in scripting vector3 2015-06-28 19:03:09 -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
08529e167f Fixed memory leak. 2015-06-29 08:41:46 +10:00
hiker
a9958a60a8 Minor cosmetical changes. 2015-06-29 08:41:20 +10:00
hiker
0dc2e66039 Fixed compiler warnings. 2015-06-29 08:24:31 +10:00
hiker
11a213fa8d Significantly reduced number of audio sfx commands: instead of sending
7 commands for each kart (when only engine is actually playing),
now there is only one command being sent: positions of sfx that are
not playing are not sent anymore, a duplication engine position was
removed, and speed and position are combined into one event.
2015-06-29 08:09:42 +10:00
Marianne Gagnon
f992b864e1 More work on moving track objects via scripting 2015-06-25 19:33:28 -04:00
auriamg
4070933364 Merge pull request #2212 from Flakebi/remove-icc
Strip ICC headers from png files to silence warning
2015-06-23 21:15:14 -04:00
Marianne Gagnon
be81a7fd11 Increase size of popup, text was truncated at least in french 2015-06-23 18:46:36 -04:00
Marianne Gagnon
64adbb4238 Remove anchor as weapon from help menu, fixes #2173 2015-06-23 18:32:38 -04:00
Marianne Gagnon
74f19f0cbc Start working on scripting API to move objects 2015-06-22 19:36:30 -04:00
Marianne Gagnon
0fdc7a2d98 Use plural form for resolution change message, fixes #2219. ALso fix crash in tinygettext code handling plural forms 2015-06-22 19:26:20 -04:00
Marianne Gagnon
ae18901bb2 Try fixing travis build 2015-06-21 19:57:06 -04:00
Marianne Gagnon
b73469caf1 Extend scripting API with random and timeout functions 2015-06-21 19:44:22 -04:00
Marianne Gagnon
9119f5f291 Fixes for scripting documentation 2015-06-21 18:43:31 -04:00
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