-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
32 lines (24 loc) · 869 Bytes
/
main.cpp
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
#include <iostream>
#include <QApplication>
#include <ctime>
#include "MapEditor/GUI/mainwindow.h"
#include "MapEditor/LevelDescriptors/LevelMetaInformation.h"
#include "MapEditor/LevelDescriptors/TileMap.h"
#include "MapEditor/LevelDescriptors/WallMap.h"
#include "MapEditor/LevelDescriptors/ObjectMap.h"
#include "MapEditor/Assets/ObjectManager.h"
#include "MapEditor/Assets/Atlas.h"
#include "MapEditor/LevelDescriptors/PlayMap.h"
#include "Generator/Interior/Building.h"
int main(int argc, char *argv[]) {
ObjectManager om(OBJECTS_PATH, SPRITES_PATH, TILES_PATH, WALLS_PATH);
SpritesIndex::init(".");
SpritesIndex::check(om);
// Level level("test_level");
QApplication a(argc, argv);
MainWindow window(om);
window.fillColor(0, 0, 1088, 768, 0xFFFFFFFF);
// window.renderLevel(Level())
window.show();
return a.exec();
}