mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- file system update and adjustment.
This commit is contained in:
parent
ac32194079
commit
5584c726ba
98 changed files with 3406 additions and 2051 deletions
|
@ -9,7 +9,7 @@
|
|||
#include "scriptfile.h"
|
||||
#include "baselayer.h"
|
||||
#include "compat.h"
|
||||
#include "filesystem/filesystem.h"
|
||||
#include "filesystem.h"
|
||||
|
||||
|
||||
#define ISWS(x) ((x == ' ') || (x == '\t') || (x == '\r') || (x == '\n'))
|
||||
|
@ -299,7 +299,7 @@ void scriptfile_preparse(scriptfile *sf, char *tx, int32_t flen)
|
|||
|
||||
scriptfile *scriptfile_fromfile(const char *fn)
|
||||
{
|
||||
auto fr = fileSystem.OpenFileReader(fn, 0);
|
||||
auto fr = fileSystem.OpenFileReader(fn);
|
||||
if (!fr.isOpen()) return nullptr;
|
||||
|
||||
uint32_t flen = fr.GetLength();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue