# HG changeset patch # User koda # Date 1335053444 -7200 # Node ID 6f5e1e64f1066383828ad5814669014b45bda563 # Parent cdfb2bf05bbd64c5e01b31e7d47d8658492c1cb7 fix compiling hw for ios (was looking for the wrong math.h and used an old variable name) diff -r cdfb2bf05bbd -r 6f5e1e64f106 hedgewars/uKeys.pas --- a/hedgewars/uKeys.pas Sat Apr 21 18:11:24 2012 -0400 +++ b/hedgewars/uKeys.pas Sun Apr 22 02:10:44 2012 +0200 @@ -82,7 +82,7 @@ // mouse buttons {$IFDEF DARWIN} tkbdn[SDL_SCANCODE_MOUSEL]:= ((k and 1) and not (tkbdn[306] or tkbdn[305])); -tkbdni[SDL_SCANCODE_MOUSER]:= ((k and 1) and (tkbdn[306] or tkbdn[305])) or (k and 4); +tkbdn[SDL_SCANCODE_MOUSER]:= ((k and 1) and (tkbdn[306] or tkbdn[305])) or (k and 4); {$ELSE} tkbdn[SDL_SCANCODE_MOUSEL]:= (k and 1); tkbdn[SDL_SCANCODE_MOUSER]:= ((k shr 2) and 1); diff -r cdfb2bf05bbd -r 6f5e1e64f106 project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj --- a/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Sat Apr 21 18:11:24 2012 -0400 +++ b/project_files/HedgewarsMobile/Hedgewars.xcodeproj/project.pbxproj Sun Apr 22 02:10:44 2012 +0200 @@ -1875,6 +1875,7 @@ 61022D7C12305A2800B08935 /* Distro AppStore */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; APPLY_RULES_IN_COPY_FILES = YES; ARCHS = "$(ARCHS_STANDARD_32_BIT)"; CODE_SIGN_IDENTITY = "iPhone Distribution"; @@ -1956,6 +1957,7 @@ 6137064B117B1CB3004EE44A /* Distro Adhoc */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; APPLY_RULES_IN_COPY_FILES = YES; ARCHS = "$(ARCHS_STANDARD_32_BIT)"; CODE_SIGN_ENTITLEMENTS = "Entitlements-Distribution.plist"; @@ -2080,6 +2082,7 @@ C01FCF4F08A954540054247B /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; APPLY_RULES_IN_COPY_FILES = YES; ARCHS = "$(ARCHS_STANDARD_32_BIT)"; CODE_SIGN_IDENTITY = "iPhone Developer"; @@ -2126,6 +2129,7 @@ C01FCF5008A954540054247B /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; APPLY_RULES_IN_COPY_FILES = YES; ARCHS = "$(ARCHS_STANDARD_32_BIT)"; CODE_SIGN_ENTITLEMENTS = "Entitlements-Development.plist";