project_files/HedgewarsMobile/Classes/ObjcExports.h
author koda
Tue, 04 Jan 2011 01:21:30 +0100
changeset 4811 3edc0cdcfe03
parent 4504 8906b2409d97
child 4976 088d40d8aba2
permissions -rw-r--r--
add new robot badge to sources
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4028
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     1
/*
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     2
 * Hedgewars-iOS, a Hedgewars port for iOS devices
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     3
 * Copyright (c) 2009-2010 Vittorio Giovara <vittorio.giovara@gmail.com>
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     4
 *
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     8
 *
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    12
 * GNU General Public License for more details.
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    13
 *
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    17
 *
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    18
 * File created on 30/10/2010.
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    19
 */
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    20
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    21
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    22
#define ANIMATION_DURATION 0.25
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    23
#define CONFIRMATION_TAG 5959
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    24
#define GRENADE_TAG 9595
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    25
#define REPLAYBLACKVIEW_TAG 9955
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    26
#define ACTIVITYINDICATOR_TAG 987654
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    27
4362
8dae325dc625 added missing graphics and fixed some glitches/crashes/bugs
koda
parents: 4028
diff changeset
    28
@class AmmoMenuViewController;
8dae325dc625 added missing graphics and fixed some glitches/crashes/bugs
koda
parents: 4028
diff changeset
    29
4028
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    30
void objcExportsInit();
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    31
BOOL isGameRunning();
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    32
void setGameRunning(BOOL value);
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    33
NSInteger cachedGrenadeTime();
4504
8906b2409d97 add the appirater class for getting more positive reviews
koda
parents: 4362
diff changeset
    34
void clearView();
4028
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    35
void setGrenadeTime(NSInteger value);
4362
8dae325dc625 added missing graphics and fixed some glitches/crashes/bugs
koda
parents: 4028
diff changeset
    36
void setAmmoMenuInstance(AmmoMenuViewController *instance);