CDrawGame.cpp File Reference

Draw game - no player won. More...

#include "STDAFX.H"
#include "CDrawGame.h"
#include "CDisplay.h"
#include "CInput.h"
#include "CGame.h"
#include "CScores.h"

Include dependency graph for CDrawGame.cpp:


Defines

#define DRAWGAME_TITLE_DURATION   6.0f
 Duration (in seconds) of the draw game screen (with the big title).
#define DRAWGAME_BLACKSCREEN_DURATION   0.750f
 Duration (in seconds) of the two black screens.
#define DRAWGAME_MINIMUM_DURATION   3.0f
 Minimum duration (in seconds) of the drawgame screen.
#define DRAWGAME_DISPLAY_ORIGIN_X   0
 Display origin of the draw game screen.
#define DRAWGAME_DISPLAY_ORIGIN_Y   0
#define DRAWGAME_MAIN_POSITION_X   0
 Position of the main sprite from draw game screen origin.
#define DRAWGAME_MAIN_POSITION_Y   0
#define DRAWGAME_FLAG_POSITION_X   250
 Position where to draw the animated flag.
#define DRAWGAME_FLAG_POSITION_Y   178
#define DRAWGAME_BIGFUME_POSITION_X   310
 Position of the big fume.
#define DRAWGAME_BIGFUME_POSITION_Y   180
#define DRAWGAME_SMALLFUME_POSITION_X   142
 Position of the small fume.
#define DRAWGAME_SMALLFUME_POSITION_Y   222
#define DRAWGAME_MAIN_SPRITE   0
 Main sprite with K-O bombers and title.
#define FLAG_SPRITE0   0
 Flag animation frames.
#define FLAG_SPRITE1   1
#define BIGFUME_SPRITE0   0
 Sprite for a big fume.
#define BIGFUME_SPRITE1   1
#define SMALLFUME_SPRITE0   2
 Sprite for a small fume.
#define SMALLFUME_SPRITE1   3
#define DRAWGAME_SPRITE_LAYER   0
 Sprite layer where to draw the drawgame screen sprites.
#define DRAWGAME_MAIN_PRIORITY   0
 Priority-in-layer to use for the main sprite.
#define DRAWGAME_FLAG_PRIORITY   1
 Priority-in-layer to use for the flag sprite.
#define DRAWGAME_FUME_PRIORITY   2
 Priority-in-layer to use for the fume sprites.
#define ANIMFLAG_TIME_0   0.300f
 Flag animation times.
#define ANIMFLAG_TIME_1   ANIMFLAG_TIME_0 * 2
#define ANIMBIGFUME_TIME_0   0.250f
 Big fume animation times.
#define ANIMBIGFUME_TIME_1   ANIMBIGFUME_TIME_0 * 2
#define ANIMSMALLFUME_TIME_0   0.220f
 Small fume animation times.
#define ANIMSMALLFUME_TIME_1   ANIMSMALLFUME_TIME_0 * 2
#define DRAWGAME_MAIN_SPRITETABLE   15
#define DRAWGAME_FLAG_SPRITETABLE   16
#define DRAWGAME_FUMES_SPRITETABLE   17

Detailed Description

Draw game - no player won.


Define Documentation

#define ANIMBIGFUME_TIME_0   0.250f

Big fume animation times.

#define ANIMBIGFUME_TIME_1   ANIMBIGFUME_TIME_0 * 2

#define ANIMFLAG_TIME_0   0.300f

Flag animation times.

#define ANIMFLAG_TIME_1   ANIMFLAG_TIME_0 * 2

#define ANIMSMALLFUME_TIME_0   0.220f

Small fume animation times.

#define ANIMSMALLFUME_TIME_1   ANIMSMALLFUME_TIME_0 * 2

#define BIGFUME_SPRITE0   0

Sprite for a big fume.

#define BIGFUME_SPRITE1   1

#define DRAWGAME_BIGFUME_POSITION_X   310

Position of the big fume.

#define DRAWGAME_BIGFUME_POSITION_Y   180

#define DRAWGAME_BLACKSCREEN_DURATION   0.750f

Duration (in seconds) of the two black screens.

#define DRAWGAME_DISPLAY_ORIGIN_X   0

Display origin of the draw game screen.

#define DRAWGAME_DISPLAY_ORIGIN_Y   0

#define DRAWGAME_FLAG_POSITION_X   250

Position where to draw the animated flag.

#define DRAWGAME_FLAG_POSITION_Y   178

#define DRAWGAME_FLAG_PRIORITY   1

Priority-in-layer to use for the flag sprite.

#define DRAWGAME_FLAG_SPRITETABLE   16

#define DRAWGAME_FUME_PRIORITY   2

Priority-in-layer to use for the fume sprites.

#define DRAWGAME_FUMES_SPRITETABLE   17

#define DRAWGAME_MAIN_POSITION_X   0

Position of the main sprite from draw game screen origin.

#define DRAWGAME_MAIN_POSITION_Y   0

#define DRAWGAME_MAIN_PRIORITY   0

Priority-in-layer to use for the main sprite.

#define DRAWGAME_MAIN_SPRITE   0

Main sprite with K-O bombers and title.

#define DRAWGAME_MAIN_SPRITETABLE   15

#define DRAWGAME_MINIMUM_DURATION   3.0f

Minimum duration (in seconds) of the drawgame screen.

#define DRAWGAME_SMALLFUME_POSITION_X   142

Position of the small fume.

#define DRAWGAME_SMALLFUME_POSITION_Y   222

#define DRAWGAME_SPRITE_LAYER   0

Sprite layer where to draw the drawgame screen sprites.

#define DRAWGAME_TITLE_DURATION   6.0f

Duration (in seconds) of the draw game screen (with the big title).

#define FLAG_SPRITE0   0

Flag animation frames.

#define FLAG_SPRITE1   1

#define SMALLFUME_SPRITE0   2

Sprite for a small fume.

#define SMALLFUME_SPRITE1   3


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