taisei/src/cli.h

30 lines
440 B
C
Raw Normal View History

2017-04-02 10:16:52 +02:00
#ifndef CLI_H
#define CLI_H
#include "player.h"
typedef enum {
CLI_RunNormally = 0,
CLI_PlayReplay,
CLI_SelectStage,
CLI_DumpStages,
CLI_Quit,
} CLIActionType;
typedef struct CLIAction CLIAction;
struct CLIAction {
CLIActionType type;
char *filename;
int stageid;
int diff;
int frameskip;
2017-04-02 10:16:52 +02:00
Character plrcha;
ShotMode plrshot;
};
int cli_args(int argc, char **argv, CLIAction *a);
void free_cli_action(CLIAction *a);
#endif