# HG changeset patch # User koda # Date 1287518149 -7200 # Node ID 86c3a6e8e265d7e6b0fd97d3fc765960d53761fd # Parent 928e2040d34f9e6e809631e0033002b0f8aa771d ios version bump and other minor things diff -r 928e2040d34f -r 86c3a6e8e265 project_files/HedgewarsMobile/Classes/CommodityFunctions.m --- a/project_files/HedgewarsMobile/Classes/CommodityFunctions.m Sun Oct 17 17:47:07 2010 +0200 +++ b/project_files/HedgewarsMobile/Classes/CommodityFunctions.m Tue Oct 19 21:55:49 2010 +0200 @@ -74,45 +74,45 @@ switch (type) { case 0: //default theWeapon = [[NSDictionary alloc] initWithObjectsAndKeys: - @"9391929422199121032235111001201000000211110101011",@"ammostore_initialqt", - @"0405040541600655546554464776576666666155510101117",@"ammostore_probability", + @"9391929422199121032235111001201000000211110101010",@"ammostore_initialqt", + @"0405040541600655546554464776576666666155510101110",@"ammostore_probability", @"0000000000000205500000040007004000000000200000000",@"ammostore_delay", - @"1311110312111111123114111111111111111211111101111",@"ammostore_crate", nil]; + @"1311110312111111123114111111111111111211111101110",@"ammostore_crate", nil]; break; case 1: //crazy theWeapon = [[NSDictionary alloc] initWithObjectsAndKeys: - @"9999999999999999992999999999999999299999999909999",@"ammostore_initialqt", - @"1111110111111111111111111111111111111111111101111",@"ammostore_probability", + @"9999999999999999992999999999999999299999999909990",@"ammostore_initialqt", + @"1111110111111111111111111111111111111111111101110",@"ammostore_probability", @"0000000000000000000000000000000000000000000000000",@"ammostore_delay", - @"1311110312111111123114111111111111111211110101111",@"ammostore_crate", nil]; + @"1311110312111111123114111111111111111211110101110",@"ammostore_crate", nil]; break; case 2: //pro mode theWeapon = [[NSDictionary alloc] initWithObjectsAndKeys: @"9090009000000000000009000000000000000000000000000",@"ammostore_initialqt", @"0000000000000000000000000000000000000000000000000",@"ammostore_probability", @"0000000000000205500000040007004000000000200000000",@"ammostore_delay", - @"1111111111111111111111111111111111111111100101111",@"ammostore_crate", nil]; + @"1111111111111111111111111111111111111111100101110",@"ammostore_crate", nil]; break; case 3: //shoppa theWeapon = [[NSDictionary alloc] initWithObjectsAndKeys: @"0000009900000000000000000000000000000000000000000",@"ammostore_initialqt", @"4444410044244402210112121222422000000002000400010",@"ammostore_probability", @"0000000000000000000000000000000000000000000000000",@"ammostore_delay", - @"1111111111111111111111111111111111111111101101111",@"ammostore_crate", nil]; + @"1111111111111111111111111111111111111111101101110",@"ammostore_crate", nil]; break; case 4: //basketball theWeapon = [[NSDictionary alloc] initWithObjectsAndKeys: @"9391929422199121032235111001201000000211110101000",@"ammostore_initialqt", @"0000000000000000000000000000000000000000000000000",@"ammostore_probability", @"0000000000000005500000040007004000000000200000000",@"ammostore_delay", - @"1111111111111111111111111111111111111111111101111",@"ammostore_crate", nil]; + @"1111111111111111111111111111111111111111111101110",@"ammostore_crate", nil]; break; case 5: //minefield theWeapon = [[NSDictionary alloc] initWithObjectsAndKeys: @"0000009900090000000300000000000000000000000000000",@"ammostore_initialqt", @"0000000000000000000000000000000000000000000000000",@"ammostore_probability", @"0000000000000205500000040007004000000000200000000",@"ammostore_delay", - @"1111111111111111111111111111111111111111111101111",@"ammostore_crate", nil]; + @"1111111111111111111111111111111111111111111101110",@"ammostore_crate", nil]; break; default: NSLog(@"Nope"); diff -r 928e2040d34f -r 86c3a6e8e265 project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj --- a/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Sun Oct 17 17:47:07 2010 +0200 +++ b/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Tue Oct 19 21:55:49 2010 +0200 @@ -1458,7 +1458,7 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 1D6058900D05DD3D006BFB54 /* Test Lua */ = { + 1D6058900D05DD3D006BFB54 /* Hedgewars */ = { isa = PBXNativeTarget; buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "Hedgewars" */; buildPhases = ( @@ -1542,7 +1542,7 @@ ); projectRoot = ""; targets = ( - 1D6058900D05DD3D006BFB54 /* Test Lua */, + 1D6058900D05DD3D006BFB54 /* Hedgewars */, 928301160F10CAFC00CC5A3C /* fpc */, 6179928B114AE0C800BA94A9 /* UpdateDataFolder */, ); @@ -2147,7 +2147,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "#copy new stuff over old stuff\nrm -rf ${PROJECT_DIR}/Data\ncp -R ${PROJECT_DIR}/../../share/hedgewars/Data ${PROJECT_DIR}/Data\n\n#copy some files from QTfrontend/res\nmkdir ${PROJECT_DIR}/Data/Graphics/Btn\ncp ${PROJECT_DIR}/../../QTfrontend/res/btn*.png ${PROJECT_DIR}/Data/Graphics/Btn\ncp ${PROJECT_DIR}/../../QTfrontend/res/ammopic.png ${PROJECT_DIR}/Data/Graphics/Btn/iconAmmo.png\ncp ${PROJECT_DIR}/../../QTfrontend/res/icon*.png ${PROJECT_DIR}/Data/Graphics/Btn\ncp -R ${PROJECT_DIR}/../../QTfrontend/res/botlevels ${PROJECT_DIR}/Data/Graphics/Hedgehog/botlevels\n\n#delete all CMakeLists.txt and image source files\nfind ${PROJECT_DIR}/Data -name CMakeLists.txt -delete\nfind ${PROJECT_DIR}/Data -name *.svg -delete\nfind ${PROJECT_DIR}/Data -name *.svgz -delete\nfind ${PROJECT_DIR}/Data -name *.sifz -delete\nfind ${PROJECT_DIR}/Data -name *.xcf -delete\n\n#delete desktop frontend translation\nrm -rf ${PROJECT_DIR}/Data/Locale/hedgewars_*\n\n#delete dummy maps and hats\nrm -rf ${PROJECT_DIR}/Data/Maps/{test*,Ruler}\nrm -rf ${PROJECT_DIR}/Data/Hats/{TeamCap,TeamHeadband,TeamHair}\n\n#copy mono audio\ncp -R ${PROJECT_DIR}/audio/* ${PROJECT_DIR}/Data/\n\n#the following ones must be removed when their support is implemented\nrm -rf ${PROJECT_DIR}/Data/Maps/{Cheese,FlightJoust}\n\n#move Lua maps in Missions\nmkdir ${PROJECT_DIR}/Data/Missions/Maps/\nmv ${PROJECT_DIR}/Data/Maps/{Basketball,Knockball} ${PROJECT_DIR}/Data/Missions/Maps/\n\n#reduce the number of flakes for City\nawk '{if ($1 == 1500) $1=40; print $0}' < ${PROJECT_DIR}/Data/Themes/City/theme.cfg > /tmp/tempfile\nmv /tmp/tempfile ${PROJECT_DIR}/Data/Themes/City/theme.cfg\n\n#remove Isalnd from the list of Themes\nawk '{if ($1 != \"Island\") print $0}' < ${PROJECT_DIR}/Data/Themes/themes.cfg > /tmp/tempfile && mv /tmp/tempfile ${PROJECT_DIR}/Data/Themes/themes.cfg\n\n#remove Isalnd from the Maps and themes\nrm -rf ${PROJECT_DIR}/Data/Themes/Island\nawk '{if ($1 == \"Island\") print \"Nature\"}' < ${PROJECT_DIR}/Data/Maps/Cave/map.cfg > /tmp/tempfile && mv /tmp/tempfile ${PROJECT_DIR}/Data/Maps/Cave/map.cfg\nawk '{if ($1 == \"Island\") print \"Nature\"}' < ${PROJECT_DIR}/Data/Maps/Lonely_Island/map.cfg > /tmp/tempfile && mv /tmp/tempfile ${PROJECT_DIR}/Data/Maps/Lonely_Island/map.cfg\nawk '{if ($1 == \"Island\") print \"Nature\"}' < ${PROJECT_DIR}/Data/Maps/PirateFlag/map.cfg > /tmp/tempfile && mv /tmp/tempfile ${PROJECT_DIR}/Data/Maps/PirateFlag/map.cfg\n\n#delete the Classic voice\nrm -rf ${PROJECT_DIR}/Data/Sounds/voices/Classic\n\n#delete useless fonts\nrm -rf ${PROJECT_DIR}/Data/Fonts/{wqy-zenhei.ttc,DroidSansFallback.ttf}\n\n#delete all names, reserved hats\nrm -rf ${PROJECT_DIR}/Data/Names/\nrm -rf ${PROJECT_DIR}/Data/Graphics/Hats/Reserved/\n"; + shellScript = "#copy new stuff over old stuff\nrm -rf ${PROJECT_DIR}/Data\ncp -R ${PROJECT_DIR}/../../share/hedgewars/Data ${PROJECT_DIR}/Data\n\n#copy some files from QTfrontend/res\nmkdir ${PROJECT_DIR}/Data/Graphics/Btn\ncp ${PROJECT_DIR}/../../QTfrontend/res/btn*.png ${PROJECT_DIR}/Data/Graphics/Btn\ncp ${PROJECT_DIR}/../../QTfrontend/res/ammopic.png ${PROJECT_DIR}/Data/Graphics/Btn/iconAmmo.png\ncp ${PROJECT_DIR}/../../QTfrontend/res/icon*.png ${PROJECT_DIR}/Data/Graphics/Btn\ncp -R ${PROJECT_DIR}/../../QTfrontend/res/botlevels ${PROJECT_DIR}/Data/Graphics/Hedgehog/botlevels\n\n#delete all CMakeLists.txt and image source files\nfind ${PROJECT_DIR}/Data -name CMakeLists.txt -delete\nfind ${PROJECT_DIR}/Data -name *.svg -delete\nfind ${PROJECT_DIR}/Data -name *.svgz -delete\nfind ${PROJECT_DIR}/Data -name *.sifz -delete\nfind ${PROJECT_DIR}/Data -name *.xcf -delete\nfind ${PROJECT_DIR}/Data -name *.orig -delete\n\n#delete desktop frontend translation\nrm -rf ${PROJECT_DIR}/Data/Locale/hedgewars_*\n\n#delete dummy maps and hats\nrm -rf ${PROJECT_DIR}/Data/Maps/{test*,Ruler}\nrm -rf ${PROJECT_DIR}/Data/Hats/{TeamCap,TeamHeadband,TeamHair}\n\n#copy mono audio\ncp -R ${PROJECT_DIR}/audio/* ${PROJECT_DIR}/Data/\n\n#the following ones must be removed when their support is implemented\nrm -rf ${PROJECT_DIR}/Data/Maps/{Cheese,FlightJoust}\n\n#move Lua maps in Missions\nmkdir ${PROJECT_DIR}/Data/Missions/Maps/\nmv ${PROJECT_DIR}/Data/Maps/{Basketball,Knockball} ${PROJECT_DIR}/Data/Missions/Maps/\n\n#reduce the number of flakes for City\nawk '{if ($1 == 1500) $1=40; print $0}' < ${PROJECT_DIR}/Data/Themes/City/theme.cfg > /tmp/tempfile\nmv /tmp/tempfile ${PROJECT_DIR}/Data/Themes/City/theme.cfg\n\n#remove Isalnd from the list of Themes\nawk '{if ($1 != \"Island\") print $0}' < ${PROJECT_DIR}/Data/Themes/themes.cfg > /tmp/tempfile && mv /tmp/tempfile ${PROJECT_DIR}/Data/Themes/themes.cfg\n\n#remove Isalnd from the Maps and themes\nrm -rf ${PROJECT_DIR}/Data/Themes/Island\nawk '{if ($1 == \"Island\") print \"Nature\"}' < ${PROJECT_DIR}/Data/Maps/Cave/map.cfg > /tmp/tempfile && mv /tmp/tempfile ${PROJECT_DIR}/Data/Maps/Cave/map.cfg\nawk '{if ($1 == \"Island\") print \"Nature\"}' < ${PROJECT_DIR}/Data/Maps/Lonely_Island/map.cfg > /tmp/tempfile && mv /tmp/tempfile ${PROJECT_DIR}/Data/Maps/Lonely_Island/map.cfg\nawk '{if ($1 == \"Island\") print \"Nature\"}' < ${PROJECT_DIR}/Data/Maps/PirateFlag/map.cfg > /tmp/tempfile && mv /tmp/tempfile ${PROJECT_DIR}/Data/Maps/PirateFlag/map.cfg\n\n#delete the Classic voice\nrm -rf ${PROJECT_DIR}/Data/Sounds/voices/Classic\n\n#delete useless fonts\nrm -rf ${PROJECT_DIR}/Data/Fonts/{wqy-zenhei.ttc,DroidSansFallback.ttf}\n\n#delete all names, reserved hats\nrm -rf ${PROJECT_DIR}/Data/Names/\nrm -rf ${PROJECT_DIR}/Data/Graphics/Hats/Reserved/\n"; showEnvVarsInLog = 0; }; 9283011B0F10CB2D00CC5A3C /* Build libfpc.a */ = { diff -r 928e2040d34f -r 86c3a6e8e265 project_files/HedgewarsMobile/Info.plist --- a/project_files/HedgewarsMobile/Info.plist Sun Oct 17 17:47:07 2010 +0200 +++ b/project_files/HedgewarsMobile/Info.plist Tue Oct 19 21:55:49 2010 +0200 @@ -28,9 +28,13 @@ CFBundleSignature ???? CFBundleVersion - 1.0.1 + 1.1 LSRequiresIPhoneOS + UIApplicationExitsOnSuspend + + UILaunchImageFile~ipad + LI-ipad UIStatusBarHidden UISupportedInterfaceOrientations @@ -38,9 +42,5 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight - UILaunchImageFile~ipad - LI-ipad - UIApplicationExitsOnSuspend - diff -r 928e2040d34f -r 86c3a6e8e265 project_files/HedgewarsMobile/Resources/MainMenuViewController-iPad.xib --- a/project_files/HedgewarsMobile/Resources/MainMenuViewController-iPad.xib Sun Oct 17 17:47:07 2010 +0200 +++ b/project_files/HedgewarsMobile/Resources/MainMenuViewController-iPad.xib Tue Oct 19 21:55:49 2010 +0200 @@ -90,33 +90,6 @@ localplayButton.png - - - -2147483356 - {{611, 417}, {263, 244}} - - NO - 1 - IBIPadFramework - 0 - 0 - - 215 - 0.0 - 0.0 - 0.0 - Multiplayer - - - 2 - MC45OTYwNzg0OTEyIDAuODAwMDAwMDcxNSAwLjAzOTIxNTY4NzY2AA - - - - NSImage - netplayButton.png - - 292 @@ -227,15 +200,6 @@ switchViews: - - - 7 - - 49 - - - - switchViews: 7 @@ -267,7 +231,6 @@ YES - @@ -293,12 +256,6 @@ local - 40 - - - multi - - 45 @@ -330,7 +287,6 @@ 1.IBPluginDependency 37.IBPluginDependency 39.IBPluginDependency - 40.IBPluginDependency 45.IBPluginDependency 52.IBPluginDependency 88.IBPluginDependency @@ -346,7 +302,6 @@ com.apple.InterfaceBuilder.IBCocoaTouchPlugin com.apple.InterfaceBuilder.IBCocoaTouchPlugin com.apple.InterfaceBuilder.IBCocoaTouchPlugin - com.apple.InterfaceBuilder.IBCocoaTouchPlugin @@ -384,17 +339,6 @@ id - - versionLabel - UILabel - - - versionLabel - - versionLabel - UILabel - - IBProjectSource Classes/MainMenuViewController.h @@ -533,14 +477,6 @@ - UILabel - UIView - - IBFrameworkSource - UIKit.framework/Headers/UILabel.h - - - UIResponder NSObject @@ -633,7 +569,6 @@ YES backgroundAndTitle.png localplayButton.png - netplayButton.png savesButton.png settingsButton.png @@ -641,7 +576,6 @@ YES {1024, 768} {263, 244} - {263, 244} {61, 59} {61, 59} diff -r 928e2040d34f -r 86c3a6e8e265 project_files/HedgewarsMobile/Resources/Settings/credits.plist --- a/project_files/HedgewarsMobile/Resources/Settings/credits.plist Sun Oct 17 17:47:07 2010 +0200 +++ b/project_files/HedgewarsMobile/Resources/Settings/credits.plist Tue Oct 19 21:55:49 2010 +0200 @@ -17,7 +17,7 @@ Henning "Prg" Kühn - Finn "Tiyuri" Brice + Tiyuri Joshua Frese Stanko Tadić Julien Koesten @@ -71,7 +71,7 @@ Maze maps - Graphics + diff -r 928e2040d34f -r 86c3a6e8e265 share/hedgewars/Data/Locale/en.txt --- a/share/hedgewars/Data/Locale/en.txt Sun Oct 17 17:47:07 2010 +0200 +++ b/share/hedgewars/Data/Locale/en.txt Tue Oct 19 21:55:49 2010 +0200 @@ -49,7 +49,7 @@ 00:46=Flamethrower 00:47=Sticky Mine 00:48=Hammer -00:49=Resurrector +00:49=Resurrector (beta) 01:00=Let's fight! 01:01=Round draw