Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified DoomClassic/code/iphone/doom_wads.cpp #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DOOM CLASSIC IOS v.2.1 README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GENERAL NOTES
=============

DOOM Classic iOS v2.1 is a free release, and can be downloaded from
http://http://www.idsoftware.com/idstuff/doom/doomclassic_ios_v21_src.zip
http://download.zenimax.com/idsoftware/src/doomclassic_ios_v21_src.zip

This source release does not contain any game data, the game data remains subject to the original EULA and applicable law.

Expand Down
30 changes: 14 additions & 16 deletions DoomClassic/code/iphone/doom_wads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ static const char * MasterLevels_WADS[] = {
"VESPERAS.WAD",
"BLACKTWR.WAD" ,
"TEETH.WAD",
"TEETH.WAD",
"TEETH.WAD"
};

void iphoneFindIWADFile( iphoneMissionPack_t mission, char * returnFileName ) {

switch ( mission ) {
case MISSION_HELL_ON_EARTH:
sprintf( returnFileName, "doom2.wad" );
Expand All @@ -71,21 +70,21 @@ void iphoneFindIWADFile( iphoneMissionPack_t mission, char * returnFileName ) {
case MISSION_PLUTONIA:
sprintf( returnFileName, "plutonia.wad" );
return;

case MISSION_TNT_EVILUTION:
sprintf( returnFileName, "tnt.wad" );
return;

case MISSION_NO_REST_FOR_THE_LIVING:
sprintf( returnFileName, "doom2.wad" );
return;
case MISSION_MASTER_LEVELS:
sprintf( returnFileName, "doom2.wad" );
return;
sprintf( returnFileName, "doom2.wad" );
return;

default:
sprintf( returnFileName, "doom2.wad" );;
sprintf( returnFileName, "doom2.wad" );
}
}

Expand All @@ -97,18 +96,17 @@ void iphoneFindIWADFile( iphoneMissionPack_t mission, char * returnFileName ) {
==================
*/
void iphoneFindPWADFile( iphoneMissionPack_t mission, char * returnFileName ) {

switch ( mission ) {
case MISSION_NO_REST_FOR_THE_LIVING: {
sprintf( returnFileName, "nerve.wad" );
return;
break;
return;
}

case MISSION_MASTER_LEVELS: {
sprintf( returnFileName, "%s", MasterLevels_WADS[ iphoneMasterLevel ] );
return;
break;
}
sprintf( returnFileName, "%s", MasterLevels_WADS[ iphoneMasterLevel ] );
return;
}
default:
break;
}
Expand Down
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GENERAL NOTES
=============

DOOM Classic iOS v3.0 is a free release, and can be downloaded from
http://http://www.idsoftware.com/idstuff/doom/doomclassic_ios_v30_src.zip
http://download.zenimax.com/idsoftware/src/doomclassic_ios_v30_src.zip

This source release does not contain any game data, the game data remains subject to the original EULA and applicable law.

Expand Down