Daggerfall Mod:DFRemake/DFEGetFirstDungeonBlock

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

integer DFEGetFirstDungeonBlock ( DWORD MemblockPtr )[edit]

Inputs[edit]

  • 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[edit]

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

Description[edit]

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[edit]

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

See Also[edit]