Fix UDMF FOF flags
This fixes the bugs that were introduced by rearranging the FOF flags for UDMF. In particular:
- The flags for custom FOFs (linedef type 259) are now set properly.
- I added a backwards compatibility layer to ensure that old Lua scripts still work correctly. This required renaming
ffloor_t::flags
toffloor_t::fofflags
and all theFF_
constants toFOF_
. Which is kind of annoying, but I didn't see any way around it.flags
and the oldFF_
constants are still exposed to Lua, and if you use them, the game will do all the necessary conversion in the background. New scripts should usefofflags
and theFOF_
constants for regular flags,bustflags
and theFB_
constants for the bustable FOF flags, andbusttype
and theBT_
constants for the bustable FOF type.