#include "STDAFX.H"
#include "CMenuBomber.h"
#include "CDisplay.h"
#include "CInput.h"
#include "COptions.h"
#include "CFont.h"
#include "CMenu.h"
#include "CSound.h"

Defines | |
| #define | MENUBOMBER_SPRITELAYER 1 |
| Sprite layer where to draw sprites. | |
| #define | TITLE_TEXT_POSITION_Y 90 |
| Position Y of the title text that is centered on the X axis. | |
| #define | INITIAL_TEXT_POSITION_X 191 |
| Initial position of the text "BOMBER". | |
| #define | INITIAL_TEXT_POSITION_Y (77+90) |
| #define | TYPE_TEXT_SPACE_X 75 |
| X Space in pixels between the "BOMBER" text X position and the type's text X position. | |
| #define | TEXT_SPACE_Y 21 |
| Y Space in pixels between each "BOMBER" text Y position. | |
| #define | BOMBER_HEAD_SPACE_X -29 |
| Space in pixels between the "BOMBER" text position. | |
| #define | BOMBER_HEAD_SPACE_Y -7 |
| and the corresponding bomber head | |
| #define | BOMBER_HEAD_SPRITE_TABLE 30 |
| Sprite table where the menu's bomber head sprites are contained. | |
| #define | BOMBER_HEAD_PRIORITY 0 |
| Priority to use when drawing the menu's bomber head sprites. | |
| #define | CURSOR_HAND_SPACE_X -54 |
| Space in pixels between the "BOMBER" text position. | |
| #define | CURSOR_HAND_SPACE_Y -2 |
| and the cursor hand pointing to the corresponding bomber head | |
| #define | CURSOR_HAND_SPRITE_TABLE 32 |
| Sprite table where the menu's cursor hand sprites are contained. | |
| #define | CURSOR_HAND_SPRITE 0 |
| Sprite number of the cursor hand in the sprite table. | |
| #define | CURSOR_HAND_PRIORITY 0 |
| Priority to use when drawing the menu's bomber hand sprites. | |
| #define | TITLE_STRING "BOMBER TYPE" |
| String of the menu's title centered on the X axis. | |
| #define | BOMBER_STRING "BOMBER" |
| String of the text between the bomber head and the bomber type text. | |
| #define | BOMBERTYPE_OFF_STRING "OFF" |
| String for the OFF bomber type. | |
| #define | BOMBERTYPE_MAN_STRING "MAN" |
| String for the MAN bomber type. | |
| #define | BOMBERTYPE_COM_STRING "COM" |
| String for the COM bomber type. | |
| #define | BLINKING_TIME 0.100f |
| Time (in seconds) the bomber head has to spend blinking. | |
| #define | NOT_BLINKING_MINIMUM_TIME 3.0f |
| Minimum time (in seconds) the bomber head has to spend without blinking. | |
| #define | NOT_BLINKING_MAXIMUM_ADDITIONAL_TIME 5000 |
| Maximum additional time (Caution : IN MILLISECONDS). | |
| #define BLINKING_TIME 0.100f |
Time (in seconds) the bomber head has to spend blinking.
| #define BOMBER_HEAD_PRIORITY 0 |
Priority to use when drawing the menu's bomber head sprites.
| #define BOMBER_HEAD_SPACE_X -29 |
Space in pixels between the "BOMBER" text position.
| #define BOMBER_HEAD_SPACE_Y -7 |
and the corresponding bomber head
| #define BOMBER_HEAD_SPRITE_TABLE 30 |
Sprite table where the menu's bomber head sprites are contained.
| #define BOMBER_STRING "BOMBER" |
String of the text between the bomber head and the bomber type text.
| #define BOMBERTYPE_COM_STRING "COM" |
String for the COM bomber type.
| #define BOMBERTYPE_MAN_STRING "MAN" |
String for the MAN bomber type.
| #define BOMBERTYPE_OFF_STRING "OFF" |
String for the OFF bomber type.
| #define CURSOR_HAND_PRIORITY 0 |
Priority to use when drawing the menu's bomber hand sprites.
| #define CURSOR_HAND_SPACE_X -54 |
Space in pixels between the "BOMBER" text position.
| #define CURSOR_HAND_SPACE_Y -2 |
and the cursor hand pointing to the corresponding bomber head
| #define CURSOR_HAND_SPRITE 0 |
Sprite number of the cursor hand in the sprite table.
| #define CURSOR_HAND_SPRITE_TABLE 32 |
Sprite table where the menu's cursor hand sprites are contained.
| #define INITIAL_TEXT_POSITION_X 191 |
Initial position of the text "BOMBER".
| #define INITIAL_TEXT_POSITION_Y (77+90) |
| #define MENUBOMBER_SPRITELAYER 1 |
Sprite layer where to draw sprites.
| #define NOT_BLINKING_MAXIMUM_ADDITIONAL_TIME 5000 |
Maximum additional time (Caution : IN MILLISECONDS).
| #define NOT_BLINKING_MINIMUM_TIME 3.0f |
Minimum time (in seconds) the bomber head has to spend without blinking.
| #define TEXT_SPACE_Y 21 |
Y Space in pixels between each "BOMBER" text Y position.
| #define TITLE_STRING "BOMBER TYPE" |
String of the menu's title centered on the X axis.
| #define TITLE_TEXT_POSITION_Y 90 |
Position Y of the title text that is centered on the X axis.
| #define TYPE_TEXT_SPACE_X 75 |
X Space in pixels between the "BOMBER" text X position and the type's text X position.
1.5.5