Add SB_NAMESORT for search_begin to ensure files are sorted by name instead of filesystem precedence.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5783 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2020-10-27 04:10:51 +00:00
parent 5d4f66cffd
commit e649f6ebdb
2 changed files with 16 additions and 3 deletions

View file

@ -10632,8 +10632,9 @@ static BuiltinList_t BuiltinList[] = { //nq qw h2 ebfs
"SB_CASEINSENSITIVE=1<<0,"
"SB_FULLPACKAGEPATH=1<<1,"
"SB_ALLOWDUPES=1<<2,"
"SB_FORCESEARCH=1<<3"
"SB_MULTISEARCH=1<<4"
"SB_FORCESEARCH=1<<3,"
"SB_MULTISEARCH=1<<4,"
"SB_NAMESORT=1<<5"
"} flags, float quiet, optional string package)"},
{"search_end", PF_Fixme, 0, 0, 0, 75, "void(searchhandle handle)"},
{"search_getsize", PF_Fixme, 0, 0, 0, 76, "float(searchhandle handle)"},