Browse Source

Reduce dPiece from int to uint16_t

pull/4744/head
Anders Jenbo 4 years ago
parent
commit
446a56d655
  1. 2
      Source/gendung.cpp
  2. 2
      Source/gendung.h

2
Source/gendung.cpp

@ -42,7 +42,7 @@ ScrollStruct ScrollInfo;
int MicroTileLen;
char TransVal;
bool TransList[256];
int dPiece[MAXDUNX][MAXDUNY];
uint16_t dPiece[MAXDUNX][MAXDUNY];
MICROS DPieceMicros[MAXTILES + 1];
int8_t dTransVal[MAXDUNX][MAXDUNY];
char dLight[MAXDUNX][MAXDUNY];

2
Source/gendung.h

@ -176,7 +176,7 @@ extern char TransVal;
/** Specifies the active transparency indices. */
extern bool TransList[256];
/** Contains the piece IDs of each tile on the map. */
extern DVL_API_FOR_TEST int dPiece[MAXDUNX][MAXDUNY];
extern DVL_API_FOR_TEST uint16_t dPiece[MAXDUNX][MAXDUNY];
/** Map of micros that comprises a full tile for any given dungeon piece. */
extern MICROS DPieceMicros[MAXTILES + 1];
/** Specifies the transparency at each coordinate of the map. */

Loading…
Cancel
Save