mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-05 02:07:26 +00:00
25 lines
446 B
C
25 lines
446 B
C
#ifndef _CLIOPTS_H
|
|
#define _CLIOPTS_H
|
|
|
|
#include "platform.h"
|
|
|
|
enum NetworkType {
|
|
NT_NONE,
|
|
NT_SERVER,
|
|
NT_CLIENT
|
|
};
|
|
|
|
struct PCCLIOptions {
|
|
unsigned int SkipIntro;
|
|
unsigned int FullScreen;
|
|
enum NetworkType Network;
|
|
char ConfigFile[SYS_MAX_PATH];
|
|
char SavePath[SYS_MAX_PATH];
|
|
char GameDir[SYS_MAX_PATH];
|
|
};
|
|
|
|
extern struct PCCLIOptions gCLIOpts;
|
|
|
|
void parse_cli_opts(int argc, char* argv[]);
|
|
|
|
#endif // _CLIOPTS_H
|