project_files/HedgewarsMobile/Classes/CreationChamber.h
author sheepluva
Thu, 27 Oct 2011 22:52:22 +0200
changeset 6218 999215ca87d7
parent 6104 117bdf4e7af9
child 6700 e04da46ee43c
permissions -rw-r--r--
actually the those if(...); weren't supposed to be if statements in the first place, since the result is always true at that point of code anyway.
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
4976
088d40d8aba2 Happy 2011 :)
koda
parents: 4607
diff changeset
     3
 * Copyright (c) 2009-2011 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
 * File created on 12/11/2010.
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
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    21
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    22
#import <Foundation/Foundation.h>
e033cf015b2c redo once again file updating, moving stuff around
koda
parents:
diff changeset
    23
6103
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    24
@interface CreationChamber : NSObject {
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
}
55ecfbf834e3 convert creation chamber functions to class methods
koda
parents: 5984
diff changeset
    27
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