project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h
author koda
Wed, 25 Aug 2010 01:30:25 +0200
changeset 3766 36b625111609
parent 3703 12d17c6e8855
child 3782 dc3531e49e4c
permissions -rw-r--r--
add a little explanation when modifying weaponset in ifrontend
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;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3659
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;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3659
diff changeset
    18
3621
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