supertux.git
14 years agoFixed some include path
grumbel [Thu, 19 Nov 2009 19:00:16 +0000 (19:00 +0000)]
Fixed some include path

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6057 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSwitched from #include "" to #include <> for external/ libraries
grumbel [Thu, 19 Nov 2009 18:41:56 +0000 (18:41 +0000)]
Switched from #include "" to #include <> for external/ libraries

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6056 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMove some more globals to supertux/globals.hpp
grumbel [Thu, 19 Nov 2009 18:29:12 +0000 (18:29 +0000)]
Move some more globals to supertux/globals.hpp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6055 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMove some more globals to supertux/globals.hpp
grumbel [Thu, 19 Nov 2009 17:46:40 +0000 (17:46 +0000)]
Move some more globals to supertux/globals.hpp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6054 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLithuanian translation minor fix
tuxdev [Thu, 19 Nov 2009 17:30:11 +0000 (17:30 +0000)]
Lithuanian translation minor fix

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6053 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoplay with CMakeLists.txt compile flags, change from using DEBUG to NDEBUG (the way...
tuxdev [Thu, 19 Nov 2009 17:18:08 +0000 (17:18 +0000)]
play with CMakeLists.txt compile flags, change from using DEBUG to NDEBUG (the way assert works) and use CMAKE_BUILD_TYPE to control DEBUG-ness

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6052 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRenamed MainLoop to ScreenManager
grumbel [Thu, 19 Nov 2009 17:06:22 +0000 (17:06 +0000)]
Renamed MainLoop to ScreenManager

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6051 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRenamed MainLoop to ScreenManager
grumbel [Thu, 19 Nov 2009 16:50:58 +0000 (16:50 +0000)]
Renamed MainLoop to ScreenManager

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6050 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoInclude optimizations
grumbel [Thu, 19 Nov 2009 15:34:29 +0000 (15:34 +0000)]
Include optimizations

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6049 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMove some code from TitleScreen to AddonMenu
grumbel [Thu, 19 Nov 2009 15:24:10 +0000 (15:24 +0000)]
Move some code from TitleScreen to AddonMenu

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6048 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMove some code from TitleScreen to ContribMenu
grumbel [Thu, 19 Nov 2009 15:10:26 +0000 (15:10 +0000)]
Move some code from TitleScreen to ContribMenu

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6047 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMove some code from TitleScreen to ContribWorldMenu
grumbel [Thu, 19 Nov 2009 14:55:47 +0000 (14:55 +0000)]
Move some code from TitleScreen to ContribWorldMenu

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6046 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMove all Menus into separate classes
grumbel [Thu, 19 Nov 2009 14:45:12 +0000 (14:45 +0000)]
Move all Menus into separate classes

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6045 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMoved some more menu stuff out of control/joystickkeyboardcontroller.cpp
grumbel [Thu, 19 Nov 2009 05:18:11 +0000 (05:18 +0000)]
Moved some more menu stuff out of control/joystickkeyboardcontroller.cpp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6044 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoTurned main.cpp into a class
grumbel [Thu, 19 Nov 2009 04:51:31 +0000 (04:51 +0000)]
Turned main.cpp into a class
Switched to Renderer::instance()->apply_config() to switch video mode (which doesn't yet work as apply_config() is incomplete)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6043 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoAdded scripts for source code maintainance
grumbel [Thu, 19 Nov 2009 04:37:32 +0000 (04:37 +0000)]
Added scripts for source code maintainance

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6042 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoTurned stuff in supertux/resources.cpp into a class Resources
grumbel [Thu, 19 Nov 2009 04:33:45 +0000 (04:33 +0000)]
Turned stuff in supertux/resources.cpp into a class Resources

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6041 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRenamed MenuManager to MenuStorage and MenuManager2 to MenuManager
grumbel [Thu, 19 Nov 2009 04:16:02 +0000 (04:16 +0000)]
Renamed MenuManager to MenuStorage and MenuManager2 to MenuManager

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6040 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoTrying to separate Menu and Menu management stuff
grumbel [Thu, 19 Nov 2009 04:07:08 +0000 (04:07 +0000)]
Trying to separate Menu and Menu management stuff

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6039 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoAdded MenuManager to keep track of created Menus
grumbel [Thu, 19 Nov 2009 00:52:29 +0000 (00:52 +0000)]
Added MenuManager to keep track of created Menus

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6038 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoForgot to change a line in dispenser.cpp (thanks bug 519)
mathnerd314 [Thu, 19 Nov 2009 00:18:38 +0000 (00:18 +0000)]
Forgot to change a line in dispenser.cpp (thanks bug 519)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6037 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMoved Menu stuff to its own directory
grumbel [Thu, 19 Nov 2009 00:18:13 +0000 (00:18 +0000)]
Moved Menu stuff to its own directory

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6036 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUpped tinygettext to r177
grumbel [Wed, 18 Nov 2009 21:31:44 +0000 (21:31 +0000)]
Upped tinygettext to r177
Disabled info level messages from tinygettext

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6035 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUpdated to tinygettext r174
grumbel [Wed, 18 Nov 2009 21:01:38 +0000 (21:01 +0000)]
Updated to tinygettext r174

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6034 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoFixed incorrect syntax in svn:externals
grumbel [Wed, 18 Nov 2009 18:13:10 +0000 (18:13 +0000)]
Fixed incorrect syntax in svn:externals

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6033 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSwitched from tinygettext/tags/tinygetext-supertux/ to tinygettext/trunk/
grumbel [Wed, 18 Nov 2009 17:44:46 +0000 (17:44 +0000)]
Switched from tinygettext/tags/tinygetext-supertux/ to tinygettext/trunk/

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6032 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMove style guide stuff into separate file
grumbel [Wed, 18 Nov 2009 17:44:17 +0000 (17:44 +0000)]
Move style guide stuff into separate file

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6031 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoReplaced more lisp::Lisp/lisp::Writer with Reader/Writer
grumbel [Wed, 18 Nov 2009 15:45:56 +0000 (15:45 +0000)]
Replaced more lisp::Lisp/lisp::Writer with Reader/Writer

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6030 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoReplaced more lisp::Lisp/lisp::Writer with Reader/Writer
grumbel [Wed, 18 Nov 2009 15:37:34 +0000 (15:37 +0000)]
Replaced more lisp::Lisp/lisp::Writer with Reader/Writer

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6029 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoReplaced more lisp::Lisp/lisp::Writer with Reader/Writer
grumbel [Wed, 18 Nov 2009 15:28:30 +0000 (15:28 +0000)]
Replaced more lisp::Lisp/lisp::Writer with Reader/Writer

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6028 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoAdded supertux/globals.?pp to collect all the random global variables
grumbel [Wed, 18 Nov 2009 03:37:40 +0000 (03:37 +0000)]
Added supertux/globals.?pp to collect all the random global variables

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6027 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSplit supertux/options_menu.?pp
grumbel [Wed, 18 Nov 2009 03:25:12 +0000 (03:25 +0000)]
Split supertux/options_menu.?pp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6026 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSplit control/joystickkeyboardcontroller.?pp
grumbel [Wed, 18 Nov 2009 03:16:33 +0000 (03:16 +0000)]
Split control/joystickkeyboardcontroller.?pp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6025 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSplit physfs/physfs_stream.?pp into multiple files
grumbel [Wed, 18 Nov 2009 03:00:55 +0000 (03:00 +0000)]
Split physfs/physfs_stream.?pp into multiple files

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6024 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMinor cleanup
grumbel [Wed, 18 Nov 2009 02:59:20 +0000 (02:59 +0000)]
Minor cleanup

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6023 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoInclude optimizations
grumbel [Wed, 18 Nov 2009 02:09:12 +0000 (02:09 +0000)]
Include optimizations

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6022 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSplit gui/menu.?pp
grumbel [Wed, 18 Nov 2009 01:51:42 +0000 (01:51 +0000)]
Split gui/menu.?pp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6021 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSplit object/block.?pp
grumbel [Wed, 18 Nov 2009 01:45:39 +0000 (01:45 +0000)]
Split object/block.?pp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6020 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRenamed supertux/title.?pp to supertux/title_screen.?pp
grumbel [Wed, 18 Nov 2009 01:40:25 +0000 (01:40 +0000)]
Renamed supertux/title.?pp to supertux/title_screen.?pp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6019 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoReplaced <c*> headers with <*.h>
grumbel [Wed, 18 Nov 2009 01:37:05 +0000 (01:37 +0000)]
Replaced <c*> headers with <*.h>

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6018 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSplit object/particlesystem.?pp
grumbel [Wed, 18 Nov 2009 01:26:11 +0000 (01:26 +0000)]
Split object/particlesystem.?pp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6017 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSplitted supertux/textscroller.?pp
grumbel [Wed, 18 Nov 2009 01:07:51 +0000 (01:07 +0000)]
Splitted supertux/textscroller.?pp

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6016 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoFinished -Weffc++ cleanup
grumbel [Tue, 17 Nov 2009 21:43:06 +0000 (21:43 +0000)]
Finished -Weffc++ cleanup

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6015 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMore -Weffc++ cleanup, almost done
grumbel [Tue, 17 Nov 2009 21:32:46 +0000 (21:32 +0000)]
More -Weffc++ cleanup, almost done

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6014 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMore -Weffc++ cleanup
grumbel [Tue, 17 Nov 2009 20:50:37 +0000 (20:50 +0000)]
More -Weffc++ cleanup

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6013 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMore -Weffc++ cleanup
grumbel [Tue, 17 Nov 2009 17:04:31 +0000 (17:04 +0000)]
More -Weffc++ cleanup

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6012 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMore -Weffc++ cleanup
grumbel [Tue, 17 Nov 2009 16:16:30 +0000 (16:16 +0000)]
More -Weffc++ cleanup

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6011 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMerged changes from branches/supertux-milestone2-grumbel/ to trunk/supertux/
grumbel [Tue, 17 Nov 2009 13:48:00 +0000 (13:48 +0000)]
Merged changes from branches/supertux-milestone2-grumbel/ to trunk/supertux/

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6009 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoNew grow and skid sounds from remaxim
mathnerd314 [Sun, 15 Nov 2009 22:28:00 +0000 (22:28 +0000)]
New grow and skid sounds from remaxim

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5982 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years ago* Comment out resizable flag because it blue-screens on Windows
mathnerd314 [Sat, 14 Nov 2009 15:19:31 +0000 (15:19 +0000)]
* Comment out resizable flag because it blue-screens on Windows
* Editor images are shown in debug builds

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5937 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUse implicit_depends for generating the wrapper, which is only a 2.6 feature so bumpi...
mathnerd314 [Sat, 14 Nov 2009 14:16:41 +0000 (14:16 +0000)]
Use implicit_depends for generating the wrapper, which is only a 2.6 feature so bumping the minimum version as well (CMake is up to 2.8 now, too...)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5936 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUse run_dead_script wherever possible and make kill_* operations only do stuff once
mathnerd314 [Sat, 14 Nov 2009 13:49:09 +0000 (13:49 +0000)]
Use run_dead_script wherever possible and make kill_* operations only do stuff once

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5935 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years ago* Add Airship (regular above-ground theme) and Battle (castle/boss theme) music court...
mathnerd314 [Sat, 14 Nov 2009 04:02:51 +0000 (04:02 +0000)]
* Add Airship (regular above-ground theme) and Battle (castle/boss theme) music courtesy remaxim @ OpenGameArt
* Add music files for some files; feel free to fix or reset to 0,-1
* Change some warnings to errors and vice-versa and only print errors for a quieter experience in non-debug mode
* Misc. code cleanup

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5934 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years ago* Finish work on Path through the Clouds
mathnerd314 [Thu, 29 Oct 2009 19:24:41 +0000 (19:24 +0000)]
* Finish work on Path through the Clouds
* Remove upgrade.wav until license is clarified
* Tux can buttjump bonus blocks
* Minor code duplication removal

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5931 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSet 'licence' attribute on sound files
sik0fewl [Wed, 16 Sep 2009 02:42:42 +0000 (02:42 +0000)]
Set 'licence' attribute on sound files

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5929 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoOption --renderer to select video renderer
mathnerd314 [Thu, 3 Sep 2009 19:49:52 +0000 (19:49 +0000)]
Option --renderer to select video renderer

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5913 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years ago* Update squirrel to 2.2.3
mathnerd314 [Sun, 30 Aug 2009 19:45:19 +0000 (19:45 +0000)]
* Update squirrel to 2.2.3
* Fix some script problems and improve some error messages
* Minor cleanups in camera and sector

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5912 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoPatchs by Matt McCutche to fix Treeboss related Bugs 469 and 504.
wolfgangb [Sun, 30 Aug 2009 15:41:51 +0000 (15:41 +0000)]
Patchs by Matt McCutche to fix Treeboss related Bugs 469 and 504.
* Tree willowisps should start at tree boss, not (0, 0)
* Crash if tree boss creates root while player is dying

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5911 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoPatch by Matt McCutchen to prevent division by zero when Tux spawns exactly at a...
wolfgangb [Sun, 30 Aug 2009 12:10:24 +0000 (12:10 +0000)]
Patch by Matt McCutchen to prevent division by zero when Tux spawns exactly at a willowisp. (Bug 490)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5910 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoPatch by Matt McCutchen to find levels in current directory when selected from comman...
wolfgangb [Sun, 30 Aug 2009 10:55:54 +0000 (10:55 +0000)]
Patch by Matt McCutchen to find levels in current directory when selected from command line. (Bug 485)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5909 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoPatch by Matt McCutchen to fix active waiting in main loop. (Bug 480)
wolfgangb [Wed, 26 Aug 2009 21:39:05 +0000 (21:39 +0000)]
Patch by Matt McCutchen to fix active waiting in main loop. (Bug 480)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5908 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoStack rocks without shanking.
wolfgangb [Mon, 24 Aug 2009 19:38:40 +0000 (19:38 +0000)]
Stack rocks without shanking.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5907 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoFix for #453 (Menu frame lingers)
mmlosh [Wed, 29 Jul 2009 17:29:31 +0000 (17:29 +0000)]
Fix for #453 (Menu frame lingers)
* moved "Menu::set_current(NULL);" before fadeout, so it closes during it
* added main_loop->has_no_pending_fadeout() to avoid reopening main menu during fadeouts.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5906 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years ago*include stdio.h in a couple files for MinGW GCC 4.4.0
mathnerd314 [Sun, 26 Jul 2009 14:24:09 +0000 (14:24 +0000)]
*include stdio.h in a couple files for MinGW GCC 4.4.0
*OpenAL should be included as #include <al.h>

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5905 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoDo not apply friction if Tux's x-velocity is zero.
wolfgangb [Sat, 27 Jun 2009 16:13:55 +0000 (16:13 +0000)]
Do not apply friction if Tux's x-velocity is zero.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5904 837edb03-e0f3-0310-88ca-d4d4e8b29345