stdafx.h File Reference

#include <iostream>
#include <guichan.hpp>
#include <guichan/sdl.hpp>
#include <guichan/opengl.hpp>
#include <guichan/opengl/openglsdlimageloader.hpp>
#include "SDL.h"
#include "SDL_main.h"
#include "bass.h"
#include "SDL_ttf.h"
#include <gl\gl.h>
#include <gl\glu.h>
#include <glut.h>
#include <math.h>
#include <fstream>
#include "CAnimation.h"
#include "Vector.h"
#include "PSystem.h"
#include "TileStorm.h"
#include "TileAnim.h"
#include "Shockwave.h"
#include "MiniShock.h"
#include "structs.h"
#include "GameState.h"
#include "main.h"
#include "display.h"
#include "sound.h"
#include "credits.h"
#include "menu.h"
#include "game.h"
#include "physics.h"
#include "collision.h"

Include dependency graph for stdafx.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define STDAFX
#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_DEPRECATE
#define PI   3.1415926535897932384626433
#define SCREEN_WIDTH   1024
#define SCREEN_HEIGHT   768
#define TILEMAP_DISTANCE   -0.01
#define DAS_ERROR   -1
#define INTERACTION_MATRIX_SIZE   15
#define TANK_FCR_MEDIAL   0.01f
#define TANK_FCR_LATERAL   0.05f
#define MAX_TANK_SPEED   0.07f
#define RUN_FULLSCREEN   0
#define NUM_PLAYERS   2
#define PAGE_WIDTH   80
#define PAGE_HEIGHT   16
#define MAX_LEVELS   100
#define MAX_JOYSTICKS   4
#define DEFAULT_SFX_VOLUME   40
#define DEFAULT_BGM_VOLUME   100
#define TILEANIM_FADEOUT_TIME   1000
#define DEFAULT_LINGER_TIME   2000
#define RENDERSTYLE_PERSPECTIVE   0
#define RENDERSTYLE_FLAT   1
#define ANIM_CYCLE_ONESHOT   0
#define ANIM_CYCLE_CYCLE   1
#define DEFAULT_ANIMATION_SPEED   1000
#define DRAW_BOUNDING_BOXES   0
#define DEFAULT_RENDERSTYLE   RENDERSTYLE_FLAT
#define ENABLE_SOUND   1
#define MAP_SIZE   16
#define PLAYFIELD_SIZE   32
#define CELL_SIZE   PLAYFIELD_SIZE / MAP_SIZE
#define DEFAULT_LIVES   1
#define DEFAULT_HEALTH   1
#define DEFAULT_DAMAGE   1
#define DEFAULT_SUB_ANGLE   0
#define DEFAULT_ANGLE   0
#define DEFAULT_BB_LEFT   -0.9
#define DEFAULT_BB_RIGHT   0.9
#define DEFAULT_BB_BOTTOM   -0.9
#define DEFAULT_BB_TOP   0.9
#define DEFAULT_DRAW_LEFT   -1
#define DEFAULT_DRAW_RIGHT   1
#define DEFAULT_DRAW_BOTTOM   -1
#define DEFAULT_DRAW_TOP   1
#define DEFAULT_PS_AMMO   -1
#define DEFAULT_BS_AMMO   10
#define DEFAULT_SB_AMMO   5
#define DEFAULT_LM_AMMO   3
#define DEFAULT_HS_AMMO   5
#define MAX_HEALTH   100
#define STARTINGSTATE_NULL   0
#define STARTINGSTATE_IDLE   1
#define STARTINGSTATE_READY   2
#define STARTINGSTATE_SET   3
#define STARTINGSTATE_GO   4
#define STARTINGSTATE_RUN   5
#define STARTINGSTATE_VICTORY   6
#define RESPONSE_NULL   0
#define RESPONSE_COL_REFLECT_A   1
#define RESPONSE_COL_REFLECT_B   2
#define RESPONSE_COL_REFLECT_BOTH   3
#define RESPONSE_COL_STOP_A   4
#define RESPONSE_COL_STOP_B   5
#define RESPONSE_COL_STOP_BOTH   6
#define RESPONSE_COL_ELASTIC   7
#define RESPONSE_COL_DAMPED   8
#define RESPONSE_DMG_A   9
#define RESPONSE_DMG_B   10
#define RESPONSE_DMG_BOTH   11
#define RESPONSE_EFF_EQUIP_A   12
#define RESPONSE_EFF_EQUIP_B   13
#define RESPONSE_DMG_KILL_A   14
#define RESPONSE_DMG_KILL_B   15
#define RESPONSE_DMG_KILL_BOTH   16
#define INPUT_NULL   0
#define INPUT_LEFT   1
#define INPUT_RIGHT   2
#define INPUT_DOWN   3
#define INPUT_UP   4
#define INPUT_FIRE   5
#define MENUINPUT_NULL   0
#define MENUINPUT_LEFT   1
#define MENUINPUT_RIGHT   2
#define MENUINPUT_UP   3
#define MENUINPUT_DOWN   4
#define MENUINPUT_SELECT   5
#define MENUINPUT_ESCAPE   6
#define MATRIXID_COLLISION   0
#define MATRIXID_DAMAGE   1
#define MATRIXID_EFFECT   2
#define TYPEID_PEA_SHOT   0
#define TYPEID_BOUNCY_SHOT   1
#define TYPEID_SUPER_BULLET   2
#define TYPEID_LAND_MINE   3
#define TYPEID_HEAT_SEEKER   4
#define TYPEID_POWERUP_HEALTH   5
#define TYPEID_POWERUP_PS   6
#define TYPEID_POWERUP_BS   7
#define TYPEID_POWERUP_SB   8
#define TYPEID_POWERUP_LM   9
#define TYPEID_POWERUP_HS   10
#define TYPEID_TNT_BLOCK   11
#define TYPEID_WALL_BLOCK   12
#define TYPEID_WOOD_BLOCK   13
#define TYPEID_TANK   14
#define TYPEID_NULL   15
#define TILEID_NULL   0
#define TILEID_BLANK   1
#define TILEID_DIRT   2
#define TILEID_SAND   3
#define TILEID_MUD   4
#define TILEID_WATER   5
#define TILEID_LAVA   6
#define TILEID_ICE   7
#define TILEID_TARMAC   8
#define TILEID_GRASS   9
#define TILE_EFFECT_NULL   0
#define TILE_EFFECT_DAMAGE   1
#define TILE_DAMAGE_LAVA   1
#define TILE_EFFECT_TIMER   20
#define TILE_SOUND_TIMER   250
#define TEXID_NULL   0
#define TEXID_BLANK   1
#define TEXID_DIRT   2
#define TEXID_SAND   3
#define TEXID_MUD   4
#define TEXID_WATER   5
#define TEXID_LAVA   6
#define TEXID_ICE   7
#define TEXID_TARMAC   8
#define TEXID_GRASS   9
#define TEXID_TANK   10
#define TEXID_PEA_SHOT   11
#define TEXID_BOUNCY_SHOT   12
#define TEXID_SUPER_BULLET   13
#define TEXID_LAND_MINE   14
#define TEXID_HEAT_SEEKER   15
#define TEXID_POWERUP_HEALTH   16
#define TEXID_POWERUP_PS   17
#define TEXID_POWERUP_BS   18
#define TEXID_POWERUP_SB   19
#define TEXID_POWERUP_LM   20
#define TEXID_POWERUP_HS   21
#define TEXID_TNT_BLOCK   22
#define TEXID_WALL_BLOCK   23
#define TEXID_CRATE   24
#define TEXID_CHECKERBOARD   25
#define TEXID_GRID   26
#define TEXID_MENUBACK   27
#define TEXID_EZRAS_HEAD   28
#define ANIMSTAGE_NULL   0
#define ANIMSTAGE_INTRO   1
#define ANIMSTAGE_NORMAL   2
#define ANIMSTAGE_OUTRO   3
#define ANIMID_NULL   0
#define ANIMID_TANKROLL   1
#define ANIMID_GREENTANKEXPLODE   2
#define ANIMID_BROWNTANKEXPLODE   3
#define ANIMID_CRATECRUSH   4
#define ANIMID_EXPLOSION   5
#define ANIMID_GREEN_HOP_IN   6
#define ANIMID_BROWN_HOP_IN   7
#define WEAPONID_NULL   0
#define WEAPONID_PEA_SHOT   1
#define WEAPONID_BOUNCY_SHOT   2
#define WEAPONID_SUPER_BULLET   3
#define WEAPONID_LAND_MINE   4
#define WEAPONID_HEAT_SEEKER   5
#define TINTID_NULL   0
#define TINTID_RED   1
#define TINTID_ORANGE   2
#define TINTID_YELLOW   3
#define TINTID_GREEN   4
#define TINTID_BLUE   5
#define TINTID_PURPLE   6
#define TINTID_ARMYGREEN   7
#define TINTID_ARMYBROWN   8
#define EFFECTID_NULL   0
#define EFFECTID_PSYSTEM   1
#define EFFECTID_SHOCKWAVE   2
#define EFFECTID_TILEANIM   3
#define EFFECTID_TILESTORM   4
#define EFFECTID_MINISHOCK   5
#define SOUNDID_NULL   0
#define SOUNDID_FIRE_PS   1
#define SOUNDID_FIRE_BS   2
#define SOUNDID_FIRE_SB   3
#define SOUNDID_FIRE_LM   4
#define SOUNDID_FIRE_HS   5
#define SOUNDID_REFLECT   6
#define SOUNDID_BIG_BOMB   7
#define SOUNDID_EXPLOSION   8
#define SOUNDID_RICOCHET   9
#define SOUNDID_FIREMISSILE   10
#define SOUNDID_PROXALERT   11
#define SOUNDID_SCREAM   12
#define SOUNDID_VICTORY   13
#define SOUNDID_BURNING   14
#define SOUNDID_AMMO   15
#define SOUNDID_ENGINE   16
#define SOUNDID_TURRET   17
#define SOUNDID_ROCKETFLY   18
#define SOUNDID_READY   19
#define SOUNDID_SET   20
#define SOUNDID_GO   21
#define SOUNDID_MENUSELECT   22
#define SOUNDID_CLICK   23
#define SOUNDID_POWERUP_HEALTH   24
#define SOUNDID_POWERUP   25
#define SOUNDID_BOUNCE   26
#define SOUNDID_HIT   27
#define SOUNDID_CRUNCH   28
#define MUSICID_NULL   0
#define MUSICID_INGAME   1
#define MUSICID_MENU   2
#define MUSICID_VICTORY   3
#define MENUID_NULL   0
#define MENUID_START   1
#define MENUID_OPTIONS   2
#define MENUID_HIGHSCORES   3
#define MENUID_CREDITS   4
#define MENUID_QUIT   5


Define Documentation

#define _CRT_SECURE_NO_DEPRECATE

Definition at line 24 of file stdafx.h.

#define ANIM_CYCLE_CYCLE   1

Definition at line 57 of file stdafx.h.

Referenced by CObject::CObject(), and UpdateAnimation().

#define ANIM_CYCLE_ONESHOT   0

Definition at line 56 of file stdafx.h.

Referenced by UpdateAnimation().

#define ANIMID_BROWN_HOP_IN   7

Definition at line 224 of file stdafx.h.

Referenced by InitTextures(), and PlayGame().

#define ANIMID_BROWNTANKEXPLODE   3

Definition at line 220 of file stdafx.h.

Referenced by InitGame(), and InitTextures().

#define ANIMID_CRATECRUSH   4

Definition at line 221 of file stdafx.h.

Referenced by CObject::Draw(), InitTextures(), and CWorld::LoadLevel().

#define ANIMID_EXPLOSION   5

Definition at line 222 of file stdafx.h.

Referenced by InitTextures().

#define ANIMID_GREEN_HOP_IN   6

Definition at line 223 of file stdafx.h.

Referenced by InitTextures(), and PlayGame().

#define ANIMID_GREENTANKEXPLODE   2

Definition at line 219 of file stdafx.h.

Referenced by InitGame(), and InitTextures().

#define ANIMID_NULL   0

Definition at line 217 of file stdafx.h.

Referenced by CObject::CObject(), and TileAnim::TileAnim().

#define ANIMID_TANKROLL   1

Definition at line 218 of file stdafx.h.

Referenced by InitGame(), and InitTextures().

#define ANIMSTAGE_INTRO   1

Definition at line 212 of file stdafx.h.

#define ANIMSTAGE_NORMAL   2

Definition at line 213 of file stdafx.h.

#define ANIMSTAGE_NULL   0

Definition at line 211 of file stdafx.h.

#define ANIMSTAGE_OUTRO   3

Definition at line 214 of file stdafx.h.

#define CELL_SIZE   PLAYFIELD_SIZE / MAP_SIZE

Definition at line 68 of file stdafx.h.

Referenced by DrawTiles(), CWorld::LoadLevel(), and ProcessTileCollisions().

#define DAS_ERROR   -1

Definition at line 33 of file stdafx.h.

Referenced by Credits(), creditsReadPage(), getInteraction(), HighScore(), InitCollision(), LoadHighScores(), loadInteractionMatrix(), CWorld::LoadLevel(), CWorld::RemoveEffect(), CWorld::RemoveObject(), and SaveHighScores().

#define DEFAULT_ANGLE   0

Definition at line 73 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_ANIMATION_SPEED   1000

Definition at line 58 of file stdafx.h.

#define DEFAULT_BB_BOTTOM   -0.9

Definition at line 76 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_BB_LEFT   -0.9

Definition at line 74 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_BB_RIGHT   0.9

Definition at line 75 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_BB_TOP   0.9

Definition at line 77 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_BGM_VOLUME   100

Definition at line 47 of file stdafx.h.

Referenced by GameState::GameState(), and InitSound().

#define DEFAULT_BS_AMMO   10

Definition at line 83 of file stdafx.h.

Referenced by GameLogicEquip().

#define DEFAULT_DAMAGE   1

Definition at line 71 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_DRAW_BOTTOM   -1

Definition at line 80 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_DRAW_LEFT   -1

Definition at line 78 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_DRAW_RIGHT   1

Definition at line 79 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_DRAW_TOP   1

Definition at line 81 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_HEALTH   1

Definition at line 70 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_HS_AMMO   5

Definition at line 86 of file stdafx.h.

Referenced by GameLogicEquip().

#define DEFAULT_LINGER_TIME   2000

Definition at line 49 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_LIVES   1

Definition at line 69 of file stdafx.h.

Referenced by CObject::CObject().

#define DEFAULT_LM_AMMO   3

Definition at line 85 of file stdafx.h.

Referenced by GameLogicEquip().

#define DEFAULT_PS_AMMO   -1

Definition at line 82 of file stdafx.h.

Referenced by GameLogicEquip().

#define DEFAULT_RENDERSTYLE   RENDERSTYLE_FLAT

Definition at line 62 of file stdafx.h.

Referenced by CWorld::CWorld().

#define DEFAULT_SB_AMMO   5

Definition at line 84 of file stdafx.h.

Referenced by GameLogicEquip().

#define DEFAULT_SFX_VOLUME   40

Definition at line 46 of file stdafx.h.

Referenced by GameState::GameState(), and InitSound().

#define DEFAULT_SUB_ANGLE   0

Definition at line 72 of file stdafx.h.

Referenced by CObject::CObject().

#define DRAW_BOUNDING_BOXES   0

Definition at line 61 of file stdafx.h.

Referenced by CObject::Draw().

#define EFFECTID_MINISHOCK   5

Definition at line 252 of file stdafx.h.

Referenced by CEffect::CEffect(), CEffect::Draw(), GameLogicFire(), PhysicsReflect(), RemoveDeadObjects(), and CEffect::Step().

#define EFFECTID_NULL   0

Definition at line 247 of file stdafx.h.

Referenced by CEffect::CEffect(), CEffect::Draw(), and CEffect::Step().

#define EFFECTID_PSYSTEM   1

Definition at line 248 of file stdafx.h.

Referenced by CEffect::CEffect(), CEffect::Draw(), GameLogicFire(), InitGame(), CWorld::LoadLevel(), ProcessTileCollisions(), RemoveDeadObjects(), and CEffect::Step().

#define EFFECTID_SHOCKWAVE   2

Definition at line 249 of file stdafx.h.

Referenced by CEffect::CEffect(), CEffect::Draw(), CWorld::LoadLevel(), RemoveDeadObjects(), and CEffect::Step().

#define EFFECTID_TILEANIM   3

Definition at line 250 of file stdafx.h.

Referenced by CEffect::CEffect(), CEffect::Draw(), InitGame(), CWorld::LoadLevel(), PlayGame(), RemoveDeadObjects(), and CEffect::Step().

#define EFFECTID_TILESTORM   4

Definition at line 251 of file stdafx.h.

Referenced by CEffect::CEffect(), CEffect::Draw(), RemoveDeadObjects(), and CEffect::Step().

#define ENABLE_SOUND   1

Definition at line 63 of file stdafx.h.

Referenced by main().

#define INPUT_DOWN   3

Definition at line 123 of file stdafx.h.

Referenced by PlayGame().

#define INPUT_FIRE   5

Definition at line 125 of file stdafx.h.

Referenced by PhysicsUpdate(), and PlayGame().

#define INPUT_LEFT   1

Definition at line 121 of file stdafx.h.

Referenced by PhysicsUpdate(), and PlayGame().

#define INPUT_NULL   0

Definition at line 120 of file stdafx.h.

#define INPUT_RIGHT   2

Definition at line 122 of file stdafx.h.

Referenced by PlayGame().

#define INPUT_UP   4

Definition at line 124 of file stdafx.h.

Referenced by PlayGame().

#define INTERACTION_MATRIX_SIZE   15

Definition at line 34 of file stdafx.h.

Referenced by getInteraction(), and loadInteractionMatrix().

#define MAP_SIZE   16

Definition at line 66 of file stdafx.h.

Referenced by DrawTiles(), CWorld::LoadLevel(), and ProcessTileCollisions().

#define MATRIXID_COLLISION   0

Definition at line 137 of file stdafx.h.

Referenced by Collide(), and getInteraction().

#define MATRIXID_DAMAGE   1

Definition at line 138 of file stdafx.h.

Referenced by Collide(), and getInteraction().

#define MATRIXID_EFFECT   2

Definition at line 139 of file stdafx.h.

Referenced by Collide(), and getInteraction().

#define MAX_HEALTH   100

Definition at line 89 of file stdafx.h.

Referenced by GameLogicDamage().

#define MAX_JOYSTICKS   4

Definition at line 45 of file stdafx.h.

Referenced by GameState::GameState().

#define MAX_LEVELS   100

Definition at line 44 of file stdafx.h.

Referenced by GameState::UpdateMaxLevel().

#define MAX_TANK_SPEED   0.07f

Definition at line 38 of file stdafx.h.

Referenced by UpdateBody().

#define MENUID_CREDITS   4

Definition at line 296 of file stdafx.h.

Referenced by main().

#define MENUID_HIGHSCORES   3

Definition at line 295 of file stdafx.h.

Referenced by main().

#define MENUID_NULL   0

Definition at line 292 of file stdafx.h.

Referenced by main().

#define MENUID_OPTIONS   2

Definition at line 294 of file stdafx.h.

Referenced by main().

#define MENUID_QUIT   5

Definition at line 297 of file stdafx.h.

Referenced by main().

#define MENUID_START   1

Definition at line 293 of file stdafx.h.

Referenced by main().

#define MENUINPUT_DOWN   4

Definition at line 132 of file stdafx.h.

Referenced by GetMenuInput(), MainMenu(), and OptionsMenu().

#define MENUINPUT_ESCAPE   6

Definition at line 134 of file stdafx.h.

Referenced by Credits(), GetMenuInput(), HighScoreMenu(), and OptionsMenu().

#define MENUINPUT_LEFT   1

Definition at line 129 of file stdafx.h.

Referenced by GetMenuInput(), and OptionsMenu().

#define MENUINPUT_NULL   0

Definition at line 128 of file stdafx.h.

Referenced by GetMenuInput().

#define MENUINPUT_RIGHT   2

Definition at line 130 of file stdafx.h.

Referenced by GetMenuInput(), and OptionsMenu().

#define MENUINPUT_SELECT   5

Definition at line 133 of file stdafx.h.

Referenced by GetMenuInput(), MainMenu(), and OptionsMenu().

#define MENUINPUT_UP   3

Definition at line 131 of file stdafx.h.

Referenced by GetMenuInput(), MainMenu(), and OptionsMenu().

#define MUSICID_INGAME   1

Definition at line 287 of file stdafx.h.

Referenced by PlayGame().

#define MUSICID_MENU   2

Definition at line 288 of file stdafx.h.

Referenced by InitSound(), and main().

#define MUSICID_NULL   0

Definition at line 286 of file stdafx.h.

#define MUSICID_VICTORY   3

Definition at line 289 of file stdafx.h.

#define NUM_PLAYERS   2

Definition at line 41 of file stdafx.h.

Referenced by CWorld::CWorld(), PhysicsUpdate(), and ProcessTileCollisions().

#define PAGE_HEIGHT   16

Definition at line 43 of file stdafx.h.

Referenced by Credits(), and creditsReadPage().

#define PAGE_WIDTH   80

Definition at line 42 of file stdafx.h.

Referenced by Credits(), and creditsReadPage().

#define PI   3.1415926535897932384626433

Definition at line 29 of file stdafx.h.

Referenced by DegreesToRadians(), GameLogicFire(), ProcessTileCollisions(), PSystem::PSystem(), RadiansToDegrees(), RemoveDeadObjects(), and TileStorm::TileStorm().

#define PLAYFIELD_SIZE   32

Definition at line 67 of file stdafx.h.

Referenced by DrawGLScene(), and DrawHUD().

#define RENDERSTYLE_FLAT   1

Definition at line 53 of file stdafx.h.

Referenced by PlayGame().

#define RENDERSTYLE_PERSPECTIVE   0

Definition at line 52 of file stdafx.h.

Referenced by PlayGame().

#define RESPONSE_COL_DAMPED   8

Definition at line 109 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_COL_ELASTIC   7

Definition at line 108 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_COL_REFLECT_A   1

Definition at line 102 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_COL_REFLECT_B   2

Definition at line 103 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_COL_REFLECT_BOTH   3

Definition at line 104 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_COL_STOP_A   4

Definition at line 105 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_COL_STOP_B   5

Definition at line 106 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_COL_STOP_BOTH   6

Definition at line 107 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_DMG_A   9

Definition at line 110 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_DMG_B   10

Definition at line 111 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_DMG_BOTH   11

Definition at line 112 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_DMG_KILL_A   14

Definition at line 115 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_DMG_KILL_B   15

Definition at line 116 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_DMG_KILL_BOTH   16

Definition at line 117 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_EFF_EQUIP_A   12

Definition at line 113 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_EFF_EQUIP_B   13

Definition at line 114 of file stdafx.h.

Referenced by Collide().

#define RESPONSE_NULL   0

Definition at line 101 of file stdafx.h.

Referenced by Collide().

#define RUN_FULLSCREEN   0

Definition at line 40 of file stdafx.h.

Referenced by GameState::GameState(), and main().

#define SCREEN_HEIGHT   768

Definition at line 31 of file stdafx.h.

Referenced by Credits(), debugText(), main(), PlayGame(), and ToggleFullScreen().

#define SCREEN_WIDTH   1024

Definition at line 30 of file stdafx.h.

Referenced by Credits(), debugText(), HighScoreMenu(), main(), MainMenu(), OptionsMenu(), PlayGame(), and ToggleFullScreen().

#define SOUNDID_AMMO   15

Definition at line 270 of file stdafx.h.

#define SOUNDID_BIG_BOMB   7

Definition at line 262 of file stdafx.h.

#define SOUNDID_BOUNCE   26

Definition at line 281 of file stdafx.h.

Referenced by Collide(), and InitSound().

#define SOUNDID_BURNING   14

Definition at line 269 of file stdafx.h.

Referenced by InitSound(), and ProcessTileCollisions().

#define SOUNDID_CLICK   23

Definition at line 278 of file stdafx.h.

Referenced by GameLogicFire(), and InitSound().

#define SOUNDID_CRUNCH   28

Definition at line 283 of file stdafx.h.

Referenced by GameLogicFire(), and InitSound().

#define SOUNDID_ENGINE   16

Definition at line 271 of file stdafx.h.

Referenced by InitSound().

#define SOUNDID_EXPLOSION   8

Definition at line 263 of file stdafx.h.

Referenced by GameLogicFire(), InitSound(), and CWorld::LoadLevel().

#define SOUNDID_FIRE_BS   2

Definition at line 257 of file stdafx.h.

Referenced by GameLogicFire(), and InitSound().

#define SOUNDID_FIRE_HS   5

Definition at line 260 of file stdafx.h.

Referenced by GameLogicFire(), and InitSound().

#define SOUNDID_FIRE_LM   4

Definition at line 259 of file stdafx.h.

Referenced by GameLogicFire(), and InitSound().

#define SOUNDID_FIRE_PS   1

Definition at line 256 of file stdafx.h.

Referenced by GameLogicFire(), and InitSound().

#define SOUNDID_FIRE_SB   3

Definition at line 258 of file stdafx.h.

Referenced by GameLogicFire(), and InitSound().

#define SOUNDID_FIREMISSILE   10

Definition at line 265 of file stdafx.h.

#define SOUNDID_GO   21

Definition at line 276 of file stdafx.h.

Referenced by InitSound(), and PlayGame().

#define SOUNDID_HIT   27

Definition at line 282 of file stdafx.h.

Referenced by GameLogicFire(), InitGame(), InitSound(), and CWorld::LoadLevel().

#define SOUNDID_MENUSELECT   22

Definition at line 277 of file stdafx.h.

Referenced by Credits(), HighScoreMenu(), InitSound(), MainMenu(), and OptionsMenu().

#define SOUNDID_NULL   0

Definition at line 255 of file stdafx.h.

Referenced by CObject::CObject().

#define SOUNDID_POWERUP   25

Definition at line 280 of file stdafx.h.

Referenced by GameLogicEquip(), and InitSound().

#define SOUNDID_POWERUP_HEALTH   24

Definition at line 279 of file stdafx.h.

Referenced by InitSound().

#define SOUNDID_PROXALERT   11

Definition at line 266 of file stdafx.h.

#define SOUNDID_READY   19

Definition at line 274 of file stdafx.h.

Referenced by InitSound(), and PlayGame().

#define SOUNDID_REFLECT   6

Definition at line 261 of file stdafx.h.

Referenced by InitSound().

#define SOUNDID_RICOCHET   9

Definition at line 264 of file stdafx.h.

#define SOUNDID_ROCKETFLY   18

Definition at line 273 of file stdafx.h.

#define SOUNDID_SCREAM   12

Definition at line 267 of file stdafx.h.

Referenced by InitSound(), and RemoveDeadObjects().

#define SOUNDID_SET   20

Definition at line 275 of file stdafx.h.

Referenced by InitSound(), and PlayGame().

#define SOUNDID_TURRET   17

Definition at line 272 of file stdafx.h.

#define SOUNDID_VICTORY   13

Definition at line 268 of file stdafx.h.

Referenced by InitSound(), and PlayGame().

#define STARTINGSTATE_GO   4

Definition at line 96 of file stdafx.h.

Referenced by DrawGLScene(), and PlayGame().

#define STARTINGSTATE_IDLE   1

Definition at line 93 of file stdafx.h.

Referenced by CWorld::CWorld(), DrawGLScene(), InitGame(), and PlayGame().

#define STARTINGSTATE_NULL   0

Definition at line 92 of file stdafx.h.

#define STARTINGSTATE_READY   2

Definition at line 94 of file stdafx.h.

Referenced by DrawGLScene(), and PlayGame().

#define STARTINGSTATE_RUN   5

Definition at line 97 of file stdafx.h.

Referenced by DrawGLScene(), InitGame(), and PlayGame().

#define STARTINGSTATE_SET   3

Definition at line 95 of file stdafx.h.

Referenced by DrawGLScene(), and PlayGame().

#define STARTINGSTATE_VICTORY   6

Definition at line 98 of file stdafx.h.

Referenced by DrawGLScene(), PlayGame(), and RemoveDeadObjects().

#define STDAFX

Definition at line 22 of file stdafx.h.

#define TANK_FCR_LATERAL   0.05f

Definition at line 37 of file stdafx.h.

Referenced by UpdateBody().

#define TANK_FCR_MEDIAL   0.01f

Definition at line 36 of file stdafx.h.

Referenced by UpdateBody().

#define TEXID_BLANK   1

Definition at line 182 of file stdafx.h.

#define TEXID_BOUNCY_SHOT   12

Definition at line 193 of file stdafx.h.

Referenced by CObject::CObject(), and InitTextures().

#define TEXID_CHECKERBOARD   25

Definition at line 206 of file stdafx.h.

#define TEXID_CRATE   24

Definition at line 205 of file stdafx.h.

Referenced by CObject::CObject(), and InitTextures().

#define TEXID_DIRT   2

Definition at line 183 of file stdafx.h.

Referenced by InitTextures(), and CWorld::LoadLevel().

#define TEXID_EZRAS_HEAD   28

Definition at line 209 of file stdafx.h.

Referenced by InitTextures(), and RemoveDeadObjects().

#define TEXID_GRASS   9

Definition at line 190 of file stdafx.h.

Referenced by InitTextures(), and CWorld::LoadLevel().

#define TEXID_GRID   26

Definition at line 207 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TEXID_HEAT_SEEKER   15

Definition at line 196 of file stdafx.h.

Referenced by CObject::CObject(), and InitTextures().

#define TEXID_ICE   7

Definition at line 188 of file stdafx.h.

Referenced by InitTextures(), and CWorld::LoadLevel().

#define TEXID_LAND_MINE   14

Definition at line 195 of file stdafx.h.

Referenced by CObject::CObject(), and InitTextures().

#define TEXID_LAVA   6

Definition at line 187 of file stdafx.h.

Referenced by InitTextures(), and CWorld::LoadLevel().

#define TEXID_MENUBACK   27

Definition at line 208 of file stdafx.h.

Referenced by DrawMenuBackground(), and InitTextures().

#define TEXID_MUD   4

Definition at line 185 of file stdafx.h.

Referenced by InitTextures(), and CWorld::LoadLevel().

#define TEXID_NULL   0

Definition at line 181 of file stdafx.h.

Referenced by CObject::CObject(), CTile::CTile(), CWorld::LoadLevel(), and TileStorm::TileStorm().

#define TEXID_PEA_SHOT   11

Definition at line 192 of file stdafx.h.

Referenced by CObject::CObject(), GameLogicFire(), and InitTextures().

#define TEXID_POWERUP_BS   18

Definition at line 199 of file stdafx.h.

Referenced by CObject::CObject(), DrawHUD(), and InitTextures().

#define TEXID_POWERUP_HEALTH   16

Definition at line 197 of file stdafx.h.

Referenced by CObject::CObject(), and InitTextures().

#define TEXID_POWERUP_HS   21

Definition at line 202 of file stdafx.h.

Referenced by CObject::CObject(), DrawHUD(), and InitTextures().

#define TEXID_POWERUP_LM   20

Definition at line 201 of file stdafx.h.

Referenced by CObject::CObject(), DrawHUD(), and InitTextures().

#define TEXID_POWERUP_PS   17

Definition at line 198 of file stdafx.h.

Referenced by CObject::CObject(), DrawHUD(), and InitTextures().

#define TEXID_POWERUP_SB   19

Definition at line 200 of file stdafx.h.

Referenced by CObject::CObject(), DrawHUD(), and InitTextures().

#define TEXID_SAND   3

Definition at line 184 of file stdafx.h.

Referenced by InitTextures(), and CWorld::LoadLevel().

#define TEXID_SUPER_BULLET   13

Definition at line 194 of file stdafx.h.

Referenced by CObject::CObject(), and InitTextures().

#define TEXID_TANK   10

Definition at line 191 of file stdafx.h.

Referenced by CObject::CObject(), DrawHUD(), and InitTextures().

#define TEXID_TARMAC   8

Definition at line 189 of file stdafx.h.

Referenced by InitTextures(), and CWorld::LoadLevel().

#define TEXID_TNT_BLOCK   22

Definition at line 203 of file stdafx.h.

Referenced by CObject::CObject(), and InitTextures().

#define TEXID_WALL_BLOCK   23

Definition at line 204 of file stdafx.h.

Referenced by CObject::CObject(), and InitTextures().

#define TEXID_WATER   5

Definition at line 186 of file stdafx.h.

Referenced by InitTextures(), and CWorld::LoadLevel().

#define TILE_DAMAGE_LAVA   1

Definition at line 176 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILE_EFFECT_DAMAGE   1

Definition at line 173 of file stdafx.h.

Referenced by CWorld::LoadLevel(), and ProcessTileCollisions().

#define TILE_EFFECT_NULL   0

Definition at line 172 of file stdafx.h.

Referenced by CTile::CTile().

#define TILE_EFFECT_TIMER   20

Definition at line 177 of file stdafx.h.

Referenced by ProcessTileCollisions().

#define TILE_SOUND_TIMER   250

Definition at line 178 of file stdafx.h.

Referenced by ProcessTileCollisions().

#define TILEANIM_FADEOUT_TIME   1000

Definition at line 48 of file stdafx.h.

Referenced by TileAnim::Draw().

#define TILEID_BLANK   1

Definition at line 161 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILEID_DIRT   2

Definition at line 162 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILEID_GRASS   9

Definition at line 169 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILEID_ICE   7

Definition at line 167 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILEID_LAVA   6

Definition at line 166 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILEID_MUD   4

Definition at line 164 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILEID_NULL   0

Definition at line 160 of file stdafx.h.

Referenced by CTile::CTile(), and CWorld::LoadLevel().

#define TILEID_SAND   3

Definition at line 163 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILEID_TARMAC   8

Definition at line 168 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILEID_WATER   5

Definition at line 165 of file stdafx.h.

Referenced by CWorld::LoadLevel().

#define TILEMAP_DISTANCE   -0.01

Definition at line 32 of file stdafx.h.

Referenced by DrawTiles().

#define TINTID_ARMYBROWN   8

Definition at line 243 of file stdafx.h.

Referenced by CObject::Draw(), and InitGame().

#define TINTID_ARMYGREEN   7

Definition at line 242 of file stdafx.h.

Referenced by CObject::Draw(), and InitGame().

#define TINTID_BLUE   5

Definition at line 240 of file stdafx.h.

Referenced by CObject::Draw().

#define TINTID_GREEN   4

Definition at line 239 of file stdafx.h.

Referenced by CObject::Draw().

#define TINTID_NULL   0

Definition at line 235 of file stdafx.h.

Referenced by CObject::CObject(), and CObject::Draw().

#define TINTID_ORANGE   2

Definition at line 237 of file stdafx.h.

Referenced by CObject::Draw().

#define TINTID_PURPLE   6

Definition at line 241 of file stdafx.h.

Referenced by CObject::Draw().

#define TINTID_RED   1

Definition at line 236 of file stdafx.h.

Referenced by CObject::Draw().

#define TINTID_YELLOW   3

Definition at line 238 of file stdafx.h.

Referenced by CObject::Draw().

#define TYPEID_BOUNCY_SHOT   1

Definition at line 143 of file stdafx.h.

Referenced by CObject::CObject(), GameLogicFire(), and PhysicsReflect().

#define TYPEID_HEAT_SEEKER   4

Definition at line 146 of file stdafx.h.

Referenced by CObject::CObject(), and GameLogicFire().

#define TYPEID_LAND_MINE   3

Definition at line 145 of file stdafx.h.

Referenced by CObject::CObject(), and GameLogicFire().

#define TYPEID_NULL   15

Definition at line 157 of file stdafx.h.

Referenced by CObject::CObject().

#define TYPEID_PEA_SHOT   0

Definition at line 142 of file stdafx.h.

Referenced by CObject::CObject(), and GameLogicFire().

#define TYPEID_POWERUP_BS   7

Definition at line 149 of file stdafx.h.

Referenced by CObject::CObject(), GameLogicEquip(), and CWorld::LoadLevel().

#define TYPEID_POWERUP_HEALTH   5

Definition at line 147 of file stdafx.h.

Referenced by CObject::CObject(), and CWorld::LoadLevel().

#define TYPEID_POWERUP_HS   10

Definition at line 152 of file stdafx.h.

Referenced by CObject::CObject(), GameLogicEquip(), and CWorld::LoadLevel().

#define TYPEID_POWERUP_LM   9

Definition at line 151 of file stdafx.h.

Referenced by CObject::CObject(), GameLogicEquip(), and CWorld::LoadLevel().

#define TYPEID_POWERUP_PS   6

Definition at line 148 of file stdafx.h.

Referenced by CObject::CObject(), GameLogicEquip(), and CWorld::LoadLevel().

#define TYPEID_POWERUP_SB   8

Definition at line 150 of file stdafx.h.

Referenced by CObject::CObject(), GameLogicEquip(), and CWorld::LoadLevel().

#define TYPEID_SUPER_BULLET   2

Definition at line 144 of file stdafx.h.

Referenced by CObject::CObject(), GameLogicFire(), and RemoveDeadObjects().

#define TYPEID_TANK   14

Definition at line 156 of file stdafx.h.

Referenced by CObject::CObject(), InitGame(), RemoveDeadObjects(), and UpdateBody().

#define TYPEID_TNT_BLOCK   11

Definition at line 153 of file stdafx.h.

Referenced by CObject::CObject(), CWorld::LoadLevel(), and RemoveDeadObjects().

#define TYPEID_WALL_BLOCK   12

Definition at line 154 of file stdafx.h.

Referenced by CObject::CObject(), DamageRadius(), and CWorld::LoadLevel().

#define TYPEID_WOOD_BLOCK   13

Definition at line 155 of file stdafx.h.

Referenced by CObject::CObject(), CWorld::LoadLevel(), and UpdateBody().

#define WEAPONID_BOUNCY_SHOT   2

Definition at line 229 of file stdafx.h.

Referenced by DrawHUD(), GameLogicEquip(), and GameLogicFire().

#define WEAPONID_HEAT_SEEKER   5

Definition at line 232 of file stdafx.h.

Referenced by DrawHUD(), GameLogicEquip(), and GameLogicFire().

#define WEAPONID_LAND_MINE   4

Definition at line 231 of file stdafx.h.

Referenced by DrawHUD(), GameLogicEquip(), and GameLogicFire().

#define WEAPONID_NULL   0

Definition at line 227 of file stdafx.h.

Referenced by CObject::CObject(), DrawHUD(), and GameLogicFire().

#define WEAPONID_PEA_SHOT   1

Definition at line 228 of file stdafx.h.

Referenced by CObject::CObject(), DrawHUD(), GameLogicEquip(), and GameLogicFire().

#define WEAPONID_SUPER_BULLET   3

Definition at line 230 of file stdafx.h.

Referenced by DrawHUD(), GameLogicEquip(), and GameLogicFire().

#define WIN32_LEAN_AND_MEAN

Definition at line 23 of file stdafx.h.

 

Copyright Windsor Schmidt 2006 - All rights reserved.