mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +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,37 @@
|
||||
#ifndef WORLD_DAT_H
|
||||
#define WORLD_DAT_H
|
||||
|
||||
#include "types.h"
|
||||
#include "tiledat.h"
|
||||
#include "World Tileset Enums.h"
|
||||
|
||||
typedef void (*TILESET_CALLBACK)( void );
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
INT16 zName[ 32 ];
|
||||
CHAR8 TileSurfaceFilenames[ NUMBEROFTILETYPES ][32];
|
||||
UINT8 ubAmbientID;
|
||||
TILESET_CALLBACK MovementCostFnc;
|
||||
|
||||
} TILESET;
|
||||
|
||||
// Snap: The maximum number of tilesets allowed is max of UINT8
|
||||
#define MAX_TILESETS 255
|
||||
|
||||
extern UINT8 gubNumSets; // from WorldDat.cpp
|
||||
|
||||
extern TILESET gTilesets[ MAX_TILESETS ];
|
||||
|
||||
|
||||
void InitEngineTilesets( );
|
||||
|
||||
|
||||
// THESE FUNCTIONS WILL SET TERRAIN VALUES - CALL ONE FOR EACH TILESET
|
||||
void SetTilesetOneTerrainValues( );
|
||||
void SetTilesetTwoTerrainValues( );
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user