Ingo Ruhnke [Thu, 19 Nov 2009 17:06:22 +0000 (17:06 +0000)]
Renamed MainLoop to ScreenManager
SVN-Revision: 6051
Ingo Ruhnke [Thu, 19 Nov 2009 16:50:58 +0000 (16:50 +0000)]
Renamed MainLoop to ScreenManager
SVN-Revision: 6050
Ingo Ruhnke [Thu, 19 Nov 2009 15:34:29 +0000 (15:34 +0000)]
Include optimizations
SVN-Revision: 6049
Ingo Ruhnke [Thu, 19 Nov 2009 15:24:10 +0000 (15:24 +0000)]
Move some code from TitleScreen to AddonMenu
SVN-Revision: 6048
Ingo Ruhnke [Thu, 19 Nov 2009 15:10:26 +0000 (15:10 +0000)]
Move some code from TitleScreen to ContribMenu
SVN-Revision: 6047
Ingo Ruhnke [Thu, 19 Nov 2009 14:55:47 +0000 (14:55 +0000)]
Move some code from TitleScreen to ContribWorldMenu
SVN-Revision: 6046
Ingo Ruhnke [Thu, 19 Nov 2009 14:45:12 +0000 (14:45 +0000)]
Move all Menus into separate classes
SVN-Revision: 6045
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
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
Ingo Ruhnke [Thu, 19 Nov 2009 04:37:32 +0000 (04:37 +0000)]
Added scripts for source code maintainance
SVN-Revision: 6042
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
Ingo Ruhnke [Thu, 19 Nov 2009 04:16:02 +0000 (04:16 +0000)]
Renamed MenuManager to MenuStorage and MenuManager2 to MenuManager
SVN-Revision: 6040
Ingo Ruhnke [Thu, 19 Nov 2009 04:07:08 +0000 (04:07 +0000)]
Trying to separate Menu and Menu management stuff
SVN-Revision: 6039
Ingo Ruhnke [Thu, 19 Nov 2009 00:52:29 +0000 (00:52 +0000)]
Added MenuManager to keep track of created Menus
SVN-Revision: 6038
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
Ingo Ruhnke [Thu, 19 Nov 2009 00:18:13 +0000 (00:18 +0000)]
Moved Menu stuff to its own directory
SVN-Revision: 6036
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
Ingo Ruhnke [Wed, 18 Nov 2009 21:01:38 +0000 (21:01 +0000)]
Updated to tinygettext r174
SVN-Revision: 6034
Ingo Ruhnke [Wed, 18 Nov 2009 18:13:10 +0000 (18:13 +0000)]
Fixed incorrect syntax in svn:externals
SVN-Revision: 6033
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
Ingo Ruhnke [Wed, 18 Nov 2009 17:44:17 +0000 (17:44 +0000)]
Move style guide stuff into separate file
SVN-Revision: 6031
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
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
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
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
Ingo Ruhnke [Wed, 18 Nov 2009 03:25:12 +0000 (03:25 +0000)]
Split supertux/options_menu.?pp
SVN-Revision: 6026
Ingo Ruhnke [Wed, 18 Nov 2009 03:16:33 +0000 (03:16 +0000)]
Split control/joystickkeyboardcontroller.?pp
SVN-Revision: 6025
Ingo Ruhnke [Wed, 18 Nov 2009 03:00:55 +0000 (03:00 +0000)]
Split physfs/physfs_stream.?pp into multiple files
SVN-Revision: 6024
Ingo Ruhnke [Wed, 18 Nov 2009 02:59:20 +0000 (02:59 +0000)]
Minor cleanup
SVN-Revision: 6023
Ingo Ruhnke [Wed, 18 Nov 2009 02:09:12 +0000 (02:09 +0000)]
Include optimizations
SVN-Revision: 6022
Ingo Ruhnke [Wed, 18 Nov 2009 01:51:42 +0000 (01:51 +0000)]
Split gui/menu.?pp
SVN-Revision: 6021
Ingo Ruhnke [Wed, 18 Nov 2009 01:45:39 +0000 (01:45 +0000)]
Split object/block.?pp
SVN-Revision: 6020
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
Ingo Ruhnke [Wed, 18 Nov 2009 01:37:05 +0000 (01:37 +0000)]
Replaced <c*> headers with <*.h>
SVN-Revision: 6018
Ingo Ruhnke [Wed, 18 Nov 2009 01:26:11 +0000 (01:26 +0000)]
Split object/particlesystem.?pp
SVN-Revision: 6017
Ingo Ruhnke [Wed, 18 Nov 2009 01:07:51 +0000 (01:07 +0000)]
Splitted supertux/textscroller.?pp
SVN-Revision: 6016
Ingo Ruhnke [Tue, 17 Nov 2009 21:43:06 +0000 (21:43 +0000)]
Finished -Weffc++ cleanup
SVN-Revision: 6015
Ingo Ruhnke [Tue, 17 Nov 2009 21:32:46 +0000 (21:32 +0000)]
More -Weffc++ cleanup, almost done
SVN-Revision: 6014
Ingo Ruhnke [Tue, 17 Nov 2009 20:50:37 +0000 (20:50 +0000)]
More -Weffc++ cleanup
SVN-Revision: 6013
Ingo Ruhnke [Tue, 17 Nov 2009 17:04:31 +0000 (17:04 +0000)]
More -Weffc++ cleanup
SVN-Revision: 6012
Ingo Ruhnke [Tue, 17 Nov 2009 16:16:30 +0000 (16:16 +0000)]
More -Weffc++ cleanup
SVN-Revision: 6011
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
Mathnerd314 [Sun, 15 Nov 2009 22:28:00 +0000 (22:28 +0000)]
New grow and skid sounds from remaxim
SVN-Revision: 5982
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
SVN-Revision: 5937
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...)
SVN-Revision: 5936
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
SVN-Revision: 5935
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
SVN-Revision: 5934
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
SVN-Revision: 5931
Ryan Flegel [Wed, 16 Sep 2009 02:42:42 +0000 (02:42 +0000)]
Set 'licence' attribute on sound files
SVN-Revision: 5929
Mathnerd314 [Thu, 3 Sep 2009 19:49:52 +0000 (19:49 +0000)]
Option --renderer to select video renderer
SVN-Revision: 5913
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
SVN-Revision: 5912
Wolfgang Becker [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
SVN-Revision: 5911
Wolfgang Becker [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)
SVN-Revision: 5910
Wolfgang Becker [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)
SVN-Revision: 5909
Wolfgang Becker [Wed, 26 Aug 2009 21:39:05 +0000 (21:39 +0000)]
Patch by Matt McCutchen to fix active waiting in main loop. (Bug 480)
SVN-Revision: 5908
Wolfgang Becker [Mon, 24 Aug 2009 19:38:40 +0000 (19:38 +0000)]
Stack rocks without shanking.
SVN-Revision: 5907
Miloš Klouček [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.
SVN-Revision: 5906
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>
SVN-Revision: 5905
Wolfgang Becker [Sat, 27 Jun 2009 16:13:55 +0000 (16:13 +0000)]
Do not apply friction if Tux's x-velocity is zero.
SVN-Revision: 5904
Wolfgang Becker [Sun, 21 Jun 2009 19:49:34 +0000 (19:49 +0000)]
snv ignore version.h, add includes for gcc 4.3.3.
SVN-Revision: 5899
Mathnerd314 [Sun, 14 Jun 2009 19:17:44 +0000 (19:17 +0000)]
Random stuff that I should have committed ages ago.
*Big header/include update to remove extraneous files from badguy.hpp (other files were catching those includes too)
*Fix crash in AngryStone with dead/missing player
*Fix crashes in Dispenser when getting "random" badguy in old levels and when badguy creation fails
*Change pause menu in GameSession to display level name instead of "Pause"
*Spawning in a missing sector logs a message and spawns in main instead
*Level loading errors now generate a log message instead of a crash
*Moved constants away from config.h and into constants.hpp, adding SHIFT_DELTA
*Added version.h separate from config.h to hold version # because it changes on every svn update
*Add back in DEBUG as an option (used in config.h.cmake, remove completely if remove at all)
*Add --force-po to xgettext so that CMake will stop trying to build directories with no translations
*Collision_tile_attributes doesn't have as much overlap anymore (maybe even 1 or less would work?)
*Help now shows before initialization such as loading config (pre_parse_commandline)
*Keep try-catch around main loop in debug builds for if you like printf-style debugging :-)
(also so users of development version 0.3.2 or whatever can have meaningful stderr logs)
*Ice works correctly (see bug #458, I fixed it differently however)
*Fixed typos and added check for right side in Player::check_bounds
*Make DisplayEffect a singleton per-Sector (somewhat alleviates bug where Tux dies in menu level and current level fades out)
*Scripting errors don't crash SuperTux anymore
*Camera only gives a message if camera.cfg exists
*Tilemaps give a message if they are empty
*Svn:eol-style=native for levelintro.?pp
*Fixed typo in data/fonts/README
*Infoblock/box stays within sector bounds (see in test/bonusblock.stl "Bonus Block Test")
*MovingSprite is okay with missing x and y attributes (used for custom bonusblock contents)
*It also accepts a "sprite" attribute in all lisp constructors to support modding/customization
*Set meaningful titles and svl:eol-style for test levels
*Add another platform to tileplatforms.stl to experiment
*Remove gratuitous lightmaps from world2/christoph[CE].stl
*Test_old/verticalforest.stl is beatable now (in both big and small tux)
*Fix some (not all) ancient tiles in test_old
*Add info file for test_old
SVN-Revision: 5896
Mathnerd314 [Sat, 13 Jun 2009 21:02:52 +0000 (21:02 +0000)]
* Small miniswig update to use less dependencies
* Add functions play_demo, record_demo, and debug_worldmap_ghost for buggy worldmaps
* Doxygen comments for file_system.hpp (forgot previously)
SVN-Revision: 5895
Mathnerd314 [Sat, 13 Jun 2009 20:31:24 +0000 (20:31 +0000)]
* remove unused libvorbisenc from FindOggVorbis and link path
* file_system works on Windows-style paths to allow editor to work
SVN-Revision: 5894
Mathnerd314 [Sat, 13 Jun 2009 20:05:23 +0000 (20:05 +0000)]
* Add upgrade.wav from Yaniel
* Fix mime-types for sounds and music
* svn:eol-style=native for *.cmake
SVN-Revision: 5893
Miloš Klouček [Wed, 10 Jun 2009 19:50:04 +0000 (19:50 +0000)]
*possible* fix for bugs #453 and #373
Menu is updated in mainloop so it won't stay open (because noone updates it)
SVN-Revision: 5892
Miloš Klouček [Tue, 2 Jun 2009 15:05:45 +0000 (15:05 +0000)]
Fix for bug #436 - just clear last_menus when set_current(NULL) is called
SVN-Revision: 5891
Miloš Klouček [Sat, 9 May 2009 18:15:32 +0000 (18:15 +0000)]
expressed my opinion on code layout..
SVN-Revision: 5890
Mathnerd314 [Sun, 3 May 2009 22:09:12 +0000 (22:09 +0000)]
* Use overloading in Lisp and Writer
* Sector::collision_attributes includes SHIFT_DELTA slop in nearby tiles (allows ice to function)
SVN-Revision: 5887
Mathnerd314 [Sun, 3 May 2009 22:06:13 +0000 (22:06 +0000)]
Fix infinite loop when encountering \r in a string
SVN-Revision: 5886
Mathnerd314 [Sun, 3 May 2009 22:04:19 +0000 (22:04 +0000)]
Ice blocks (graphics are placeholders)
SVN-Revision: 5885
Mathnerd314 [Sun, 3 May 2009 22:01:58 +0000 (22:01 +0000)]
Add *.dll to svn:ignore and sort ignore list
SVN-Revision: 5884
Ryan Flegel [Fri, 1 May 2009 01:25:49 +0000 (01:25 +0000)]
Removing formfeed characters from source
SVN-Revision: 5883
Ryan Flegel [Fri, 1 May 2009 01:18:31 +0000 (01:18 +0000)]
- Fixed formatting in credits
- Fixed slow credits framerate by only drawing items that are on the screen
SVN-Revision: 5882
Ryan Flegel [Thu, 30 Apr 2009 23:37:59 +0000 (23:37 +0000)]
Russian translation update from Constantin Baranov... from December.
SVN-Revision: 5881
Wolfgang Becker [Sat, 21 Mar 2009 15:13:19 +0000 (15:13 +0000)]
* Limit coins to 9999 so the displayed amount is correct.
* add ice test level
SVN-Revision: 5868
Ingo Ruhnke [Sat, 21 Mar 2009 13:22:39 +0000 (13:22 +0000)]
Added updated zh_CN.po from Liu Sizhuang <oldherl@gmail.com>
SVN-Revision: 5867
Ingo Ruhnke [Sat, 21 Mar 2009 12:43:28 +0000 (12:43 +0000)]
Added chinese fonts and translation from Liu Sizhuang <oldherl@gmail.com>
SVN-Revision: 5866
Ingo Ruhnke [Mon, 16 Mar 2009 18:11:30 +0000 (18:11 +0000)]
Regenerated wrapper with type checking
SVN-Revision: 5865
Ingo Ruhnke [Mon, 16 Mar 2009 18:10:50 +0000 (18:10 +0000)]
Added type checking for __custom functions
SVN-Revision: 5864
Ingo Ruhnke [Fri, 6 Mar 2009 01:56:24 +0000 (01:56 +0000)]
Check that the userdata pointer is not null, which happens when a user creates a C++ class himself on the Squirrel side via the constructor (i.e. a <- GameObject())
SVN-Revision: 5845
Ingo Ruhnke [Fri, 6 Mar 2009 00:03:39 +0000 (00:03 +0000)]
Added function argument type and count checking for functions exported to Squirrel
SVN-Revision: 5844
Ingo Ruhnke [Tue, 3 Mar 2009 11:08:43 +0000 (11:08 +0000)]
Fixed compiler warnings in squirrel (minor stuff, patch is submitted to upstream)
SVN-Revision: 5843
Ingo Ruhnke [Mon, 2 Mar 2009 23:35:10 +0000 (23:35 +0000)]
Minor #include optimization
SVN-Revision: 5842
Ingo Ruhnke [Mon, 2 Mar 2009 23:34:32 +0000 (23:34 +0000)]
Removed unused max_score_multiplier and score_multiplier
SVN-Revision: 5841
Ingo Ruhnke [Sat, 14 Feb 2009 19:52:46 +0000 (19:52 +0000)]
Updated svn:externals
SVN-Revision: 5839
Miloš Klouček [Wed, 28 Jan 2009 15:46:06 +0000 (15:46 +0000)]
Allow declaration of "layer" for thunderstorm (both game and editor parts) => Thunderstorm is now layered object, there is only "camera" left in "miscelanious objects box"
SVN-Revision: 5834
Ingo Ruhnke [Sat, 24 Jan 2009 06:05:15 +0000 (06:05 +0000)]
Updated svn:externals
SVN-Revision: 5833
Ingo Ruhnke [Fri, 23 Jan 2009 14:04:38 +0000 (14:04 +0000)]
Moved tinygettext to tinygettext.googlecode.com
SVN-Revision: 5832
Mathnerd314 [Wed, 21 Jan 2009 23:56:30 +0000 (23:56 +0000)]
Fix another small logic error
SVN-Revision: 5831
Mathnerd314 [Wed, 21 Jan 2009 01:20:54 +0000 (01:20 +0000)]
Rewrite spacing logic to properly handle comments
SVN-Revision: 5830
Mathnerd314 [Tue, 20 Jan 2009 23:49:55 +0000 (23:49 +0000)]
Rewrite of tinygettext's POFileReader to look more like a combination of lisp/lexer and lisp/parser,
removing need for all those ugly State variables. Also move line numbering to nextChar in lexer.cpp
and add a method addChar() to append to the buffer.
Should compile, but I (using my English-only system) haven't tested it completely.
SVN-Revision: 5829
Christoph Sommer [Thu, 1 Jan 2009 20:22:29 +0000 (20:22 +0000)]
Small, quick compile fixes
SVN-Revision: 5825
Mathnerd314 [Wed, 24 Dec 2008 00:59:35 +0000 (00:59 +0000)]
Update Squirrel to 2.2.2 (although README says 2.2.1)
SVN-Revision: 5824
Ryan Flegel [Mon, 8 Dec 2008 00:01:57 +0000 (00:01 +0000)]
Install fonts directory (from Constantin Baranov)
SVN-Revision: 5823
Tim Goya [Sun, 2 Nov 2008 19:32:27 +0000 (19:32 +0000)]
revert accidentally commited files
SVN-Revision: 5820
Tim Goya [Sun, 2 Nov 2008 19:23:07 +0000 (19:23 +0000)]
Update INSTALL to tell users to do CMAKE_BUILD_TYPE=DEBUG rather that DEBUG=ON
SVN-Revision: 5819
Tim Goya [Sun, 2 Nov 2008 19:21:49 +0000 (19:21 +0000)]
Use svnversion program rather than finding the svn package to get revision number
SVN-Revision: 5818
Miloš Klouček [Mon, 27 Oct 2008 19:28:18 +0000 (19:28 +0000)]
corrected supertux tile definition file extension (was by mistake ".stwm" instead of ".strf")
SVN-Revision: 5816
Miloš Klouček [Mon, 27 Oct 2008 18:49:31 +0000 (18:49 +0000)]
Store "one-way" worldmap attribute, because AnMaster said, that it's meaningfull
SVN-Revision: 5815
Miloš Klouček [Mon, 27 Oct 2008 18:26:18 +0000 (18:26 +0000)]
Added checkboxes for attributes defined in supertux/src/tile.hpp
SVN-Revision: 5814