[server] Implement CNetGame::SetNextScriptFile(...)

This commit is contained in:
RD42
2024-04-22 23:01:00 +08:00
parent 2fecf6f0ae
commit d257372c42
4 changed files with 70 additions and 0 deletions

15
server/runutil.cpp Normal file
View File

@ -0,0 +1,15 @@
#include <stdio.h>
//----------------------------------------------------
int CanFileBeOpenedForReading(char * filename)
{
FILE *f;
if(f=fopen(filename,"r")) {
fclose(f);
return 1;
}
return 0;
}
//----------------------------------------------------