mirror of
https://github.com/id-Software/DOOM-IOS2.git
synced 2026-03-19 16:39:26 +01:00
125 lines
3.2 KiB
Objective-C
Executable File
125 lines
3.2 KiB
Objective-C
Executable File
/*
|
|
|
|
Copyright (C) 2009-2011 id Software LLC, a ZeniMax Media company.
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "ios/Label.h"
|
|
#import "ios/LabelButton.h"
|
|
/*
|
|
================================================================================================
|
|
Doom_MissionMenuViewController
|
|
|
|
================================================================================================
|
|
*/
|
|
@interface Doom_MissionMenuViewController : UIViewController {
|
|
|
|
IBOutlet UIScrollView * mapScroller1;
|
|
IBOutlet UIScrollView * mapScroller2;
|
|
IBOutlet UIScrollView * mapScroller3;
|
|
IBOutlet UIScrollView * mapScroller4;
|
|
|
|
IBOutlet UIButton * lastElement1;
|
|
IBOutlet UIButton * lastElement2;
|
|
IBOutlet UIButton * lastElement3;
|
|
IBOutlet UIButton * lastElement4;
|
|
|
|
|
|
IBOutlet UIImageView * easySelection;
|
|
IBOutlet UIImageView * mediumSelection;
|
|
IBOutlet UIImageView * hardSelection;
|
|
IBOutlet UIImageView * NightmareSelection;
|
|
|
|
UIScrollView * selectedScroller;
|
|
|
|
IBOutlet idLabel * easySelectionLabel;
|
|
IBOutlet idLabel * mediumSelectionLabel;
|
|
IBOutlet idLabel * hardSelectionLabel;
|
|
IBOutlet idLabel * nightmareSelectionLabel;
|
|
|
|
IBOutlet idLabelButton * playButton;
|
|
IBOutlet idLabel * playLabel;
|
|
|
|
idLabelButton * selectedMap;
|
|
int episodeSelected;
|
|
int mapSelected;
|
|
}
|
|
|
|
- (int) getSkill;
|
|
- (void) playMap:(int)dataset
|
|
:(int)episode
|
|
:(int)map;
|
|
|
|
- (void) setEpisode: (int) episode;
|
|
|
|
-(IBAction) BackPressed;
|
|
-(IBAction) Play;
|
|
|
|
-(IBAction) UpMission;
|
|
-(IBAction) DownMission;
|
|
|
|
// Difficulty Setting
|
|
-(IBAction) EasyPressed;
|
|
-(IBAction) MediumPressed;
|
|
-(IBAction) HardPressed;
|
|
-(IBAction) NightmarePressed;
|
|
|
|
|
|
// DOOM EPISODES
|
|
-(IBAction) E1M1;
|
|
-(IBAction) E1M2;
|
|
-(IBAction) E1M3;
|
|
-(IBAction) E1M4;
|
|
-(IBAction) E1M5;
|
|
-(IBAction) E1M6;
|
|
-(IBAction) E1M7;
|
|
-(IBAction) E1M8;
|
|
-(IBAction) E1M9;
|
|
|
|
-(IBAction) E2M1;
|
|
-(IBAction) E2M2;
|
|
-(IBAction) E2M3;
|
|
-(IBAction) E2M4;
|
|
-(IBAction) E2M5;
|
|
-(IBAction) E2M6;
|
|
-(IBAction) E2M7;
|
|
-(IBAction) E2M8;
|
|
-(IBAction) E2M9;
|
|
|
|
-(IBAction) E3M1;
|
|
-(IBAction) E3M2;
|
|
-(IBAction) E3M3;
|
|
-(IBAction) E3M4;
|
|
-(IBAction) E3M5;
|
|
-(IBAction) E3M6;
|
|
-(IBAction) E3M7;
|
|
-(IBAction) E3M8;
|
|
-(IBAction) E3M9;
|
|
|
|
-(IBAction) E4M1;
|
|
-(IBAction) E4M2;
|
|
-(IBAction) E4M3;
|
|
-(IBAction) E4M4;
|
|
-(IBAction) E4M5;
|
|
-(IBAction) E4M6;
|
|
-(IBAction) E4M7;
|
|
-(IBAction) E4M8;
|
|
-(IBAction) E4M9;
|
|
|
|
@end
|