project_files/HedgewarsMobile/Classes/PascalImports.h
author koda
Sat, 31 Jul 2010 10:39:20 +0200
changeset 3680 aaf832c6fbd7
parent 3668 3f7a95234d8a
child 3703 12d17c6e8855
permissions -rw-r--r--
fix panning when zoomed (finally)

/*
 *  PascalImports.h
//  fpciphonedel
//
//  Created by Vittorio on 07/01/10.
//  Copyright __MyCompanyName__ 2010. All rights reserved.
 *
 */

#ifndef PASCALIMPORTS
#define PASCALIMPORTS

#ifdef __cplusplus
extern "C" {
#endif
    
    /* add C declarations below for all exported Pascal functions/procedure
     * that you want to use
     */

    void Game(const char *args[]);
    void GenLandPreview(void);


    void HW_versionInfo(short int *netProto, char **versionStr);

    void HW_click(void);
    
    void HW_zoomIn(void);
    void HW_zoomOut(void);
    void HW_zoomReset(void);
    void HW_ammoMenu(void);
    
    void HW_walkingKeysUp(void);
    void HW_otherKeysUp(void);
    void HW_allKeysUp(void);
    
    void HW_walkLeft(void);
    void HW_walkRight(void);
    void HW_aimUp(void);
    void HW_aimDown(void);
    void HW_preciseSet(BOOL status);
    
    void HW_shoot(void);
    void HW_jump(void);
    void HW_backjump(void);
    
    void HW_chat(void);
    void HW_chatEnd(void);
    void HW_tab(void);
    void HW_pause(void);
    
    void HW_terminate(BOOL andCloseFrontend);
    
    void HW_setLandscape(BOOL rotate);
    void HW_setCursor(int x, int y);
    void HW_getCursor(int *x, int *y);

    void HW_setPianoSound(int snd);
    
    float HW_zoomFactor(void);
    int HW_zoomLevel(void);
    
    BOOL HW_isAmmoOpen(void);
    BOOL HW_isPaused(void);
    BOOL HW_isWeaponRequiringClick(void);
    BOOL HW_isWeaponTimerable(void);
    BOOL HW_isWeaponSwitch(void);
    
    void HW_setGrenadeTime(int time);
    
#ifdef __cplusplus
}
#endif

#endif