project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.h
author nemo
Sun, 20 Jun 2010 22:35:10 -0400
changeset 3526 a1d2180fef42
parent 3514 59dbd31e9953
child 3546 ccf4854df294
permissions -rw-r--r--
Replace SHA1 with adler32. For simple purposes of checking to see if players are playing the same map, this should be quite adequate and runs 15 times faster.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     1
//
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     2
//  SettingsViewController.h
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     3
//  hwengine
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     4
//
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     5
//  Created by Vittorio on 08/01/10.
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     7
//
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     8
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    10
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    11
3332
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    12
@interface GeneralSettingsViewController : UITableViewController <UITextFieldDelegate> {
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    13
    NSMutableDictionary *settingsDictionary;
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    14
	UITextField *textFieldBeingEdited;
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    15
	UISwitch *musicSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    16
	UISwitch *soundSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    17
	UISwitch *altDamageSwitch;
3332
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    18
    BOOL isWriteNeeded;
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    19
}
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    20
3332
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    21
@property (nonatomic, retain) NSMutableDictionary *settingsDictionary;
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    22
@property (nonatomic, retain) UITextField *textFieldBeingEdited;;
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    23
@property (nonatomic, retain) UISwitch *musicSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    24
@property (nonatomic, retain) UISwitch *soundSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    25
@property (nonatomic, retain) UISwitch *altDamageSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    26
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    27
#define kNetworkFields 0
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    28
#define kAudioFields 1
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    29
#define kOtherFields 2
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    30
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    31
@end