project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h
author koda
Sat, 28 Aug 2010 05:35:02 +0200
changeset 3782 dc3531e49e4c
parent 3703 12d17c6e8855
child 3829 81db3c85784b
permissions -rw-r--r--
add a description field for schemes and weapons
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;
3782
dc3531e49e4c add a description field for schemes and weapons
koda
parents: 3703
diff changeset
    15
    NSString *description;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3659
diff changeset
    16
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    17
    UIImage *ammoStoreImage;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    18
    NSArray *ammoNames;
3703
12d17c6e8855 halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents: 3659
diff changeset
    19
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    20
    char *quantity;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    21
    char *probability;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    22
    char *delay;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    23
    char *crateness;
3547
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    24
}
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    25
3659
f8d5ac50e307 half reworking of the settings page with delegation
koda
parents: 3624
diff changeset
    26
@property (nonatomic,retain) NSString *weaponName;
3782
dc3531e49e4c add a description field for schemes and weapons
koda
parents: 3703
diff changeset
    27
@property (nonatomic,retain) NSString *description;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    28
@property (nonatomic,retain) UIImage *ammoStoreImage;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    29
@property (nonatomic,retain) NSArray *ammoNames;
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    30
3659
f8d5ac50e307 half reworking of the settings page with delegation
koda
parents: 3624
diff changeset
    31
-(void) saveAmmos;
3621
a8ddf681ba7d initial support for customizing weaponset
koda
parents: 3547
diff changeset
    32
3547
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    33
@end