LumpReadChar

From Zandronum Wiki
Za exe2 logo cropped.png This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.
Tools-spanner-hammer.svg This article documents an ACS function which is only available in development builds of Zandronum 3.2 and newer.
This article or section is a stub. You can help the Zandronum wiki by adding to it.

int LumpReadChar (int lump, int pos[, bool unsigned]) (development version 3.2-alpha and above only)

Usage

Reads an 8-bit integer from a lump at a given offset.

Parameters

  • lump: The lump index as returned from LumpOpen.
  • pos: The byte position in the lump to read the integer from.
  • unsigned: Whether to read the integer as an unsigned type.

Return value

Returns the value of the integer read.

Examples

This article lists no examples, please add one.