From 9aa4d9096147868db849ea8607956b396fee08ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Gl=C3=A4=C3=9Fer?= Date: Mon, 15 Mar 2004 02:51:41 +0000 Subject: [PATCH] new leveleditor info-text by Christopher A. Webber SVN-Revision: 233 --- src/gameloop.c | 30 +----------------------------- src/leveleditor.c | 38 ++++++++++++++++++++++++-------------- 2 files changed, 25 insertions(+), 43 deletions(-) diff --git a/src/gameloop.c b/src/gameloop.c index ec0851933..d1de9eeb3 100644 --- a/src/gameloop.c +++ b/src/gameloop.c @@ -732,7 +732,7 @@ int gameloop(char * subset, int levelnb, int mode) continue; } - /* Set the time the last update and the time of the current update */ + /* Set the time of the last update and the time of the current update */ last_update_time = update_time; update_time = st_get_ticks(); @@ -1390,34 +1390,6 @@ int issolid(float x, float y) return NO; } -/* -int issolid(float x, float y) -{ - if (isbrick(x, y) || - isbrick(x + 31, y) || - isice(x, y) || - isice(x + 31, y) || - (shape(x, y) == '[' || - shape(x + 31, y) == '[') || - (shape(x, y) == '=' || - shape(x + 31, y) == '=') || - (shape(x, y) == ']' || - shape(x + 31, y) == ']') || - (shape(x, y) == 'A' || - shape(x + 31, y) == 'A') || - (shape(x, y) == 'B' || - shape(x + 31, y) == 'B') || - (shape(x, y) == '!' || - shape(x + 31, y) == '!') || - (shape(x, y) == 'a' || - shape(x + 31, y) == 'a')) - { - return YES; - } - - return NO; -}*/ - /* Is it a brick? */ diff --git a/src/leveleditor.c b/src/leveleditor.c index 5c8a78d83..1882e6814 100644 --- a/src/leveleditor.c +++ b/src/leveleditor.c @@ -1458,22 +1458,32 @@ void le_showhelp() int i, done; char *text[] = { " - This is SuperTux's built-in level editor -", - "The level editor was made to be light, as well as, easy from", - "the start, so probabily i am just wasting my English ,-)", + "It has been designed to be light and easy to use from the start.", "", - "At your right, you have the button bar, that allows you", - "to select tiles, both background and foregrounds, as", - "well as enemies. A-Z keys can be used as shortcuts.", - "The button bar can be used also to do level actions,", - "just as changing, save, setup and test the level. It", - "also allows you to choose between two selection cursors.", - "Scrolling the level is possible by pointing at the arrows", - "buttons or by using the right-mouse button.", - "Use the Esc key to go to the menu, in order to", - "manage subsets or just quit the level editor.", + "When you first load the level editor you are given a menu where you", + "can load level subsets, create a new level subset, edit the current", + "subset's settings, or simply quit the editor. You can access this menu", + "from the level editor at any time by pressing the escape key.", "", - "Have fun with it and don't forget to send your levels", - "to us (using the mailing list) %-)", + "To your right is your button bar. The center of this contains many", + "tiles you can use to make your level. To select a tile, click on it", + "with your left mouse button; your selection will be shown in the", + "bottom right corner of the button box. Click anywhere on your level", + "with the left mouse button to place that tile down. If you right click", + "a tile in the button bar, you can find out what its keyboard shortcut", + "is. The three buttons FGD, BGD and EMY let you pick from foreground,", + "background, and enemy tiles. The eraser lets you remove tiles.", + "The left and right arrow keys scroll back and forth through your level.", + "The button with the wrench and screwdriver, lets you change the", + "settings of your level, including how long it is or what music it will", + "play. When you are ready to give your level a test, click on the little", + "running Tux. If you like the changes you have made to your level,", + "press the red save key to keep them.", + "To change which level in your subset you are editing, press the white", + "up and down arrow keys at the top of the button box.", + "", + "Have fun making levels! If you make some good ones, send them to us on", + "the SuperTux mailing list!", "- SuperTux team" }; -- 2.11.0