mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- restored Wads.GetNumLumps() scripted function
https://forum.zdoom.org/viewtopic.php?t=68300
This commit is contained in:
parent
426f40dd52
commit
62d4bbbe65
2 changed files with 2 additions and 2 deletions
|
@ -3005,7 +3005,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(_AltHUD, GetLatency, Net_GetLatency)
|
||||||
//
|
//
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
||||||
DEFINE_ACTION_FUNCTION(_Wads, GetNumEntries)
|
DEFINE_ACTION_FUNCTION(_Wads, GetNumLumps)
|
||||||
{
|
{
|
||||||
PARAM_PROLOGUE;
|
PARAM_PROLOGUE;
|
||||||
ACTION_RETURN_INT(fileSystem.GetNumEntries());
|
ACTION_RETURN_INT(fileSystem.GetNumEntries());
|
||||||
|
|
|
@ -879,7 +879,7 @@ struct Wads
|
||||||
native static int FindLump(string name, int startlump = 0, FindLumpNamespace ns = GlobalNamespace);
|
native static int FindLump(string name, int startlump = 0, FindLumpNamespace ns = GlobalNamespace);
|
||||||
native static string ReadLump(int lump);
|
native static string ReadLump(int lump);
|
||||||
|
|
||||||
native static int GetNumEntries();
|
native static int GetNumLumps();
|
||||||
native static string GetLumpName(int lump);
|
native static string GetLumpName(int lump);
|
||||||
native static string GetLumpFullName(int lump);
|
native static string GetLumpFullName(int lump);
|
||||||
native static int GetLumpNamespace(int lump);
|
native static int GetLumpNamespace(int lump);
|
||||||
|
|
Loading…
Reference in a new issue