project_files/HedgewarsMobile/Classes/CreationChamber.h
author sheepluva
Thu, 05 Nov 2015 04:42:22 +0100
changeset 11304 a20f416c91ec
parent 10108 c68cf030eded
child 12877 00215a7ec5f5
permissions -rw-r--r--
fix bug reported by S.D.: throwing a sticking mine into a bouncy pit never ends turn. see also http://hedgewars.org/node/6350
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
10108
c68cf030eded update FSF address. note: two sdl include files (by Sam Lantinga) still have the old FSF address in their copyright - but I ain't gonna touch their copyright headers
sheepluva
parents: 6865
diff changeset
    16
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
4281
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