mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
**********************************************************
** Big Maps Projects code (incl. Multiplayer v1.5 ** ********************************************************** - Merged Big Maps Project code from BMP+MP trunk (Revision: 3340) o Complete SVN Revision history: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP - Before THIS merge, I made a branch of the existing 1.13 source o SVN Branch: https://81.169.133.124/source/ja2/branches/JA2_rev.3336/src - Removed old VS 6.0 and VS 2003 project and solutions files, because compilation is broken long time ago - I will add VS 2010 projects and solution file in the next few days git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3341 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+16
-16
@@ -47,7 +47,7 @@ enum
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT16 sGridNo; //The gridno the graphic will be applied to
|
||||
INT32 usGridNo; //The gridno the graphic will be applied to
|
||||
UINT16 usImageType; //graphic index
|
||||
UINT16 usSubImageIndex; //
|
||||
// UINT16 usIndex;
|
||||
@@ -66,22 +66,22 @@ BOOLEAN SaveModifiedMapStructToMapTempFile( MODIFY_MAP *pMap, INT16 sSectorX, IN
|
||||
|
||||
|
||||
//Applies a change TO THE MAP TEMP file
|
||||
void AddStructToMapTempFile( UINT32 iMapIndex, UINT16 usIndex );
|
||||
void AddStructToMapTempFile( INT32 iMapIndex, UINT16 usIndex );
|
||||
|
||||
|
||||
//Applies a change TO THE MAP from the temp file
|
||||
void AddStructFromMapTempFileToMap( UINT32 iMapIndex, UINT16 usIndex );
|
||||
void AddStructFromMapTempFileToMap( INT32 iMapIndex, UINT16 usIndex );
|
||||
|
||||
|
||||
void AddObjectToMapTempFile( UINT32 uiMapIndex, UINT16 usIndex );
|
||||
void AddObjectToMapTempFile( INT32 uiMapIndex, UINT16 usIndex );
|
||||
|
||||
|
||||
BOOLEAN LoadAllMapChangesFromMapTempFileAndApplyThem( );
|
||||
|
||||
|
||||
void RemoveStructFromMapTempFile( UINT32 uiMapIndex, UINT16 usIndex );
|
||||
void RemoveStructFromMapTempFile( INT32 uiMapIndex, UINT16 usIndex );
|
||||
|
||||
void AddRemoveObjectToMapTempFile( UINT32 uiMapIndex, UINT16 usIndex );
|
||||
void AddRemoveObjectToMapTempFile( INT32 uiMapIndex, UINT16 usIndex );
|
||||
|
||||
void SaveBloodSmellAndRevealedStatesFromMapToTempFile();
|
||||
|
||||
@@ -91,25 +91,25 @@ BOOLEAN SaveRevealedStatusArrayToRevealedTempFile( INT16 sSectorX, INT16 sSector
|
||||
BOOLEAN LoadRevealedStatusArrayFromRevealedTempFile();
|
||||
|
||||
|
||||
void AddRemoveObjectToUnLoadedMapTempFile( UINT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
void RemoveStructFromUnLoadedMapTempFile( UINT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
void AddObjectToUnLoadedMapTempFile( UINT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
void AddStructToUnLoadedMapTempFile( UINT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
void AddRemoveObjectToUnLoadedMapTempFile( INT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
void RemoveStructFromUnLoadedMapTempFile( INT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
void AddObjectToUnLoadedMapTempFile( INT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
void AddStructToUnLoadedMapTempFile( INT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
|
||||
//Adds the exit grid to
|
||||
void AddExitGridToMapTempFile( INT16 sGridNo, EXITGRID *pExitGrid, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
void AddExitGridToMapTempFile( INT32 usGridNo, EXITGRID *pExitGrid, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
|
||||
|
||||
//This function removes a struct with the same MapIndex and graphic index from the given sectors temp file
|
||||
BOOLEAN RemoveGraphicFromTempFile( UINT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
BOOLEAN RemoveGraphicFromTempFile( INT32 uiMapIndex, UINT16 usIndex, INT16 sSectorX, INT16 sSectorY, UINT8 ubSectorZ );
|
||||
|
||||
|
||||
void SetOpenableStructStatusFromMapTempFile( UINT32 uiMapIndex, BOOLEAN fOpened );
|
||||
void AddOpenableStructStatusToMapTempFile( UINT32 uiMapIndex, BOOLEAN fOpened );
|
||||
void SetOpenableStructStatusFromMapTempFile( INT32 uiMapIndex, BOOLEAN fOpened );
|
||||
void AddOpenableStructStatusToMapTempFile( INT32 uiMapIndex, BOOLEAN fOpened );
|
||||
|
||||
void AddWindowHitToMapTempFile( UINT32 uiMapIndex );
|
||||
void AddWindowHitToMapTempFile( INT32 uiMapIndex );
|
||||
|
||||
BOOLEAN ChangeStatusOfOpenableStructInUnloadedSector( UINT16 usSectorX, UINT16 usSectorY, INT8 bSectorZ, INT16 sGridNo, BOOLEAN fChangeToOpen );
|
||||
BOOLEAN ChangeStatusOfOpenableStructInUnloadedSector( UINT16 usSectorX, UINT16 usSectorY, INT8 bSectorZ, INT32 usGridNo, BOOLEAN fChangeToOpen );
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user