Comment 7 for bug 1226558

Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Mudlet-makers] [Bug 1226558] [NEW] getRoom in TArea causes seg fault on map creation

Yeah, I am in agreement there - I wouldn't go down the path of all in one.
We could add it for conveniences sake - for example we have the all in one
function to creating miniconsoles, but we also have the option of doing it
step by step. However with Lua's ordered arguments (unless you're using
tables, which does not make for an efficient API) then tacking everything
to the end of a function becomes unwieldy.

I've never used area 0 really. It's mostly annoying in the fact that it
shows up in the list of areas the map has and in the mapper widget as a
blank entry. I'd support hiding it from the API (partially - so we don't
see it, but can use it) and the user (not showing in the mapper widget) and
making use of it as the temporary void storage.