moving repo
This commit is contained in:
12
src/main.cc
12
src/main.cc
@ -13,18 +13,18 @@
|
||||
// Notes:
|
||||
// 1. game sends all output to display and gets all input from input
|
||||
// 2. display either renders to file (console) or curse
|
||||
// 3.
|
||||
// 3.
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
logger log;
|
||||
cursor curse;
|
||||
input in(curse);
|
||||
feature enabled_features = proc_args(argc,argv,curse,in,log);
|
||||
logger log;
|
||||
cursor curse;
|
||||
input in(curse);
|
||||
feature enabled_features = proc_args(argc, argv, curse, in, log);
|
||||
display out(curse, enabled_features);
|
||||
|
||||
// binds display to the game
|
||||
game game_proc(in, out, argc, argv);
|
||||
|
||||
|
||||
while (game_proc.run() != game_status::terminated)
|
||||
out.render();
|
||||
|
||||
|
Reference in New Issue
Block a user