supertux.git
14 years agoUpdate Swedish translation.
Arvid Norlander [Thu, 31 Dec 2009 01:53:44 +0000 (01:53 +0000)]
Update Swedish translation.

SVN-Revision: 6232

14 years agoAdded cast around GLEW_ARB_texture_non_power_of_two, as it might be a char and screw...
Ingo Ruhnke [Wed, 30 Dec 2009 13:46:13 +0000 (13:46 +0000)]
Added cast around GLEW_ARB_texture_non_power_of_two, as it might be a char and screw up output

SVN-Revision: 6231

14 years ago* Revert breaking changes from last revision
Mathnerd314 [Tue, 29 Dec 2009 18:01:42 +0000 (18:01 +0000)]
* Revert breaking changes from last revision
* Update CMakeLists.txt with a new option COMPILE_AMALGATION (still needs some more work with magic constants)
* TODO updates to make it clearer/more informative

SVN-Revision: 6230

14 years agoinclude fixes from ohnobinki, video_systems.cpp should fall back to SDL now if GL...
Mathnerd314 [Mon, 28 Dec 2009 05:19:55 +0000 (05:19 +0000)]
include fixes from ohnobinki, video_systems.cpp should fall back to SDL now if GL fails.

SVN-Revision: 6229

14 years agoAdd a constant for how long electrify lasts
Mathnerd314 [Fri, 25 Dec 2009 22:10:39 +0000 (22:10 +0000)]
Add a constant for how long electrify lasts

SVN-Revision: 6226

14 years agoThunderstorm sounds (from Auria and Some_Person)
Mathnerd314 [Fri, 25 Dec 2009 18:11:43 +0000 (18:11 +0000)]
Thunderstorm sounds (from Auria and Some_Person)

SVN-Revision: 6225

14 years agoChange anim_fps to fps in snail (fixes sprite; frames could use some work maybe)...
Mathnerd314 [Thu, 24 Dec 2009 17:35:49 +0000 (17:35 +0000)]
Change anim_fps to fps in snail (fixes sprite; frames could use some work maybe) and tileset.

SVN-Revision: 6224

14 years ago- sounds are on both channels
Mathnerd314 [Thu, 24 Dec 2009 16:26:47 +0000 (16:26 +0000)]
- sounds are on both channels
- break snail to make SpriteData::Action const
- player_status is local
- optimized tilemap::draw a bit (might do some more later)

SVN-Revision: 6223

14 years agosvn:eol-style native + comment fixes
Mathnerd314 [Wed, 23 Dec 2009 19:35:43 +0000 (19:35 +0000)]
svn:eol-style native + comment fixes

SVN-Revision: 6222

14 years agoSome more sounds from Some_Person
Mathnerd314 [Wed, 23 Dec 2009 18:46:28 +0000 (18:46 +0000)]
Some more sounds from Some_Person

SVN-Revision: 6221

14 years agoStuff from Some_Person.
Mathnerd314 [Wed, 23 Dec 2009 05:30:16 +0000 (05:30 +0000)]
Stuff from Some_Person.
- new worldmap, key level, keys in existing levels
- revert sound changes from 6009 and copy hurt.wav to kill.wav until we get new sounds

SVN-Revision: 6220

14 years agoPlay kill.wav when Tux is killed, hurt.wav when he can keep on playing.
Wolfgang Becker [Wed, 16 Dec 2009 21:03:21 +0000 (21:03 +0000)]
Play kill.wav when Tux is killed, hurt.wav when he can keep on playing.

SVN-Revision: 6219

14 years agotypo
Wolfgang Becker [Wed, 16 Dec 2009 21:00:50 +0000 (21:00 +0000)]
typo

SVN-Revision: 6218

14 years agoAdded TexturePtr
Ingo Ruhnke [Mon, 14 Dec 2009 10:26:09 +0000 (10:26 +0000)]
Added TexturePtr

SVN-Revision: 6217

14 years agoAdded FontPtr
Ingo Ruhnke [Mon, 14 Dec 2009 09:05:15 +0000 (09:05 +0000)]
Added FontPtr

SVN-Revision: 6216

14 years agoAdded SpritePtr
Ingo Ruhnke [Mon, 14 Dec 2009 05:59:31 +0000 (05:59 +0000)]
Added SpritePtr

SVN-Revision: 6215

14 years agoAdded Surface::clone() method
Ingo Ruhnke [Mon, 14 Dec 2009 05:01:53 +0000 (05:01 +0000)]
Added Surface::clone() method

SVN-Revision: 6214

14 years agoRemoved some unused code
Ingo Ruhnke [Mon, 14 Dec 2009 04:50:24 +0000 (04:50 +0000)]
Removed some unused code

SVN-Revision: 6213

14 years agoTODO updates
Ingo Ruhnke [Mon, 14 Dec 2009 04:45:06 +0000 (04:45 +0000)]
TODO updates

SVN-Revision: 6212

14 years agoMore use of SurfacePtr
Ingo Ruhnke [Sun, 13 Dec 2009 23:51:40 +0000 (23:51 +0000)]
More use of SurfacePtr

SVN-Revision: 6211

14 years agoadd Boost to CMake
Tim Goya [Sun, 13 Dec 2009 23:38:28 +0000 (23:38 +0000)]
add Boost to CMake

SVN-Revision: 6210

14 years agoAdded SurfacePtr
Ingo Ruhnke [Sun, 13 Dec 2009 23:30:55 +0000 (23:30 +0000)]
Added SurfacePtr

SVN-Revision: 6209

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

SVN-Revision: 6208

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

SVN-Revision: 6207

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

SVN-Revision: 6206

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

SVN-Revision: 6199

14 years agoSwitched from GL_CLAMP to GL_CLAMP_TO_EDGE, fixes some blending artifacts on older...
Ingo Ruhnke [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

SVN-Revision: 6198

14 years agoChanged Font code to use glyph.offset, instead of Rect() for variable width fonts...
Ingo Ruhnke [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

SVN-Revision: 6197

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

SVN-Revision: 6196

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

SVN-Revision: 6195

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

SVN-Revision: 6194

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

SVN-Revision: 6193

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

SVN-Revision: 6192

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

SVN-Revision: 6191

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

SVN-Revision: 6190

14 years agoReplaced GL_ARB_texture_non_power_of_two with proper GLEW_ARB_texture_non_power_of_two
Ingo Ruhnke [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

SVN-Revision: 6189

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

SVN-Revision: 6188

14 years agoCopy the palette of indexed images, fixes issue with the boats worldmap path which...
Ingo Ruhnke [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

SVN-Revision: 6187

14 years agoUse a new Texture for each Surface, this should fix blending artifacts caused by...
Ingo Ruhnke [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)

SVN-Revision: 6186

14 years agoSplitted TextureManager::create_image_texture() into multiple functions
Ingo Ruhnke [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

SVN-Revision: 6185

14 years agoAdded empty SurfaceData class so we don't have to pass around void* pointers and...
Ingo Ruhnke [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

SVN-Revision: 6184

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

SVN-Revision: 6183

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

SVN-Revision: 6182

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

SVN-Revision: 6181

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

SVN-Revision: 6180

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

SVN-Revision: 6179

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

SVN-Revision: 6178

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

SVN-Revision: 6177

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

SVN-Revision: 6176

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

SVN-Revision: 6175

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

SVN-Revision: 6174

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

SVN-Revision: 6173

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

SVN-Revision: 6172

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

SVN-Revision: 6171

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

SVN-Revision: 6170

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

SVN-Revision: 6166

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

SVN-Revision: 6165

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

SVN-Revision: 6164

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

SVN-Revision: 6163

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

SVN-Revision: 6162

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

SVN-Revision: 6161

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

SVN-Revision: 6160

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