[g3.8pre-251-g4eea540a3] TITLEMAP loading issues

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [g3.8pre-251-g4eea540a3] TITLEMAP loading issues

Re: [g3.8pre-251-g4eea540a3] TITLEMAP loading issues

by Graf Zahl » Tue Jan 22, 2019 2:27 am

No, if multiple maps without a level info get loaded they need to be synthesized and added to the global array of level infos. But I'll make sure that this cannot be done, once multiple levels get enabled - anything that wants to do something here will have to refer to a MAPINFO entry.

Re: [g3.8pre-251-g4eea540a3] TITLEMAP loading issues

by _mental_ » Tue Jan 22, 2019 2:24 am

I think we can load several levels without MAPINFO entries at the same time. Is it OK that the default level info will shared between them? Map name will be overwritten of previous maps that use the default level info.

Re: [g3.8pre-251-g4eea540a3] TITLEMAP loading issues

by Graf Zahl » Tue Jan 22, 2019 1:33 am

If you take a closer look at the level loading code this won't come as a surprise.
This was a mess in the original Doom code already, but when ZDoom got extended to use MAPINFO it was made ten times worse, because the new features got tacked on in the same bad style. The level name gets passed through several variables, some local, some global, some in external structs and if not all of the volatile assumptions being made here match up - boom...

Re: [g3.8pre-251-g4eea540a3] TITLEMAP loading issues

by Kappes Buur » Mon Jan 21, 2019 6:54 pm

I just installed GZDOOM- g3.8pre-238, same issue.
Spoiler:
GZDOOM- g3.8pre-83 works ok.
Spoiler:

[g3.8pre-251-g4eea540a3] TITLEMAP loading issues

by Marisa the Magician » Mon Jan 21, 2019 12:04 pm

If a TITLEMAP doesn't have an entry in MAPINFO, GZDoom just goes to a full console with this message:

Code: Select all

Unable to open map ''
Here's a barebones wad to trigger it (dunno why I even bothered to make it when it's something so trivial).

This bug doesn't appear in 3.7.2 and earlier.

Top