author | nemo |
Fri, 07 Oct 2011 17:29:00 -0400 | |
changeset 6091 | 77b826a8f996 |
parent 6080 | ce02ddfe8aa1 |
child 6115 | 485cfecadc9a |
permissions | -rw-r--r-- |
3829 | 1 |
/* |
2 |
* Hedgewars-iOS, a Hedgewars port for iOS devices |
|
4976 | 3 |
* Copyright (c) 2009-2011 Vittorio Giovara <vittorio.giovara@gmail.com> |
3829 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
17 |
* |
|
18 |
* File created on 18/04/2010. |
|
19 |
*/ |
|
20 |
||
3547 | 21 |
|
22 |
#import <UIKit/UIKit.h> |
|
23 |
||
3930 | 24 |
@class HelpPageViewController; |
25 |
@class MapConfigViewController; |
|
3547 | 26 |
@class TeamConfigViewController; |
27 |
@class SchemeWeaponConfigViewController; |
|
5666
cc79eb30346e
this should fix the double free that happens when closing the sdl window on ios (untested)
koda
parents:
4976
diff
changeset
|
28 |
@class GameInterfaceBridge; |
3547 | 29 |
|
3930 | 30 |
@interface GameConfigViewController : UIViewController { |
3778 | 31 |
UIView *imgContainer; |
3792 | 32 |
HelpPageViewController *helpPage; |
3778 | 33 |
|
3547 | 34 |
MapConfigViewController *mapConfigViewController; |
35 |
TeamConfigViewController *teamConfigViewController; |
|
36 |
SchemeWeaponConfigViewController *schemeWeaponConfigViewController; |
|
5666
cc79eb30346e
this should fix the double free that happens when closing the sdl window on ios (untested)
koda
parents:
4976
diff
changeset
|
37 |
GameInterfaceBridge *interfaceBridge; |
3547 | 38 |
} |
39 |
||
3948
24daa33a3114
some rethinking of initial menu presentation and initial orientation (also merging images should be threadsafe now)
koda
parents:
3930
diff
changeset
|
40 |
@property (retain) UIView *imgContainer; |
3792 | 41 |
@property (nonatomic,retain) HelpPageViewController *helpPage; |
3930 | 42 |
@property (nonatomic,retain) MapConfigViewController *mapConfigViewController; |
43 |
@property (nonatomic,retain) TeamConfigViewController *teamConfigViewController; |
|
44 |
@property (nonatomic,retain) SchemeWeaponConfigViewController *schemeWeaponConfigViewController; |
|
5666
cc79eb30346e
this should fix the double free that happens when closing the sdl window on ios (untested)
koda
parents:
4976
diff
changeset
|
45 |
@property (nonatomic,retain) GameInterfaceBridge *interfaceBridge; |
3778 | 46 |
|
3547 | 47 |
-(IBAction) buttonPressed:(id) sender; |
48 |
-(IBAction) segmentPressed:(id) sender; |
|
49 |
-(void) startGame:(UIButton *)button; |
|
6080
ce02ddfe8aa1
on ipad2 and above animate the little hogs on game config and fix the hat display imaging
koda
parents:
5666
diff
changeset
|
50 |
-(BOOL) isEverythingSet; |
3547 | 51 |
|
52 |
@end |