_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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"
#include <stdio.h>
Functions | |
animation_setplayervar.cpp - The animation SetPlayerVar. | |
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) |
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 |
Sets the player data.