$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include "stratagus.h"
#include "animation/animation_setplayervar.h"
#include "animation.h"
#include "unit.h"
animation_setplayervar.cpp - The animation SetPlayerVar. | |
#define | MOD_ADD 1 |
#define | MOD_SUB 2 |
#define | MOD_MUL 3 |
#define | MOD_DIV 4 |
#define | MOD_MOD 5 |
int | GetPlayerData (const int player, const char *prop, const char *arg) |
static void | SetPlayerData (const int player, const char *prop, const char *arg, int value) |
#define MOD_ADD 1 |
#define MOD_DIV 4 |
#define MOD_MOD 5 |
#define MOD_MUL 3 |
#define MOD_SUB 2 |
int GetPlayerData | ( | const int | player, | |
const char * | prop, | |||
const char * | arg | |||
) |
Gets the player data.
player | Player number. | |
prop | Player's property. | |
arg | Additional argument (for resource and unit). |
static void SetPlayerData | ( | const int | player, | |
const char * | prop, | |||
const char * | arg, | |||
int | value | |||
) | [static] |
Sets the player data.