mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 22:00:48 +00:00
moved a few things out of the common code that should be defined privately.
This commit is contained in:
parent
d0a2713820
commit
f1db369883
6 changed files with 6 additions and 8 deletions
|
@ -87,9 +87,6 @@ xx(SoundSlot5)
|
|||
xx(SoundSlot6)
|
||||
xx(SoundSlot7)
|
||||
|
||||
// Actor properties
|
||||
xx(BobPivot3D)
|
||||
|
||||
xx(LevelLocals)
|
||||
xx(Level)
|
||||
|
||||
|
|
|
@ -980,7 +980,7 @@ bool OpenDecompressor(FileReader& self, FileReader &parent, FileReader::Size len
|
|||
}
|
||||
dec->Length = length;
|
||||
}
|
||||
if ((flags & DCF_CACHED))
|
||||
if ((flags & (DCF_CACHED| DCF_SEEKABLE))) // the buffering reader does not seem to be stable, so cache it instead until we find out what's wrong.
|
||||
{
|
||||
// read everything into a MemoryArrayReader.
|
||||
FileData data(nullptr, length);
|
||||
|
|
|
@ -395,7 +395,7 @@ void FileSystem::AddFile (const char *filename, FileReader *filer, LumpFilterInf
|
|||
std::string path = filename;
|
||||
path += ':';
|
||||
path += resfile->getName(i);
|
||||
auto embedded = resfile->GetEntryReader(i, READER_NEW, READERFLAG_SEEKABLE);
|
||||
auto embedded = resfile->GetEntryReader(i, READER_CACHED);
|
||||
AddFile(path.c_str(), &embedded, filter, Printf, hashfile);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,5 +54,3 @@ EXTERN_CVAR(Int, gl_shadowmap_filter)
|
|||
EXTERN_CVAR(Bool, gl_brightfog)
|
||||
EXTERN_CVAR(Bool, gl_lightadditivesurfaces)
|
||||
EXTERN_CVAR(Bool, gl_notexturefill)
|
||||
|
||||
EXTERN_CVAR(Bool, r_drawplayersprites)
|
||||
|
|
|
@ -90,7 +90,7 @@ bool D_AddFile(std::vector<std::string>& wadfiles, const char* file, bool check,
|
|||
closedir(d);
|
||||
if (!found)
|
||||
{
|
||||
Printf("Can't find file '%s' in '%s'\n", filename.GetChars(), basepath.GetChars());
|
||||
//Printf("Can't find file '%s' in '%s'\n", filename.GetChars(), basepath.GetChars());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,9 @@ xx(BloodSplatter)
|
|||
xx(AxeBlood)
|
||||
xx(Spray)
|
||||
|
||||
// Actor properties
|
||||
xx(BobPivot3D)
|
||||
|
||||
// Invulnerability types
|
||||
xx(Ghost)
|
||||
xx(Reflective)
|
||||
|
|
Loading…
Reference in a new issue