supertux.git
14 years agochange some LAYER_GUI to LAYER_HUD, update tinygettext, fix a warning in miniswig
mathnerd314 [Sun, 13 Dec 2009 23:23:21 +0000 (23:23 +0000)]
change some LAYER_GUI to LAYER_HUD, update tinygettext, fix a warning in miniswig

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

14 years agoMore use of SurfacePtr
grumbel [Sun, 13 Dec 2009 22:20:32 +0000 (22:20 +0000)]
More use of SurfacePtr

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

14 years agoUse boost::shared_ptr<Surface> instead of std::auto_ptr<Surface>
grumbel [Sun, 13 Dec 2009 22:11:09 +0000 (22:11 +0000)]
Use boost::shared_ptr<Surface> instead of std::auto_ptr<Surface>

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

14 years agoRemoved Unicode byte-order mark, which confuses the parser
grumbel [Mon, 7 Dec 2009 20:18:22 +0000 (20:18 +0000)]
Removed Unicode byte-order mark, which confuses the parser

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

14 years agoSwitched from GL_CLAMP to GL_CLAMP_TO_EDGE, fixes some blending artifacts on older...
grumbel [Mon, 7 Dec 2009 19:06:56 +0000 (19:06 +0000)]
Switched from GL_CLAMP to GL_CLAMP_TO_EDGE, fixes some blending artifacts on older graphics cards

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

14 years agoChanged Font code to use glyph.offset, instead of Rect() for variable width fonts...
grumbel [Mon, 7 Dec 2009 18:17:43 +0000 (18:17 +0000)]
Changed Font code to use glyph.offset, instead of Rect() for variable width fonts, as using Rect leads to shadows being cut off

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

14 years agoTODO updates
grumbel [Mon, 7 Dec 2009 18:10:10 +0000 (18:10 +0000)]
TODO updates

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

14 years agoAdded reset() and empty constructor to SDLSurfacePtr
grumbel [Mon, 7 Dec 2009 18:01:55 +0000 (18:01 +0000)]
Added reset() and empty constructor to SDLSurfacePtr

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

14 years agoDisabled debugging output on video mode switch
grumbel [Mon, 7 Dec 2009 18:01:07 +0000 (18:01 +0000)]
Disabled debugging output on video mode switch

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

14 years agominor tweaks for the extra warnings so the giant list isn't repeated
tuxdev [Mon, 7 Dec 2009 16:00:10 +0000 (16:00 +0000)]
minor tweaks for the extra warnings so the giant list isn't repeated

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

14 years agomake SDL texture optimization less aggressive and generally stupider
tuxdev [Mon, 7 Dec 2009 05:43:32 +0000 (05:43 +0000)]
make SDL texture optimization less aggressive and generally stupider

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

14 years agoAdded some notes about supported resolutions
grumbel [Mon, 7 Dec 2009 04:36:29 +0000 (04:36 +0000)]
Added some notes about supported resolutions

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

14 years agoTODO updates
grumbel [Mon, 7 Dec 2009 01:39:22 +0000 (01:39 +0000)]
TODO updates

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

14 years agoReplaced GL_ARB_texture_non_power_of_two with proper GLEW_ARB_texture_non_power_of_two
grumbel [Sun, 6 Dec 2009 22:44:50 +0000 (22:44 +0000)]
Replaced GL_ARB_texture_non_power_of_two with proper GLEW_ARB_texture_non_power_of_two

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

14 years agoAdded mipmapping, but disabled it, as it leads to some unwanted blurriness
grumbel [Sun, 6 Dec 2009 22:35:11 +0000 (22:35 +0000)]
Added mipmapping, but disabled it, as it leads to some unwanted blurriness

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

14 years agoCopy the palette of indexed images, fixes issue with the boats worldmap path which...
grumbel [Sun, 6 Dec 2009 21:40:01 +0000 (21:40 +0000)]
Copy the palette of indexed images, fixes issue with the boats worldmap path which didn't show up

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

14 years agoUse a new Texture for each Surface, this should fix blending artifacts caused by...
grumbel [Sun, 6 Dec 2009 12:44:11 +0000 (12:44 +0000)]
Use a new Texture for each Surface, this should fix blending artifacts caused by shared Textures (code is not bug free right now, the ship path on the Worldmap doesn't show up)

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

14 years agoSplitted TextureManager::create_image_texture() into multiple functions
grumbel [Sun, 6 Dec 2009 12:09:24 +0000 (12:09 +0000)]
Splitted TextureManager::create_image_texture() into multiple functions
Added SDLSurfacePtr class that handles the SDL_FreeSurface() call in an exception safe manner

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

14 years agoAdded empty SurfaceData class so we don't have to pass around void* pointers and...
grumbel [Sun, 6 Dec 2009 09:41:00 +0000 (09:41 +0000)]
Added empty SurfaceData class so we don't have to pass around void* pointers and break destruction

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

14 years agoTurned functions in video_systems.?pp into class VideoSystem
grumbel [Sun, 6 Dec 2009 09:11:12 +0000 (09:11 +0000)]
Turned functions in video_systems.?pp into class VideoSystem

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

14 years agoFixed Rect a bit and started to use Rect in Surface class
grumbel [Sun, 6 Dec 2009 08:45:57 +0000 (08:45 +0000)]
Fixed Rect a bit and started to use Rect in Surface class

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

14 years agoAdded basic integer rectangle class
grumbel [Sun, 6 Dec 2009 05:38:03 +0000 (05:38 +0000)]
Added basic integer rectangle class

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

14 years agoRenamed Rect to Rectf
grumbel [Sun, 6 Dec 2009 05:26:23 +0000 (05:26 +0000)]
Renamed Rect to Rectf

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

14 years agoUse data instead of throwaway_data for slope and short-circuit || instead of if(...
mathnerd314 [Sun, 6 Dec 2009 04:29:17 +0000 (04:29 +0000)]
Use data instead of throwaway_data for slope and short-circuit || instead of if(!) in TileSetParser

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

14 years agoRemoved friendship between TileSetParser and Tile, use proper constructor instead
grumbel [Sun, 6 Dec 2009 02:49:12 +0000 (02:49 +0000)]
Removed friendship between TileSetParser and Tile, use proper constructor instead

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

14 years agoMoved parsing of "tiles" section into separate function
grumbel [Sun, 6 Dec 2009 01:51:58 +0000 (01:51 +0000)]
Moved parsing of "tiles" section into separate function

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

14 years agoSmall const cleanup
grumbel [Sun, 6 Dec 2009 01:51:31 +0000 (01:51 +0000)]
Small const cleanup

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

14 years agoRemoved tile_path from tileset, instead give fully qualified path to the Tile
grumbel [Sun, 6 Dec 2009 01:32:11 +0000 (01:32 +0000)]
Removed tile_path from tileset, instead give fully qualified path to the Tile

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

14 years agoRemoved unused code
grumbel [Sun, 6 Dec 2009 01:11:11 +0000 (01:11 +0000)]
Removed unused code

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

14 years agoMoved Tile parsing code into TileSetParser
grumbel [Sun, 6 Dec 2009 00:52:59 +0000 (00:52 +0000)]
Moved Tile parsing code into TileSetParser

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

14 years agoStarted moving TileSet parsing code into separate class
grumbel [Sun, 6 Dec 2009 00:17:49 +0000 (00:17 +0000)]
Started moving TileSet parsing code into separate class

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

14 years agoGot rid of some friend'ship, reducing some access of private member variables
grumbel [Sun, 6 Dec 2009 00:01:30 +0000 (00:01 +0000)]
Got rid of some friend'ship, reducing some access of private member variables

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

14 years agoRemoved some unused code
grumbel [Sat, 5 Dec 2009 08:26:30 +0000 (08:26 +0000)]
Removed some unused code

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

14 years agoTODO updates
grumbel [Tue, 1 Dec 2009 19:33:11 +0000 (19:33 +0000)]
TODO updates

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

14 years agoFixed off-by-one
grumbel [Tue, 1 Dec 2009 04:45:08 +0000 (04:45 +0000)]
Fixed off-by-one

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

14 years agoUpdated background images for proper alignment usage
grumbel [Tue, 1 Dec 2009 04:25:41 +0000 (04:25 +0000)]
Updated background images for proper alignment usage

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

14 years agoTODO updates
grumbel [Tue, 1 Dec 2009 04:24:12 +0000 (04:24 +0000)]
TODO updates

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

14 years agoFixed draw range in Background
grumbel [Tue, 1 Dec 2009 04:21:09 +0000 (04:21 +0000)]
Fixed draw range in Background

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

14 years agoMake use of alignment for resolution independent parallax scrolling
grumbel [Tue, 1 Dec 2009 04:06:58 +0000 (04:06 +0000)]
Make use of alignment for resolution independent parallax scrolling

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

14 years agoImplemented background alignment for resolution independent parallax scrolling
grumbel [Tue, 1 Dec 2009 04:06:20 +0000 (04:06 +0000)]
Implemented background alignment for resolution independent parallax scrolling

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

14 years agoUse float instead of int
grumbel [Tue, 1 Dec 2009 03:54:44 +0000 (03:54 +0000)]
Use float instead of int

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

14 years agoBackground drawing now starts at the center of the level, instead of the top/left...
grumbel [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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 years agoSDL_main() is not supposed to be written by us, see:
grumbel [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

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

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.

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

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

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

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

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

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

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

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

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

14 years agoReplaced .reset(new Surface()) with a factory method
grumbel [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*

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 years agoOnly use power-of-two texture on OpenGL-ES, as newer OpenGL standards allow non-power...
grumbel [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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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