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

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

◆ EIfVarBinOp

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

◆ binOpAnd()

static bool binOpAnd ( int  lhs,
int  rhs 
)
static

◆ binOpEqual()

static bool binOpEqual ( int  lhs,
int  rhs 
)
static

◆ binOpGreater()

static bool binOpGreater ( int  lhs,
int  rhs 
)
static

◆ binOpGreaterEqual()

static bool binOpGreaterEqual ( int  lhs,
int  rhs 
)
static

◆ binOpLess()

static bool binOpLess ( int  lhs,
int  rhs 
)
static

◆ binOpLessEqual()

static bool binOpLessEqual ( int  lhs,
int  rhs 
)
static

◆ binOpNot()

static bool binOpNot ( int  lhs,
int  rhs = 0 
)
static

◆ binOpNotEqual()

static bool binOpNotEqual ( int  lhs,
int  rhs 
)
static

◆ binOpOr()

static bool binOpOr ( int  lhs,
int  rhs 
)
static

◆ binOpXor()

static bool binOpXor ( int  lhs,
int  rhs 
)
static

◆ returnFalse()

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.