23 #ifdef __cplusplus |
23 #ifdef __cplusplus |
24 extern "C" { |
24 extern "C" { |
25 #endif |
25 #endif |
26 |
26 |
27 /* add C declarations below for all exported Pascal functions/procedure |
27 /* add C declarations below for all exported Pascal functions/procedure |
28 * that you want to use |
28 * that you want to use in your non-Pascal code |
29 */ |
29 */ |
30 |
30 |
31 void Game(const char *args[]); |
31 void Game(const char *args[]); |
32 void GenLandPreview(void); |
32 void GenLandPreview(void); |
33 void LoadLocaleWrapper(const char *filename); |
33 void LoadLocaleWrapper(const char *filename); |
34 |
34 |
35 void HW_versionInfo(int *protoNum, char **versionStr); |
35 void HW_versionInfo(int *protoNum, char **versionStr); |
36 |
|
37 void HW_click(void); |
|
38 void HW_ammoMenu(void); |
|
39 |
|
40 void HW_zoomSet(float value); |
|
41 void HW_zoomIn(void); |
|
42 void HW_zoomOut(void); |
|
43 void HW_zoomReset(void); |
|
44 float HW_zoomFactor(void); |
|
45 int HW_zoomLevel(void); |
|
46 |
|
47 void HW_walkingKeysUp(void); |
|
48 void HW_otherKeysUp(void); |
|
49 void HW_allKeysUp(void); |
|
50 |
|
51 void HW_walkLeft(void); |
|
52 void HW_walkRight(void); |
|
53 void HW_aimUp(void); |
|
54 void HW_aimDown(void); |
|
55 void HW_preciseSet(BOOL status); |
|
56 |
|
57 void HW_shoot(void); |
|
58 void HW_jump(void); |
|
59 void HW_backjump(void); |
|
60 |
|
61 void HW_chat(void); |
|
62 void HW_chatEnd(void); |
|
63 void HW_tab(void); |
|
64 void HW_screenshot(void); |
|
65 |
|
66 void HW_pause(void); |
|
67 void HW_pauseToggle(void); |
|
68 BOOL HW_isPaused(void); |
|
69 |
|
70 void *HW_getSDLWindow(void); |
36 void *HW_getSDLWindow(void); |
71 void HW_terminate(BOOL andCloseFrontend); |
37 void HW_terminate(BOOL andCloseFrontend); |
72 |
38 |
73 void HW_setCursor(int x, int y); |
|
74 void HW_getCursor(int *x, int *y); |
|
75 |
|
76 BOOL HW_isAmmoMenuOpen(void); |
|
77 BOOL HW_isAmmoMenuNotAllowed(void); |
|
78 BOOL HW_isWeaponRequiringClick(void); |
|
79 BOOL HW_isWeaponTimerable(void); |
|
80 BOOL HW_isWeaponSwitch(void); |
|
81 BOOL HW_isWeaponRope(void); |
|
82 |
|
83 void HW_setGrenadeTime(int time); |
|
84 int HW_getGrenadeTime(void); |
|
85 |
|
86 void HW_setPianoSound(int snd); |
|
87 void HW_setWeapon(int whichone); |
|
88 BOOL HW_isWeaponAnEffect(int whichone); |
|
89 char *HW_getWeaponNameByIndex(int whichone); |
39 char *HW_getWeaponNameByIndex(int whichone); |
90 char *HW_getWeaponCaptionByIndex(int whichone); |
40 //char *HW_getWeaponCaptionByIndex(int whichone); |
91 char *HW_getWeaponDescriptionByIndex(int whichone); |
41 //char *HW_getWeaponDescriptionByIndex(int whichone); |
92 |
|
93 void HW_getAmmoDelays(unsigned char *pointer); |
|
94 int HW_getAmmoCounts(int *pointer); |
|
95 |
|
96 int HW_getNumberOfWeapons(void); |
42 int HW_getNumberOfWeapons(void); |
97 int HW_getTurnsForCurrentTeam(void); |
|
98 int HW_getMaxNumberOfHogs(void); |
43 int HW_getMaxNumberOfHogs(void); |
99 int HW_getMaxNumberOfTeams(void); |
44 int HW_getMaxNumberOfTeams(void); |
100 |
45 |
101 void HW_memoryWarningCallback(void); |
46 void HW_memoryWarningCallback(void); |
102 |
47 |