StarTrekV3_Linux  Version3
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Pages
Engine.cpp File Reference
#include <stdio.h>
#include <iostream>
#include "Global.h"
#include "Engine.h"
#include "Ship.h"
#include "Bullet.h"
#include "Animation.h"
#include "SpaceObject.h"
#include "Enterprise.h"
#include "Klingon_BC.h"
#include "Klingon_BOP.h"
#include "Romulan_BOP.h"
#include "Federation_Ship.h"
#include "Probe.h"

Macros

#define Number_Of_Stars   300
 

Functions

bool Comp (const TSprite *v1, const TSprite *v2)
 Compare function for Z sorting. Compares the Z value of the sprites passed through the pointers. More...
 

Variables

TEnterpriseg_pEnterprise
 Pointer to The enterprise ( The player !) More...
 
char g_szMessage [255]
 

Macro Definition Documentation

#define Number_Of_Stars   300

Function Documentation

bool Comp ( const TSprite a_pV1,
const TSprite a_p_V2 
)

Compare function for Z sorting. Compares the Z value of the sprites passed through the pointers.

Parameters
constTSprite * a_pV1 Pointer to first sprite.
constTSprite * a_p_V2 Pointer to secons sprite.
Returns
true if the first sprite has a greater Z value than the second.

Variable Documentation

TEnterprise* g_pEnterprise

Pointer to The enterprise ( The player !)

char g_szMessage[255]