$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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.
menus.h - The menu headerfile. | |
#define | MI_FLAGS_ACTIVE 1 |
#define | MI_FLAGS_CLICKED 2 |
void | DrawMenuButton (ButtonStyle *style, unsigned flags, int x, int y, const std::string &text) |
Draw menu button. | |
void | NetClientCheckLocalState () |
Compare Local State <-> Server's state, force Update when changes. | |
void | PreMenuSetup () |
Pre menu setup. |
#define MI_FLAGS_ACTIVE 1 |
#define MI_FLAGS_CLICKED 2 |
void DrawMenuButton | ( | ButtonStyle * | style, | |
unsigned | flags, | |||
int | x, | |||
int | y, | |||
const std::string & | text | |||
) |
Draw menu button.
Draw menu button 'button' on x,y
style | Button style | |
flags | State of Button (clicked, mouse over...) | |
x | X display position | |
y | Y display position | |
text | text to print on button |
void NetClientCheckLocalState | ( | ) |
Compare Local State <-> Server's state, force Update when changes.
Callback from netconnect loop in Client-Sync state: Compare local state with server's information and force update when changes have occured.
void PreMenuSetup | ( | ) |
Pre menu setup.
Pre menu setup.