Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
animation.cpp File Reference
#include "cmd/unit_generic.h"
#include "animation.h"
#include "aux_texture.h"
#include "camera.h"
#include "lin_time.h"
#include <stack>
#include "vsfilesystem.h"
#include "vs_globals.h"
#include "point_to_cam.h"
#include "config_xml.h"
#include "xml_support.h"
#include "sprite.h"
#include <algorithm>
#include "../gldrv/gl_globals.h"

Go to the source code of this file.

Functions

bool AnimationsLeftInFarQueue ()
 
bool AnimationsLeftInQueue ()
 

Variables

static vector< Animation * > far_animationdrawqueue
 
static vector< Animation * > animationdrawqueue
 
static const unsigned char ani_up = 0x01
 
static const unsigned char ani_close = 0x02
 
static const unsigned char ani_alpha = 0x04
 
static const unsigned char ani_repeat = 0x08
 

Function Documentation

bool AnimationsLeftInFarQueue ( )

Definition at line 40 of file animation.cpp.

References far_animationdrawqueue.

Referenced by Animation::NeedsProcessFarDrawQueue().

41 {
42  return !far_animationdrawqueue.empty();
43 }
bool AnimationsLeftInQueue ( )

Definition at line 46 of file animation.cpp.

References animationdrawqueue.

Referenced by Animation::NeedsProcessDrawQueue().

47 {
48  return !animationdrawqueue.empty();
49 }

Variable Documentation

const unsigned char ani_alpha = 0x04
static
const unsigned char ani_close = 0x02
static

Definition at line 53 of file animation.cpp.

Referenced by Animation::Animation(), and Animation::CalculateOrientation().

const unsigned char ani_repeat = 0x08
static
const unsigned char ani_up = 0x01
static
vector< Animation* > animationdrawqueue
static
vector< Animation* > far_animationdrawqueue
static