OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Menu.h
Go to the documentation of this file.
1 
8 #ifndef _MENU_H_
9 #define _MENU_H_
10 
11 #include <vector>
12 
13 #include "Script.h"
14 #include "utils/Folder.h"
15 
16 class Menu {
17  public:
18  static int initialize();
19  static void shutdown();
20  static void display();
21 
22  static bool isVisible() { return visible; }
23  static void setVisible(bool v) { visible = v; }
24 
25  static const glm::vec4 textColor;
26  static const glm::vec4 selectedColor;
27 
28  private:
29  static bool visible;
30  static Folder* mapFolder;
31  static std::vector<Script> scripts;
32  static std::vector<Folder> paths;
33  static std::vector<int> images;
34 };
35 
36 #endif
37 
static void display()
Definition: Menu.cpp:84
Definition: Menu.h:16
static const glm::vec4 textColor
Definition: Menu.h:25
static Folder * mapFolder
Definition: Menu.h:30
Tomb Raider 2/3 Script Loader.
static std::vector< Script > scripts
Definition: Menu.h:31
Recursive file-system walking utilities.
static bool isVisible()
Definition: Menu.h:22
static std::vector< int > images
Definition: Menu.h:33
Definition: Folder.h:28
static int initialize()
Definition: Menu.cpp:32
static void shutdown()
Definition: Menu.cpp:73
static const glm::vec4 selectedColor
Definition: Menu.h:26
static bool visible
Definition: Menu.h:29
static void setVisible(bool v)
Definition: Menu.h:23
static std::vector< Folder > paths
Definition: Menu.h:32