Skip to content

Add linedef specials for multitagging in binary maps

Vincent Robinson requested to merge v-rob/SRB2:binary-multitagging into next

Adds three new linedef types:

  • 97: Apply Tag to Front Sector
  • 98: Apply Tag to Back Sector
  • 99: Apply Tag to Front and Back Sectors

Each type adds the tag specified in the tag field to the specified sector's list of tags. It makes overlapping FOF's sooo much nicer to set up.

The attached testing file has two rooms, on of which uses these linedef types and the other which uses normal tags. apply.wad The benefits, I think, speak for themselves.

(In addition, multitagging allocated twice the amount of memory that was necessary, that is, sizeof(list->tags) [a pointer] instead of sizeof(mtag_t) [a 16 bit integer]. I fixed this.)

Merge request reports