Skip to content

Commit

Permalink
lua: add function to get number of known (aka engine) strings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Aug 21, 2024
1 parent 7b6547e commit 42901a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Quake/pr_edict.c
Original file line number Diff line number Diff line change
Expand Up @@ -1603,6 +1603,11 @@ const char* LS_GetProgsString(int offset)
return "???";
}

int LS_GetKnownStringCount(void)
{
return pr_numknownstrings;
}

const char* LS_GetProgsTypeName(unsigned short type)
{
switch (type & ~DEF_SAVEGLOBAL)
Expand Down

0 comments on commit 42901a8

Please sign in to comment.