diff options
author | Simon Howard | 2006-12-23 21:24:56 +0000 |
---|---|---|
committer | Simon Howard | 2006-12-23 21:24:56 +0000 |
commit | 052741d3485780d8e029ada086e330fdd56ee7ac (patch) | |
tree | 439704265dd3cbbe140e5a08538e75129e0a359b /setup/execute.h | |
parent | 8630d0991eb32b3bedecb6655ac9935bd50391df (diff) | |
download | chocolate-doom-052741d3485780d8e029ada086e330fdd56ee7ac.tar.gz chocolate-doom-052741d3485780d8e029ada086e330fdd56ee7ac.tar.bz2 chocolate-doom-052741d3485780d8e029ada086e330fdd56ee7ac.zip |
Add '-findiwads' command line hack so that the setup program can find
out what games are installed. Provide a drop-down list in setup to allow
the game type to be selected.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 803
Diffstat (limited to 'setup/execute.h')
-rw-r--r-- | setup/execute.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/setup/execute.h b/setup/execute.h index 8c373bf6..46301418 100644 --- a/setup/execute.h +++ b/setup/execute.h @@ -26,10 +26,17 @@ typedef struct execute_context_s execute_context_t; +#define IWAD_DOOM2 (1 << 0) /* doom2.wad */ +#define IWAD_PLUTONIA (1 << 1) /* plutonia.wad */ +#define IWAD_TNT (1 << 2) /* tnt.wad */ +#define IWAD_DOOM (1 << 3) /* doom.wad */ +#define IWAD_DOOM1 (1 << 4) /* doom1.wad */ + execute_context_t *NewExecuteContext(void); void AddCmdLineParameter(execute_context_t *context, char *s, ...); void AddConfigParameters(execute_context_t *context); -void ExecuteDoom(execute_context_t *context); +int ExecuteDoom(execute_context_t *context); +int FindInstalledIWADs(void); txt_window_action_t *TestConfigAction(void); |