_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
Go to the source code of this file.
Classes | |
class | CCursor |
Private type which specifies the cursor-type. More... | |
class | CursorConfig |
Cursor config reference. More... | |
cursor.h - The cursors header file. | |
enum | CursorStates { CursorStatePoint, CursorStateSelect, CursorStateRectangle, CursorStatePieMenu } |
Cursor state. More... | |
CursorStates | CursorState |
int | CursorAction |
current cursor state (point,...) More... | |
int | CursorValue |
action for selection More... | |
CUnitType * | CursorBuilding |
value for action (spell type f.e.) More... | |
std::string | CustomCursor |
building cursor More... | |
CCursor * | GameCursor |
custom cursor for button More... | |
PixelPos | CursorScreenPos |
cursor-type More... | |
PixelPos | CursorStartScreenPos |
cursor position on screen More... | |
PixelPos | CursorStartMapPos |
rectangle started on screen More... | |
void | LoadCursors (const std::string &racename) |
the same in screen map coordinate system More... | |
CCursor * | CursorByIdent (const std::string &ident) |
Cursor by identifier. More... | |
void | DrawCursor () |
Draw any cursor. More... | |
void | HideCursor () |
Hide the cursor. More... | |
void | CursorAnimate (unsigned ticks) |
Animate the cursor. More... | |
void | InitVideoCursors () |
Initialize the cursor module. More... | |
void | CleanCursors () |
Cleanup the cursor module. More... | |
void | CursorCclRegister () |
enum CursorStates |
void CleanCursors | ( | ) |
Cleanup the cursor module.
Cleanup cursor module
void CursorAnimate | ( | unsigned | ticks | ) |
Animate the cursor.
Animate the cursor.
ticks | Current tick |
CCursor* CursorByIdent | ( | const std::string & | ident | ) |
Cursor by identifier.
Find the cursor of this identifier.
ident | Identifier for the cursor (from config files). |
void CursorCclRegister | ( | ) |
void DrawCursor | ( | ) |
Draw any cursor.
Draw the cursor.
void HideCursor | ( | ) |
Hide the cursor.
Hide the cursor
void InitVideoCursors | ( | ) |
Initialize the cursor module.
Setup the cursor part.
void LoadCursors | ( | const std::string & | race | ) |
the same in screen map coordinate system
Load all cursors
Load all cursor sprites.
race | Cursor graphics of this race to load. |
int CursorAction |
current cursor state (point,...)
CUnitType* CursorBuilding |
value for action (spell type f.e.)
value for action (spell type f.e.)
PixelPos CursorScreenPos |
cursor-type
cursor-type
PixelPos CursorStartMapPos |
rectangle started on screen
PixelPos CursorStartScreenPos |
cursor position on screen
CursorStates CursorState |
int CursorValue |
action for selection
std::string CustomCursor |
building cursor
building cursor
CCursor* GameCursor |
custom cursor for button
custom cursor for button