cocoaTouch/SingleTeamViewController.h
author koda
Thu, 29 Apr 2010 17:19:06 +0000
changeset 3374 0d522416d97f
parent 3340 96dd168b080b
permissions -rw-r--r--
lazy loading for all the tables with images (might affect performance but ui feels much more responsive) code rearranged a little game configuration for ipad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     1
//
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     2
//  SingleTeamViewController.h
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     3
//  HedgewarsMobile
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     4
//
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     5
//  Created by Vittorio on 02/04/10.
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     7
//
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     8
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    10
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    11
@class HogHatViewController;
3340
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    12
@class GravesViewController;
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    13
@class VoicesViewController;
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    14
@class FortsViewController;
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    15
@class FlagsViewController;
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    16
@class LevelViewController;
3329
d8e41ee0b3ae add support to editing hog names
koda
parents: 3325
diff changeset
    17
@interface SingleTeamViewController : UITableViewController <UITextFieldDelegate> {
3315
4e2813713358 usa a cached dictionary and write only when needed
koda
parents: 3312
diff changeset
    18
    NSMutableDictionary *teamDictionary;
3329
d8e41ee0b3ae add support to editing hog names
koda
parents: 3325
diff changeset
    19
    
d8e41ee0b3ae add support to editing hog names
koda
parents: 3325
diff changeset
    20
    UITextField *textFieldBeingEdited;
3330
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    21
    NSString *teamName;
3374
0d522416d97f lazy loading for all the tables with images (might affect performance but ui feels much more responsive)
koda
parents: 3340
diff changeset
    22
    UIImage *normalHogSprite;
3312
6d8f1c76756d restore and update the old general settings
koda
parents: 3305
diff changeset
    23
    
3325
652a8ebdf667 moved around team creation
koda
parents: 3315
diff changeset
    24
    NSArray *secondaryItems;
3315
4e2813713358 usa a cached dictionary and write only when needed
koda
parents: 3312
diff changeset
    25
    BOOL isWriteNeeded;
3325
652a8ebdf667 moved around team creation
koda
parents: 3315
diff changeset
    26
    
3340
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    27
    HogHatViewController *hogHatViewController;
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    28
    GravesViewController *gravesViewController;
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    29
    VoicesViewController *voicesViewController;
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    30
    FortsViewController *fortsViewController;
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    31
    FlagsViewController *flagsViewController;
96dd168b080b fix all of what was committed before
koda
parents: 3332
diff changeset
    32
    LevelViewController *levelViewController;
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    33
}
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    34
3315
4e2813713358 usa a cached dictionary and write only when needed
koda
parents: 3312
diff changeset
    35
@property (nonatomic,retain) NSMutableDictionary *teamDictionary;
3329
d8e41ee0b3ae add support to editing hog names
koda
parents: 3325
diff changeset
    36
@property (nonatomic,retain) UITextField *textFieldBeingEdited;
3330
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    37
@property (nonatomic,retain) NSString *teamName;
3374
0d522416d97f lazy loading for all the tables with images (might affect performance but ui feels much more responsive)
koda
parents: 3340
diff changeset
    38
@property (nonatomic,retain) UIImage *normalHogSprite;
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    39
@property (nonatomic,retain) NSArray *secondaryItems;
3330
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    40
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    41
-(void) writeFile;
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    42
-(void) setWriteNeeded;
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    43
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    44
@end