cocoaTouch/MapConfigViewController.h
author smxx
Sun, 25 Apr 2010 18:38:08 +0000
changeset 3368 791fa4664209
parent 3365 37ac593e9027
child 3369 c7289e42f0ee
permissions -rw-r--r--
Engine: * Added backward compatibility to Lua's SetAmmo (now accepts 4 or 5 parameters)

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

#import <UIKit/UIKit.h>
#import "SDL_net.h"

@interface MapConfigViewController : UIViewController {
    TCPsocket sd, csd;
    NSInteger maxHogs;
    unsigned char map[128*32];

    UIButton *previewButton;
    NSString *seedCommand;
}

@property (nonatomic) NSInteger maxHogs;
@property (nonatomic,retain) UIButton *previewButton;
@property (nonatomic,retain) NSString *seedCommand;

-(IBAction) updatePreview;
-(void) engineProtocol:(NSInteger) port;

@end