remove the trailing _en from scheme data and use the macros available instead of creating a string every time
authorkoda
Thu, 28 Apr 2011 00:16:36 +0200
changeset 5185 7607a64e1853
parent 5184 bf7bba60ed93
child 5186 a05c14510c8a
remove the trailing _en from scheme data and use the macros available instead of creating a string every time
project_files/HedgewarsMobile/Classes/AboutViewController.m
project_files/HedgewarsMobile/Classes/CommodityFunctions.h
project_files/HedgewarsMobile/Classes/CreationChamber.m
project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.m
project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m
project_files/HedgewarsMobile/Resources/Settings/basicFlags.plist
project_files/HedgewarsMobile/Resources/Settings/credits.plist
project_files/HedgewarsMobile/Resources/Settings/gameMods.plist
project_files/HedgewarsMobile/Resources/Settings/iFrontend/basicFlags_en.plist
project_files/HedgewarsMobile/Resources/Settings/iFrontend/credits.plist
project_files/HedgewarsMobile/Resources/Settings/iFrontend/gameFlags_en.plist
--- a/project_files/HedgewarsMobile/Classes/AboutViewController.m	Wed Apr 27 11:11:45 2011 -0400
+++ b/project_files/HedgewarsMobile/Classes/AboutViewController.m	Thu Apr 28 00:16:36 2011 +0200
@@ -34,8 +34,7 @@
         self.tableView.backgroundView = nil;
     self.tableView.allowsSelection = NO;
 
-    NSString *strPath = [NSString stringWithFormat:@"%@/credits.plist",IFRONTEND_DIRECTORY()];
-    NSArray *array = [[NSArray alloc] initWithContentsOfFile:strPath];
+    NSArray *array = [[NSArray alloc] initWithContentsOfFile:CREDITS_FILE()];
     self.people = array;
     [array release];
 
--- a/project_files/HedgewarsMobile/Classes/CommodityFunctions.h	Wed Apr 27 11:11:45 2011 -0400
+++ b/project_files/HedgewarsMobile/Classes/CommodityFunctions.h	Thu Apr 28 00:16:36 2011 +0200
@@ -26,6 +26,9 @@
 #define SETTINGS_FILE()         [DOCUMENTS_FOLDER() stringByAppendingString:@"/settings.plist"]
 #define DEBUG_FILE()            [DOCUMENTS_FOLDER() stringByAppendingString:@"/hw-game.log"]
 #define HEDGEHOG_FILE()         [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Settings/Images/hedgehog.png"]
+#define BASICFLAGS_FILE()       [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Settings/basicFlags.plist"]
+#define GAMEMODS_FILE()         [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Settings/gameMods.plist"]
+#define CREDITS_FILE()          [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Settings/credits.plist"]
 
 #define TEAMS_DIRECTORY()       [DOCUMENTS_FOLDER() stringByAppendingString:@"/Teams/"]
 #define WEAPONS_DIRECTORY()     [DOCUMENTS_FOLDER() stringByAppendingString:@"/Weapons/"]
@@ -44,7 +47,6 @@
 #define MAPS_DIRECTORY()        [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Maps/"]
 #define MISSIONS_DIRECTORY()    [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Missions/Maps/"]
 #define LOCALE_DIRECTORY()      [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Data/Locale/"]
-#define IFRONTEND_DIRECTORY()   [[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Settings/iFrontend/"]
 
 #define MSG_MEMCLEAN()          DLog(@"has cleaned up some memory");
 #define MSG_DIDUNLOAD()         DLog(@"unloaded");
--- a/project_files/HedgewarsMobile/Classes/CreationChamber.m	Wed Apr 27 11:11:45 2011 -0400
+++ b/project_files/HedgewarsMobile/Classes/CreationChamber.m	Thu Apr 28 00:16:36 2011 +0200
@@ -183,7 +183,6 @@
 
 void createSchemeNamed (NSString *nameWithoutExt) {
     NSString *schemesDirectory = SCHEMES_DIRECTORY();
-    NSString *path = nil;
 
     if (![[NSFileManager defaultManager] fileExistsAtPath: schemesDirectory]) {
         [[NSFileManager defaultManager] createDirectoryAtPath:schemesDirectory
@@ -193,15 +192,13 @@
     }
 
     // load data to get the size of the arrays and their default values
-    path = [NSString stringWithFormat:@"%@/basicFlags_en.plist",IFRONTEND_DIRECTORY()];
-    NSArray *basicSettings = [[NSArray alloc] initWithContentsOfFile:path];
+    NSArray *basicSettings = [[NSArray alloc] initWithContentsOfFile:BASICFLAGS_FILE()];
     NSMutableArray *basicArray  = [[NSMutableArray alloc] initWithCapacity:[basicSettings count]];
     for (NSDictionary *basicDict in basicSettings)
         [basicArray addObject:[basicDict objectForKey:@"default"]];
     [basicSettings release];
 
-    path = [NSString stringWithFormat:@"%@/gameFlags_en.plist",IFRONTEND_DIRECTORY()];
-    NSArray *mods = [[NSArray alloc] initWithContentsOfFile:path];
+    NSArray *mods = [[NSArray alloc] initWithContentsOfFile:GAMEMODS_FILE()];
     NSMutableArray *gamemodArray= [[NSMutableArray alloc] initWithCapacity:[mods count]];
     for (int i = 0; i < [mods count]; i++)
         [gamemodArray addObject:[NSNumber numberWithBool:NO]];
--- a/project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.m	Wed Apr 27 11:11:45 2011 -0400
+++ b/project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.m	Thu Apr 28 00:16:36 2011 +0200
@@ -173,7 +173,7 @@
     int result = 0;
     int mask = 0x00000004;
 
-    // pack the gameflags in a single var and send it
+    // pack the game modifiers in a single var and send it
     for (NSNumber *value in gamemodArray) {
         if ([value boolValue] == YES)
             result |= mask;
@@ -183,15 +183,12 @@
     [self sendToEngine:flags];
     [flags release];
 
-    // game modifiers
-    NSString *path = [[NSString alloc] initWithFormat:@"%@/basicFlags_en.plist",IFRONTEND_DIRECTORY()];
-    NSArray *mods = [[NSArray alloc] initWithContentsOfFile:path];
-    [path release];
-
+    // basic game flags
     result = [[basicArray objectAtIndex:0] intValue];
+    NSArray *basic = [[NSArray alloc] initWithContentsOfFile:BASICFLAGS_FILE()];
 
     for (int i = 1; i < [basicArray count]; i++) {
-        NSDictionary *dict = [mods objectAtIndex:i];
+        NSDictionary *dict = [basic objectAtIndex:i];
         NSString *command = [dict objectForKey:@"command"];
         NSInteger value = [[basicArray objectAtIndex:i] intValue];
         if ([[dict objectForKey:@"checkOverMax"] boolValue] && value >= [[dict objectForKey:@"max"] intValue])
@@ -202,7 +199,7 @@
         [self sendToEngine:strToSend];
         [strToSend release];
     }
-    [mods release];
+    [basic release];
 
     [schemeDictionary release];
     return result;
--- a/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m	Wed Apr 27 11:11:45 2011 -0400
+++ b/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m	Thu Apr 28 00:16:36 2011 +0200
@@ -52,17 +52,14 @@
 #pragma mark View lifecycle
 -(void) viewDidLoad {
     [super viewDidLoad];
-    NSString *path = nil;
 
     // title, description, image name (+btn)
-    path = [NSString stringWithFormat:@"%@/gameFlags_en.plist",IFRONTEND_DIRECTORY()];
-    NSArray *mods = [[NSArray alloc] initWithContentsOfFile:path];
+    NSArray *mods = [[NSArray alloc] initWithContentsOfFile:GAMEMODS_FILE()];
     self.gameModifierArray = mods;
     [mods release];
 
     // title, image name (+icon), default value, max value, min value
-    path = [NSString stringWithFormat:@"%@/basicFlags_en.plist",IFRONTEND_DIRECTORY()];
-    NSArray *basicSettings = [[NSArray alloc] initWithContentsOfFile:path];
+    NSArray *basicSettings = [[NSArray alloc] initWithContentsOfFile:BASICFLAGS_FILE()];
     self.basicSettingList = basicSettings;
     [basicSettings release];
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project_files/HedgewarsMobile/Resources/Settings/basicFlags.plist	Thu Apr 28 00:16:36 2011 +0200
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<array>
+	<dict>
+		<key>default</key>
+		<integer>100</integer>
+		<key>image</key>
+		<string>Health</string>
+		<key>max</key>
+		<integer>200</integer>
+		<key>min</key>
+		<integer>50</integer>
+		<key>title</key>
+		<string>Initial Health</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$damagepct</string>
+		<key>default</key>
+		<integer>100</integer>
+		<key>image</key>
+		<string>Damage</string>
+		<key>max</key>
+		<integer>300</integer>
+		<key>min</key>
+		<integer>10</integer>
+		<key>title</key>
+		<string>Damage Modifier</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<true/>
+		<key>times1000</key>
+		<true/>
+		<key>command</key>
+		<string>e$turntime</string>
+		<key>default</key>
+		<integer>45</integer>
+		<key>image</key>
+		<string>Time</string>
+		<key>max</key>
+		<integer>100</integer>
+		<key>min</key>
+		<integer>1</integer>
+		<key>title</key>
+		<string>Turn Time</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<true/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$sd_turns</string>
+		<key>default</key>
+		<integer>15</integer>
+		<key>image</key>
+		<string>SuddenDeath</string>
+		<key>max</key>
+		<integer>50</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Sudden Death Timeout</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$waterrise</string>
+		<key>default</key>
+		<integer>47</integer>
+		<key>image</key>
+		<string>SuddenDeath</string>
+		<key>max</key>
+		<integer>100</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Water Rise Amount</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$healthdec</string>
+		<key>default</key>
+		<integer>5</integer>
+		<key>image</key>
+		<string>SuddenDeath</string>
+		<key>max</key>
+		<integer>100</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Health Decrease</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$ropepct</string>
+		<key>default</key>
+		<integer>100</integer>
+		<key>image</key>
+		<string>Rope</string>
+		<key>max</key>
+		<integer>999</integer>
+		<key>min</key>
+		<integer>25</integer>
+		<key>title</key>
+		<string>Rope Length (%)</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$casefreq</string>
+		<key>default</key>
+		<integer>5</integer>
+		<key>image</key>
+		<string>Box</string>
+		<key>max</key>
+		<integer>9</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Crate Drop Turns</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$healthprob</string>
+		<key>default</key>
+		<integer>35</integer>
+		<key>image</key>
+		<string>Health</string>
+		<key>max</key>
+		<integer>100</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Health Kit Probability (%)</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$hcaseamount</string>
+		<key>default</key>
+		<integer>25</integer>
+		<key>image</key>
+		<string>Health</string>
+		<key>max</key>
+		<integer>200</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Health Amount in Kit</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<true/>
+		<key>command</key>
+		<string>e$minestime</string>
+		<key>default</key>
+		<integer>3</integer>
+		<key>image</key>
+		<string>Time</string>
+		<key>max</key>
+		<integer>5</integer>
+		<key>min</key>
+		<integer>-1</integer>
+		<key>title</key>
+		<string>Mines Time</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$minesnum</string>
+		<key>default</key>
+		<integer>4</integer>
+		<key>image</key>
+		<string>Mine</string>
+		<key>max</key>
+		<integer>80</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Mines Number</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$minedudpct</string>
+		<key>default</key>
+		<integer>0</integer>
+		<key>image</key>
+		<string>Dud</string>
+		<key>max</key>
+		<integer>100</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Dud Mines Probability (%)</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$explosives</string>
+		<key>default</key>
+		<integer>2</integer>
+		<key>image</key>
+		<string>Damage</string>
+		<key>max</key>
+		<integer>40</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Explosives</string>
+	</dict>
+	<dict>
+		<key>checkOverMax</key>
+		<false/>
+		<key>times1000</key>
+		<false/>
+		<key>command</key>
+		<string>e$getawaytime</string>
+		<key>default</key>
+		<integer>100</integer>
+		<key>image</key>
+		<string>Time</string>
+		<key>max</key>
+		<integer>999</integer>
+		<key>min</key>
+		<integer>0</integer>
+		<key>title</key>
+		<string>Get Away Time (%)</string>
+	</dict>
+</array>
+</plist>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project_files/HedgewarsMobile/Resources/Settings/credits.plist	Thu Apr 28 00:16:36 2011 +0200
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<array>
+	<array>
+		<string>Andrey &quot;UnC0Rr&quot; Korotaev</string>
+		<string>Igor &quot;Displacer&quot; Ulyanov</string>
+		<string>Derek &quot;Nemo&quot; Pomery</string>
+		<string>Martin &quot;Affect&quot; Boze</string>
+		<string>David &quot;Krawek&quot; Cuadrado</string>
+		<string>Martin &quot;Ttsmj&quot; Minarik</string>
+		<string>Kristian &quot;TheXception&quot; Lehmann</string>
+		<string>Vittorio &quot;Koda&quot; Giovara</string>
+		<string>Mario &quot;Smaxx&quot; Liebisch</string>
+		<string>Carlos &quot;Palewolf&quot; Vives</string>
+		<string>Richard &quot;Sheepluva&quot; Korlyi</string>
+		<string>Henning &quot;Prg&quot; Kühn</string>
+		<string>Henrik &quot;Henek&quot; Rostedt</string>
+	</array>
+	<array>
+		<string>John &quot;Fizzy&quot; Dum</string>
+		<string>Joshua Frese</string>
+		<string>Stanko Tadić</string>
+		<string>Julien Koesten</string>
+		<string>Joshua O&apos;Sullivan</string>
+		<string>Nils Luck</string>
+		<string>Trey Perry</string>
+	</array>
+	<array>
+		<string>Stephen &quot;Armagon&quot; Alexander</string>
+		<string>John &quot;Fizzy&quot; Dum</string>
+		<string>Jonatan Nilsson</string>
+		<string>Daniel Martin</string>
+	</array>
+	<array>
+		<string>Romulo Fernandes Machado</string>
+		<string>Svetoslav Stefanov</string>
+		<string>Petr Řezáček</string>
+		<string>Jie Luo</string>
+		<string>Andrey Korotaev</string>
+		<string>Nina Kuisma</string>
+		<string>Antoine Turmel</string>
+		<string>Peter Hüwe, Mario Liebisch</string>
+		<string>Luca Bonora</string>
+		<string>Adam Etienne</string>
+		<string>Maciej Mroziński, Wojciech Latkowski, Maciej Górny</string>
+		<string>Fábio Canário</string>
+		<string>Andrey Korotaev</string>
+		<string>Jose Riha</string>
+		<string>Carlos Vives</string>
+		<string>Niklas Grahn</string>
+		<string>Eugene V. Lyubimkin</string>
+	</array>
+	<array>
+		<string>Aleksey Andreev</string>
+		<string>Aleksander Rudalev</string>
+		<string>Natasha Korotaeva</string>
+		<string>Adam Higerd</string>
+	</array>
+	<array>
+		<string>Engine, frontend, net server author</string>
+		<string>Desktop frontend improvements</string>
+		<string>Many engine and frontend improvements</string>
+		<string>Drillrocket, Ballgun, RC Plane weapons</string>
+		<string>Mine number and time game settings</string>
+		<string>Desktop frontend improvements</string>
+		<string>Desktop frontend improvements</string>
+		<string>Mac OS X and iPhone version</string>
+		<string>Gamepad support</string>
+		<string>Many engine improvements and graphics</string>
+		<string>Many engine and server improvements</string>
+		<string>Maze maps</string>
+		<string>Engine and frontend improvements</string>
+	</array>
+	<array>
+		<string>Main graphics</string>
+		<string></string>
+		<string></string>
+		<string></string>
+		<string></string>
+		<string></string>
+		<string>Some hats</string>
+	</array>
+	<array>
+		<string>Hedgehogs voice</string>
+		<string></string>
+		<string></string>
+		<string></string>
+	</array>
+	<array>
+		<string>Brazilian Portuguese</string>
+		<string>Bulgarian</string>
+		<string>Czech</string>
+		<string>Chinese</string>
+		<string>English</string>
+		<string>Finnish</string>
+		<string>French</string>
+		<string>German</string>
+		<string>Italian</string>
+		<string>Japanese</string>
+		<string>Polish</string>
+		<string>Portuguese</string>
+		<string>Russian</string>
+		<string>Slovak</string>
+		<string>Spanish</string>
+		<string>Swedish</string>
+		<string>Ukrainian</string>
+	</array>
+	<array>
+		<string></string>
+		<string></string>
+		<string></string>
+		<string></string>
+	</array>
+</array>
+</plist>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project_files/HedgewarsMobile/Resources/Settings/gameMods.plist	Thu Apr 28 00:16:36 2011 +0200
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<array>
+	<dict>
+		<key>description</key>
+		<string>Land can not be destroyed</string>
+		<key>image</key>
+		<string>Solid</string>
+		<key>title</key>
+		<string>Solid Land</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Add an indestructable border around the terrain</string>
+		<key>image</key>
+		<string>Border</string>
+		<key>title</key>
+		<string>Add Border</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Teams will start on opposite sides of the terrain</string>
+		<key>image</key>
+		<string>TeamsDivide</string>
+		<key>title</key>
+		<string>Divide Team (max 2 teams)</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Lower gravity</string>
+		<key>image</key>
+		<string>LowGravity</string>
+		<key>title</key>
+		<string>Low Gravity</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Assisted aiming with laser sight</string>
+		<key>image</key>
+		<string>LaserSight</string>
+		<key>title</key>
+		<string>Laser Sight</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>All hogs have a personal forcefield</string>
+		<key>image</key>
+		<string>Invulnerable</string>
+		<key>title</key>
+		<string>Invulnerable</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>All (living) hedgehogs are fully restored at the end of turn</string>
+		<key>image</key>
+		<string>ResetHealth</string>
+		<key>title</key>
+		<string>Reset Health</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Gain 80% of the damage you do back in health</string>
+		<key>image</key>
+		<string>Vampiric</string>
+		<key>title</key>
+		<string>Vampirism Mode</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Share your opponents pain, share their damage</string>
+		<key>image</key>
+		<string>Karma</string>
+		<key>title</key>
+		<string>Karma Mode</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Your hogs are unable to move, test your aim</string>
+		<key>image</key>
+		<string>Artillery</string>
+		<key>title</key>
+		<string>Artillery Mode</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Defend your fort and destroy the opponents</string>
+		<key>image</key>
+		<string>Forts</string>
+		<key>title</key>
+		<string>Fort Mode</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Order of play is random instead of in room order</string>
+		<key>image</key>
+		<string>RandomOrder</string>
+		<key>title</key>
+		<string>Random Order</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Play with a King; when he dies, your side loses</string>
+		<key>image</key>
+		<string>King</string>
+		<key>title</key>
+		<string>King Mode</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Take turns placing your hedgehogs pre-game</string>
+		<key>image</key>
+		<string>PlaceHog</string>
+		<key>title</key>
+		<string>Place Hedgehogs</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Ammo is shared between all clan teams</string>
+		<key>image</key>
+		<string>SharedAmmo</string>
+		<key>title</key>
+		<string>Clan Shares Ammo</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Disable girders when generating random maps</string>
+		<key>image</key>
+		<string>DisableGirders</string>
+		<key>title</key>
+		<string>Disable Girders</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Disable land objects when generating maps</string>
+		<key>image</key>
+		<string>DisableLandObjects</string>
+		<key>title</key>
+		<string>Disable Land Objects</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>AI-controlled hogs respawn on death</string>
+		<key>image</key>
+		<string>AISurvival</string>
+		<key>title</key>
+		<string>AI Survival Mode</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Attacking does not end your turn</string>
+		<key>image</key>
+		<string>InfAttack</string>
+		<key>title</key>
+		<string>Unlimited Attacks</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Weapons are reset to starting values each turn</string>
+		<key>image</key>
+		<string>ResetWeps</string>
+		<key>title</key>
+		<string>Reset Weapons</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Each hedgehog has its own ammo</string>
+		<key>image</key>
+		<string>PerHogAmmo</string>
+		<key>title</key>
+		<string>Per Hedgehog Ammo</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>You will not have to worry about wind any more</string>
+		<key>image</key>
+		<string>NoWind</string>
+		<key>title</key>
+		<string>Disable Wind</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Wind will affect almost everything</string>
+		<key>image</key>
+		<string>MoreWind</string>
+		<key>title</key>
+		<string>More Wind</string>
+	</dict>
+	<dict>
+		<key>description</key>
+		<string>Clan teams take turns sharing their time</string>
+		<key>image</key>
+		<string>TagTeam</string>
+		<key>title</key>
+		<string>Tag Team</string>
+	</dict>
+</array>
+</plist>
--- a/project_files/HedgewarsMobile/Resources/Settings/iFrontend/basicFlags_en.plist	Wed Apr 27 11:11:45 2011 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,270 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<array>
-	<dict>
-		<key>default</key>
-		<integer>100</integer>
-		<key>image</key>
-		<string>Health</string>
-		<key>max</key>
-		<integer>200</integer>
-		<key>min</key>
-		<integer>50</integer>
-		<key>title</key>
-		<string>Initial Health</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$damagepct</string>
-		<key>default</key>
-		<integer>100</integer>
-		<key>image</key>
-		<string>Damage</string>
-		<key>max</key>
-		<integer>300</integer>
-		<key>min</key>
-		<integer>10</integer>
-		<key>title</key>
-		<string>Damage Modifier</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<true/>
-		<key>times1000</key>
-		<true/>
-		<key>command</key>
-		<string>e$turntime</string>
-		<key>default</key>
-		<integer>45</integer>
-		<key>image</key>
-		<string>Time</string>
-		<key>max</key>
-		<integer>100</integer>
-		<key>min</key>
-		<integer>1</integer>
-		<key>title</key>
-		<string>Turn Time</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<true/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$sd_turns</string>
-		<key>default</key>
-		<integer>15</integer>
-		<key>image</key>
-		<string>SuddenDeath</string>
-		<key>max</key>
-		<integer>50</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Sudden Death Timeout</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$waterrise</string>
-		<key>default</key>
-		<integer>47</integer>
-		<key>image</key>
-		<string>SuddenDeath</string>
-		<key>max</key>
-		<integer>100</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Water Rise Amount</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$healthdec</string>
-		<key>default</key>
-		<integer>5</integer>
-		<key>image</key>
-		<string>SuddenDeath</string>
-		<key>max</key>
-		<integer>100</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Health Decrease</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$ropepct</string>
-		<key>default</key>
-		<integer>100</integer>
-		<key>image</key>
-		<string>Rope</string>
-		<key>max</key>
-		<integer>999</integer>
-		<key>min</key>
-		<integer>25</integer>
-		<key>title</key>
-		<string>Rope Length (%)</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$casefreq</string>
-		<key>default</key>
-		<integer>5</integer>
-		<key>image</key>
-		<string>Box</string>
-		<key>max</key>
-		<integer>9</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Crate Drop Turns</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$healthprob</string>
-		<key>default</key>
-		<integer>35</integer>
-		<key>image</key>
-		<string>Health</string>
-		<key>max</key>
-		<integer>100</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Health Kit Probability (%)</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$hcaseamount</string>
-		<key>default</key>
-		<integer>25</integer>
-		<key>image</key>
-		<string>Health</string>
-		<key>max</key>
-		<integer>200</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Health Amount in Kit</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<true/>
-		<key>command</key>
-		<string>e$minestime</string>
-		<key>default</key>
-		<integer>3</integer>
-		<key>image</key>
-		<string>Time</string>
-		<key>max</key>
-		<integer>5</integer>
-		<key>min</key>
-		<integer>-1</integer>
-		<key>title</key>
-		<string>Mines Time</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$minesnum</string>
-		<key>default</key>
-		<integer>4</integer>
-		<key>image</key>
-		<string>Mine</string>
-		<key>max</key>
-		<integer>80</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Mines Number</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$minedudpct</string>
-		<key>default</key>
-		<integer>0</integer>
-		<key>image</key>
-		<string>Dud</string>
-		<key>max</key>
-		<integer>100</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Dud Mines Probability (%)</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$explosives</string>
-		<key>default</key>
-		<integer>2</integer>
-		<key>image</key>
-		<string>Damage</string>
-		<key>max</key>
-		<integer>40</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Explosives</string>
-	</dict>
-	<dict>
-		<key>checkOverMax</key>
-		<false/>
-		<key>times1000</key>
-		<false/>
-		<key>command</key>
-		<string>e$getawaytime</string>
-		<key>default</key>
-		<integer>100</integer>
-		<key>image</key>
-		<string>Time</string>
-		<key>max</key>
-		<integer>999</integer>
-		<key>min</key>
-		<integer>0</integer>
-		<key>title</key>
-		<string>Get Away Time (%)</string>
-	</dict>
-</array>
-</plist>
--- a/project_files/HedgewarsMobile/Resources/Settings/iFrontend/credits.plist	Wed Apr 27 11:11:45 2011 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<array>
-	<array>
-		<string>Andrey &quot;UnC0Rr&quot; Korotaev</string>
-		<string>Igor &quot;Displacer&quot; Ulyanov</string>
-		<string>Derek &quot;Nemo&quot; Pomery</string>
-		<string>Martin &quot;Affect&quot; Boze</string>
-		<string>David &quot;Krawek&quot; Cuadrado</string>
-		<string>Martin &quot;Ttsmj&quot; Minarik</string>
-		<string>Kristian &quot;TheXception&quot; Lehmann</string>
-		<string>Vittorio &quot;Koda&quot; Giovara</string>
-		<string>Mario &quot;Smaxx&quot; Liebisch</string>
-		<string>Carlos &quot;Palewolf&quot; Vives</string>
-		<string>Richard &quot;Sheepluva&quot; Korlyi</string>
-		<string>Henning &quot;Prg&quot; Kühn</string>
-		<string>Henrik &quot;Henek&quot; Rostedt</string>
-	</array>
-	<array>
-		<string>John &quot;Fizzy&quot; Dum</string>
-		<string>Joshua Frese</string>
-		<string>Stanko Tadić</string>
-		<string>Julien Koesten</string>
-		<string>Joshua O&apos;Sullivan</string>
-		<string>Nils Luck</string>
-		<string>Trey Perry</string>
-	</array>
-	<array>
-		<string>Stephen &quot;Armagon&quot; Alexander</string>
-		<string>John &quot;Fizzy&quot; Dum</string>
-		<string>Jonatan Nilsson</string>
-		<string>Daniel Martin</string>
-	</array>
-	<array>
-		<string>Romulo Fernandes Machado</string>
-		<string>Svetoslav Stefanov</string>
-		<string>Petr Řezáček</string>
-		<string>Jie Luo</string>
-		<string>Andrey Korotaev</string>
-		<string>Nina Kuisma</string>
-		<string>Antoine Turmel</string>
-		<string>Peter Hüwe, Mario Liebisch</string>
-		<string>Luca Bonora</string>
-		<string>Adam Etienne</string>
-		<string>Maciej Mroziński, Wojciech Latkowski, Maciej Górny</string>
-		<string>Fábio Canário</string>
-		<string>Andrey Korotaev</string>
-		<string>Jose Riha</string>
-		<string>Carlos Vives</string>
-		<string>Niklas Grahn</string>
-		<string>Eugene V. Lyubimkin</string>
-	</array>
-	<array>
-		<string>Aleksey Andreev</string>
-		<string>Aleksander Rudalev</string>
-		<string>Natasha Korotaeva</string>
-		<string>Adam Higerd</string>
-	</array>
-	<array>
-		<string>Engine, frontend, net server author</string>
-		<string>Desktop frontend improvements</string>
-		<string>Many engine and frontend improvements</string>
-		<string>Drillrocket, Ballgun, RC Plane weapons</string>
-		<string>Mine number and time game settings</string>
-		<string>Desktop frontend improvements</string>
-		<string>Desktop frontend improvements</string>
-		<string>Mac OS X and iPhone version</string>
-		<string>Gamepad support</string>
-		<string>Many engine improvements and graphics</string>
-		<string>Many engine and server improvements</string>
-		<string>Maze maps</string>
-		<string>Engine and frontend improvements</string>
-	</array>
-	<array>
-		<string>Main graphics</string>
-		<string></string>
-		<string></string>
-		<string></string>
-		<string></string>
-		<string></string>
-		<string>Some hats</string>
-	</array>
-	<array>
-		<string>Hedgehogs voice</string>
-		<string></string>
-		<string></string>
-		<string></string>
-	</array>
-	<array>
-		<string>Brazilian Portuguese</string>
-		<string>Bulgarian</string>
-		<string>Czech</string>
-		<string>Chinese</string>
-		<string>English</string>
-		<string>Finnish</string>
-		<string>French</string>
-		<string>German</string>
-		<string>Italian</string>
-		<string>Japanese</string>
-		<string>Polish</string>
-		<string>Portuguese</string>
-		<string>Russian</string>
-		<string>Slovak</string>
-		<string>Spanish</string>
-		<string>Swedish</string>
-		<string>Ukrainian</string>
-	</array>
-	<array>
-		<string></string>
-		<string></string>
-		<string></string>
-		<string></string>
-	</array>
-</array>
-</plist>
--- a/project_files/HedgewarsMobile/Resources/Settings/iFrontend/gameFlags_en.plist	Wed Apr 27 11:11:45 2011 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,198 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<array>
-	<dict>
-		<key>description</key>
-		<string>Land can not be destroyed</string>
-		<key>image</key>
-		<string>Solid</string>
-		<key>title</key>
-		<string>Solid Land</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Add an indestructable border around the terrain</string>
-		<key>image</key>
-		<string>Border</string>
-		<key>title</key>
-		<string>Add Border</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Teams will start on opposite sides of the terrain</string>
-		<key>image</key>
-		<string>TeamsDivide</string>
-		<key>title</key>
-		<string>Divide Team (max 2 teams)</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Lower gravity</string>
-		<key>image</key>
-		<string>LowGravity</string>
-		<key>title</key>
-		<string>Low Gravity</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Assisted aiming with laser sight</string>
-		<key>image</key>
-		<string>LaserSight</string>
-		<key>title</key>
-		<string>Laser Sight</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>All hogs have a personal forcefield</string>
-		<key>image</key>
-		<string>Invulnerable</string>
-		<key>title</key>
-		<string>Invulnerable</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>All (living) hedgehogs are fully restored at the end of turn</string>
-		<key>image</key>
-		<string>ResetHealth</string>
-		<key>title</key>
-		<string>Reset Health</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Gain 80% of the damage you do back in health</string>
-		<key>image</key>
-		<string>Vampiric</string>
-		<key>title</key>
-		<string>Vampirism Mode</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Share your opponents pain, share their damage</string>
-		<key>image</key>
-		<string>Karma</string>
-		<key>title</key>
-		<string>Karma Mode</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Your hogs are unable to move, test your aim</string>
-		<key>image</key>
-		<string>Artillery</string>
-		<key>title</key>
-		<string>Artillery Mode</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Defend your fort and destroy the opponents</string>
-		<key>image</key>
-		<string>Forts</string>
-		<key>title</key>
-		<string>Fort Mode</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Order of play is random instead of in room order</string>
-		<key>image</key>
-		<string>RandomOrder</string>
-		<key>title</key>
-		<string>Random Order</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Play with a King; when he dies, your side loses</string>
-		<key>image</key>
-		<string>King</string>
-		<key>title</key>
-		<string>King Mode</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Take turns placing your hedgehogs pre-game</string>
-		<key>image</key>
-		<string>PlaceHog</string>
-		<key>title</key>
-		<string>Place Hedgehogs</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Ammo is shared between all clan teams</string>
-		<key>image</key>
-		<string>SharedAmmo</string>
-		<key>title</key>
-		<string>Clan Shares Ammo</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Disable girders when generating random maps</string>
-		<key>image</key>
-		<string>DisableGirders</string>
-		<key>title</key>
-		<string>Disable Girders</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Disable land objects when generating maps</string>
-		<key>image</key>
-		<string>DisableLandObjects</string>
-		<key>title</key>
-		<string>Disable Land Objects</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>AI-controlled hogs respawn on death</string>
-		<key>image</key>
-		<string>AISurvival</string>
-		<key>title</key>
-		<string>AI Survival Mode</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Attacking does not end your turn</string>
-		<key>image</key>
-		<string>InfAttack</string>
-		<key>title</key>
-		<string>Unlimited Attacks</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Weapons are reset to starting values each turn</string>
-		<key>image</key>
-		<string>ResetWeps</string>
-		<key>title</key>
-		<string>Reset Weapons</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Each hedgehog has its own ammo</string>
-		<key>image</key>
-		<string>PerHogAmmo</string>
-		<key>title</key>
-		<string>Per Hedgehog Ammo</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>You will not have to worry about wind any more</string>
-		<key>image</key>
-		<string>NoWind</string>
-		<key>title</key>
-		<string>Disable Wind</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Wind will affect almost everything</string>
-		<key>image</key>
-		<string>MoreWind</string>
-		<key>title</key>
-		<string>More Wind</string>
-	</dict>
-	<dict>
-		<key>description</key>
-		<string>Clan teams take turns sharing their time</string>
-		<key>image</key>
-		<string>TagTeam</string>
-		<key>title</key>
-		<string>Tag Team</string>
-	</dict>
-</array>
-</plist>