Commit Graph

26 Commits

Author SHA1 Message Date
hikerstk
351f766ca4 Made KArtProperties member of STKConfig a pointer,
which removes the dependency of kart_properties.hpp
from stk_config.hpp, hopefully reducing the compile
time when kart_properties.hpp is changed. Had to
add many missing includes all over the place as a
result :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-16 05:59:51 +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
hikerstk
7b09afcb24 Added version number to challenges (I replaced all Challenge
declarations with ChallengeData - I don't see a good
reason to keep both classes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 10:53:58 +00:00
hikerstk
4d8b8e5dea Renamed ptr_vector to PtrVector so that is follows
our naming convention, also changed contentsVector
to m_contents_vector, and removed unused add method
(which is using an iterator, which would not work
when using aligned_arrays on windows anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:20:53 +00:00
auria
03c6245e21 Added more copyright statements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:59:55 +00:00
auria
bcb3e7243a Fixed more leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:36:22 +00:00
hikerstk
7f3f598193 Fixed crashes in grand_prix lose, win, feature animation etc.
KartModel instances come now in two different types:
master instances which are part of KartProperties and
should never call attachModel (or have wheels attached),
and copies of the master instances (which are used by karts
and other classes when the kart is actually displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 13:30:31 +00:00
hikerstk
69144f8274 Fixed crash in new KartModel handling in unlocked features.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 12:26:36 +00:00
auria
b1f7012cbd Moved layout code out of Widget and Screen classes; not only is it cleaner this way, it also paves the way for eventually making Dialog classes also use the XML layout code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 20:24:51 +00:00
hikerstk
856d59fc76 1) Worked around bug of 'continue' text not being shown when a kart is unlocked.
2) Minor style cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-06 13:59:03 +00:00
auria
1bdc320742 Fixed karts selection screen messed up after a resolution switch; added some refactor to allow easier fixing of such problems in the future. Documented many more methods along the way.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:16:38 +00:00
auria
1a9b1466bb removed many includes in headers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 14:41:23 +00:00
auria
c3fe0cb910 More work to enhance Doxygen output
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:48:56 +00:00
auria
4c755d02c0 Added support in feature unlocked chest for unlocked GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 19:19:42 +00:00
auria
38b0cfaa2a The chest scene is now shown for challenges that require beating a GP too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 17:04:05 +00:00
auria
bdd985c88a Can now unlock game modes too. Centralized a couple mode-related stuff to make code cleaner with new changes. Made challenges more robust, fixes a couple crashes that could happen because errors went undetected
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:28:23 +00:00
auria
8d2d755490 Solving a challenge will now actually show the features you unlocked. Adapted the feature unlocked screen to be able to show many unlocked features at once. Show unlocked text in feature screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-02 01:25:29 +00:00
auria
90b95f6944 Fixed what happens when pressing escape on feature unlocked screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 23:40:20 +00:00
auria
9ab332b452 Added new chest animation by MiniBjorn
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 21:02:30 +00:00
auria
a2357958f9 Now something comes out of the feature unlocked chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 01:30:39 +00:00
auria
b1f540e062 Improved support for multiplayer kart selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 23:04:38 +00:00
auria
10e039ba7e Removed the CutScene adapter, the new event handling for Screen does not require that kind of thing anymore to combine 2D and 3D, and to use animations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 19:14:17 +00:00
auria
1292e2a37f Yay for another mammoth commitsvn rm src/states_screens/options_screen.hpp Major cleanup in screens event handling, so that I can look at my code without being ashamed ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 23:59:05 +00:00
auria
0166b4365b Started implementing 'feature unlocked' cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 20:20:41 +00:00
auria
6f123202ce Cutscene example now works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4075 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 19:39:17 +00:00
auria
8b466a6b39 Working towards support for 'cutscenes' (nothing fancy, just a small animation when you finish a challenge, etc.). Navigation is there, though display is all messed up and I still need to figure out why. The network button in main menu is currently (and temporarily) used to test this
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 01:16:00 +00:00