project_files/HedgewarsMobile/Classes/CreationChamber.h
author Medo <smaxein@googlemail.com>
Sun, 16 Sep 2012 17:42:48 +0200
changeset 7689 855eeee4166f
parent 6865 fe19af8278e6
child 10108 c68cf030eded
permissions -rw-r--r--
frontlib: Add/change comments to correspond to recent changes in QtFrontend and server
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4281
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
     1
/*
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
     2
 * Hedgewars-iOS, a Hedgewars port for iOS devices
6700
e04da46ee43c the most important commit of the year
koda
parents: 6104
diff changeset
     3
 * Copyright (c) 2009-2012 Vittorio Giovara <vittorio.giovara@gmail.com>
4281
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
     4
 *
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
     8
 *
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    12
 * GNU General Public License for more details.
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    13
 *
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    17
 */
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    18
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    19
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    20
#import <Foundation/Foundation.h>
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    21
6832
fae8fd118da9 dates are no more!
koda
parents: 6700
diff changeset
    22
6103
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    23
@interface CreationChamber : NSObject {
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    24
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    25
}
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    26
6865
fe19af8278e6 ios, this method belongs here
koda
parents: 6832
diff changeset
    27
+(void) createFirstLaunch;
6103
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    28
+(void) createSettings;
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    29
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    30
+(void) createTeamNamed:(NSString *)nameWithoutExt;
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    31
+(void) createTeamNamed:(NSString *)nameWithoutExt ofType:(NSInteger) type;
6104
117bdf4e7af9 create teams programmatically
koda
parents: 6103
diff changeset
    32
+(void) createTeamNamed:(NSString *)nameWithoutExt ofType:(NSInteger) type controlledByAI:(BOOL) shouldAITakeOver;
6103
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    33
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    34
+(void) createWeaponNamed:(NSString *)nameWithoutExt;
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    35
+(void) createWeaponNamed:(NSString *)nameWithoutExt ofType:(NSInteger) type;
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    36
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    37
+(void) createSchemeNamed:(NSString *)nameWithoutExt;
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    38
+(void) createSchemeNamed:(NSString *)nameWithoutExt ofType:(NSInteger) type;
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    39
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    40
@end
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    41