Daggerfall:DFRemake/DFEGetFirstDungeonBlock

A UESPWiki – Sua fonte de The Elder Scrolls desde 1995

integer DFEGetFirstDungeonBlock ( DWORD MemblockPtr )

Inputs

  • MemblockPtr: Pointer to the memblock (from GET MEMBLOCK POINTER) to receive the dungeon block data. The memblock should be allocated with at least 256 bytes

Outputs

Returns 1 on success or 0 if there are no dungeon blocks in the current dungeon.

Description

This function starts to retrieve dungeon block data from the currently selected dungeon from maps.bsa. The given memblock is filled with the block data (see DFEGetNextDungeonBlock for the specific format).

Example

  Local ErrResult as integer
  make memblock 1, 256
  ErrResult = DFEGetFirstDungeonBlock(get memblock ptr(1))

See Also