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:
lalien
2006-04-19 11:32:51 +00:00
commit e54aeb96aa
790 changed files with 741287 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
#ifndef STRUCURE_WRAP_H
#define STRUCURE_WRAP_H
BOOLEAN IsTreePresentAtGridno( INT16 sGridNo );
BOOLEAN IsFencePresentAtGridno( INT16 sGridNo );
BOOLEAN IsJumpableFencePresentAtGridno( INT16 sGridNo );
BOOLEAN IsDoorPresentAtGridno( INT16 sGridNo );
// OK, THIS FUNCTION RETURNS A LEVELNODE POINTER TO A WALL OF THE SAME ORIENTATION
// AS WAS GIVEN. RETURNS NULL IF NONE FOUND.
LEVELNODE *GetWallLevelNodeOfSameOrientationAtGridno( INT16 sGridNo, INT8 ubOrientation );
LEVELNODE *IsWallPresentAtGridno( INT16 sGridNo );
BOOLEAN IsDoorVisibleAtGridNo( INT16 sGridNo );
BOOLEAN IsHiddenStructureVisible( INT16 sGridNo, UINT16 usIndex );
BOOLEAN DoesGridnoContainHiddenStruct( INT16 sGridNo, BOOLEAN *pfVisible );
BOOLEAN WallExistsOfTopLeftOrientation( INT16 sGridNo );
BOOLEAN WallExistsOfTopRightOrientation( INT16 sGridNo );
BOOLEAN WallOrClosedDoorExistsOfTopLeftOrientation( INT16 sGridNo );
BOOLEAN WallOrClosedDoorExistsOfTopRightOrientation( INT16 sGridNo );
BOOLEAN OpenRightOrientedDoorWithDoorOnRightOfEdgeExists( INT16 sGridNo );
BOOLEAN OpenLeftOrientedDoorWithDoorOnLeftOfEdgeExists( INT16 sGridNo );
LEVELNODE *GetWallLevelNodeAndStructOfSameOrientationAtGridno( INT16 sGridNo, INT8 ubOrientation, STRUCTURE **ppStructure );
BOOLEAN CutWireFence( INT16 sGridNo );
BOOLEAN IsCuttableWireFenceAtGridNo( INT16 sGridNo );
BOOLEAN IsCutWireFenceAtGridNo( INT16 sGridNo );
BOOLEAN IsRepairableStructAtGridNo( INT16 sGridNo, UINT8 *pubID );
BOOLEAN IsRefuelableStructAtGridNo( INT16 sGridNo, UINT8 *pubID );
BOOLEAN IsRoofPresentAtGridno( INT16 sGridNo );
INT16 FindDoorAtGridNoOrAdjacent( INT16 sGridNo );
BOOLEAN IsCorpseAtGridNo( INT16 sGridNo, UINT8 ubLevel );
BOOLEAN SetOpenableStructureToClosed( INT16 sGridNo, UINT8 ubLevel );
#endif