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
+43
View File
@@ -0,0 +1,43 @@
#include "BuildDefines.h"
#ifdef JA2EDITOR
#ifndef __EDITORTERRAIN_H
#define __EDITORTERRAIN_H
#define TERRAIN_TILES_NODRAW 0
#define TERRAIN_TILES_FOREGROUND 1
#define TERRAIN_TILES_BACKGROUND 2
//Andrew, could you figure out what the hell mode this is???
//It somehow links terrain tiles with lights and buildings.
#define TERRAIN_TILES_BRETS_STRANGEMODE 3
//Soon to be added to an editor struct
extern UINT16 usTotalWeight;
extern BOOLEAN fPrevShowTerrainTileButtons;
extern BOOLEAN fUseTerrainWeights;
extern INT32 TerrainTileSelected, TerrainForegroundTile,TerrainBackgroundTile;
extern INT32 TerrainTileDrawMode;
void EntryInitEditorTerrainInfo();
void InitEditorTerrainToolbar();
void CreateTerrainTileButtons();
void DeleteTerrainTileButtons();
void RenderTerrainTileButtons();
void ResetTerrainTileWeights();
void ShowTerrainTileButtons();
void HideTerrainTileButtons();
void ChooseWeightedTerrainTile();
void TerrainFill( UINT32 iMapIndex );
#endif
#endif