LumpOpen: Difference between revisions

Clarify some behavior.
m (Remove duplicate reference)
Tag: Source edit
(Clarify some behavior.)
 
Line 9: Line 9:
===Parameters===
===Parameters===
*''name'': The name of the lump to find.
*''name'': The name of the lump to find.
*''start'': The lump index to start searching for this lump after.
*''start'': The lump index to start searching for this lump after. If not specified, the last lump loaded with the name will be returned.
*''flags'': Can be a combination of the following values:
*''flags'': Can be a combination of the following values:
**<code>LUMP_OPEN_FULLPATH</code>: When specified, ''name'' represents the full path of the lump. For example, <code>sounds/mysound.ogg</code>.
**<code>LUMP_OPEN_FULLPATH</code>: When specified, ''name'' represents the full path of the lump. For example, <code>sounds/mysound.ogg</code>. ''start'' does nothing with this flag enabled.


===Return value===
===Return value===