Commit Graph

76 Commits

Author SHA1 Message Date
hikerstk
9c0e002f0a Fixed 'No newline at end of file' warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-15 06:28:41 +00:00
hikerstk
fe6294d0d4 Fixed two uninitialised variables, removed unnecessary #include.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-20 02:57:21 +00:00
auria
8111440317 Make ipo animations always enabled. + start of work to have music on the challenge completed screen but doesn't appear to work yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11801 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-28 22:54:40 +00:00
auria
19d0c04774 properly implement sphere collision shape support
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-16 22:45:44 +00:00
auria
4f7f1379df Add small feature : in addition to allow resetting a kart when touching something, allow making it 'explode' the kart like when receiving a cake
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-16 00:09:33 +00:00
auria
a6c2efc48a Fix converting HPR to bullet quaternion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-15 23:51:36 +00:00
auria
c76c418ef7 Improve physics body synchronisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-12 22:38:35 +00:00
auria
48d480a67d Add tricks I hope help dramatically improve the synchronisation between the STK physics and irlricht animations in cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-28 01:52:09 +00:00
auria
fe65f46035 Work on end cutscene. Code to start particles based on a condition
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-23 01:52:55 +00:00
auria
de6cfbdcc1 Resist to a couple crash types
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-27 23:01:51 +00:00
wardje
f6689f382c Some coding style changes (mostly comments)
Sorry for the big recompile because of it, had some of these
after some experimenting and it was clouding my svn diff.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-26 21:24:15 +00:00
auria
341297d951 Silence a few bogus warnings printed on the terminal
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 20:17:14 +00:00
auria
4cb8ba7e50 Start work to support moving sound emitters. Doesn't quite work yet, don't know why' :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-30 19:15:12 +00:00
auria
3901ea9840 Continue after cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-24 01:22:42 +00:00
auria
be37c90147 Make sure animations in cutscenes are rendered even if gfx are disabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 23:47:53 +00:00
auria
c6c4544f2a Start work to make some animations played even when GFX is off
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 19:23:38 +00:00
auria
dae00f0828 Add first version on intro cutscene. Still incomplete but goes somewhere :) Ask me for the menu patch if you want to look at it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-05 00:27:34 +00:00
hikerstk
15ad3f845d Enable cannons to be used in reverse mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-29 23:08:50 +00:00
hikerstk
803b0acfe7 1) Allowed the xyz, hpr, or scale rotation in Ipo::update to be NULL
(i.e. no update), which avoids having to pass dummy parameter
   when only XYZ is needed.
2) Added proper support for extend: 'cyclic' and 'const' now both
   can be set (other types are not supported atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-26 22:07:07 +00:00
hikerstk
d0fb8aa78a A first version of the cannon that uses linear interpolation for the
bezier curves to allow smooth (i.e. constant speed) travel along
the curve.
This is WIP. Known bug: the kart jumps at the beginning and
end of the cannon animation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 13:14:18 +00:00
hikerstk
f69dbd2447 1) Added support for disabling an animation.
2) Only print warning about empty curves in debug mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:16:51 +00:00
hikerstk
e3876a58b9 Fixed compilation problem on linux, and removed several warnings
(one actually indicating a bug).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:13:44 +00:00
hikerstk
c0f5484c9c 1) Changed base data types in IPO to be based on Vec3 instead
of irr::core::vector2df (in preparation to support curves).
2) Re-added support for individual start and end time for
   each individual curve of an IPO (and not only for all curves
   together, which results in incorrect behaviour if not all
   individual curves have the same length).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 22:17:51 +00:00
auria
0206f64ee9 Tentative fix for #608
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-07 20:01:42 +00:00
wardje
d89335d4a4 Fix a forgotten cast that made building fail
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 22:03:04 +00:00
hikerstk
317ff370cb 1) Control the time for an IPO animation in AnimationBase
instead of individually on each IPO (besides removing
   redundancy it keeps the IPOs in synch, since it is now
   guaranteed that they cycle all at the same time).
2) Started to add length computations for IPOs, but this
   code is not yet used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 00:48:05 +00:00
hikerstk
c078df7e18 Fixed crash by double-freeing a (shared) pointer.
Fixed memory leak by only adding the physical body
for exact shapes once.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11009 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-22 00:20:19 +00:00
auria
c53895c941 Bugfix : don't ignore interaction property on animated objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 15:34:25 +00:00
auria
18ead10df9 Add support for tangent meshes when converting to bullet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-20 00:19:10 +00:00
auria
d6221dae92 Use new normal map shader for overworld columns. Remove 2-UV-layer normal map feature, irrlicht just doesn't support it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-15 21:52:07 +00:00
auria
c29c91da21 Make bubble force fields fade in softly insetad of just popping up
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-10 23:40:14 +00:00
auria
92eb0ebd2a Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
auria
6e152a22aa Animating LOD objects with IPO is now almost closer to work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 01:25:09 +00:00
auria
7697988801 Add feature requested by samuncle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-27 23:41:38 +00:00
auria
d04bc58413 Quite a bit of work on Doxygen docs to contain an overview of the STK source code base
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-25 17:46:14 +00:00
auria
7e4ff8e0b5 Support more shapes for animations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 15:31:05 +00:00
hikerstk
a354f5521d Added support for animated physical objects to trigger a reset
of a kart on collision.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-30 06:29:00 +00:00
auria
b7b1c02bb0 On forum, with minigolf course, it was suggested that it would be cool to be able to use more accurate collision shapes, for instance enabling the windmill to hit the kart. I agree, and bullet can do that, so it's not possible :) but not used anywhere atm
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 19:53:02 +00:00
auria
cd8162c30f Disabling GFX should not result in ghost track objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 17:50:20 +00:00
auria
3029d01014 Fixed a couple minor typos found by marclennart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 00:12:12 +00:00
auria
da87d76f1c Fixed bug 393, channels in IPO animation get out of sync
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-21 17:27:05 +00:00
hikerstk
cab7d5f6f1 Removed compiler warning (NoCopy already in base class), caused by recently
adding NoCopy to the TrackObject base class.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:15:17 +00:00
auria
357af5a27d More work on 'thou shalt not include irrlicht.h everywhere carelessly'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:29:52 +00:00
hikerstk
f70d077ba0 Fixed mesh leaks when track objects are used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 22:48:36 +00:00
hikerstk
1c90d679e2 Removed unused animation_manager (track object manager takes care
of animations).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:15:59 +00:00
hikerstk
fc4e59dc6e Bugfix: billboard nodes did not use materials.xml for setting the material properties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:48:57 +00:00
hikerstk
731bb83ad3 Fixed position of non-animated billboards (new export of model required).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:34:00 +00:00
hikerstk
2c15bd265f 1) Made TrackObject use an ISceneNode instead of an IAnimatedMeshSceneNode,
allowing us to use the same base class for billboard.
2) Fixed billboard implementation: billboards are now properly removed,
   and can also be IPO animated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 20:55:09 +00:00
hikerstk
158ca9fb20 Fixed rotational IPOs (problems were caused by a different order of rotations in
blender and irrlicht).
NOTE: all tracks that are using animations WILL NOT WORK PROPERLY till they have
been re-exported with the new track exporter (which will be done shortly).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-04 21:52:48 +00:00
hikerstk
fa6ae21672 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 22:04:36 +00:00