_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
animation_ifvar.cpp File Reference
#include "stratagus.h"
#include "animation/animation_ifvar.h"
#include "unit.h"

animation_ifvar.cpp - The animation IfVar.

enum  EIfVarBinOp {
  IF_GREATER_EQUAL = 1, IF_GREATER, IF_LESS_EQUAL, IF_LESS,
  IF_EQUAL, IF_NOT_EQUAL, IF_AND, IF_OR,
  IF_XOR, IF_NOT
}
 
static bool binOpGreaterEqual (int lhs, int rhs)
 
static bool binOpGreater (int lhs, int rhs)
 
static bool binOpLessEqual (int lhs, int rhs)
 
static bool binOpLess (int lhs, int rhs)
 
static bool binOpEqual (int lhs, int rhs)
 
static bool binOpNotEqual (int lhs, int rhs)
 
static bool binOpAnd (int lhs, int rhs)
 
static bool binOpOr (int lhs, int rhs)
 
static bool binOpXor (int lhs, int rhs)
 
static bool binOpNot (int lhs, int rhs=0)
 
static bool returnFalse (int, int)
 

Enumeration Type Documentation

Enumerator
IF_GREATER_EQUAL 
IF_GREATER 
IF_LESS_EQUAL 
IF_LESS 
IF_EQUAL 
IF_NOT_EQUAL 
IF_AND 
IF_OR 
IF_XOR 
IF_NOT 

Function Documentation

static bool binOpAnd ( int  lhs,
int  rhs 
)
static
static bool binOpEqual ( int  lhs,
int  rhs 
)
static
static bool binOpGreater ( int  lhs,
int  rhs 
)
static
static bool binOpGreaterEqual ( int  lhs,
int  rhs 
)
static
static bool binOpLess ( int  lhs,
int  rhs 
)
static
static bool binOpLessEqual ( int  lhs,
int  rhs 
)
static
static bool binOpNot ( int  lhs,
int  rhs = 0 
)
static
static bool binOpNotEqual ( int  lhs,
int  rhs 
)
static
static bool binOpOr ( int  lhs,
int  rhs 
)
static
static bool binOpXor ( int  lhs,
int  rhs 
)
static
static bool returnFalse ( int  ,
int   
)
static
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.