_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Go to the documentation of this file.
148 std::vector<SDL_Cursor*> SdlCursors;
149 std::vector<SDL_Surface*> SdlCursorSurfaces;
192 extern void LoadCursors(
const std::string &racename);
213 #endif // !__CURSOR_H__
@ CursorStateSelect
Normal cursor.
Definition: cursor.h:167
CCursor()
Definition: cursor.h:127
int FrameRate
Current displayed cursor frame.
Definition: cursor.h:138
void LoadCursors(const std::string &racename)
the same in screen map coordinate system
Definition: cursor.cpp:164
void CursorAnimate(unsigned ticks)
Animate the cursor.
Definition: cursor.cpp:411
SDL_Cursor * GetSDLCursor()
Cursor sprite image.
Definition: cursor.cpp:97
CCursor * Cursor
Config cursor-type name.
Definition: cursor.h:161
std::string Ident
Definition: cursor.h:132
PixelPos HotPos
Race name.
Definition: cursor.h:135
void CleanCursors()
Cleanup the cursor module.
Definition: cursor.cpp:437
void CursorCclRegister()
Definition: cursor.cpp:539
Definition: unittype.h:508
PixelPos CursorStartScreenPos
cursor position on screen
Definition: cursor.cpp:76
void InitVideoCursors()
Initialize the cursor module.
Definition: cursor.cpp:430
int CursorValue
action for selection
Definition: cursor.cpp:71
int CursorAction
current cursor state (point,...)
Definition: cursor.cpp:70
CursorConfig()
Definition: cursor.h:156
std::string CustomCursor
building cursor
Definition: cursor.cpp:72
unsigned int SpriteFrame
Hot point.
Definition: cursor.h:137
@ CursorStatePieMenu
Rectangle selecting.
Definition: cursor.h:169
PixelPos CursorStartMapPos
rectangle started on screen
Definition: cursor.cpp:77
void Load()
Definition: ui.cpp:249
CursorStates
Cursor state.
Definition: cursor.h:165
@ CursorStateRectangle
Select position.
Definition: cursor.h:168
Private type which specifies the cursor-type.
Definition: cursor.h:124
PixelPos CursorScreenPos
cursor-type
Definition: cursor.cpp:75
CUnitType * CursorBuilding
value for action (spell type f.e.)
Definition: cursor.cpp:81
CursorStates CursorState
Definition: cursor.cpp:69
std::string Race
Identifier to reference it.
Definition: cursor.h:133
void DrawCursor()
Draw any cursor.
Definition: cursor.cpp:314
CCursor * CursorByIdent(const std::string &ident)
Cursor by identifier.
Definition: cursor.cpp:190
@ CursorStatePoint
Definition: cursor.h:166
void HideCursor()
Hide the cursor.
Definition: cursor.cpp:394
Cursor config reference.
Definition: cursor.h:153
CCursor * GameCursor
custom cursor for button
Definition: cursor.cpp:85
~CCursor()
Definition: cursor.cpp:138
CGraphic * G
Rate of changing the frames.
Definition: cursor.h:142
void Reset()
Definition: cursor.cpp:148
std::string Name
Definition: cursor.h:160
(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.