Pioneer
GameLog.h
Go to the documentation of this file.
1 #ifndef _GAMELOG_H
2 #define _GAMELOG_H
3 
4 #include "libs.h"
5 
6 /*
7  * For storing all in-game log messages
8  * and drawing the last X messages as overlay (all views)
9  * atm it holds only 6 messages, but do extend
10  */
11 
12 class GameLog {
13 public:
17 
18  void Add(const std::string &);
19  void Add(const std::string &from, const std::string &msg, Priority priority);
20 };
21 
22 #endif
Definition: GameLog.h:12
void Add(const std::string &)
Definition: GameLog.cpp:9
Priority
Definition: GameLog.h:14
@ PRIORITY_IMPORTANT
Definition: GameLog.h:15
@ PRIORITY_ALERT
Definition: GameLog.h:16
@ PRIORITY_NORMAL
Definition: GameLog.h:14