|
|
@ -1,4 +1,4 @@
|
|
|
|
/* $Id: help.c,v 1.4 2004/02/07 15:19:54 stpohle Exp $
|
|
|
|
/* $Id: help.c,v 1.5 2004/02/07 16:34:38 stpohle Exp $
|
|
|
|
* Display complex help text and information screen about the game
|
|
|
|
* Display complex help text and information screen about the game
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
@ -11,6 +11,8 @@ enum _help_page {
|
|
|
|
HP_powerup1,
|
|
|
|
HP_powerup1,
|
|
|
|
HP_powerup2,
|
|
|
|
HP_powerup2,
|
|
|
|
HP_keyboard0,
|
|
|
|
HP_keyboard0,
|
|
|
|
|
|
|
|
HP_credit0,
|
|
|
|
|
|
|
|
HP_credit1,
|
|
|
|
HP_max
|
|
|
|
HP_max
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -151,11 +153,14 @@ void help () {
|
|
|
|
sprintf (title, "Powerups (%d/%d)", page + 1, HP_max);
|
|
|
|
sprintf (title, "Powerups (%d/%d)", page + 1, HP_max);
|
|
|
|
menu_new (title, 500, 400);
|
|
|
|
menu_new (title, 500, 400);
|
|
|
|
|
|
|
|
|
|
|
|
y = 50;
|
|
|
|
y = 45;
|
|
|
|
|
|
|
|
|
|
|
|
rect.x = rect.y = 0;
|
|
|
|
rect.x = rect.y = 0;
|
|
|
|
rect.w = gfx.block.x;
|
|
|
|
rect.w = gfx.block.x;
|
|
|
|
rect.h = gfx.block.y;
|
|
|
|
rect.h = gfx.block.y;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_label ("Death Item", -1, y, 2, COLOR_yellow);
|
|
|
|
|
|
|
|
y += (5 + font[2].size.y);
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_text ("help", 5, y, 53, 10, COLOR_brown,
|
|
|
|
menu_create_text ("help", 5, y, 53, 10, COLOR_brown,
|
|
|
|
"In the game you will find another type of item to collect. "
|
|
|
|
"In the game you will find another type of item to collect. "
|
|
|
@ -163,7 +168,7 @@ void help () {
|
|
|
|
"get a random illness. This illness will hold for %dseconds. "
|
|
|
|
"get a random illness. This illness will hold for %dseconds. "
|
|
|
|
"If you have contact to another player the other player will "
|
|
|
|
"If you have contact to another player the other player will "
|
|
|
|
"get all the illnesses you have too.", ILL_TIMEOUT);
|
|
|
|
"get all the illnesses you have too.", ILL_TIMEOUT);
|
|
|
|
y += 100;
|
|
|
|
y += 110;
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_image ("pwback", 12, y+8, 0, gfx.powerup[1].image, &rect);
|
|
|
|
menu_create_image ("pwback", 12, y+8, 0, gfx.powerup[1].image, &rect);
|
|
|
|
menu_create_image ("pwdeath", 12, y+8, 1, gfx.field[FT_death].image, &rect);
|
|
|
|
menu_create_image ("pwdeath", 12, y+8, 1, gfx.field[FT_death].image, &rect);
|
|
|
@ -212,6 +217,70 @@ void help () {
|
|
|
|
" are selected. (only Server)\n"
|
|
|
|
" are selected. (only Server)\n"
|
|
|
|
"ESC - Exit Game\n");
|
|
|
|
"ESC - Exit Game\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (page == HP_credit0) {
|
|
|
|
|
|
|
|
sprintf (title, "About BomberClone (%d/%d)", page + 1, HP_max);
|
|
|
|
|
|
|
|
menu_new (title, 500, 400);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rect.x = 1*gfx.players[4].ani.w;
|
|
|
|
|
|
|
|
rect.y = 5*gfx.players[4].ani.h;
|
|
|
|
|
|
|
|
rect.h = gfx.players[4].ani.h;
|
|
|
|
|
|
|
|
rect.w = gfx.players[4].ani.w;
|
|
|
|
|
|
|
|
menu_create_image ("img", 15, 60, 0, gfx.players[4].ani.image, &rect);
|
|
|
|
|
|
|
|
menu_create_text ("help", 75, 50, 45, 10, COLOR_brown,
|
|
|
|
|
|
|
|
"If you have any problems or questions with the game you can send your questions "
|
|
|
|
|
|
|
|
"to the mailinglist or directly to me. Bugfixes should be send to the SourceForge "
|
|
|
|
|
|
|
|
"Projects page about BomberClone.");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_label ("WWW",-1, 140, 2, COLOR_yellow);
|
|
|
|
|
|
|
|
menu_create_text ("help", -1, 165, 53, 10, COLOR_brown, "http://www.bomberclone.de");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_label ("EMail",-1, 185, 2, COLOR_yellow);
|
|
|
|
|
|
|
|
menu_create_text ("help", -1, 210, 53, 10, COLOR_brown, "steffen@bomberclone.de");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
menu_create_label ("Project Page",-1, 230, 2, COLOR_yellow);
|
|
|
|
|
|
|
|
menu_create_text ("help", -1, 255, 53, 10, COLOR_brown, "http://sourceforge.net/projects/bomberclone");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else if (page == HP_credit1) {
|
|
|
|
|
|
|
|
sprintf (title, "People (%d/%d)", page + 1, HP_max);
|
|
|
|
|
|
|
|
menu_new (title, 500, 400);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rect.x = 3*gfx.players[6].ani.w;
|
|
|
|
|
|
|
|
rect.y = 10*gfx.players[6].ani.h;
|
|
|
|
|
|
|
|
rect.h = gfx.players[6].ani.h;
|
|
|
|
|
|
|
|
rect.w = gfx.players[6].ani.w;
|
|
|
|
|
|
|
|
menu_create_image ("img", 250, 100, 0, gfx.players[6].ani.image, &rect);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
y = 50;
|
|
|
|
|
|
|
|
menu_create_label ("Coding:", 5, y, 2, COLOR_yellow);
|
|
|
|
|
|
|
|
y += font[2].size.y;
|
|
|
|
|
|
|
|
menu_create_text ("help", 50, y, 53, 10, COLOR_brown,
|
|
|
|
|
|
|
|
" Steffen Pohle\n"
|
|
|
|
|
|
|
|
"Patrick Wilczek\n");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
y = 100;
|
|
|
|
|
|
|
|
menu_create_label ("GFX:", 425, y, 2, COLOR_yellow);
|
|
|
|
|
|
|
|
y += font[2].size.y;
|
|
|
|
|
|
|
|
menu_create_text ("help", 325, y, 53, 10, COLOR_brown,
|
|
|
|
|
|
|
|
"TekkRat\n"
|
|
|
|
|
|
|
|
"Martijn de Boer\n"
|
|
|
|
|
|
|
|
"Steffen Pohle\n"
|
|
|
|
|
|
|
|
"Patrick Wilczek\n");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
y = 150;
|
|
|
|
|
|
|
|
menu_create_label ("Sound/Music:", 5, y, 2, COLOR_yellow);
|
|
|
|
|
|
|
|
y += font[2].size.y;
|
|
|
|
|
|
|
|
menu_create_text ("help", 50, y, 53, 10, COLOR_brown,
|
|
|
|
|
|
|
|
"Henrik_Enqvist\n"
|
|
|
|
|
|
|
|
"Martijn de Boer\n");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
y = 250;
|
|
|
|
|
|
|
|
menu_create_label ("Thanks To:", -1, y, 2, COLOR_yellow);
|
|
|
|
|
|
|
|
y += font[2].size.y;
|
|
|
|
|
|
|
|
menu_create_text ("help", -1, y, 53, 10, COLOR_brown,
|
|
|
|
|
|
|
|
"kitutou(coding/fixing) thaphool(tilesets) ob1kenewb(coding/fixing) "
|
|
|
|
|
|
|
|
"TeKkraT(website,gfx) caccola(tilesets) Digital_D(music) Psycho(music)");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
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);
|
|
|
|