added: list of arguments

edit: future framework of main
This commit is contained in:
2024-07-05 12:11:09 -04:00
parent 0201425cf1
commit 74de68cf0d
8 changed files with 60 additions and 26 deletions

View File

@ -1,5 +1,6 @@
#ifndef __ARGUMENTS_H__
#define __ARGUMENTS_H__
#include <memory>
#include "log.h"
#include "cursor.h"
#include "display.h"
@ -7,6 +8,25 @@
#include "constants.h"
feature proc_args(int argc, char **argv, cursor &curse, input &in, logger &log);
/* Arguments
-n : Use ncurses for I/O
-r : Randomly generate maps
-m : Enabled a main menu + options
-c : Enemies chase the player (through doors and up stairs)
-i : Enable inventory
-t : Enable throw
-R : Enable revisiting levels
-S [seed] : Sets initial seed to seed
-s [file] : Enable saves
-L [file] : Enable logging to file
-I [file] : Reads commands from file. CANNOT BE USED WITH -n.
-O [file] : Outputs to file. CANNOT BE USED WITH -n.
*/
feature proc_args(int argc, char **argv,
std::unique_ptr<cursor> &curse,
std::unique_ptr<input> &in,
std::unique_ptr<display> &out,
std::unique_ptr<logger> &log);
#endif