Pioneer
Loading...
Searching...
No Matches
GameLog.h
Go to the documentation of this file.
1// Copyright © 2008-2024 Pioneer Developers. See AUTHORS.txt for details
2// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3
4#ifndef _GAMELOG_H
5#define _GAMELOG_H
6
7#include <string>
8
9/*
10 * For storing all in-game log messages
11 * and drawing the last X messages as overlay (all views)
12 * atm it holds only 6 messages, but do extend
13 */
14
15class GameLog {
16public:
20
21 void Add(const std::string &);
22 void Add(const std::string &from, const std::string &msg, Priority priority);
23};
24
25#endif
Definition: GameLog.h:15
void Add(const std::string &)
Definition: GameLog.cpp:7
Priority
Definition: GameLog.h:17
@ PRIORITY_IMPORTANT
Definition: GameLog.h:18
@ PRIORITY_ALERT
Definition: GameLog.h:19
@ PRIORITY_NORMAL
Definition: GameLog.h:17