aboutsummaryrefslogtreecommitdiff
path: root/game/view.h
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-01-04 13:35:02 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-01-04 13:35:02 +0100
commitbb16c32bde58cba70e4877aa2d3ebd04332eb575 (patch)
treede3d82cca043c26cbaa64837a3b2c18efc6ddb64 /game/view.h
parent411d2f6d6a6e5370d33f0f54b2f2de7147a9d977 (diff)
linux compile and imgs
Diffstat (limited to 'game/view.h')
-rw-r--r--game/view.h78
1 files changed, 39 insertions, 39 deletions
diff --git a/game/view.h b/game/view.h
index 6a316de..26ef3fc 100644
--- a/game/view.h
+++ b/game/view.h
@@ -1,40 +1,40 @@
-#ifndef VIEW_H
-#define VIEW_H
-
-#include <vector>
-#include <functional>
-
-#include "gst.h"
-#include "menu.h"
-
-class View {
- public:
- View (vec2 res) : res(res) {}
-
- vec2 res;
-
- int hover_ground {-1};
- int selected_ground {-1};
- int selected_entity {-1};
- int cursor_ground {-1};
- int cursor_entity {-1};
- int back {-1};
- int opt {-1};
- std::vector<int> moves;
- std::vector<int> attacks;
- std::vector<int> builds;
- std::vector<int> heals;
- std::vector<int> converts;
-
- Menu_unit menu_unit;
- Menu_day menu_day;
- Menu_build menu_build;
- Menu_train menu_train;
- Menu_tech menu_tech;
- Menu_trade menu_trade;
- Menu_age_up menu_age_up;
-
- void process (Gst &gst, vec2 cam, vec2 mouse, int *mheld);
-};
-
+#ifndef VIEW_H
+#define VIEW_H
+
+#include <vector>
+#include <functional>
+
+#include "gst.h"
+#include "menu.h"
+
+class View {
+ public:
+ View (vec2 res) : res(res) {}
+
+ vec2 res;
+
+ int hover_ground {-1};
+ int selected_ground {-1};
+ int selected_entity {-1};
+ int cursor_ground {-1};
+ int cursor_entity {-1};
+ int back {-1};
+ int opt {-1};
+ std::vector<int> moves;
+ std::vector<int> attacks;
+ std::vector<int> builds;
+ std::vector<int> heals;
+ std::vector<int> converts;
+
+ Menu_unit menu_unit;
+ Menu_day menu_day;
+ Menu_build menu_build;
+ Menu_train menu_train;
+ Menu_tech menu_tech;
+ Menu_trade menu_trade;
+ Menu_age_up menu_age_up;
+
+ void process (Gst &gst, vec2 cam, vec2 mouse, int *mheld);
+};
+
#endif \ No newline at end of file