-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
29 lines (20 loc) · 714 Bytes
/
main.cpp
File metadata and controls
29 lines (20 loc) · 714 Bytes
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
#include <allegro_flare/allegro_flare.h>
#include <global_constants.hpp>
#include <style_assets.hpp>
#include <logging.hpp>
#include <inventory_gui/screen.hpp>
#include <start_screen_gui/screen.hpp>
#include <world_render_screen.hpp>
#include <world_navigation_gui/screen.hpp>
#include <script_collection.hpp>
#include "game/project.hpp"
#include "game/load_game_scripts.hpp"
////////////////////////////////////////////////////////////////
int main(int argc, char **argv)
{
Framework::initialize();
Display *display = Framework::create_display(SCREEN_W, SCREEN_H, ALLEGRO_OPENGL | ALLEGRO_PROGRAMMABLE_PIPELINE);
Project *project = new Project(display);
Framework::run_loop();
return 0;
}