- Removed the unused sfx_ variables for the chainsaw sounds.
- Fixed map name checks in idclev, hxvisit, for +map and the titlemap. - Changed handling of Zips so that the patches/, graphics/, sounds/ and music/ subdirectories no longer are placed in the global namespace. Instead new namespaces are defined. These namespaces aren't merged, however and searching in them either returns a lump inside it or one from the global namespace when it doesn't come from a Zip file. Proper order of files is still observed though. As a result proper use of the directories inside Zips is strictly enforced now so that for example anything used as a patch must be in the patches/ directory and won't be found anywhere else. SVN r199 (trunk)
This commit is contained in:
parent
a42f98af15
commit
cf7d8ab43b
19 changed files with 95 additions and 65 deletions
|
|
@ -624,14 +624,9 @@ static void G_DoParseMapInfo (int lump)
|
|||
strcpy (levelinfo->skypic2, levelinfo->skypic1);
|
||||
}
|
||||
SetLevelNum (levelinfo, levelinfo->levelnum); // Wipe out matching levelnums from other maps.
|
||||
if (levelinfo->pname[0] != 0 && TexMan.CheckForTexture (levelinfo->pname, FTexture::TEX_MiscPatch) < 0)
|
||||
if (levelinfo->pname[0] != 0)
|
||||
{
|
||||
int lumpnum = Wads.CheckNumForName (levelinfo->pname);
|
||||
if (lumpnum >= 0)
|
||||
{
|
||||
TexMan.CreateTexture (lumpnum, FTexture::TEX_MiscPatch);
|
||||
}
|
||||
else
|
||||
if (TexMan.AddPatch(levelinfo->pname) < 0)
|
||||
{
|
||||
levelinfo->pname[0] = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue