# HG changeset patch # User koda # Date 1332892602 -7200 # Node ID fae8fd118da9dc117d93aad69eb5fea4ebc59953 # Parent f848120b3fcccbb74f0a8e13ce046927562a236e dates are no more! diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/AboutViewController.h --- a/project_files/HedgewarsMobile/Classes/AboutViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/AboutViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 01/08/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/AboutViewController.m --- a/project_files/HedgewarsMobile/Classes/AboutViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/AboutViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 01/08/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/Appirater.h --- a/project_files/HedgewarsMobile/Classes/Appirater.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/Appirater.h Wed Mar 28 01:56:42 2012 +0200 @@ -1,5 +1,5 @@ /* - This file is part of Appirater. + This file is part of Appirater, http://arashpayan.com Copyright (c) 2010, Arash Payan All rights reserved. @@ -25,14 +25,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* - * Appirater.h - * appirater - * - * Created by Arash Payan on 9/5/09. - * http://arashpayan.com - * Copyright 2010 Arash Payan. All rights reserved. - */ + #import diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/Appirater.m --- a/project_files/HedgewarsMobile/Classes/Appirater.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/Appirater.m Wed Mar 28 01:56:42 2012 +0200 @@ -1,5 +1,5 @@ /* - This file is part of Appirater. + This file is part of Appirater, http://arashpayan.com Copyright (c) 2010, Arash Payan All rights reserved. @@ -25,14 +25,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* - * Appirater.m - * appirater - * - * Created by Arash Payan on 9/5/09. - * http://arashpayan.com - * Copyright 2010 Arash Payan. All rights reserved. - */ + #import "Appirater.h" #import diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/AudioManagerController.h --- a/project_files/HedgewarsMobile/Classes/AudioManagerController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/AudioManagerController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 23/09/2012. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/AudioManagerController.m --- a/project_files/HedgewarsMobile/Classes/AudioManagerController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/AudioManagerController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 23/09/2012. */ @@ -24,6 +22,7 @@ #import #import "MXAudioPlayerFadeOperation.h" + static AVAudioPlayer *backgroundMusic = nil; static SystemSoundID clickSound = -1; static SystemSoundID backSound = -1; @@ -33,7 +32,6 @@ static MXAudioPlayerFadeOperation *fadeIn = nil; static MXAudioPlayerFadeOperation *fadeOut = nil; - @implementation AudioManagerController #pragma mark - diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/CGPointUtils.c --- a/project_files/HedgewarsMobile/Classes/CGPointUtils.c Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/CGPointUtils.c Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 03/10/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/CGPointUtils.h --- a/project_files/HedgewarsMobile/Classes/CGPointUtils.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/CGPointUtils.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 03/10/2010. */ #import + #define degreesToRadians(x) ( M_PI * x / 180.0) #define radiansToDegrees(x) (180.0 * x / M_PI ) diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/CreationChamber.h --- a/project_files/HedgewarsMobile/Classes/CreationChamber.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/CreationChamber.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 12/11/2010. */ #import + @interface CreationChamber : NSObject { } diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/CreationChamber.m --- a/project_files/HedgewarsMobile/Classes/CreationChamber.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/CreationChamber.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 12/11/2010. */ #import "CreationChamber.h" + @implementation CreationChamber #pragma mark Settings diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/DefinesAndMacros.h --- a/project_files/HedgewarsMobile/Classes/DefinesAndMacros.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/DefinesAndMacros.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 01/10/2012. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/EditableCellView.h --- a/project_files/HedgewarsMobile/Classes/EditableCellView.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/EditableCellView.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 03/07/2010. */ #import + @protocol EditableCellViewDelegate -(void) saveTextFieldValue:(NSString *)textString withTag:(NSInteger) tagValue; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/EditableCellView.m --- a/project_files/HedgewarsMobile/Classes/EditableCellView.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/EditableCellView.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 03/07/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.h --- a/project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 10/01/2010. */ #import + @interface EngineProtocolNetwork : NSObject { NSMutableArray *statsArray; NSOutputStream *stream; @@ -33,7 +32,6 @@ @property (assign) TCPsocket csd; @property (assign) NSInteger enginePort; - -(id) init; -(void) spawnThread:(NSString *)onSaveFile withOptions:(NSDictionary *)dictionary; -(void) engineProtocol:(id) object; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.m --- a/project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/EngineProtocolNetwork.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 10/01/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/ExtraCategories.h --- a/project_files/HedgewarsMobile/Classes/ExtraCategories.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/ExtraCategories.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 25/10/2012. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/ExtraCategories.m --- a/project_files/HedgewarsMobile/Classes/ExtraCategories.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/ExtraCategories.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 25/10/2012. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/FlagsViewController.h --- a/project_files/HedgewarsMobile/Classes/FlagsViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/FlagsViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/FlagsViewController.m --- a/project_files/HedgewarsMobile/Classes/FlagsViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/FlagsViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/04/2010. */ @@ -26,12 +24,10 @@ @implementation FlagsViewController @synthesize teamDictionary, flagArray, communityArray, lastIndexPath; - -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { return rotationManager(interfaceOrientation); } - #pragma mark - #pragma mark View lifecycle -(void) viewDidLoad { diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/FortsViewController.h --- a/project_files/HedgewarsMobile/Classes/FortsViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/FortsViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/04/2010. */ @@ -31,6 +29,6 @@ @property (nonatomic,retain) NSDictionary * teamDictionary; @property (nonatomic,retain) NSArray *fortArray; -//@property (nonatomic,retain) NSArray *fortSprites; @property (nonatomic,retain) NSIndexPath *lastIndexPath; + @end diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/FortsViewController.m --- a/project_files/HedgewarsMobile/Classes/FortsViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/FortsViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/GameConfigViewController.h --- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 18/04/2010. */ #import + @class SchemeWeaponConfigViewController; @class TeamConfigViewController; @class MapConfigViewController; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/GameConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 18/04/2010. */ @@ -26,11 +24,11 @@ #import "HelpPageLobbyViewController.h" #import "GameInterfaceBridge.h" + @implementation GameConfigViewController @synthesize imgContainer, helpPage, titleImage, sliderBackground, mapConfigViewController, teamConfigViewController, schemeWeaponConfigViewController; - -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return rotationManager(interfaceOrientation); } diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h --- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 18/04/2012. */ #import + @class EngineProtocolNetwork; @interface GameInterfaceBridge : NSObject { diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m --- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 18/04/2012. */ @@ -23,6 +21,7 @@ #import "EngineProtocolNetwork.h" #import "StatsPageViewController.h" + static UIViewController *callingController; @implementation GameInterfaceBridge diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.h --- a/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/01/2010. */ #import + @interface GeneralSettingsViewController : UITableViewController { } diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m --- a/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/01/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/GravesViewController.h --- a/project_files/HedgewarsMobile/Classes/GravesViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/GravesViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/GravesViewController.m --- a/project_files/HedgewarsMobile/Classes/GravesViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/GravesViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ @@ -25,12 +23,10 @@ @implementation GravesViewController @synthesize teamDictionary, graveArray, lastIndexPath; - -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { return rotationManager(interfaceOrientation); } - #pragma mark - #pragma mark View lifecycle -(void) viewDidLoad { diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HWUtils.h --- a/project_files/HedgewarsMobile/Classes/HWUtils.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HWUtils.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 01/10/2012. */ #import + typedef enum {gtNone, gtLocal, gtSave, gtMission, gtNet} TGameType; typedef enum {gsNone, gsLoading, gsInGame, gsInterrupted, gsEnded} TGameStatus; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HWUtils.m --- a/project_files/HedgewarsMobile/Classes/HWUtils.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HWUtils.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 01/10/2012. */ @@ -26,6 +24,7 @@ #import #import "SDL_uikitwindow.h" + static NSString *cachedModel = nil; static NSArray *cachedColors = nil; static NSMutableArray *activePorts = nil; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.h --- a/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,14 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 13/03/2012. */ #import #import "SDL_uikitappdelegate.h" + @class MainMenuViewController; @interface HedgewarsAppDelegate : SDLUIKitDelegate { diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m --- a/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,14 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 13/03/2012. */ #import "HedgewarsAppDelegate.h" #import "MainMenuViewController.h" + @implementation SDLUIKitDelegate (customDelegate) // hijack the the SDL_UIKitAppDelegate to use the UIApplicationDelegate we implement here diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HelpPageInGameViewController.h --- a/project_files/HedgewarsMobile/Classes/HelpPageInGameViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HelpPageInGameViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 30/08/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HelpPageInGameViewController.m --- a/project_files/HedgewarsMobile/Classes/HelpPageInGameViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HelpPageInGameViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 30/08/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.h --- a/project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 30/08/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.m --- a/project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 30/08/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HogHatViewController.h --- a/project_files/HedgewarsMobile/Classes/HogHatViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HogHatViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HogHatViewController.m --- a/project_files/HedgewarsMobile/Classes/HogHatViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HogHatViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HoldTableViewCell.h --- a/project_files/HedgewarsMobile/Classes/HoldTableViewCell.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HoldTableViewCell.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 03/07/2010. */ #import + @protocol HoldTableViewCellDelegate -(void) holdAction:(NSString *)content onTable:(UITableView *)aTableView; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/HoldTableViewCell.m --- a/project_files/HedgewarsMobile/Classes/HoldTableViewCell.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/HoldTableViewCell.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 03/07/2010. */ #import "HoldTableViewCell.h" + @implementation HoldTableViewCell @synthesize delegate; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/InGameMenuViewController.h --- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 25/03/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/InGameMenuViewController.m --- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 25/03/2010. */ @@ -28,7 +26,6 @@ @implementation InGameMenuViewController - -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { return rotationManager(interfaceOrientation); } diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/LevelViewController.h --- a/project_files/HedgewarsMobile/Classes/LevelViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/LevelViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/LevelViewController.m --- a/project_files/HedgewarsMobile/Classes/LevelViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/LevelViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA. - * - * File created on 02/04/2010. */ @@ -25,12 +23,10 @@ @implementation LevelViewController @synthesize teamDictionary, levelArray, levelSprites, lastIndexPath; - -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { return rotationManager(interfaceOrientation); } - #pragma mark - #pragma mark View lifecycle -(void) viewDidLoad { diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/MainMenuViewController.h --- a/project_files/HedgewarsMobile/Classes/MainMenuViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/MainMenuViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/01/2010. */ #import + @class GameConfigViewController; @class SettingsContainerViewController; @class AboutViewController; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/MainMenuViewController.m --- a/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/MainMenuViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/01/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/MapConfigViewController.h --- a/project_files/HedgewarsMobile/Classes/MapConfigViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 22/04/2010. */ @@ -23,6 +21,7 @@ #import "MapPreviewButtonView.h" #import "MNEValueTrackingSlider.h" + @interface MapConfigViewController : UIViewController { NSInteger oldValue; // for the slider NSInteger oldPage; // for the segmented control diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/MapConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,14 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 22/04/2010. */ #import "MapConfigViewController.h" #import + #define scIndex self.segmentedControl.selectedSegmentIndex #define isRandomness() (segmentedControl.selectedSegmentIndex == 0 || segmentedControl.selectedSegmentIndex == 2) diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/MapPreviewButtonView.h --- a/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 26/09/2010. */ #import + @protocol MapPreviewViewDelegate -(void) turnOnWidgets; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m --- a/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 26/09/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/MissionTrainingViewController.h --- a/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,10 +14,9 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 03/10/2012. */ + #import diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m --- a/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 03/10/2012. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/ObjcExports.h --- a/project_files/HedgewarsMobile/Classes/ObjcExports.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/ObjcExports.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 30/10/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/ObjcExports.m --- a/project_files/HedgewarsMobile/Classes/ObjcExports.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/ObjcExports.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 30/10/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/OverlayViewController.h --- a/project_files/HedgewarsMobile/Classes/OverlayViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 16/03/2010. */ #import + @class InGameMenuViewController; @class HelpPageInGameViewController; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/OverlayViewController.m --- a/project_files/HedgewarsMobile/Classes/OverlayViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/OverlayViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 16/03/2010. */ @@ -30,13 +28,11 @@ #define doDim() [dimTimer setFireDate:HIDING_TIME_DEFAULT] #define doNotDim() [dimTimer setFireDate:HIDING_TIME_NEVER] - @implementation OverlayViewController @synthesize popoverController, popupMenu, helpPage, loadingIndicator, confirmButton, grenadeTimeSegment; #pragma mark - #pragma mark rotation - -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { return rotationManager(interfaceOrientation); } diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/PascalImports.h --- a/project_files/HedgewarsMobile/Classes/PascalImports.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/PascalImports.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 07/01/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/RestoreViewController.h --- a/project_files/HedgewarsMobile/Classes/RestoreViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/RestoreViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 28/05/2012. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/RestoreViewController.m --- a/project_files/HedgewarsMobile/Classes/RestoreViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/RestoreViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 28/05/2012. */ @@ -24,12 +22,10 @@ @implementation RestoreViewController -// Override to allow orientations other than the default portrait orientation. -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return rotationManager(interfaceOrientation); } - -(IBAction) buttonReleased:(id) sender { UIButton *theButton = (UIButton *)sender; NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SavedGamesViewController.h --- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 22/09/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SavedGamesViewController.m --- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 22/09/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.h --- a/project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 19/04/2010. */ #import + @class SingleSchemeViewController; @interface SchemeSettingsViewController : UITableViewController { diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.m --- a/project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SchemeSettingsViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,14 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 19/04/2010. */ #import "SchemeSettingsViewController.h" #import "SingleSchemeViewController.h" + @implementation SchemeSettingsViewController @synthesize listOfSchemes; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.h --- a/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 13/06/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 13/06/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.h --- a/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,14 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 16/12/2010. */ #import //#import "EngineProtocolNetwork.h" + @interface ServerProtocolNetwork : NSObject { NSInteger serverPort; NSString *serverAddress; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.m --- a/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/ServerProtocolNetwork.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 10/01/2010. */ #import "ServerProtocolNetwork.h" + #define BUFFER_SIZE 256 static ServerProtocolNetwork *serverConnection; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SettingsBaseViewController.h --- a/project_files/HedgewarsMobile/Classes/SettingsBaseViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SettingsBaseViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 27/03/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m --- a/project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 27/03/2010. */ @@ -26,15 +24,14 @@ #import "SchemeSettingsViewController.h" #import "SupportViewController.h" + @implementation SettingsBaseViewController @synthesize tabController, targetController, controllerNames, lastIndexPath; - -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { return rotationManager(interfaceOrientation); } - #pragma mark - #pragma mark View lifecycle -(void) viewDidLoad { diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SettingsContainerViewController.h --- a/project_files/HedgewarsMobile/Classes/SettingsContainerViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SettingsContainerViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 27/03/2010. */ #import + @class SettingsBaseViewController; @class MGSplitViewController; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SettingsContainerViewController.m --- a/project_files/HedgewarsMobile/Classes/SettingsContainerViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SettingsContainerViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 27/03/2010. */ @@ -31,7 +29,6 @@ return rotationManager(interfaceOrientation); } - -(void) viewDidLoad { CGRect screenRect = [[UIScreen mainScreen] safeBounds]; self.view.frame = screenRect; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SingleSchemeViewController.h --- a/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 23/05/2010. */ #import + @interface SingleSchemeViewController : UITableViewController { NSString *schemeName; NSMutableDictionary *schemeDictionary; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m --- a/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 23/05/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SingleTeamViewController.h --- a/project_files/HedgewarsMobile/Classes/SingleTeamViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SingleTeamViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ #import + @class HogHatViewController; @class GravesViewController; @class VoicesViewController; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SingleTeamViewController.m --- a/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SingleTeamViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h --- a/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,14 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 19/06/2010. */ #import #import "WeaponCellView.h" + @interface SingleWeaponViewController : UITableViewController { NSString *weaponName; NSString *description; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m --- a/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 19/06/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SquareButtonView.h --- a/project_files/HedgewarsMobile/Classes/SquareButtonView.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SquareButtonView.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 20/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SquareButtonView.m --- a/project_files/HedgewarsMobile/Classes/SquareButtonView.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SquareButtonView.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 20/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/StatsPageViewController.h --- a/project_files/HedgewarsMobile/Classes/StatsPageViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/StatsPageViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 30/12/2010. */ #import + @interface StatsPageViewController : UIViewController { NSArray *statsArray; } diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/StatsPageViewController.m --- a/project_files/HedgewarsMobile/Classes/StatsPageViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/StatsPageViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 30/12/2010. */ #import "StatsPageViewController.h" + @implementation StatsPageViewController @synthesize statsArray; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SupportViewController.h --- a/project_files/HedgewarsMobile/Classes/SupportViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SupportViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 19/09/2010. */ #import + @interface SupportViewController : UITableViewController { NSArray *waysToSupport; } diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/SupportViewController.m --- a/project_files/HedgewarsMobile/Classes/SupportViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/SupportViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 19/09/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/TeamConfigViewController.h --- a/project_files/HedgewarsMobile/Classes/TeamConfigViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/TeamConfigViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 20/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/TeamConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 20/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/TeamSettingsViewController.h --- a/project_files/HedgewarsMobile/Classes/TeamSettingsViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/TeamSettingsViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ #import + @class SingleTeamViewController; @interface TeamSettingsViewController : UITableViewController { diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m --- a/project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,18 +14,16 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ #import "TeamSettingsViewController.h" #import "SingleTeamViewController.h" + @implementation TeamSettingsViewController @synthesize listOfTeams; - -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { return rotationManager(interfaceOrientation); } diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/UIImageExtra.h --- a/project_files/HedgewarsMobile/Classes/UIImageExtra.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/UIImageExtra.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/UIImageExtra.m --- a/project_files/HedgewarsMobile/Classes/UIImageExtra.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/UIImageExtra.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 08/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/VoicesViewController.h --- a/project_files/HedgewarsMobile/Classes/VoicesViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/VoicesViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,14 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ #import #import "SDL_mixer.h" + @interface VoicesViewController : UITableViewController { NSMutableDictionary *teamDictionary; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/VoicesViewController.m --- a/project_files/HedgewarsMobile/Classes/VoicesViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/VoicesViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 02/04/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/WeaponCellView.h --- a/project_files/HedgewarsMobile/Classes/WeaponCellView.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/WeaponCellView.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,13 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 03/07/2010. */ #import + @protocol WeaponButtonControllerDelegate -(void) updateValues:(NSArray *)withArray atIndex:(NSInteger) index; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/WeaponCellView.m --- a/project_files/HedgewarsMobile/Classes/WeaponCellView.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/WeaponCellView.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 07/03/2010. */ diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.h --- a/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.h Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.h Wed Mar 28 01:56:42 2012 +0200 @@ -14,12 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 19/04/2010. */ #import + + @class SingleWeaponViewController; @interface WeaponSettingsViewController : UITableViewController { diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m --- a/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Wed Mar 28 01:56:42 2012 +0200 @@ -14,14 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 19/04/2010. */ #import "WeaponSettingsViewController.h" #import "SingleWeaponViewController.h" + @implementation WeaponSettingsViewController @synthesize listOfWeapons; diff -r f848120b3fcc -r fae8fd118da9 project_files/HedgewarsMobile/Hedgewars_Prefix.pch --- a/project_files/HedgewarsMobile/Hedgewars_Prefix.pch Wed Mar 28 01:26:47 2012 +0200 +++ b/project_files/HedgewarsMobile/Hedgewars_Prefix.pch Wed Mar 28 01:56:42 2012 +0200 @@ -14,8 +14,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * File created on 25/04/2010. */