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();
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? */
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"
};