mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-08 22:11:09 +00:00
af13d6d686
const char * with a string inside its buffer, it released the buffer before copying the string. - Added a new FString constructor that creates the string from a lump. - Fixed: G_DoReborn() calls G_InitNew() with mapname set to level.mapname. G_InitNew() then copies it onto level.mapname, which is undefined behavior (although it does work as we want it to). - Modified FMemLump to store its data using FString. That class provides a convenient method of storing reference counted data, so now FMemLump doesn't need to muck about sneakily using const_casts and possibly tricking its users into thinking that an old one is still valid after being assigned to a new one. - Fixed: The IMGZ, PNG, PCX, and JPEG loaders assumed the files were large enough for their headers without actually checking. SVN r463 (trunk) |
||
---|---|---|
.. | ||
automaptexture.cpp | ||
buildtexture.cpp | ||
canvastexture.cpp | ||
ddstexture.cpp | ||
flattexture.cpp | ||
imgztexture.cpp | ||
jpegtexture.cpp | ||
multipatchtexture.cpp | ||
patchtexture.cpp | ||
pcxtexture.cpp | ||
pngtexture.cpp | ||
rawpagetexture.cpp | ||
texture.cpp | ||
tgatexture.cpp | ||
warptexture.cpp |