forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp.h
40 lines (31 loc) · 826 Bytes
/
help.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#pragma once
#ifndef CATA_SRC_HELP_H
#define CATA_SRC_HELP_H
#include <iosfwd>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include "cuboid_rectangle.h"
class JsonIn;
class translation;
namespace catacurses
{
class window;
} // namespace catacurses
class help
{
public:
void load();
void display_help() const;
private:
void deserialize( JsonIn &jsin );
std::map<int, inclusive_rectangle<point>> draw_menu( const catacurses::window &win,
int selected ) const;
static std::string get_note_colors();
static std::string get_dir_grid();
std::map<int, std::pair<translation, std::vector<translation>>> help_texts;
};
help &get_help();
std::string get_hint();
#endif // CATA_SRC_HELP_H