cocoaTouch/SingleTeamViewController.h
author nemo
Thu, 17 Jun 2010 11:41:38 -0400
changeset 3509 d72c2219595d
parent 3374 0d522416d97f
permissions -rw-r--r--
Make land types flagged (to allow stacking future attributes such as indestructible ice, but also for a damaged flag) Add a basic patch for downscaling LandPixels to save memory on mobile devices. Probably could use more optimisation in the pixel writes to avoid redundant writes.

//
//  SingleTeamViewController.h
//  HedgewarsMobile
//
//  Created by Vittorio on 02/04/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HogHatViewController;
@class GravesViewController;
@class VoicesViewController;
@class FortsViewController;
@class FlagsViewController;
@class LevelViewController;
@interface SingleTeamViewController : UITableViewController <UITextFieldDelegate> {
    NSMutableDictionary *teamDictionary;
    
    UITextField *textFieldBeingEdited;
    NSString *teamName;
    UIImage *normalHogSprite;
    
    NSArray *secondaryItems;
    BOOL isWriteNeeded;
    
    HogHatViewController *hogHatViewController;
    GravesViewController *gravesViewController;
    VoicesViewController *voicesViewController;
    FortsViewController *fortsViewController;
    FlagsViewController *flagsViewController;
    LevelViewController *levelViewController;
}

@property (nonatomic,retain) NSMutableDictionary *teamDictionary;
@property (nonatomic,retain) UITextField *textFieldBeingEdited;
@property (nonatomic,retain) NSString *teamName;
@property (nonatomic,retain) UIImage *normalHogSprite;
@property (nonatomic,retain) NSArray *secondaryItems;

-(void) writeFile;
-(void) setWriteNeeded;

@end