mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +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
83 lines
2.1 KiB
C
83 lines
2.1 KiB
C
#include "BuildDefines.h"
|
|
|
|
#ifdef JA2EDITOR
|
|
#ifndef __EDIT_SYS_H
|
|
#define __EDIT_SYS_H
|
|
|
|
#define SMALLBRUSH 0
|
|
#define MEDIUMBRUSH 1
|
|
#define LARGEBRUSH 2
|
|
|
|
#define NO_BANKS 0
|
|
#define DRAW_BANKS 1
|
|
#define DRAW_BANK_WATER 2
|
|
#define DRAW_ERASE 3
|
|
|
|
#define NO_CLIFFS 0
|
|
#define DRAW_CLIFFS 1
|
|
#define DRAW_CLIFF_LAND 2
|
|
|
|
extern BOOLEAN gfWarning;
|
|
|
|
extern BOOLEAN gfDoFill;
|
|
extern UINT16 CurrentPaste;
|
|
extern UINT16 gDebrisPaste;
|
|
extern UINT16 gChangeElevation;
|
|
extern UINT16 CurrentStruct;
|
|
extern UINT32 gDoBanks;
|
|
extern UINT32 gDoCliffs;
|
|
|
|
void EraseMapTile( INT32 iMapIndex );
|
|
void QuickEraseMapTile( INT32 iMapIndex );
|
|
void DeleteStuffFromMapTile( INT32 iMapIndex );
|
|
|
|
void PasteDebris( INT32 iMapIndex );
|
|
|
|
void PasteStructure( INT32 iMapIndex );
|
|
void PasteStructure1( INT32 iMapIndex );
|
|
void PasteStructure2( INT32 iMapIndex );
|
|
void PasteStructureCommon( INT32 iMapIndex );
|
|
|
|
void PasteSingleWall( INT32 iMapIndex );
|
|
void PasteSingleDoor( INT32 iMapIndex );
|
|
void PasteSingleWindow( INT32 iMapIndex );
|
|
void PasteSingleRoof( INT32 iMapIndex );
|
|
void PasteSingleBrokenWall( INT32 iMapIndex );
|
|
void PasteSingleDecoration( INT32 iMapIndex );
|
|
void PasteSingleDecal( INT32 iMapIndex );
|
|
void PasteSingleFloor( INT32 iMapIndex );
|
|
void PasteSingleToilet( INT32 iMapIndex );
|
|
void PasteRoomNumber( INT32 iMapIndex, UINT8 ubRoomNumber );
|
|
|
|
void PasteSingleWallCommon( INT32 iMapIndex );
|
|
|
|
UINT16 GetRandomIndexByRange( UINT16 usRangeStart, UINT16 usRangeEnd );
|
|
UINT16 GetRandomTypeByRange( UINT16 usRangeStart, UINT16 usRangeEnd );
|
|
|
|
void PasteFloor( INT32 iMapIndex, UINT16 usFloorIndex , BOOLEAN fReplace);
|
|
|
|
void PasteBanks( INT32 iMapIndex, UINT16 usStructIndex, BOOLEAN fReplace );
|
|
void PasteRoads( INT32 iMapIndex );
|
|
void PasteCliffs( INT32 iMapIndex, UINT16 usStructIndex , BOOLEAN fReplace);
|
|
|
|
void PasteTexture( INT32 iMapIndex );
|
|
void PasteTextureCommon( INT32 iMapIndex );
|
|
|
|
void PasteHigherTexture( INT32 iMapIndex, UINT32 fNewType );
|
|
|
|
//dnl ch3 230909
|
|
void RaiseWorldLand(void);
|
|
void RaiseWorldLandOld(void);
|
|
|
|
void EliminateObjectLayerRedundancy();
|
|
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|