author | koda |
Sun, 18 Jul 2010 03:55:56 +0200 | |
changeset 3651 | 7058ca178f3b |
parent 3650 | ec90e573f47a |
child 3661 | 2378ada8a6ee |
permissions | -rw-r--r-- |
3547 | 1 |
/* |
2 |
* PascalImports.h |
|
3 |
// fpciphonedel |
|
4 |
// |
|
5 |
// Created by Vittorio on 07/01/10. |
|
6 |
// Copyright __MyCompanyName__ 2010. All rights reserved. |
|
7 |
* |
|
8 |
*/ |
|
9 |
||
10 |
#ifndef PASCALIMPORTS |
|
11 |
#define PASCALIMPORTS |
|
12 |
||
13 |
#ifdef __cplusplus |
|
14 |
extern "C" { |
|
15 |
#endif |
|
16 |
||
17 |
/* add C declarations below for all exported Pascal functions/procedure |
|
18 |
* that you want to use |
|
19 |
*/ |
|
20 |
||
21 |
void Game(const char *args[]); |
|
22 |
void GenLandPreview(void); |
|
23 |
||
24 |
||
3650 | 25 |
void HW_versionInfo(short int *netProto, char **versionStr); |
3547 | 26 |
|
27 |
void HW_click(void); |
|
3639
b5cdbcc89b61
use a button instead of label and simplify a lot touch interaction
koda
parents:
3637
diff
changeset
|
28 |
|
3547 | 29 |
void HW_zoomIn(void); |
30 |
void HW_zoomOut(void); |
|
31 |
void HW_zoomReset(void); |
|
32 |
void HW_ammoMenu(void); |
|
33 |
||
3626 | 34 |
void HW_walkingKeysUp(void); |
35 |
void HW_otherKeysUp(void); |
|
3547 | 36 |
void HW_allKeysUp(void); |
37 |
||
38 |
void HW_walkLeft(void); |
|
39 |
void HW_walkRight(void); |
|
40 |
void HW_aimUp(void); |
|
41 |
void HW_aimDown(void); |
|
3649 | 42 |
void HW_preciseSet(BOOL status); |
43 |
||
3547 | 44 |
void HW_shoot(void); |
45 |
void HW_jump(void); |
|
46 |
void HW_backjump(void); |
|
47 |
||
48 |
void HW_chat(void); |
|
3648 | 49 |
void HW_chatEnd(void); |
3547 | 50 |
void HW_tab(void); |
51 |
void HW_pause(void); |
|
52 |
||
3649 | 53 |
void HW_terminate(BOOL andCloseFrontend); |
3547 | 54 |
|
3649 | 55 |
void HW_setLandscape(BOOL rotate); |
3551 | 56 |
void HW_setCursor(int x, int y); |
3635
38d3e31556d3
improvements to touch interface (tap to select weap, don't move camera for spourious taps, ask for confirmation when using click-weapons)
koda
parents:
3626
diff
changeset
|
57 |
void HW_saveCursor(BOOL reset); |
3637
0db298524c3d
implement the check on the type of ammo requiring a second tap to confirm
koda
parents:
3635
diff
changeset
|
58 |
|
3551 | 59 |
BOOL HW_isAmmoOpen(void); |
3637
0db298524c3d
implement the check on the type of ammo requiring a second tap to confirm
koda
parents:
3635
diff
changeset
|
60 |
BOOL HW_isWeaponRequiringClick(void); |
3650 | 61 |
BOOL HW_isWeaponTimerable(void); |
3651 | 62 |
BOOL HW_isWeaponSwitch(void); |
3650 | 63 |
|
64 |
void HW_setGrenadeTime(int time); |
|
3649 | 65 |
|
3547 | 66 |
#ifdef __cplusplus |
67 |
} |
|
68 |
#endif |
|
69 |
||
70 |
#endif |