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.
//
// SchemeWeaponConfigViewController.h
// Hedgewars
//
// Created by Vittorio on 13/06/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SchemeWeaponConfigViewController : UITableViewController {
NSArray *listOfSchemes;
NSArray *listOfWeapons;
NSIndexPath *lastIndexPath;
NSString *selectedScheme;
NSString *selectedWeapon;
}
@property (nonatomic, retain) NSArray *listOfSchemes;
@property (nonatomic, retain) NSArray *listOfWeapons;
@property (nonatomic,retain) NSIndexPath *lastIndexPath;
@property (nonatomic,retain) NSString *selectedScheme;
@property (nonatomic,retain) NSString *selectedWeapon;
@end