3325
|
1 |
//
|
|
2 |
// CommodityFunctions.h
|
|
3 |
// HedgewarsMobile
|
|
4 |
//
|
|
5 |
// Created by Vittorio on 08/04/10.
|
|
6 |
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
|
7 |
//
|
|
8 |
|
|
9 |
#import <Foundation/Foundation.h>
|
|
10 |
|
|
11 |
#define MAX_HOGS 8
|
|
12 |
|
3339
|
13 |
|
3335
|
14 |
#define SETTINGS_FILE() [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) \
|
|
15 |
objectAtIndex:0] stringByAppendingString:@"/settings.plist"]
|
3339
|
16 |
|
3330
|
17 |
#define TEAMS_DIRECTORY() [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) \
|
|
18 |
objectAtIndex:0] stringByAppendingString:@"/Teams/"]
|
3339
|
19 |
|
3330
|
20 |
#define GRAPHICS_DIRECTORY() [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Graphics/"]
|
|
21 |
#define HATS_DIRECTORY() [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Graphics/Hats/"]
|
3352
|
22 |
#define GRAVES_DIRECTORY() [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Graphics/Graves/"]
|
|
23 |
#define BOTLEVELS_DIRECTORY() [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Graphics/Hedgehog/botlevels"]
|
|
24 |
#define FORTS_DIRECTORY() [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Forts/"]
|
|
25 |
#define VOICES_DIRECTORY() [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Sounds/voices/"]
|
3340
|
26 |
#define FLAGS_DIRECTORY() [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Graphics/Flags/"]
|
3325
|
27 |
|
|
28 |
void createTeamNamed (NSString *nameWithoutExt);
|
3335
|
29 |
BOOL rotationManager (UIInterfaceOrientation interfaceOrientation);
|
3339
|
30 |
|