diff options
author | Simon Howard | 2011-03-06 22:58:02 +0000 |
---|---|---|
committer | Simon Howard | 2011-03-06 22:58:02 +0000 |
commit | 07bb5a69ef9f1240bf887585aa7162d854368d03 (patch) | |
tree | b807835198f02a879f32187fb8cfc4f5d92903c9 /pkg/osx/IWADController.m | |
parent | dbdd53e7734b1166185a9906897d5dc87fd95376 (diff) | |
download | chocolate-doom-07bb5a69ef9f1240bf887585aa7162d854368d03.tar.gz chocolate-doom-07bb5a69ef9f1240bf887585aa7162d854368d03.tar.bz2 chocolate-doom-07bb5a69ef9f1240bf887585aa7162d854368d03.zip |
Add Strife to OS X launcher.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2294
Diffstat (limited to 'pkg/osx/IWADController.m')
-rw-r--r-- | pkg/osx/IWADController.m | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkg/osx/IWADController.m b/pkg/osx/IWADController.m index 6cab7ff2..91c02c46 100644 --- a/pkg/osx/IWADController.m +++ b/pkg/osx/IWADController.m @@ -35,6 +35,7 @@ typedef enum IWAD_CHEX, IWAD_HERETIC, IWAD_HEXEN, + IWAD_STRIFE, NUM_IWAD_TYPES } IWAD; @@ -46,7 +47,8 @@ static NSString *IWADLabels[NUM_IWAD_TYPES] = @"Final Doom: Plutonia Experiment", @"Chex Quest", @"Heretic", - @"Hexen" + @"Hexen", + @"Strife" }; static NSString *IWADFilenames[NUM_IWAD_TYPES + 1] = @@ -58,6 +60,7 @@ static NSString *IWADFilenames[NUM_IWAD_TYPES + 1] = @"chex.wad", @"heretic.wad", @"hexen.wad", + @"strife.wad", @"undefined" }; @@ -72,6 +75,7 @@ static NSString *IWADFilenames[NUM_IWAD_TYPES + 1] = iwadList[IWAD_CHEX] = self->chex; iwadList[IWAD_HERETIC] = self->heretic; iwadList[IWAD_HEXEN] = self->hexen; + iwadList[IWAD_STRIFE] = self->strife; } - (IWAD) getSelectedIWAD @@ -126,6 +130,9 @@ static NSString *IWADFilenames[NUM_IWAD_TYPES + 1] = case IWAD_HEXEN: return "hexen"; + case IWAD_STRIFE: + return "strife"; + default: return "doom"; } @@ -282,6 +289,7 @@ static NSString *IWADFilenames[NUM_IWAD_TYPES + 1] = // TODO: This is temporary: self->heretic = self->doom1; self->hexen = self->doom2; + self->strife = self->tnt; [self->configWindow center]; |