LumpGetInfo

Revision as of 09:21, 4 January 2024 by FusedQyou (talk | contribs) (Update specifications on failure)
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.
This article documents an ACS function which is only available in development builds of Zandronum 3.2 and newer.

mixed LumpGetInfo (int lump, int info) (development version 3.2-alpha and above only)

Usage

Returns information of the lump, based on info.

Parameters

  • lump: The lump index as returned from LumpOpen.
  • info: The type of information to return.
    • LUMP_INFO_SIZE: The buffer size of the lump.
    • LUMP_INFO_NAME: The full name (including path) of the lump.

Return value

If info is LUMP_INFO_SIZE, returns an integer specifying the buffer size of the lump.

If info is LUMP_INFO_NAME, returns a string containing the lump's full name.

Returns 0 on invalid input, alongside a console message.

Examples

This article lists no examples, please add one.