Browse Source

Update gendung.h (#6038)

pull/6040/head
DakkJaniels 3 years ago committed by GitHub
parent
commit
000516ebf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      Source/levels/gendung.h

11
Source/levels/gendung.h

@ -193,17 +193,19 @@ extern DVL_API_FOR_TEST uint16_t dPiece[MAXDUNX][MAXDUNY];
extern MICROS DPieceMicros[MAXTILES];
/** Specifies the transparency at each coordinate of the map. */
extern DVL_API_FOR_TEST int8_t dTransVal[MAXDUNX][MAXDUNY];
/** Current realtime lighting. Per tile. */
extern uint8_t dLight[MAXDUNX][MAXDUNY];
/** Precalculated static lights. dLight uses this as a base before applying lights. Per tile. */
extern uint8_t dPreLight[MAXDUNX][MAXDUNY];
/** Holds various information about dungeon tiles, @see DungeonFlag */
extern DungeonFlag dFlags[MAXDUNX][MAXDUNY];
/** Contains the player numbers (players array indices) of the map. */
/** Contains the player numbers (players array indices) of the map. negative id indicates player moving. */
extern int8_t dPlayer[MAXDUNX][MAXDUNY];
/**
* Contains the NPC numbers of the map. The NPC number represents a
* towner number (towners array index) in Tristram and a monster number
* (monsters array index) in the dungeon.
* Negative id indicates monsters moving.
*/
extern int16_t dMonster[MAXDUNX][MAXDUNY];
/**
@ -213,7 +215,10 @@ extern int16_t dMonster[MAXDUNX][MAXDUNY];
* dDead[x][y] >> 0x5 - direction
*/
extern DVL_API_FOR_TEST int8_t dCorpse[MAXDUNX][MAXDUNY];
/** Contains the object numbers (objects array indices) of the map. */
/**
* Contains the object numbers (objects array indices) of the map.
* Large objects have negative id for their extended area.
*/
extern DVL_API_FOR_TEST int8_t dObject[MAXDUNX][MAXDUNY];
/**
* Contains the arch frame numbers of the map from the special tileset

Loading…
Cancel
Save