author | antonc27 <antonc27@mail.ru> |
Fri, 14 Aug 2015 21:27:55 +0200 | |
branch | ios-revival |
changeset 11120 | 83c0d96f86ea |
parent 11094 | 595b5700ebac |
child 11133 | fa3d227fb308 |
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 |
|
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:
8441
diff
changeset
|
16 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 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 |
||
11094
595b5700ebac
- Fix for PascalImports and for GenLandPreview
antonc27 <antonc27@mail.ru>
parents:
10108
diff
changeset
|
31 |
void RunEngine(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 |