project_files/HedgewarsMobile/Classes/ObjcExports.h
author koda
Sun, 31 Oct 2010 01:49:20 +0200
changeset 4028 eb371ada631d
child 4362 8dae325dc625
permissions -rw-r--r--
move functions called by pascal code outside controller
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
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    28
void objcExportsInit();
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    29
BOOL isGameRunning();
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    30
void setGameRunning(BOOL value);
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    31
NSInteger cachedGrenadeTime();
eb371ada631d move functions called by pascal code outside controller
koda
parents:
diff changeset
    32
void setGrenadeTime(NSInteger value);