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
Miloš Klouček [Mon, 27 Oct 2008 17:25:48 +0000 (17:25 +0000)]
Support for more editor-images or editor-images with regions
Support for Worldmap Attributes, they will be serialized as data number, but it shouldn't matter.
Added support for Attribute "fire"
TODO: Do something with unstandartized broken/unimplemented WM attribute "one-way"
SVN-Revision: 5813
Miloš Klouček [Mon, 27 Oct 2008 14:16:44 +0000 (14:16 +0000)]
Added menu item to let user decide, if he wants to use new not-yet-fully-supported 0.3.x format
SVN-Revision: 5812
Miloš Klouček [Mon, 27 Oct 2008 13:27:33 +0000 (13:27 +0000)]
trying to add Id tags in tilemanager files
changed one line in README
SVN-Revision: 5811
Miloš Klouček [Mon, 27 Oct 2008 12:53:04 +0000 (12:53 +0000)]
Added constants for tile_width and tile_height.
Completed current SVN tilesets LOADING (I hope so and LOADING only...)
SVN-Revision: 5810
Miloš Klouček [Sun, 26 Oct 2008 20:02:19 +0000 (20:02 +0000)]
A bit of work for current SVN support for tilemanager (can read "tiles" block now, but can't count image regions or save data yet...)
But it still should work for 0.1.x tilesets...
SVN-Revision: 5809
Miloš Klouček [Sun, 26 Oct 2008 17:53:00 +0000 (17:53 +0000)]
Rewritten tile properties code to store tile attributes in same way as the game or editor (allows implementation of more-tiles-in-one-entry named "tiles" in the future)
SVN-Revision: 5808
Miloš Klouček [Fri, 24 Oct 2008 17:01:13 +0000 (17:01 +0000)]
Replaced Gnome.AppBar with a dialog (stored in .glade file)
SVN-Revision: 5802
Tim Goya [Wed, 22 Oct 2008 18:34:13 +0000 (18:34 +0000)]
Use CMake variable to control release vs. debug vs. profile
SVN-Revision: 5801
Tim Goya [Wed, 22 Oct 2008 18:27:57 +0000 (18:27 +0000)]
change eol-style to native on CMakeLists.txt
SVN-Revision: 5800
Wolfgang Becker [Sat, 18 Oct 2008 09:25:59 +0000 (09:25 +0000)]
G++ 4.3 wants even more includes.
SVN-Revision: 5796
Mathnerd314 [Mon, 6 Oct 2008 02:19:19 +0000 (02:19 +0000)]
Loads more include and header fixes along with eol-style for some files
SVN-Revision: 5795
Miloš Klouček [Tue, 30 Sep 2008 14:20:29 +0000 (14:20 +0000)]
removed doubled foreground coin (bug #403). It looks like a mistake, but if it was intended, feel free to revert this change.
SVN-Revision: 5789
Arvid Norlander [Tue, 30 Sep 2008 12:36:48 +0000 (12:36 +0000)]
Fix pipes in bonus1/bonus-level5.stl, they were mixed blue and green before, now fully blue. If the mixed green/blue was actually intended (seems unlikely): feel free to revert.
SVN-Revision: 5787
Arvid Norlander [Tue, 30 Sep 2008 11:40:42 +0000 (11:40 +0000)]
Add unisolid version of blue pipe top, needed for "world1/24 - The Shattered Bridge.stl".
SVN-Revision: 5786
Arvid Norlander [Tue, 30 Sep 2008 10:07:49 +0000 (10:07 +0000)]
Update Swedish translation.
SVN-Revision: 5785
Mathnerd314 [Wed, 24 Sep 2008 01:54:25 +0000 (01:54 +0000)]
Addon include fixes.
Addon has no need to know anything about AddonManager, so removed those includes.
SVN-Revision: 5782
Mathnerd314 [Wed, 24 Sep 2008 01:51:50 +0000 (01:51 +0000)]
Applying my tileset patch since nobody seems to have replied to bug 329
- Tilesets are half the size
- attributes is now optional
- datas has been added to set data
- Multiple images can be specified
- Some error messages are now better
- Free tile list if(0) statement is added back
- if(0) tileset dump statement has been added
- Editor support should be easy (not included)
SVN-Revision: 5781
Arvid Norlander [Mon, 22 Sep 2008 19:10:40 +0000 (19:10 +0000)]
Fix curl include paths that were messed up in 5778. The other part of the fix a C++ (not C/C#) developer needs to verify. Thanks to MMlosh for pointing it out.
SVN-Revision: 5780
Mathnerd314 [Fri, 19 Sep 2008 00:14:40 +0000 (00:14 +0000)]
Oops! search and replace isn't good enough - change back y-values to originals
SVN-Revision: 5779
Mathnerd314 [Fri, 19 Sep 2008 00:06:43 +0000 (00:06 +0000)]
more svn:eol-style = native and header fixes
SVN-Revision: 5778
Mathnerd314 [Thu, 18 Sep 2008 23:59:57 +0000 (23:59 +0000)]
Change sound handling to use exceptions. No more empty.wav is needed, and all sound errors are now non-fatal.
SVN-Revision: 5777
Mathnerd314 [Thu, 18 Sep 2008 23:55:55 +0000 (23:55 +0000)]
Fun with unisolid tiles. Replaced each normal tile with its unisolid equivalent. The cave portion needs work,
and too many layers are solid, but it's actually still playable...
SVN-Revision: 5776
Mathnerd314 [Thu, 18 Sep 2008 23:53:47 +0000 (23:53 +0000)]
Big CMakeLists update.
-SVN revision is now part of version and thus window title
-Experimental precompile_headers option (works with gcc), probably broke all sorts of rules
-DELTA and fps are part of config file now (will add shift_delta later)
SVN-Revision: 5775
Mathnerd314 [Thu, 18 Sep 2008 23:45:17 +0000 (23:45 +0000)]
- svn:eol-style = native fixes
- really annoying cast in font.cpp (they don't need to be floats!)
- move #ifdef OPENGL inside header guards to enable optimization (some compilers are exactly half-stupid)
SVN-Revision: 5774
Marek Moeckel [Wed, 17 Sep 2008 16:41:46 +0000 (16:41 +0000)]
switched to the flag used in other places
SVN-Revision: 5772
Miloš Klouček [Fri, 12 Sep 2008 15:21:48 +0000 (15:21 +0000)]
removed .png/.stf files for hard-coloured fonts (blue, gold, gray) and doubled content from .stf files (partially patch from qmax)
SVN-Revision: 5766
Miloš Klouček [Thu, 11 Sep 2008 18:19:22 +0000 (18:19 +0000)]
Colors patch from qmax ( + added stat_hdr_color into levelintro.hpp...)
SVN-Revision: 5765
Christoph Sommer [Sat, 6 Sep 2008 20:35:45 +0000 (20:35 +0000)]
Changed jump behaviour: Tux will now jump even if the button was pressed (up to) 250ms early
SVN-Revision: 5764
Wolfgang Becker [Thu, 28 Aug 2008 21:24:03 +0000 (21:24 +0000)]
Prevent crash on exit.
SVN-Revision: 5755
Wolfgang Becker [Thu, 28 Aug 2008 21:13:03 +0000 (21:13 +0000)]
Crystallo, a basic badguy who patrols around a fixed position.
SVN-Revision: 5754
Ingo Ruhnke [Tue, 26 Aug 2008 14:07:00 +0000 (14:07 +0000)]
qmax patch to fix bug #
0000389 - colors in infoblocks
SVN-Revision: 5747
Wolfgang Becker [Sat, 23 Aug 2008 14:17:08 +0000 (14:17 +0000)]
Climbable areas don't influence Tux at all while he is carrying something.
SVN-Revision: 5738
Ingo Ruhnke [Thu, 21 Aug 2008 22:23:53 +0000 (22:23 +0000)]
Cyrillic fonts from qMax <qwiglydee@gmail.com>
SVN-Revision: 5737
Ingo Ruhnke [Thu, 21 Aug 2008 22:07:11 +0000 (22:07 +0000)]
qMax <qwiglydee@gmail.com>'s font patch, adds unicode support and support for drawing fonts in different colors
SVN-Revision: 5736
Ingo Ruhnke [Thu, 21 Aug 2008 21:43:13 +0000 (21:43 +0000)]
New font definition files for qMax <qwiglydee@gmail.com>'s font patch
SVN-Revision: 5735
Ingo Ruhnke [Thu, 21 Aug 2008 21:42:10 +0000 (21:42 +0000)]
Russian translation from qMax <qwiglydee@gmail.com>
SVN-Revision: 5734
Ingo Ruhnke [Thu, 21 Aug 2008 21:09:22 +0000 (21:09 +0000)]
Collision box finetuning (old stuff floating around in my checkout)
SVN-Revision: 5733
Mathnerd314 [Sun, 17 Aug 2008 19:28:21 +0000 (19:28 +0000)]
Rewrite Tux drawing code to be a bit cleaner.
(and test out committing)
SVN-Revision: 5730
Miloš Klouček [Sat, 16 Aug 2008 17:57:29 +0000 (17:57 +0000)]
* added about dialog
* added filter for 0.1.x tilesets (default, 0.3.x is not fully supported)
* replaced ureasonable use of Gnome.Program (Gtk.Application is enough there)
SVN-Revision: 5729
Miloš Klouček [Sat, 16 Aug 2008 17:30:58 +0000 (17:30 +0000)]
splitted OnAppBarUserResponse() and code that remaps tiles.
SVN-Revision: 5728
Miloš Klouček [Sat, 16 Aug 2008 17:24:13 +0000 (17:24 +0000)]
removed one compile warning (unused variable e)
SVN-Revision: 5727
Miloš Klouček [Sat, 16 Aug 2008 17:19:17 +0000 (17:19 +0000)]
text changes
SVN-Revision: 5726
Wolfgang Becker [Fri, 15 Aug 2008 21:00:47 +0000 (21:00 +0000)]
* Switch -d was used twice. Script debugger now is -s
* Default aspect ratio is rest to auto detect.
* Fixed numbering in INSTALL.
SVN-Revision: 5725
Miloš Klouček [Fri, 8 Aug 2008 19:19:53 +0000 (19:19 +0000)]
Updated tilemanager to make it working with current libraries, by now works only for older tileset files without new disk-inexpensive way of describing "more tiles in a picture" No cave hiding...
SVN-Revision: 5723
Marek Moeckel [Fri, 8 Aug 2008 13:01:33 +0000 (13:01 +0000)]
replaced green pipes with new icy graphics in world1 levels
deleted obsolete test level
fixed typo in bonus2 extro
SVN-Revision: 5722
Miloš Klouček [Sat, 2 Aug 2008 15:16:41 +0000 (15:16 +0000)]
added "static_cast<int>"s and solved bug #377
SVN-Revision: 5709
Matthias Braun [Sun, 27 Jul 2008 20:00:58 +0000 (20:00 +0000)]
SDL_GL_SWAP_CONTROL depends on SDL version
SVN-Revision: 5694
Ingo Ruhnke [Fri, 25 Jul 2008 15:21:59 +0000 (15:21 +0000)]
Implemented rounded rects with GL_TRIANGLE_STRIP
SVN-Revision: 5693
Marek Moeckel [Fri, 25 Jul 2008 14:38:17 +0000 (14:38 +0000)]
some GP2X-related workarounds
SVN-Revision: 5692
Marek Moeckel [Mon, 21 Jul 2008 09:26:55 +0000 (09:26 +0000)]
removed second ghost forest song from lowres music
SVN-Revision: 5690
Miloš Klouček [Thu, 3 Jul 2008 16:36:14 +0000 (16:36 +0000)]
Kugelblitz now appears at specified position, not at [0, 0]
SVN-Revision: 5647
Christoph Sommer [Tue, 1 Jul 2008 20:11:01 +0000 (20:11 +0000)]
Some housekeeping
SVN-Revision: 5645
Christoph Sommer [Tue, 1 Jul 2008 20:06:37 +0000 (20:06 +0000)]
LevelIntro screen
SVN-Revision: 5644
Christoph Sommer [Tue, 1 Jul 2008 20:06:02 +0000 (20:06 +0000)]
replaced main.cpp's NO_CATCH define by DEBUG
SVN-Revision: 5643
Ryan Flegel [Tue, 1 Jul 2008 04:46:59 +0000 (04:46 +0000)]
Fixed includes for msys.
SVN-Revision: 5642
Ingo Ruhnke [Tue, 1 Jul 2008 02:47:45 +0000 (02:47 +0000)]
Woops, wrong repository
SVN-Revision: 5641