_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
◆ MessagesDisplay()
MessagesDisplay::MessagesDisplay |
( |
| ) |
|
|
inline |
◆ AddMessage()
void MessagesDisplay::AddMessage |
( |
const char * |
msg | ) |
|
|
protected |
Adds message to the stack
- Parameters
-
◆ AddUniqueMessage()
void MessagesDisplay::AddUniqueMessage |
( |
const char * |
s | ) |
|
Add a new message to display only if it differs from the preceding one.
◆ CheckRepeatMessage()
bool MessagesDisplay::CheckRepeatMessage |
( |
const char * |
msg | ) |
|
|
protected |
Check if this message repeats
- Parameters
-
- Returns
- true to skip this message
◆ CleanMessages()
void MessagesDisplay::CleanMessages |
( |
| ) |
|
◆ DrawMessages()
void MessagesDisplay::DrawMessages |
( |
| ) |
|
Draw message(s).
- Todo:
- FIXME: make message font configurable.
◆ ShiftMessages()
void MessagesDisplay::ShiftMessages |
( |
| ) |
|
|
protected |
Shift messages array by one.
◆ ToggleShowMessages()
void MessagesDisplay::ToggleShowMessages |
( |
| ) |
|
|
inline |
◆ UpdateMessages()
void MessagesDisplay::UpdateMessages |
( |
| ) |
|
Update messages
- Todo:
- FIXME: make scroll speed configurable.
The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The