1,546
edits
DrinkyBird (talk | contribs) (Documented LumpReadArray) Tag: Source edit |
DrinkyBird (talk | contribs) (Fix example) Tag: Source edit |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ACSWarning}}{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}} | {{ACSWarning}}{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}} | ||
int '''LumpReadArray''' (int ''lump'', int ''pos'' array ''array'', int ''arrayPos''[, int ''length'']) {{Devfeature|3.2|alpha}} | int '''LumpReadArray''' (int ''lump'', int ''pos'', array ''array'', int ''arrayPos''[, int ''length'']) {{Devfeature|3.2|alpha}} | ||
==Usage== | ==Usage== | ||
Reads bytes from the lump into the given array. | Reads bytes from the lump into the given array. | ||
Line 22: | Line 22: | ||
int handle = LumpOpen("MYLUMP"); | int handle = LumpOpen("MYLUMP"); | ||
// The | // The lump was not found. | ||
if ( | if (handle == -1) { | ||
terminate; | |||
} | } | ||
Line 49: | Line 49: | ||
*[[LumpGetInfo]] | *[[LumpGetInfo]] | ||
*[[LumpClose]] | *[[LumpClose]] | ||
[[Category: ACS functions]] |