supertux.git
14 years agoUse float instead of int
Ingo Ruhnke [Tue, 1 Dec 2009 03:54:44 +0000 (03:54 +0000)]
Use float instead of int

SVN-Revision: 6159

14 years agoBackground drawing now starts at the center of the level, instead of the top/left...
Ingo Ruhnke [Mon, 30 Nov 2009 17:34:31 +0000 (17:34 +0000)]
Background drawing now starts at the center of the level, instead of the top/left, it also happens in WorldCO instead of ScreenCO, making it a little bit more robust against resolutions changes, it is however still not resolution independed

SVN-Revision: 6158

14 years agoFixe for g++-4.1
Ingo Ruhnke [Sun, 29 Nov 2009 04:09:36 +0000 (04:09 +0000)]
Fixe for g++-4.1

SVN-Revision: 6157

14 years agoFixes for g++-4.2
Ingo Ruhnke [Sun, 29 Nov 2009 03:52:11 +0000 (03:52 +0000)]
Fixes for g++-4.2

SVN-Revision: 6156

14 years agoMinor cleanup
Ingo Ruhnke [Sun, 29 Nov 2009 03:51:51 +0000 (03:51 +0000)]
Minor cleanup

SVN-Revision: 6155

14 years agoAdded support for scrolling backgrounds
Ingo Ruhnke [Sat, 28 Nov 2009 23:11:36 +0000 (23:11 +0000)]
Added support for scrolling backgrounds

SVN-Revision: 6154

14 years agoIf speed-y isn't given, use speed
Ingo Ruhnke [Sat, 28 Nov 2009 23:03:45 +0000 (23:03 +0000)]
If speed-y isn't given, use speed

SVN-Revision: 6153

14 years agoAdded more backgrounds
Ingo Ruhnke [Sat, 28 Nov 2009 23:03:16 +0000 (23:03 +0000)]
Added more backgrounds

SVN-Revision: 6152

14 years agoAdded backgrounds
Ingo Ruhnke [Sat, 28 Nov 2009 22:45:23 +0000 (22:45 +0000)]
Added backgrounds

SVN-Revision: 6151

14 years agoReplaced tiles and enlarged level
Ingo Ruhnke [Sat, 28 Nov 2009 22:06:27 +0000 (22:06 +0000)]
Replaced tiles and enlarged level

SVN-Revision: 6150

14 years agoReimplemented switch from/to fullscreen
Ingo Ruhnke [Sat, 28 Nov 2009 19:45:44 +0000 (19:45 +0000)]
Reimplemented switch from/to fullscreen

SVN-Revision: 6149

14 years agoTODO updates
Ingo Ruhnke [Sat, 28 Nov 2009 12:32:57 +0000 (12:32 +0000)]
TODO updates

SVN-Revision: 6148

14 years agoExperimenting with new background
Ingo Ruhnke [Sat, 28 Nov 2009 12:25:43 +0000 (12:25 +0000)]
Experimenting with new background

SVN-Revision: 6147

14 years agoTODO updates
Ingo Ruhnke [Sat, 28 Nov 2009 04:05:36 +0000 (04:05 +0000)]
TODO updates

SVN-Revision: 6144

14 years agoEnlarged the level to 40 tiles height
Ingo Ruhnke [Fri, 27 Nov 2009 23:20:21 +0000 (23:20 +0000)]
Enlarged the level to 40 tiles height

SVN-Revision: 6143

14 years agoChanged ObjectFactory code so that it works properly when building SuperTux as library
Ingo Ruhnke [Fri, 27 Nov 2009 22:57:32 +0000 (22:57 +0000)]
Changed ObjectFactory code so that it works properly when building SuperTux as library

SVN-Revision: 6142

14 years agoupdate supertux-coop.diff
Mathnerd314 [Fri, 27 Nov 2009 20:11:55 +0000 (20:11 +0000)]
update supertux-coop.diff

SVN-Revision: 6140

14 years agoTweak CMakeLists and physfs initialization a bit to eliminate redundant APPDATADIR...
Tim Goya [Fri, 27 Nov 2009 00:47:49 +0000 (00:47 +0000)]
Tweak CMakeLists and physfs initialization a bit to eliminate redundant APPDATADIR setting

SVN-Revision: 6124

14 years agoUpdate tinygettext + CMakeLists.txt to use command-line option
Mathnerd314 [Thu, 26 Nov 2009 23:38:25 +0000 (23:38 +0000)]
Update tinygettext + CMakeLists.txt to use command-line option

SVN-Revision: 6123

14 years agoMake INSTALL_SUBDIR_* an option
Tim Goya [Thu, 26 Nov 2009 22:34:17 +0000 (22:34 +0000)]
Make INSTALL_SUBDIR_* an option

SVN-Revision: 6122

14 years agoRenamed main() to run
Ingo Ruhnke [Thu, 26 Nov 2009 22:08:02 +0000 (22:08 +0000)]
Renamed main() to run

SVN-Revision: 6121

14 years ago* Fix main.cpp again
Mathnerd314 [Thu, 26 Nov 2009 21:33:38 +0000 (21:33 +0000)]
* Fix main.cpp again
* Use GLEW properly in CMake
* Inro WIP
* Update tinygettext and ignore std*.txt

SVN-Revision: 6120

14 years agoMiniswig build stuff
Ingo Ruhnke [Wed, 25 Nov 2009 16:52:20 +0000 (16:52 +0000)]
Miniswig build stuff

SVN-Revision: 6089

14 years agoSDL_main() is not supposed to be written by us, see:
Ingo Ruhnke [Wed, 25 Nov 2009 16:51:46 +0000 (16:51 +0000)]
SDL_main() is not supposed to be written by us, see:
http://www.libsdl.org/faq.php?action=listentries&category=7#55

SVN-Revision: 6088

14 years ago* Make it compile again
Mathnerd314 [Wed, 25 Nov 2009 16:12:00 +0000 (16:12 +0000)]
* Make it compile again
* Remove SOLID and PASSTHROUGH as they were redundant
* Document HitResponse and COLGROUP_*
* Sprites can be created directly from images (see decal.*)
* etc.

SVN-Revision: 6087

14 years agoCreated trunk/supertux-editor/TODO
Ingo Ruhnke [Mon, 23 Nov 2009 19:21:49 +0000 (19:21 +0000)]
Created trunk/supertux-editor/TODO

SVN-Revision: 6085

14 years agoLouder versions of airship remix and battle theme, from remaxim
Tim Goya [Sun, 22 Nov 2009 17:04:15 +0000 (17:04 +0000)]
Louder versions of airship remix and battle theme, from remaxim

SVN-Revision: 6084

14 years agoUse StringUtil::numeric_less to sort list of resolutions
Ingo Ruhnke [Sun, 22 Nov 2009 01:11:42 +0000 (01:11 +0000)]
Use StringUtil::numeric_less to sort list of resolutions

SVN-Revision: 6083

14 years agoAdded numeric string compare
Ingo Ruhnke [Sun, 22 Nov 2009 01:04:27 +0000 (01:04 +0000)]
Added numeric string compare

SVN-Revision: 6082

14 years agoReplaced .reset(new Surface()) with a factory method
Ingo Ruhnke [Sat, 21 Nov 2009 16:28:12 +0000 (16:28 +0000)]
Replaced .reset(new Surface()) with a factory method
Added some more std::auto_ptr<Surface> instead of Surface*

SVN-Revision: 6081

14 years agoReplaced .reset(new Surface()) with a factory method
Ingo Ruhnke [Sat, 21 Nov 2009 16:12:01 +0000 (16:12 +0000)]
Replaced .reset(new Surface()) with a factory method

SVN-Revision: 6080

14 years ago-Weffc++ cleanup for miniswig
Ingo Ruhnke [Sat, 21 Nov 2009 14:39:51 +0000 (14:39 +0000)]
-Weffc++ cleanup for miniswig

SVN-Revision: 6079

14 years agoAdded some build rules for miniswig and the wrapper file
Ingo Ruhnke [Sat, 21 Nov 2009 14:33:59 +0000 (14:33 +0000)]
Added some build rules for miniswig and the wrapper file

SVN-Revision: 6078

14 years agoRenamed namespaces to all lowercase
Ingo Ruhnke [Sat, 21 Nov 2009 02:52:01 +0000 (02:52 +0000)]
Renamed namespaces to all lowercase

SVN-Revision: 6077

14 years agoMoved Direction related code to worldmap/direction.cpp
Ingo Ruhnke [Sat, 21 Nov 2009 01:49:56 +0000 (01:49 +0000)]
Moved Direction related code to worldmap/direction.cpp

SVN-Revision: 6076

14 years agoUse GLEW to check for OpenGL extensions
Ingo Ruhnke [Fri, 20 Nov 2009 21:24:41 +0000 (21:24 +0000)]
Use GLEW to check for OpenGL extensions

SVN-Revision: 6075

14 years agotinygettext revision increment
Ingo Ruhnke [Fri, 20 Nov 2009 21:21:36 +0000 (21:21 +0000)]
tinygettext revision increment

SVN-Revision: 6074

14 years agoSmall TODO, CODINGSTYLE update
Ingo Ruhnke [Fri, 20 Nov 2009 21:21:09 +0000 (21:21 +0000)]
Small TODO, CODINGSTYLE update

SVN-Revision: 6073

14 years agoUse some more auto_ptr<>
Ingo Ruhnke [Fri, 20 Nov 2009 21:10:12 +0000 (21:10 +0000)]
Use some more auto_ptr<>

SVN-Revision: 6072

14 years agoRewrote Size/Sizef classes
Ingo Ruhnke [Fri, 20 Nov 2009 19:47:42 +0000 (19:47 +0000)]
Rewrote Size/Sizef classes

SVN-Revision: 6071

14 years agoOnly use power-of-two texture on OpenGL-ES, as newer OpenGL standards allow non-power...
Ingo Ruhnke [Fri, 20 Nov 2009 19:47:13 +0000 (19:47 +0000)]
Only use power-of-two texture on OpenGL-ES, as newer OpenGL standards allow non-power-of-two textures (fixes some blending artifacts, but not all)

SVN-Revision: 6070

14 years agoAdded Size class
Ingo Ruhnke [Fri, 20 Nov 2009 18:54:37 +0000 (18:54 +0000)]
Added Size class

SVN-Revision: 6069

14 years agoMoved UTF8Iterator to its own file
Ingo Ruhnke [Fri, 20 Nov 2009 16:06:13 +0000 (16:06 +0000)]
Moved UTF8Iterator to its own file

SVN-Revision: 6068

14 years agoFixed screenshots of windows that have a sizes not dividable by 4
Ingo Ruhnke [Fri, 20 Nov 2009 06:10:03 +0000 (06:10 +0000)]
Fixed screenshots of windows that have a sizes not dividable by 4

SVN-Revision: 6066

14 years agoMoved obstackpp.hpp to util/
Ingo Ruhnke [Fri, 20 Nov 2009 03:33:58 +0000 (03:33 +0000)]
Moved obstackpp.hpp to util/

SVN-Revision: 6065

14 years agoMinor cleanup
Ingo Ruhnke [Fri, 20 Nov 2009 03:02:50 +0000 (03:02 +0000)]
Minor cleanup

SVN-Revision: 6064

14 years agoMade some stuff private
Ingo Ruhnke [Fri, 20 Nov 2009 02:58:47 +0000 (02:58 +0000)]
Made some stuff private

SVN-Revision: 6063

14 years agoSplit particlesystem_interactive.?pp into separate files
Ingo Ruhnke [Fri, 20 Nov 2009 02:54:23 +0000 (02:54 +0000)]
Split particlesystem_interactive.?pp into separate files

SVN-Revision: 6062

14 years agoRemoved "const char*" versions of tinygettext for now, as they where buggy
Ingo Ruhnke [Fri, 20 Nov 2009 00:32:54 +0000 (00:32 +0000)]
Removed "const char*" versions of tinygettext for now, as they where buggy

SVN-Revision: 6061

14 years agoAdded StringUtil class, some small cleanup in World
Ingo Ruhnke [Thu, 19 Nov 2009 23:15:48 +0000 (23:15 +0000)]
Added StringUtil class, some small cleanup in World

SVN-Revision: 6060

14 years agoMoved more menu related code into the Menu classes
Ingo Ruhnke [Thu, 19 Nov 2009 22:27:34 +0000 (22:27 +0000)]
Moved more menu related code into the Menu classes

SVN-Revision: 6059

14 years agoFixed some include path
Ingo Ruhnke [Thu, 19 Nov 2009 19:03:22 +0000 (19:03 +0000)]
Fixed some include path

SVN-Revision: 6058

14 years agoFixed some include path
Ingo Ruhnke [Thu, 19 Nov 2009 19:00:16 +0000 (19:00 +0000)]
Fixed some include path

SVN-Revision: 6057

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

SVN-Revision: 6056

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

SVN-Revision: 6055

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

SVN-Revision: 6054

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

SVN-Revision: 6053

14 years agoplay with CMakeLists.txt compile flags, change from using DEBUG to NDEBUG (the way...
Tim Goya [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

SVN-Revision: 6052

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

SVN-Revision: 6051

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

SVN-Revision: 6050

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

SVN-Revision: 6049

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

SVN-Revision: 6048

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

SVN-Revision: 6047

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

SVN-Revision: 6046

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

SVN-Revision: 6045

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

SVN-Revision: 6044

14 years agoTurned main.cpp into a class
Ingo Ruhnke [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)

SVN-Revision: 6043

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

SVN-Revision: 6042

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

SVN-Revision: 6041

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

SVN-Revision: 6040

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

SVN-Revision: 6039

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

SVN-Revision: 6038

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)

SVN-Revision: 6037

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

SVN-Revision: 6036

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

SVN-Revision: 6035

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

SVN-Revision: 6034

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

SVN-Revision: 6033

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

SVN-Revision: 6032

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

SVN-Revision: 6031

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

SVN-Revision: 6030

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

SVN-Revision: 6029

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

SVN-Revision: 6028

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

SVN-Revision: 6027

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

SVN-Revision: 6026

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

SVN-Revision: 6025

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

SVN-Revision: 6024

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

SVN-Revision: 6023

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

SVN-Revision: 6022

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

SVN-Revision: 6021

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

SVN-Revision: 6020

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

SVN-Revision: 6019

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

SVN-Revision: 6018

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

SVN-Revision: 6017

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

SVN-Revision: 6016

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

SVN-Revision: 6015

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

SVN-Revision: 6014

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

SVN-Revision: 6013

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

SVN-Revision: 6012

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

SVN-Revision: 6011

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

SVN-Revision: 6009