supertux.git
20 years agofix for the compilation problem of many pre gcc3.4.x users.
Tobias Gläßer [Wed, 28 Jul 2004 23:33:23 +0000 (23:33 +0000)]
fix for the compilation problem of many pre gcc3.4.x users.

SVN-Revision: 1663

20 years ago- Various fixes and cleanups.
Tobias Gläßer [Wed, 28 Jul 2004 23:06:12 +0000 (23:06 +0000)]
- Various fixes and cleanups.
- Added FrameRate class to SuperTux library
- More menu code C++ing.

SVN-Revision: 1662

20 years ago- Fixed gradient not working when cached (SDL mode);
Ricardo Cruz [Wed, 28 Jul 2004 22:23:23 +0000 (22:23 +0000)]
- Fixed gradient not working when cached (SDL mode);
- Fixed and enabled draw_stretched() that allows zooming.

SVN-Revision: 1661

20 years agoAdded a --flip-levels argument, I guess it doesn't need any description of what it...
Ricardo Cruz [Wed, 28 Jul 2004 21:47:43 +0000 (21:47 +0000)]
Added a --flip-levels argument, I guess it doesn't need any description of what it does. :)

SVN-Revision: 1660

20 years agoImproved passive messages code. Fixed bug of showing a previous passive message when...
Ricardo Cruz [Wed, 28 Jul 2004 20:41:59 +0000 (20:41 +0000)]
Improved passive messages code. Fixed bug of showing a previous passive message when a new one should be being displayed now.
A bug still to fix is that when going from a passive message to a map one, both will be displayed. Anyway, first we need to test if this all code of passive/map messages is working.

SVN-Revision: 1659

20 years agoAdded an ugly message flag. Any artists there?
Ricardo Cruz [Wed, 28 Jul 2004 16:08:13 +0000 (16:08 +0000)]
Added an ugly message flag. Any artists there?

Also removed depricated levelmarker.png image.

SVN-Revision: 1656

20 years agoBug fix: When using map-message field and there is a level there, don't draw message...
Ricardo Cruz [Wed, 28 Jul 2004 16:07:08 +0000 (16:07 +0000)]
Bug fix: When using map-message field and there is a level there, don't draw message flag.

For the record, I haven't testes the last two commits to head. I guess I've an excuse this time, since It's not pretty to test stuff when you have to work with data files on /usr/../supertux/ folder.

SVN-Revision: 1655

20 years agoNew field: (passive-message "blabla") . This will show blabla in a passive way. ie...
Ricardo Cruz [Wed, 28 Jul 2004 16:04:25 +0000 (16:04 +0000)]
New field: (passive-message "blabla") . This will show blabla in a passive way. ie. when a player passed throught it, it will be shown for almost 3 seconds.
As I said in my previous commit to 0_1_1_branch that �When you go from a message to another, you might notice that only a random of those will be displayed, not necessarly the last one. Will be fixed.�.

Also, if you use (map-message "blabla"), a message flag will be shown in that field.

SVN-Revision: 1654

20 years agoAdded support for break lines in centered text.
Ricardo Cruz [Wed, 28 Jul 2004 14:57:24 +0000 (14:57 +0000)]
Added support for break lines in centered text.
The code is pretty hacky, but seems to work fine, and such a feature was really needed to avoid hacks (for instance, the one found in display_text_file()).

In the future, it would be a good idea to add break lines support for get_text_width() and get_text_height().

SVN-Revision: 1652

20 years agoFixed the not saving bug.
Ricardo Cruz [Wed, 28 Jul 2004 10:59:00 +0000 (10:59 +0000)]
Fixed the not saving bug.

It's odd, there was this code in savegame():

if(filename != "")
  return;

?!?!?!? :O

SVN-Revision: 1651

20 years agoTux growing animation and door opening alpha was not being applied. Fixed.
Ricardo Cruz [Wed, 28 Jul 2004 10:48:49 +0000 (10:48 +0000)]
Tux growing animation and door opening alpha was not being applied. Fixed.
Why haven't anyone noticed it yet?!

SVN-Revision: 1650

20 years agoChanges in worldmap:
Ricardo Cruz [Wed, 28 Jul 2004 10:47:49 +0000 (10:47 +0000)]
Changes in worldmap:
- Fixed bugs created by myself due to the Level SpecialTile replacement variable names.
- Changed movement code a bit - could use a deeper look. Now possible to change direction during movement. Also movement stops when the Menu is called.

Saving (and loading?) doesn't seem to work. Not sure who faults it is, but I prefer to blaim the new library path code. :)

SVN-Revision: 1649

20 years agoFixed bug to let the player go through messages with no levels on it.
Ricardo Cruz [Tue, 27 Jul 2004 22:46:13 +0000 (22:46 +0000)]
Fixed bug to let the player go through messages with no levels on it.

SVN-Revision: 1645

20 years agoRenamed Level by SpecialTile.
Ricardo Cruz [Tue, 27 Jul 2004 22:31:30 +0000 (22:31 +0000)]
Renamed Level by SpecialTile.
Fixed bug that was causing every special tiles to be saved, not just levels.

SVN-Revision: 1642

20 years agoremoved special/stringlist.cpp/h
Tobias Gläßer [Tue, 27 Jul 2004 20:07:35 +0000 (20:07 +0000)]
removed special/stringlist.cpp/h

SVN-Revision: 1641

20 years ago- Cleanups
Tobias Gläßer [Tue, 27 Jul 2004 19:31:39 +0000 (19:31 +0000)]
- Cleanups
- Got rid of string_list_type (caution! Bugs with the replacement solutions are likely to happen, that will be fixed)

SVN-Revision: 1640

20 years agoDisabled level flipping on debug mode.
Ricardo Cruz [Tue, 27 Jul 2004 17:53:51 +0000 (17:53 +0000)]
Disabled level flipping on debug mode.
I guess everybody already have time to give it a try. If not, just go to the worldmap and set (flip #t) in a level.

SVN-Revision: 1638

20 years agoOoops, almost forgot this!
Ricardo Cruz [Tue, 27 Jul 2004 16:54:45 +0000 (16:54 +0000)]
Ooops, almost forgot this!
I really should do a testing, but I can't even compile the code. Output:

In file included from badguy.cpp:27:
defines.h:25:20: config.h: No such file or directory

SVN-Revision: 1637

20 years agoAdded auto-walk field for world maps.
Ricardo Cruz [Tue, 27 Jul 2004 16:44:36 +0000 (16:44 +0000)]
Added auto-walk field for world maps.
(auto-walk #f) makes the player not walk or walk (default to walk) after finishing level. Not sure if it is usefull, but could be used in levels in a hidden place to not reveal the next one.

SVN-Revision: 1635

20 years ago- added include
Ryan Flegel [Tue, 27 Jul 2004 16:34:52 +0000 (16:34 +0000)]
- added include

SVN-Revision: 1632

20 years agoC++ifyied SuperTux ticks.
Tobias Gläßer [Tue, 27 Jul 2004 13:25:05 +0000 (13:25 +0000)]
C++ifyied SuperTux ticks.

SVN-Revision: 1631

20 years agocommited fix by Leo Savernik <l.savernik@aon.at>.
Tobias Gläßer [Tue, 27 Jul 2004 09:56:14 +0000 (09:56 +0000)]
commited fix by Leo Savernik <l.savernik@aon.at>.

SVN-Revision: 1626

20 years agoMoved defines.h out of the library and back to src/.
Tobias Gläßer [Mon, 26 Jul 2004 18:09:14 +0000 (18:09 +0000)]
Moved defines.h out of the library and back to src/.
Made Menu independend of global MouseCursor variable.

SVN-Revision: 1625

20 years agoMade the SuperTux library again a bit more selfstanding.
Tobias Gläßer [Mon, 26 Jul 2004 15:48:38 +0000 (15:48 +0000)]
Made the SuperTux library again a bit more selfstanding.
Moved global fonts to src/ and they are handled as static variables inside Menu:: and Button:: .

SVN-Revision: 1623

20 years agoWith this file and doxygen you can generate a wonderful SuperTux library API document...
Tobias Gläßer [Mon, 26 Jul 2004 15:24:01 +0000 (15:24 +0000)]
With this file and doxygen you can generate a wonderful SuperTux library API documentation. ;)

SVN-Revision: 1622

20 years ago- Major changes in Setup-API.
Tobias Gläßer [Sun, 25 Jul 2004 19:03:36 +0000 (19:03 +0000)]
- Major changes in Setup-API.
- Moved all sound handling into SoundManager,
  which became a singleton.

SVN-Revision: 1620

20 years agoSuperTux lib became a bit more independend of SupeTux.
Tobias Gläßer [Sat, 24 Jul 2004 11:50:09 +0000 (11:50 +0000)]
SuperTux lib became a bit more independend of SupeTux.

SVN-Revision: 1619

20 years agoHad to change the #includes of dependend headers from "dir/header.h" to "../dir...
Tobias Gläßer [Thu, 22 Jul 2004 19:07:51 +0000 (19:07 +0000)]
Had to change  the #includes of dependend headers from "dir/header.h" to "../dir/header.h", so those 'dependencies' work correctly, if you want to use those headers from $(includedir) so to speak in a 3rd party projects.

SVN-Revision: 1618

20 years agoHeaders should now be correctly handled and get installed in $(includedir)/supertux/ .
Tobias Gläßer [Thu, 22 Jul 2004 19:04:45 +0000 (19:04 +0000)]
Headers should now be correctly handled and get installed in $(includedir)/supertux/ .

SVN-Revision: 1617

20 years agoFixed typo.
Tobias Gläßer [Wed, 21 Jul 2004 19:40:09 +0000 (19:40 +0000)]
Fixed typo.

SVN-Revision: 1612

20 years agoThe SuperTux library features a SuperTux namespace now.
Tobias Gläßer [Wed, 21 Jul 2004 16:51:53 +0000 (16:51 +0000)]
The SuperTux library features a SuperTux namespace now.
+ minor Bugfixes and cleanups

SVN-Revision: 1611

20 years agoIntroduction of SuperTux namespace.
Tobias Gläßer [Wed, 21 Jul 2004 11:56:48 +0000 (11:56 +0000)]
Introduction of SuperTux namespace.
Added comments to Button and ButtonPanel classes.

SVN-Revision: 1610

20 years ago- fixed compile error
Ryan Flegel [Tue, 20 Jul 2004 22:55:50 +0000 (22:55 +0000)]
- fixed compile error

SVN-Revision: 1609

20 years agofixed type :) yeah, the really important commit today! :)
Tobias Gläßer [Tue, 20 Jul 2004 20:33:14 +0000 (20:33 +0000)]
fixed type :) yeah, the really important commit today! :)

SVN-Revision: 1608

20 years agoImproved comments.
Tobias Gläßer [Tue, 20 Jul 2004 20:28:28 +0000 (20:28 +0000)]
Improved comments.

SVN-Revision: 1607

20 years agoAdded comment.
Tobias Gläßer [Tue, 20 Jul 2004 20:24:47 +0000 (20:24 +0000)]
Added comment.

SVN-Revision: 1606

20 years agolittle comments improvements
Tobias Gläßer [Tue, 20 Jul 2004 20:21:16 +0000 (20:21 +0000)]
little comments improvements

SVN-Revision: 1605

20 years agoadded comments
Tobias Gläßer [Tue, 20 Jul 2004 20:18:18 +0000 (20:18 +0000)]
added comments

SVN-Revision: 1604

20 years agoadded comments
Tobias Gläßer [Tue, 20 Jul 2004 20:05:34 +0000 (20:05 +0000)]
added comments

SVN-Revision: 1603

20 years agoadded comments
Tobias Gläßer [Tue, 20 Jul 2004 19:41:29 +0000 (19:41 +0000)]
added comments

SVN-Revision: 1602

20 years agoand here comes the shrinked ;) Makefile.am
Tobias Gläßer [Tue, 20 Jul 2004 18:07:30 +0000 (18:07 +0000)]
and here comes the shrinked ;) Makefile.am

SVN-Revision: 1601

20 years agoone forgotten #include change
Tobias Gläßer [Tue, 20 Jul 2004 18:06:14 +0000 (18:06 +0000)]
one forgotten #include change

SVN-Revision: 1600

20 years agomainly changed #includes to work with the new SuperTux library
Tobias Gläßer [Tue, 20 Jul 2004 18:04:49 +0000 (18:04 +0000)]
mainly changed #includes to work with the new SuperTux library

SVN-Revision: 1599

20 years agoforgot removing it
Tobias Gläßer [Tue, 20 Jul 2004 18:02:58 +0000 (18:02 +0000)]
forgot removing it

SVN-Revision: 1598

20 years agothese two files are needed for libtool support
Tobias Gläßer [Tue, 20 Jul 2004 18:02:00 +0000 (18:02 +0000)]
these two files are needed for libtool support

SVN-Revision: 1597

20 years agoupdate for new SuperTux library
Tobias Gläßer [Tue, 20 Jul 2004 18:00:43 +0000 (18:00 +0000)]
update for new SuperTux library

SVN-Revision: 1596

20 years agomisc stuff goes here. It is at least temporarly needed to realize the SuperTux library.
Tobias Gläßer [Tue, 20 Jul 2004 17:59:37 +0000 (17:59 +0000)]
misc stuff goes here. It is at least temporarly needed to realize the SuperTux library.

SVN-Revision: 1595

20 years agoremoved them in favour of their new live in the SuperTux library
Tobias Gläßer [Tue, 20 Jul 2004 17:58:34 +0000 (17:58 +0000)]
removed them in favour of their new live in the SuperTux library

SVN-Revision: 1594

20 years agoremoved in favor of the new library
Tobias Gläßer [Tue, 20 Jul 2004 17:53:43 +0000 (17:53 +0000)]
removed in favor of the new library

SVN-Revision: 1593

20 years agoGenerated SuperTux libtool library containing more general source, that could prove...
Tobias Gläßer [Tue, 20 Jul 2004 17:51:39 +0000 (17:51 +0000)]
Generated SuperTux libtool library containing more general source, that could prove useful for other applications/games.
Caution: It's not yet SuperTux independed, more work on this will follow, that's just the first step.
The file structure isn't fixed, better ideas will surely find there way in it!

SVN-Revision: 1592

20 years agoNorwegian Nynorsk translation by Karl Ove Hufthammer!
Ricardo Cruz [Tue, 20 Jul 2004 13:18:39 +0000 (13:18 +0000)]
Norwegian Nynorsk translation by Karl Ove Hufthammer!

SVN-Revision: 1591

20 years agoJust changed the name of a worldmap flag.
Ricardo Cruz [Sat, 17 Jul 2004 16:20:33 +0000 (16:20 +0000)]
Just changed the name of a worldmap flag.

SVN-Revision: 1586

20 years agoOptmized code for reading level's name. Instead of loading the all levels, just parse...
Ricardo Cruz [Sat, 17 Jul 2004 13:14:20 +0000 (13:14 +0000)]
Optmized code for reading level's name. Instead of loading the all levels, just parses now the title.
Both worldmap loading and contrib menu generating were optmized.
I couldn't time the worldmap loading speedup, since it was already instantaneously in my machine. But the contrib menu takes less than 1 sec versus the 4 seconds (and a few ms) of the old code.

SVN-Revision: 1585

20 years agoFrench translation by Frederic Rodrigo!
Ricardo Cruz [Fri, 16 Jul 2004 19:39:00 +0000 (19:39 +0000)]
French translation by Frederic Rodrigo!

SVN-Revision: 1584

20 years agoConverted map to use special-tile .
Ricardo Cruz [Fri, 16 Jul 2004 19:24:25 +0000 (19:24 +0000)]
Converted map to use special-tile .

SVN-Revision: 1583

20 years agoAdded music and specified to open CREDITS after this.
Ricardo Cruz [Fri, 16 Jul 2004 19:23:02 +0000 (19:23 +0000)]
Added music and specified to open CREDITS after this.

SVN-Revision: 1582

20 years agoImplemented a new special-tile field that should replaced the depricated level field...
Ricardo Cruz [Fri, 16 Jul 2004 19:22:26 +0000 (19:22 +0000)]
Implemented a new special-tile field that should replaced the depricated level field in world maps.
Also extended display_text_file().

special-tile can have the following flags:
 [integer] x / y - necessary to say where the tile is located
 [string] extro-filename - read the given file *
 [integer] swap-x / swap-y - say coordinates for swapping *
 [string] map-message - show a message in the world map viewer
 [string] goto-world - change the world to the given one *
 [boolean] flip-level - flip vertically the level (of course, only works when there is a level)
 [boolean] exit-game - quit game *
 [string] level - feed a level to this tile

* - if there is a level, open it only if the level is successful

SVN-Revision: 1581

20 years agoRead the first 5 chars, not the all string of LANG.
Ricardo Cruz [Fri, 16 Jul 2004 19:15:00 +0000 (19:15 +0000)]
Read the first 5 chars, not the all string of LANG.

SVN-Revision: 1580

20 years agoRemoved note for the using of UTF-8.
Ricardo Cruz [Fri, 16 Jul 2004 19:14:14 +0000 (19:14 +0000)]
Removed note for the using of UTF-8.
Lisp parser has problems with it.

SVN-Revision: 1579

20 years agoOoops, looks like i removed a level entry...
Ricardo Cruz [Thu, 15 Jul 2004 19:57:53 +0000 (19:57 +0000)]
Ooops, looks like i removed a level entry...

SVN-Revision: 1578

20 years agoMade a note for translators to use charset UTF-8.
Ricardo Cruz [Thu, 15 Jul 2004 19:50:54 +0000 (19:50 +0000)]
Made a note for translators to use charset UTF-8.

SVN-Revision: 1577

20 years agoSpanish translation by DemoNight!
Ricardo Cruz [Thu, 15 Jul 2004 19:47:33 +0000 (19:47 +0000)]
Spanish translation by DemoNight!

SVN-Revision: 1576

20 years agoAll 26 levels should now be ready for 800x600.
Marek Moeckel [Thu, 15 Jul 2004 16:30:47 +0000 (16:30 +0000)]
All 26 levels should now be ready for 800x600.

SVN-Revision: 1575

20 years agoMerged the two worldmap and level subset contrib menu.
Ricardo Cruz [Wed, 14 Jul 2004 09:46:19 +0000 (09:46 +0000)]
Merged the two worldmap and level subset contrib menu.
In the future, it would be a good idea to make level subset dealing with both levels and worldmaps.

SVN-Revision: 1573

20 years agoFixed gcc3.4.x compilation.
Tobias Gläßer [Tue, 13 Jul 2004 19:11:04 +0000 (19:11 +0000)]
Fixed gcc3.4.x compilation.

SVN-Revision: 1572

20 years agoAdded poEdit to po editors. Thanks to Karl Ove Hufthammer.
Ricardo Cruz [Tue, 13 Jul 2004 10:59:16 +0000 (10:59 +0000)]
Added poEdit to po editors. Thanks to Karl Ove Hufthammer.

SVN-Revision: 1571

20 years agoFixed some design bugs in some of the contributed bonus levels
Marek Moeckel [Tue, 13 Jul 2004 07:47:30 +0000 (07:47 +0000)]
Fixed some design bugs in some of the contributed bonus levels

SVN-Revision: 1570

20 years agoOoops, forgot to change something after testing.
Ricardo Cruz [Mon, 12 Jul 2004 22:04:26 +0000 (22:04 +0000)]
Ooops, forgot to change something after testing.

SVN-Revision: 1569

20 years agoDamn strlen() crashes when NULL is passed. Fixed.
Ricardo Cruz [Mon, 12 Jul 2004 22:03:18 +0000 (22:03 +0000)]
Damn strlen() crashes when NULL is passed. Fixed.

SVN-Revision: 1568

20 years agoAdded place idea to TODO.
Ricardo Cruz [Sat, 10 Jul 2004 21:01:09 +0000 (21:01 +0000)]
Added place idea to TODO.

SVN-Revision: 1566

20 years agoReplaced USE_ALPHA/IGNORE_ALPHA by booleans.
Ricardo Cruz [Sat, 10 Jul 2004 14:22:59 +0000 (14:22 +0000)]
Replaced USE_ALPHA/IGNORE_ALPHA by booleans.
Should have been done long ago.

SVN-Revision: 1565

20 years agoAdded background image.
Ricardo Cruz [Sat, 10 Jul 2004 14:07:33 +0000 (14:07 +0000)]
Added background image.

SVN-Revision: 1564

20 years agodisplay_text_file() now reads the background image from the file.
Ricardo Cruz [Sat, 10 Jul 2004 14:07:04 +0000 (14:07 +0000)]
display_text_file() now reads the background image from the file.

SVN-Revision: 1563

20 years agoFixed some bugs I just created in the worldmaps :)
Marek Moeckel [Sat, 10 Jul 2004 11:09:43 +0000 (11:09 +0000)]
Fixed some bugs I just created in the worldmaps :)

SVN-Revision: 1562

20 years agoMade Tux' starting position on the world map settable in the stwm file
Marek Moeckel [Sat, 10 Jul 2004 10:59:00 +0000 (10:59 +0000)]
Made Tux' starting position on the world map settable in the stwm file
(In Worldmap class, Tux is initialized at the end of load_worldmap, I hope this doesn't cause trouble elsewhere)
Updated levels and worldmap accordingly

SVN-Revision: 1561

20 years agoUpdated and commented the TODO.
Ricardo Cruz [Fri, 9 Jul 2004 23:26:48 +0000 (23:26 +0000)]
Updated and commented the TODO.

SVN-Revision: 1560

20 years agoFixed crash when LANG system's variable is not defined.
Ricardo Cruz [Fri, 9 Jul 2004 22:16:50 +0000 (22:16 +0000)]
Fixed crash when LANG system's variable is not defined.

SVN-Revision: 1559

20 years agoadded new music, a second forest tune
Marek Moeckel [Fri, 9 Jul 2004 18:53:11 +0000 (18:53 +0000)]
added new music, a second forest tune
sounds very similar to the first one, because i used the same instruments.
the tune might need some more work, so i guess i'll change that some time
happy listening :)

SVN-Revision: 1558

20 years agoAdded title.
Ricardo Cruz [Fri, 9 Jul 2004 18:18:45 +0000 (18:18 +0000)]
Added title.

SVN-Revision: 1557

20 years agoShows map's title, not filename, in menu.
Ricardo Cruz [Fri, 9 Jul 2004 18:18:11 +0000 (18:18 +0000)]
Shows map's title, not filename, in menu.

SVN-Revision: 1556

20 years agoAdded worldmap choosing from command-line and menu.
Ricardo Cruz [Fri, 9 Jul 2004 14:43:44 +0000 (14:43 +0000)]
Added worldmap choosing from command-line and menu.
Contributed maps must be in data/levels/worldmap, included the ones run from the command-line.
It is possible to feed maps with absolute path, but it is just a hack that converts them to relative paths to the worldmap folder. I did this, in order to make it possible for someone to add a mime-type for Konqueror as 'supertux --worldmap' and press a .stwt file from worldmap dir.

About the Contrib Worlds menu, we might consider just making one Contrib menu, and make levels from different folders to create dynamically a map.
Till that day, let's keep this menu.

SVN-Revision: 1555

20 years agoFixed an "invalid tile" bug in one of the bonus levels
Marek Moeckel [Fri, 9 Jul 2004 12:04:41 +0000 (12:04 +0000)]
Fixed an "invalid tile" bug in one of the bonus levels

SVN-Revision: 1554

20 years agoOoops, looks like I removed a line.
Ricardo Cruz [Fri, 9 Jul 2004 11:07:41 +0000 (11:07 +0000)]
Ooops, looks like I removed a line.

SVN-Revision: 1553

20 years agoUpdated LEVELDESIGN to reflect the new level format.
Ricardo Cruz [Fri, 9 Jul 2004 10:58:41 +0000 (10:58 +0000)]
Updated LEVELDESIGN to reflect the new level format.

SVN-Revision: 1552

20 years agoResized extro.jpg to 800x600, otherwise end screen has problems.
Ricardo Cruz [Fri, 9 Jul 2004 10:40:21 +0000 (10:40 +0000)]
Resized extro.jpg to 800x600, otherwise end screen has problems.
Kept the other as extro640.jpg.

SVN-Revision: 1551

20 years agoFixed aborting behavior.
Ricardo Cruz [Fri, 9 Jul 2004 10:38:58 +0000 (10:38 +0000)]
Fixed aborting behavior.

SVN-Revision: 1550

20 years agoAdded a couple of lines to TRANSLATORS.
Ricardo Cruz [Thu, 8 Jul 2004 15:05:01 +0000 (15:05 +0000)]
Added a couple of lines to TRANSLATORS.

SVN-Revision: 1549

20 years agoTranlated test subset.
Ricardo Cruz [Thu, 8 Jul 2004 11:41:03 +0000 (11:41 +0000)]
Tranlated test subset.

SVN-Revision: 1548

20 years agoLet title and description of subsets to be translatable.
Ricardo Cruz [Thu, 8 Jul 2004 11:40:40 +0000 (11:40 +0000)]
Let title and description of subsets to be translatable.

By the way, is description field really needed? Why not just get rid of it?

SVN-Revision: 1547

20 years agoChanged Marek's translations de_DE to de.
Ricardo Cruz [Thu, 8 Jul 2004 10:31:27 +0000 (10:31 +0000)]
Changed Marek's translations de_DE to de.
German is country independent, right?

SVN-Revision: 1546

20 years agoJust down-cased a word.
Ricardo Cruz [Thu, 8 Jul 2004 10:11:59 +0000 (10:11 +0000)]
Just down-cased a word.

SVN-Revision: 1545

20 years agoI18N:
Ricardo Cruz [Thu, 8 Jul 2004 10:11:08 +0000 (10:11 +0000)]
I18N:
- Also check without country code. ie. Germany is the same for German and Austria.
- Only check for translation when the code asks for. (translatable flag)

SVN-Revision: 1544

20 years agoTranslated level titles to German
Marek Moeckel [Thu, 8 Jul 2004 08:35:14 +0000 (08:35 +0000)]
Translated level titles to German
Some more work on the bonus castle

SVN-Revision: 1543

20 years agoTranslated Icyland world name to Portuguese (European).
Ricardo Cruz [Wed, 7 Jul 2004 23:45:47 +0000 (23:45 +0000)]
Translated Icyland world name to Portuguese (European).

SVN-Revision: 1542

20 years agoTranslated level's titles to Portuguese (European).
Ricardo Cruz [Wed, 7 Jul 2004 23:44:54 +0000 (23:44 +0000)]
Translated level's titles to Portuguese (European).

SVN-Revision: 1541

20 years agoJust translated level's title of the first 4 levels.
Ricardo Cruz [Wed, 7 Jul 2004 22:48:48 +0000 (22:48 +0000)]
Just translated level's title of the first 4 levels.

SVN-Revision: 1540

20 years agoFormatted files in the right order.
Ricardo Cruz [Wed, 7 Jul 2004 22:47:52 +0000 (22:47 +0000)]
Formatted files in the right order.
Included European Portuguese translation.

SVN-Revision: 1539

20 years agoFixed the translating of the shown text files.
Ricardo Cruz [Wed, 7 Jul 2004 22:47:06 +0000 (22:47 +0000)]
Fixed the translating of the shown text files.

SVN-Revision: 1538

20 years agoAdded support for data files internationalization by a simple 3 lines code in lisprea...
Ricardo Cruz [Wed, 7 Jul 2004 19:19:19 +0000 (19:19 +0000)]
Added support for data files internationalization by a simple 3 lines code in lispreader's read_string().
To translate a level's title to European Portuguese, I would look at:
(title "Hello World!")
and add:
(title-pt_PT "Ol� Mundo!")

Also, made display_text_file() using lispreader (to make it i18n too). Unfortunately, there is a crash of lisp_reader in my system (not related), so I wasn't able to give it a try.
data/*.txt files also need updating to work. Else, it should just skip it, without crashing.

SVN-Revision: 1537

20 years agoChanged --debug-mode for --debug.
Ricardo Cruz [Wed, 7 Jul 2004 17:56:47 +0000 (17:56 +0000)]
Changed --debug-mode for --debug.

SVN-Revision: 1536