StarTrekV3_Linux  Version3
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Pages
Engine.h File Reference
#include <allegro5/allegro.h>
#include <allegro5/allegro_image.h>
#include <allegro5/allegro_primitives.h>
#include <allegro5/allegro_font.h>
#include <allegro5/allegro_ttf.h>
#include <exception>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <list>
#include <math.h>
#include "types.h"
#include "CoolMath.h"
#include "KeyMapper.h"

Go to the source code of this file.

Classes

struct  sGameObject
 
class  TSprite
 
class  TEngine
 
class  A5Exception
 

Functions

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. More...
 

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.