project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h
author koda
Tue, 20 Jul 2010 03:14:43 +0200
changeset 3659 f8d5ac50e307
parent 3624 304c6d32383a
child 3703 12d17c6e8855
permissions -rw-r--r--
half reworking of the settings page with delegation some graphical enhancements, leaks and fixes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3547
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     1
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     2
//  SingleWeaponViewController.h
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     3
//  Hedgewars
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     4
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     5
//  Created by Vittorio on 19/06/10.
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     7
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     8
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     9
#import <UIKit/UIKit.h>
3659
f8d5ac50e307 half reworking of the settings page with delegation
koda
parents: 3624
diff changeset
    10
#import "EditableCellView.h"
3624
304c6d32383a button to open ammomenu
koda
parents: 3623
diff changeset
    11
#import "WeaponCellView.h"
3547
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    12
3659
f8d5ac50e307 half reworking of the settings page with delegation
koda
parents: 3624
diff changeset
    13
@interface SingleWeaponViewController : UITableViewController <EditableCellViewDelegate, WeaponButtonControllerDelegate> {
f8d5ac50e307 half reworking of the settings page with delegation
koda
parents: 3624
diff changeset
    14
    NSString *weaponName;
f8d5ac50e307 half reworking of the settings page with delegation
koda
parents: 3624
diff changeset
    15
    
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    16
    UIImage *ammoStoreImage;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    17
    NSArray *ammoNames;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    18
    
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    19
    char *quantity;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    20
    char *probability;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    21
    char *delay;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    22
    char *crateness;
3547
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    23
}
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    24
3659
f8d5ac50e307 half reworking of the settings page with delegation
koda
parents: 3624
diff changeset
    25
@property (nonatomic,retain) NSString *weaponName;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    26
@property (nonatomic,retain) UIImage *ammoStoreImage;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    27
@property (nonatomic,retain) NSArray *ammoNames;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    28
3659
f8d5ac50e307 half reworking of the settings page with delegation
koda
parents: 3624
diff changeset
    29
-(void) saveAmmos;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    30
3547
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    31
@end