blob: 2d668884a058c4084b0516f796e3d6090baae61b (
plain)
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
|
#include <cstdlib>
#include <cstdio>
#include <memory>
#include "backend/Dungeon.h"
#include "cli.h"
#include "strings.h"
#include "print.h"
using namespace std;
int main() {
auto dungeon = make_unique<Dungeon>();
print_string(strings::INTRO);
string filename = cli_readline();
if (filename.size() == 0) {
lprtf("TODO: generate dungeon\n");
} else {
lprtf("TODO: load %s\n", filename.c_str());
}
cli_main();
return EXIT_SUCCESS;
}
|