author | Wuzzy <almikes@aol.com> |
Wed, 11 Oct 2017 23:01:07 +0200 | |
changeset 12692 | cb6b70392459 |
parent 11790 | ac93cfc17365 |
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[]); |
11790
ac93cfc17365
- Pass also userPath to LoadLocaleWrapper
antonc27 <antonc27@mail.ru>
parents:
11141
diff
changeset
|
32 |
void LoadLocaleWrapper(const char *filepath, const char *userpath, const char *filename); |
3547 | 33 |
|
4603 | 34 |
void HW_versionInfo(int *protoNum, char **versionStr); |
4920 | 35 |
void *HW_getSDLWindow(void); |
3649 | 36 |
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
|
37 |
|
3952
d6412423da45
moved some utilities to a separate column with round buttons
koda
parents:
3948
diff
changeset
|
38 |
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
|
39 |
//char *HW_getWeaponCaptionByIndex(int whichone); |
0a4c88935902
the ios port runs again, although with a few things to sort out
koda
parents:
6832
diff
changeset
|
40 |
//char *HW_getWeaponDescriptionByIndex(int whichone); |
3952
d6412423da45
moved some utilities to a separate column with round buttons
koda
parents:
3948
diff
changeset
|
41 |
int HW_getNumberOfWeapons(void); |
3926
668b71f31e51
use dynamic data from engine instead of using hardcoded values
koda
parents:
3924
diff
changeset
|
42 |
int HW_getMaxNumberOfHogs(void); |
668b71f31e51
use dynamic data from engine instead of using hardcoded values
koda
parents:
3924
diff
changeset
|
43 |
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
|
44 |
|
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 |
void HW_memoryWarningCallback(void); |
8441 | 46 |
|
3547 | 47 |
#ifdef __cplusplus |
48 |
} |
|
49 |
#endif |
|
50 |
||
51 |
#endif |