Commit Graph

3636 Commits

Author SHA1 Message Date
auria
e4fcbd4535 Added higher-level calls to RibbonWidget so that Screens don't need to manually manipulate the internals of GUIEngine (continuing work started in previous commit)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:54:55 +00:00
auria
e9b621c93c Added higher-level calls to RibbonWidget so that Screens don't need to manually manipulate the internals of GUIEngine (they shouldn't even have access to them xD)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:43:06 +00:00
auria
702934c50e Fixed skin glitch with list selection rendering : clip the selection image when drawing it very near the edge and half the image is outside the list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:22:53 +00:00
auria
1ced2b17cd Added a FIXME explaining the cause of some bug; didn't fix the bug yet, though, cause I'm not sure what the best way to fix it is. Will need to discuss with Joerg
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:11:36 +00:00
auria
8cc06205e4 More documentation improvements to GUI code. Fixed a couple old comments that were no longer valid and thus misleading.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:58:22 +00:00
auria
00683fb0a5 Documentation improvements (some comment was misplaced and was attributed to the namespace and not the function inside the namespace where it belonged)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:36:08 +00:00
auria
e6b0b5238d Improved the code of abstract state manager / state manager (moved code from abstract class to derived class, improving the design a lot and removing duplicated code). closes many FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:21:51 +00:00
auria
e6d933eba5 removed some old fishy code I can't make sense of *blush* - it doesn't seem to have any purpose so I don't think this will change anything. Some other code cleanup along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:15:30 +00:00
auria
e2e442f756 Fixed help screen bug caused by the recent move of items. Also modifying the code to make it easier to debug such kind of problem in the future (print the details to stderr, don't just assert(false))
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:14:10 +00:00
auria
e24c8a235d Minor : typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 01:27:24 +00:00
auria
2ef1c07e18 Minor : typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 01:27:11 +00:00
auria
8a8408bb23 Added back support for displaying messages in the GUI (for instance when an old config file is found; though this won't actually happen for the 0.6->0.7 transition since it went from LISP to XML)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 01:21:53 +00:00
auria
ad97efc12f Improved the design of the GUI engine yet a bit more. Documented a couple coding horrors with FIXMEs *blush*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 20:21:04 +00:00
auria
400a102241 Code cleanup and documentation improvements in GUI code; fixed compilation error mysteriously introduced by removing LISP (WTF, I did a clean build, why didn't this error pop up then???)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 20:08:13 +00:00
auria
c7f14ffbe0 Removed the LISP directory, which wasn't used for quite some time now anyway
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 19:11:12 +00:00
auria
c6e5fe1e67 Updated zn_CH translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 15:51:29 +00:00
auria
9a7dc857a9 Minor improvements to GUI engine documentation page
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 21:04:20 +00:00
auria
a7ae507e9c Minor typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 21:01:05 +00:00
auria
2be54f434e Fixed compile error that was introducecd
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:58:30 +00:00
auria
e272d8fcd0 More work to enhance Doxygen output
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:53:45 +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
2810193fb2 Lots of small changes to make the output Doxygen file much more useful
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:36:13 +00:00
auria
183ff21c91 1) Added warp-around feature to spinners, made player ident spinners warp-around. 2) Moved GUI engine documentation from .hpp file to .cpp file, so that a documentation change doesn't trigger large re-compilations of everything 3) Formatted GUI engine documentation for Doxygen, now Doxygen will generate us a nice documentation about the GUI engine
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 19:47:17 +00:00
hikerstk
a572f7bf1b PowerupManager now loads its texture from models subdirectory, too
(including materials.xml file). Moved icons for those models
to model directory, too.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 12:54:15 +00:00
hikerstk
f1a296fa42 For testing added icon setting to wilber (though the icon
is not proper for the minimap).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 02:19:22 +00:00
hikerstk
d5b39b67d0 1) Added support to display icons of the karts instead of
dots in the minimap.
2) Added documentation to KartProperties.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 02:18:45 +00:00
mbjornstk
b92c5f018a Change animation from "explosion" to "emergency".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 16:28:57 +00:00
auria
27cd63e94b Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:52:11 +00:00
hikerstk
717cd1f20a Updated stk_config file for r5239.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:25:03 +00:00
hikerstk
927b45fd94 Updated end_controller for new emergency animation, cleaned up unneccssary code,
and fixed bugs causing a crash when driving off track (or under certain conditions
on alternative ways/shortcuts).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:24:25 +00:00
hikerstk
89f5195232 Forgot to remove these files in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:22:31 +00:00
hikerstk
5696fc0c73 Moved explosion and rescue handling to EmergencyAnimation object
(previously called ExplosionAnimation).
Updated vs project file for latest changes as well.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:21:35 +00:00
hikerstk
eefeab5fd0 Added better debug output for missing textures.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:19:24 +00:00
hikerstk
4c534ee7b8 Textures for models are now taken from the models directory, not from
the shared texture directory anymore (some work might still have to be done).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:18:11 +00:00
hikerstk
3670951f02 Fixed installation, some fonts were missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 00:42:56 +00:00
hikerstk
09262bfe9a Only accept irrlicht 1.7 and newer, since irrlicht 1.6.1 still has
issues with displaying the speedometer correctly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 00:24:55 +00:00
auria
18d9c4d869 Added files to makefile.am that I accidentally removed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 22:54:26 +00:00
mbjornstk
7198941941 Remove sound_manager.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 22:05:13 +00:00
auria
05e79fa23a Allow cakes to be fired backwards, to be more consistent with pretty much all other weapons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 19:45:24 +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
055687abbf Added (currently disabled) code to add icons in list widgets, this could be useful in the future. Unfortunately, irrLicht is again unfreidnly to out scalable UI; I've not figured a way to make them scalable at this point so I won't be using them right now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 18:14:28 +00:00
auria
84e8ea73e7 Added FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:28:08 +00:00
auria
297f0cceb4 Renamed SoundManager into MusicManager, since this makes it much clearer what it does (it was just confusing to have SoundManager and SFXManager)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:24:02 +00:00
auria
c12618a48a Moved some audio code around because the previous organisation was confusing, there was some SFX code among the music code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:16:49 +00:00
auria
c70a8536d2 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:15:39 +00:00
auria
0a6f64dcc2 Fixed configure.ac to warn when a too old version of irrLicht is used (we got quite a few reports because of this). Please report any regression\! Along the way I also made the configure.ac file cleaner by removing copied-and-pasted bits and put then in common instead, and fixed OS X compoilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 15:37:36 +00:00
hikerstk
c6127dc0f6 Removed debug printf statement, removed global variables (which I swear was only done
to avoid a complete recompile, since the laptop's battery were nearly empty).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 00:16:43 +00:00
hikerstk
f1fd38cbf3 Added (for testing) new explosion handling, which uses a fixed random animation
to toss karts around after an explosion.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:50:38 +00:00
hikerstk
ec83ef6cad Bugfix: tried to print a std::vector<bool>, instead of the bool.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:48:29 +00:00
auria
986f74d333 Install a temporary event handler in the irrlicht device, until EventHandler is ready to take upon to task, to shut up irrlicht's chatty logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:45:54 +00:00