Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Drive.cpp File Reference
#include "MemDebug.h"
#include "Drive.h"
#include "Power.h"
#include "Ship.h"
#include "Sim.h"
#include "DriveSprite.h"
#include "CameraDirector.h"
#include "AudioConfig.h"
#include "Light.h"
#include "Bitmap.h"
#include "Sound.h"
#include "DataLoader.h"
#include "Bolt.h"
#include "Solid.h"
#include "Game.h"

Go to the source code of this file.

Macros

#define CLAMP(x, a, b)   if (x < (a)) x = (a); else if (x > (b)) x = (b);

Variables

Bitmapdrive_flare_bitmap [8] = { 0, 0, 0, 0, 0, 0, 0, 0 }
Bitmapdrive_trail_bitmap [8] = { 0, 0, 0, 0, 0, 0, 0, 0 }
Bitmapdrive_glow_bitmap [8] = { 0, 0, 0, 0, 0, 0, 0, 0 }

Macro Definition Documentation

#define CLAMP (   x,
  a,
 
)    if (x < (a)) x = (a); else if (x > (b)) x = (b);

Definition at line 48 of file Drive.cpp.


Variable Documentation

Bitmap* drive_flare_bitmap[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }

Definition at line 42 of file Drive.cpp.

Bitmap* drive_glow_bitmap[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }

Definition at line 44 of file Drive.cpp.

Bitmap* drive_trail_bitmap[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }

Definition at line 43 of file Drive.cpp.