equal
deleted
inserted
replaced
19 */ |
19 */ |
20 |
20 |
21 |
21 |
22 #import "SchemeWeaponConfigViewController.h" |
22 #import "SchemeWeaponConfigViewController.h" |
23 #import "CommodityFunctions.h" |
23 #import "CommodityFunctions.h" |
24 #import "SDL_uikitappdelegate.h" |
|
25 |
24 |
26 #define LABEL_TAG 57423 |
25 #define LABEL_TAG 57423 |
27 |
26 |
28 @implementation SchemeWeaponConfigViewController |
27 @implementation SchemeWeaponConfigViewController |
29 @synthesize listOfSchemes, listOfWeapons, lastIndexPath_sc, lastIndexPath_we, selectedScheme, selectedWeapon, syncSwitch; |
28 @synthesize listOfSchemes, listOfWeapons, lastIndexPath_sc, lastIndexPath_we, selectedScheme, selectedWeapon, syncSwitch; |
260 } |
259 } |
261 |
260 |
262 #pragma mark - |
261 #pragma mark - |
263 #pragma mark Memory management |
262 #pragma mark Memory management |
264 -(void) didReceiveMemoryWarning { |
263 -(void) didReceiveMemoryWarning { |
265 if ([[SDLUIKitDelegate sharedAppDelegate] isInGame]) { |
264 if ([[HedgewarsAppDelegate sharedAppDelegate] isInGame]) { |
266 self.lastIndexPath_sc = nil; |
265 self.lastIndexPath_sc = nil; |
267 self.lastIndexPath_we = nil; |
266 self.lastIndexPath_we = nil; |
268 self.listOfSchemes = nil; |
267 self.listOfSchemes = nil; |
269 self.listOfWeapons = nil; |
268 self.listOfWeapons = nil; |
270 self.syncSwitch = nil; |
269 self.syncSwitch = nil; |