mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Original Source for 1.13 Mod High Resolution version from 12/06/05
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
#ifndef __INTERACTIVE_TILES_H
|
||||
#define __INTERACTIVE_TILES_H
|
||||
|
||||
#include "Soldier Control.h"
|
||||
|
||||
#define INTTILE_DOOR_TILE_ONE 1
|
||||
|
||||
#define INTTILE_DOOR_OPENSPEED 70
|
||||
|
||||
#define INTILE_CHECK_FULL 1
|
||||
#define INTILE_CHECK_SELECTIVE 2
|
||||
|
||||
|
||||
extern BOOLEAN gfOverIntTile;
|
||||
|
||||
|
||||
void GetLevelNodeScreenRect( LEVELNODE *pNode, SGPRect *pRect, INT16 sXPos, INT16 sYPos, INT16 sGridNo );
|
||||
BOOLEAN InitInteractiveTileManagement( );
|
||||
void ShutdownInteractiveTileManagement( );
|
||||
BOOLEAN AddInteractiveTile( INT16 sGridNo, LEVELNODE *pLevelNode, UINT32 uiFlags, UINT16 usType );
|
||||
BOOLEAN StartInteractiveObject( INT16 sGridNo, UINT16 usStructureID, SOLDIERTYPE *pSoldier, UINT8 ubDirection );
|
||||
BOOLEAN StartInteractiveObjectFromMouse( SOLDIERTYPE *pSoldier, UINT8 ubDirection );
|
||||
void CompileInteractiveTiles( );
|
||||
UINT32 GetInteractiveTileCursor( UINT32 uiOldCursor, BOOLEAN fConfirm );
|
||||
BOOLEAN InteractWithInteractiveObject( SOLDIERTYPE *pSoldier, STRUCTURE *pStructure, UINT8 ubDirection );
|
||||
BOOLEAN SoldierHandleInteractiveObject( SOLDIERTYPE *pSoldier );
|
||||
|
||||
BOOLEAN CalcInteractiveObjectAPs( INT16 sGridNo, STRUCTURE * pStructure, INT16 *psAPCost, INT16 *psBPCost );
|
||||
|
||||
void HandleStructChangeFromGridNo( SOLDIERTYPE *pSoldier, INT16 sGridNo );
|
||||
|
||||
|
||||
void BeginCurInteractiveTileCheck( UINT8 bCheckFlags );
|
||||
void EndCurInteractiveTileCheck( );
|
||||
void LogMouseOverInteractiveTile( INT16 sGridNo );
|
||||
BOOLEAN ShouldCheckForMouseDetections( );
|
||||
|
||||
void CycleIntTileFindStack( UINT16 usMapPos );
|
||||
void SetActionModeDoorCursorText( );
|
||||
|
||||
LEVELNODE *GetCurInteractiveTile( );
|
||||
LEVELNODE *GetCurInteractiveTileGridNo( INT16 *psGridNo );
|
||||
LEVELNODE *GetCurInteractiveTileGridNoAndStructure( INT16 *psGridNo, STRUCTURE **ppStructure );
|
||||
LEVELNODE *ConditionalGetCurInteractiveTileGridNoAndStructure( INT16 *psGridNo, STRUCTURE **ppStructure, BOOLEAN fRejectOnTopItems );
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user