author | smxx |
Fri, 07 May 2010 20:38:55 +0000 | |
changeset 3448 | b79908461a11 |
parent 3395 | 095273ad0e08 |
permissions | -rw-r--r-- |
2678
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
1 |
/* |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
2 |
* PascalImports.h |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
3 |
// fpciphonedel |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
4 |
// |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
5 |
// Created by Vittorio on 07/01/10. |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
6 |
// Copyright __MyCompanyName__ 2010. All rights reserved. |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
7 |
* |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
8 |
*/ |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
9 |
|
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
10 |
#ifndef PASCALIMPORTS |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
11 |
#define PASCALIMPORTS |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
12 |
|
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
13 |
#ifdef __cplusplus |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
14 |
extern "C" { |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
15 |
#endif |
2682 | 16 |
|
17 |
/* add C declarations below for all exported Pascal functions/procedure |
|
18 |
* that you want to use |
|
19 |
*/ |
|
2698 | 20 |
|
2702
48fc46a922fd
rewrite gamesetup to use less memory, rename effects to sound plus some nice actions, settings work in game again
koda
parents:
2698
diff
changeset
|
21 |
void Game(const char *args[]); |
3365
37ac593e9027
wow all these files only for land preview and seed generation
koda
parents:
3347
diff
changeset
|
22 |
void GenLandPreview(); |
2698 | 23 |
|
24 |
||
2799 | 25 |
void HW_versionInfo(short int*, char**); |
2698 | 26 |
|
2682 | 27 |
void HW_click(void); |
28 |
void HW_zoomIn(void); |
|
29 |
void HW_zoomOut(void); |
|
2683 | 30 |
void HW_zoomReset(void); |
2682 | 31 |
void HW_ammoMenu(void); |
2683 | 32 |
|
2682 | 33 |
void HW_allKeysUp(void); |
34 |
||
35 |
void HW_walkLeft(void); |
|
36 |
void HW_walkRight(void); |
|
37 |
void HW_aimUp(void); |
|
38 |
void HW_aimDown(void); |
|
39 |
void HW_shoot(void); |
|
3015 | 40 |
void HW_jump(void); |
41 |
void HW_backjump(void); |
|
2682 | 42 |
|
2754
ad4f81fbfb76
touchinput works, invisible buttons added and initial support for chat
koda
parents:
2702
diff
changeset
|
43 |
void HW_chat(void); |
ad4f81fbfb76
touchinput works, invisible buttons added and initial support for chat
koda
parents:
2702
diff
changeset
|
44 |
void HW_tab(void); |
2805 | 45 |
void HW_pause(void); |
3063 | 46 |
|
3347 | 47 |
void HW_cursorUp(int); |
48 |
void HW_cursorDown(int); |
|
49 |
void HW_cursorLeft(int); |
|
50 |
void HW_cursorRight(int); |
|
51 |
||
3063 | 52 |
void HW_terminate(BOOL); |
2754
ad4f81fbfb76
touchinput works, invisible buttons added and initial support for chat
koda
parents:
2702
diff
changeset
|
53 |
|
3395
095273ad0e08
adding a somewhat working autoration for ipad (uStore.pas and uWorld.pas got mixed in the last two commits)
koda
parents:
3385
diff
changeset
|
54 |
void HW_setLandscape(BOOL); |
2678
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
55 |
#ifdef __cplusplus |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
56 |
} |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
57 |
#endif |
334016e8d895
injection of custom code in SDL for iPhone in order to implement our frontend
koda
parents:
diff
changeset
|
58 |
|
2696 | 59 |
#endif |