_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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_rotate.h"
#include "actions.h"
#include "unit.h"
Functions | |
animation_rotate.cpp - The animation Rotate. | |
void | UnitRotate (CUnit &unit, int rotate) |
void UnitRotate | ( | CUnit & | unit, |
int | rotate | ||
) |
Rotate a unit
unit | Unit to rotate |
rotate | Number of frames to rotate (>0 clockwise, <0 counterclockwise) |