- 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
|
|
@ -193,15 +193,15 @@ FFont::FFont (const char *name, const char *nametemplate, int first, int count,
|
|||
for (i = 0; i < count; i++)
|
||||
{
|
||||
sprintf (buffer, nametemplate, i + start);
|
||||
lump = Wads.CheckNumForName (buffer);
|
||||
lump = Wads.CheckNumForName (buffer, ns_graphics);
|
||||
if (doomtemplate && lump >= 0 && i + start == 121)
|
||||
{ // HACKHACK: Don't load STCFN121 in doom(2), because
|
||||
// it's not really a lower-case 'y' but an upper-case 'I'.
|
||||
// Because a lot of wads with their own font seem to foolishly
|
||||
// copy STCFN121 and make it an 'I' themselves, wads must
|
||||
// provide STCFN120 (x) and STCFN122 (z) for STCFN121 to load.
|
||||
if (Wads.CheckNumForName ("STCFN120") == -1 ||
|
||||
Wads.CheckNumForName ("STCFN122") == -1)
|
||||
if (Wads.CheckNumForName ("STCFN120", ns_graphics) == -1 ||
|
||||
Wads.CheckNumForName ("STCFN122", ns_graphics) == -1)
|
||||
{
|
||||
lump = -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue