author | nemo |
Sat, 27 Apr 2013 17:02:26 -0400 | |
changeset 8940 | 181ea27122da |
parent 8441 | a00b0fa0dbd7 |
child 10108 | c68cf030eded |
permissions | -rw-r--r-- |
3547 | 1 |
/* |
3829 | 2 |
* Hedgewars-iOS, a Hedgewars port for iOS devices |
6700 | 3 |
* Copyright (c) 2009-2012 Vittorio Giovara <vittorio.giovara@gmail.com> |
3829 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
3547 | 8 |
* |
3829 | 9 |
* This program is distributed in the hope that it will be useful, |
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
3547 | 17 |
*/ |
18 |
||
3829 | 19 |
|
3547 | 20 |
#ifndef PASCALIMPORTS |
21 |
#define PASCALIMPORTS |
|
22 |
||
23 |
#ifdef __cplusplus |
|
24 |
extern "C" { |
|
25 |
#endif |
|
3703
12d17c6e8855
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
3680
diff
changeset
|
26 |
|
3547 | 27 |
/* add C declarations below for all exported Pascal functions/procedure |
7048
0a4c88935902
the ios port runs again, although with a few things to sort out
koda
parents:
6832
diff
changeset
|
28 |
* that you want to use in your non-Pascal code |
3547 | 29 |
*/ |
30 |
||
8425
4f226963faef
restored ios project file, updated Game() interface, tweaked arg parsing, updated log writing, minor warnings
koda
parents:
7048
diff
changeset
|
31 |
void Game(const int argc, const char *argv[]); |
3547 | 32 |
void GenLandPreview(void); |
3926
668b71f31e51
use dynamic data from engine instead of using hardcoded values
koda
parents:
3924
diff
changeset
|
33 |
void LoadLocaleWrapper(const char *filename); |
3547 | 34 |
|
4603 | 35 |
void HW_versionInfo(int *protoNum, char **versionStr); |
4920 | 36 |
void *HW_getSDLWindow(void); |
3649 | 37 |
void HW_terminate(BOOL andCloseFrontend); |
3703
12d17c6e8855
halfway-through finishing the frontend with new graphics by Tiy + initial 'About' page set up
koda
parents:
3680
diff
changeset
|
38 |
|
3952
d6412423da45
moved some utilities to a separate column with round buttons
koda
parents:
3948
diff
changeset
|
39 |
char *HW_getWeaponNameByIndex(int whichone); |
7048
0a4c88935902
the ios port runs again, although with a few things to sort out
koda
parents:
6832
diff
changeset
|
40 |
//char *HW_getWeaponCaptionByIndex(int whichone); |
0a4c88935902
the ios port runs again, although with a few things to sort out
koda
parents:
6832
diff
changeset
|
41 |
//char *HW_getWeaponDescriptionByIndex(int whichone); |
3952
d6412423da45
moved some utilities to a separate column with round buttons
koda
parents:
3948
diff
changeset
|
42 |
int HW_getNumberOfWeapons(void); |
3926
668b71f31e51
use dynamic data from engine instead of using hardcoded values
koda
parents:
3924
diff
changeset
|
43 |
int HW_getMaxNumberOfHogs(void); |
668b71f31e51
use dynamic data from engine instead of using hardcoded values
koda
parents:
3924
diff
changeset
|
44 |
int HW_getMaxNumberOfTeams(void); |
6362
ceacd1b61833
modify ReleaseSound so that it performs a partial release of unused sounds, useful for responding to memory warnings
koda
parents:
5975
diff
changeset
|
45 |
|
ceacd1b61833
modify ReleaseSound so that it performs a partial release of unused sounds, useful for responding to memory warnings
koda
parents:
5975
diff
changeset
|
46 |
void HW_memoryWarningCallback(void); |
8441 | 47 |
|
3547 | 48 |
#ifdef __cplusplus |
49 |
} |
|
50 |
#endif |
|
51 |
||
52 |
#endif |