project_files/HedgewarsMobile/Classes/PascalImports.h
changeset 3703 12d17c6e8855
parent 3680 aaf832c6fbd7
child 3737 2ba6ac8a114b
equal deleted inserted replaced
3701:8c449776ebe6 3703:12d17c6e8855
    11 #define PASCALIMPORTS
    11 #define PASCALIMPORTS
    12 
    12 
    13 #ifdef __cplusplus
    13 #ifdef __cplusplus
    14 extern "C" {
    14 extern "C" {
    15 #endif
    15 #endif
    16     
    16 
    17     /* add C declarations below for all exported Pascal functions/procedure
    17     /* add C declarations below for all exported Pascal functions/procedure
    18      * that you want to use
    18      * that you want to use
    19      */
    19      */
    20 
    20 
    21     void Game(const char *args[]);
    21     void Game(const char *args[]);
    23 
    23 
    24 
    24 
    25     void HW_versionInfo(short int *netProto, char **versionStr);
    25     void HW_versionInfo(short int *netProto, char **versionStr);
    26 
    26 
    27     void HW_click(void);
    27     void HW_click(void);
    28     
    28 
    29     void HW_zoomIn(void);
    29     void HW_zoomIn(void);
    30     void HW_zoomOut(void);
    30     void HW_zoomOut(void);
    31     void HW_zoomReset(void);
    31     void HW_zoomReset(void);
    32     void HW_ammoMenu(void);
    32     void HW_ammoMenu(void);
    33     
    33 
    34     void HW_walkingKeysUp(void);
    34     void HW_walkingKeysUp(void);
    35     void HW_otherKeysUp(void);
    35     void HW_otherKeysUp(void);
    36     void HW_allKeysUp(void);
    36     void HW_allKeysUp(void);
    37     
    37 
    38     void HW_walkLeft(void);
    38     void HW_walkLeft(void);
    39     void HW_walkRight(void);
    39     void HW_walkRight(void);
    40     void HW_aimUp(void);
    40     void HW_aimUp(void);
    41     void HW_aimDown(void);
    41     void HW_aimDown(void);
    42     void HW_preciseSet(BOOL status);
    42     void HW_preciseSet(BOOL status);
    43     
    43 
    44     void HW_shoot(void);
    44     void HW_shoot(void);
    45     void HW_jump(void);
    45     void HW_jump(void);
    46     void HW_backjump(void);
    46     void HW_backjump(void);
    47     
    47 
    48     void HW_chat(void);
    48     void HW_chat(void);
    49     void HW_chatEnd(void);
    49     void HW_chatEnd(void);
    50     void HW_tab(void);
    50     void HW_tab(void);
    51     void HW_pause(void);
    51     void HW_pause(void);
    52     
    52 
    53     void HW_terminate(BOOL andCloseFrontend);
    53     void HW_terminate(BOOL andCloseFrontend);
    54     
    54 
    55     void HW_setLandscape(BOOL rotate);
    55     void HW_setLandscape(BOOL rotate);
    56     void HW_setCursor(int x, int y);
    56     void HW_setCursor(int x, int y);
    57     void HW_getCursor(int *x, int *y);
    57     void HW_getCursor(int *x, int *y);
    58 
    58 
    59     void HW_setPianoSound(int snd);
    59     void HW_setPianoSound(int snd);
    60     
    60 
    61     float HW_zoomFactor(void);
    61     float HW_zoomFactor(void);
    62     int HW_zoomLevel(void);
    62     int HW_zoomLevel(void);
    63     
    63 
    64     BOOL HW_isAmmoOpen(void);
    64     BOOL HW_isAmmoOpen(void);
    65     BOOL HW_isPaused(void);
    65     BOOL HW_isPaused(void);
    66     BOOL HW_isWeaponRequiringClick(void);
    66     BOOL HW_isWeaponRequiringClick(void);
    67     BOOL HW_isWeaponTimerable(void);
    67     BOOL HW_isWeaponTimerable(void);
    68     BOOL HW_isWeaponSwitch(void);
    68     BOOL HW_isWeaponSwitch(void);
    69     
    69 
    70     void HW_setGrenadeTime(int time);
    70     void HW_setGrenadeTime(int time);
    71     
    71 
    72 #ifdef __cplusplus
    72 #ifdef __cplusplus
    73 }
    73 }
    74 #endif
    74 #endif
    75 
    75 
    76 #endif
    76 #endif