cocoaTouch/MapConfigViewController.h
author koda
Sun, 25 Apr 2010 02:30:42 +0000
changeset 3365 37ac593e9027
child 3369 c7289e42f0ee
permissions -rw-r--r--
wow all these files only for land preview and seed generation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3365
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
     1
//
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
     2
//  MapConfigViewController.h
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
     3
//  HedgewarsMobile
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
     4
//
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
     5
//  Created by Vittorio on 22/04/10.
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
     7
//
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
     8
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    10
#import "SDL_net.h"
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    11
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    12
@interface MapConfigViewController : UIViewController {
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    13
    TCPsocket sd, csd;
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    14
    NSInteger maxHogs;
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    15
    unsigned char map[128*32];
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    16
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    17
    UIButton *previewButton;
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    18
    NSString *seedCommand;
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    19
}
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    20
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    21
@property (nonatomic) NSInteger maxHogs;
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    22
@property (nonatomic,retain) UIButton *previewButton;
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    23
@property (nonatomic,retain) NSString *seedCommand;
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    24
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    25
-(IBAction) updatePreview;
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    26
-(void) engineProtocol:(NSInteger) port;
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    27
37ac593e9027 wow all these files only for land preview and seed generation
koda
parents:
diff changeset
    28
@end