|
|
@ -1,4 +1,4 @@
|
|
|
|
/* $Id: help.c,v 1.3 2004/02/07 15:03:25 stpohle Exp $
|
|
|
|
/* $Id: help.c,v 1.4 2004/02/07 15:19:54 stpohle Exp $
|
|
|
|
* Display complex help text and information screen about the game
|
|
|
|
* Display complex help text and information screen about the game
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
@ -11,7 +11,6 @@ enum _help_page {
|
|
|
|
HP_powerup1,
|
|
|
|
HP_powerup1,
|
|
|
|
HP_powerup2,
|
|
|
|
HP_powerup2,
|
|
|
|
HP_keyboard0,
|
|
|
|
HP_keyboard0,
|
|
|
|
HP_credits0,
|
|
|
|
|
|
|
|
HP_max
|
|
|
|
HP_max
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -39,7 +38,13 @@ void help () {
|
|
|
|
"running faster than your opponent and you have many bombs, you can catch "
|
|
|
|
"running faster than your opponent and you have many bombs, you can catch "
|
|
|
|
"him within lots of bombs and he has no chance to escape.");
|
|
|
|
"him within lots of bombs and he has no chance to escape.");
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_text ("help", 5, 255, 53, 10, COLOR_brown,
|
|
|
|
rect.x = 0;
|
|
|
|
|
|
|
|
rect.y = 15*gfx.players[0].ani.h;
|
|
|
|
|
|
|
|
rect.w = gfx.players[0].ani.w;
|
|
|
|
|
|
|
|
rect.h = gfx.players[0].ani.h;
|
|
|
|
|
|
|
|
menu_create_image ("img", 450, 255, 0, gfx.players[0].ani.image, &rect);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_text ("help", 5, 255, 45, 10, COLOR_brown,
|
|
|
|
"You will get points for every player you have killed. "
|
|
|
|
"You will get points for every player you have killed. "
|
|
|
|
"If you win the game, you can earn additional points "
|
|
|
|
"If you win the game, you can earn additional points "
|
|
|
|
"depending on how many players played the game. ");
|
|
|
|
"depending on how many players played the game. ");
|
|
|
@ -61,7 +66,7 @@ void help () {
|
|
|
|
"and the special powerups which will hold only for a certain time.");
|
|
|
|
"and the special powerups which will hold only for a certain time.");
|
|
|
|
y += 75;
|
|
|
|
y += 75;
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_label ("Permanent Powerups", -1, y, 2, COLOR_brown);
|
|
|
|
menu_create_label ("Permanent Powerups", -1, y, 2, COLOR_yellow);
|
|
|
|
y += (5 + font[2].size.y);
|
|
|
|
y += (5 + font[2].size.y);
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_image ("pwback", 5, y, 0, gfx.powerup[0].image, &rect);
|
|
|
|
menu_create_image ("pwback", 5, y, 0, gfx.powerup[0].image, &rect);
|
|
|
@ -99,7 +104,7 @@ void help () {
|
|
|
|
rect.w = gfx.block.x;
|
|
|
|
rect.w = gfx.block.x;
|
|
|
|
rect.h = gfx.block.y;
|
|
|
|
rect.h = gfx.block.y;
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_label ("Special Powerups", -1, y, 2, COLOR_brown);
|
|
|
|
menu_create_label ("Special Powerups", -1, y, 2, COLOR_yellow);
|
|
|
|
y += (5 + font[2].size.y);
|
|
|
|
y += (5 + font[2].size.y);
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_image ("pwback", 5, y, 0, gfx.powerup[2].image, &rect);
|
|
|
|
menu_create_image ("pwback", 5, y, 0, gfx.powerup[2].image, &rect);
|
|
|
@ -175,13 +180,15 @@ void help () {
|
|
|
|
|
|
|
|
|
|
|
|
y = 50;
|
|
|
|
y = 50;
|
|
|
|
|
|
|
|
|
|
|
|
rect.x = rect.y = 0;
|
|
|
|
menu_create_label ("During a Game", -1, y, 2, COLOR_yellow);
|
|
|
|
rect.w = gfx.block.x;
|
|
|
|
|
|
|
|
rect.h = gfx.block.y;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_label ("During a Game", -1, y, 2, COLOR_brown);
|
|
|
|
|
|
|
|
y += font[2].size.y;
|
|
|
|
y += font[2].size.y;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rect.x = 3*gfx.players[7].ani.w;
|
|
|
|
|
|
|
|
rect.y = 10*gfx.players[7].ani.h;
|
|
|
|
|
|
|
|
rect.h = gfx.players[7].ani.h;
|
|
|
|
|
|
|
|
rect.w = gfx.players[7].ani.w;
|
|
|
|
|
|
|
|
menu_create_image ("img", 450, 100, 0, gfx.players[7].ani.image, &rect);
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_text ("help", 5, y, 53, 10, COLOR_brown,
|
|
|
|
menu_create_text ("help", 5, y, 53, 10, COLOR_brown,
|
|
|
|
"Arrow Keys - Moving of the Player\n"
|
|
|
|
"Arrow Keys - Moving of the Player\n"
|
|
|
|
"STRG/CTRL - Dropping bombs\n"
|
|
|
|
"STRG/CTRL - Dropping bombs\n"
|
|
|
@ -192,7 +199,7 @@ void help () {
|
|
|
|
"ESC - Exit Game\n");
|
|
|
|
"ESC - Exit Game\n");
|
|
|
|
y += 7*font[0].size.y;
|
|
|
|
y += 7*font[0].size.y;
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_label ("Player Selection", -1, y, 2, COLOR_brown);
|
|
|
|
menu_create_label ("Player Selection", -1, y, 2, COLOR_yellow);
|
|
|
|
y += font[2].size.y;
|
|
|
|
y += font[2].size.y;
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_text ("help", 5, y, 53, 10, COLOR_brown,
|
|
|
|
menu_create_text ("help", 5, y, 53, 10, COLOR_brown,
|
|
|
@ -205,28 +212,6 @@ void help () {
|
|
|
|
" are selected. (only Server)\n"
|
|
|
|
" are selected. (only Server)\n"
|
|
|
|
"ESC - Exit Game\n");
|
|
|
|
"ESC - Exit Game\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (page == HP_credits0) {
|
|
|
|
|
|
|
|
sprintf (title, "Credits (%d/%d)", page + 1, HP_max);
|
|
|
|
|
|
|
|
menu_new (title, 500, 400);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
y = 50;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rect.x = rect.y = 0;
|
|
|
|
|
|
|
|
rect.w = gfx.block.x;
|
|
|
|
|
|
|
|
rect.h = gfx.block.y;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (page == HP_keyboard0) {
|
|
|
|
|
|
|
|
sprintf (title, "Keyboard (%d/%d)", page + 1, HP_max);
|
|
|
|
|
|
|
|
menu_new (title, 500, 400);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
y = 50;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rect.x = rect.y = 0;
|
|
|
|
|
|
|
|
rect.w = gfx.block.x;
|
|
|
|
|
|
|
|
rect.h = gfx.block.y;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else break;
|
|
|
|
else break;
|
|
|
|
|
|
|
|
|
|
|
|
if (page > 0) menu_create_button ("Previous Page", 20, 370, 150, 0);
|
|
|
|
if (page > 0) menu_create_button ("Previous Page", 20, 370, 150, 0);
|
|
|
|