CMenuMatch.cpp File Reference

The menu where you can set match options. More...

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

Include dependency graph for CMenuMatch.cpp:


Defines

#define MENUMATCH_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   162
 Initial position of the text "BATTLE".
#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 CURSOR_HAND_SPACE_X   -25
 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   "MATCH"
 String of the menu's title centered on the X axis.
#define BATTLE_STRING   "BATTLE"
 String of a menu item centered on the X axis.
#define TIMESTART_STRING   "START"
 String of a menu item centered on the X axis.
#define TIMEUP_STRING   "HURRY"
 String of a menu item centered on the X axis.
#define VALUE_TEXT_SPACE_X   95
 Horizontal space between the menu item name position and its value position.

Detailed Description

The menu where you can set match options.


Define Documentation

#define BATTLE_STRING   "BATTLE"

String of a menu item centered on the X axis.

#define CURSOR_HAND_PRIORITY   0

Priority to use when drawing the menu's bomber hand sprites.

#define CURSOR_HAND_SPACE_X   -25

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   162

Initial position of the text "BATTLE".

#define INITIAL_TEXT_POSITION_Y   (77+90)

#define MENUMATCH_SPRITELAYER   1

Sprite layer where to draw sprites.

#define TEXT_SPACE_Y   21

Y Space in pixels between each "BOMBER" text Y position.

#define TIMESTART_STRING   "START"

String of a menu item centered on the X axis.

#define TIMEUP_STRING   "HURRY"

String of a menu item centered on the X axis.

#define TITLE_STRING   "MATCH"

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.

#define VALUE_TEXT_SPACE_X   95

Horizontal space between the menu item name position and its value position.


Generated on Sat Oct 18 12:26:39 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo