Difference between revisions of "Map size limit (blocks)"

From DoomWiki.org

[checked revision][checked revision]
m (Map size limit moved to Map size limit (blocks): disambiguation (see User talk:Quasar#Map size limit))
(Can probably be merged into Blockmap under the Size limitations section)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{stub}}
+
{{merge|Blockmap}}
  
 
[[Image:Maxblockmap.png|right|thumb|256px|This map has one [[sector]] and a blocklist of size 65534.]]
 
[[Image:Maxblockmap.png|right|thumb|256px|This map has one [[sector]] and a blocklist of size 65534.]]

Latest revision as of 22:22, 19 January 2021

This map has one sector and a blocklist of size 65534.

Levels in vanilla Doom are limited in size by the blocklist, which essentially enumerates which linedefs cross which blocks in the blockmap. This list may only contain 65535 entries, including "begin" and "end" entries for each block. In principle, therefore, a level could contain as many as 32407 blocks (see figure), but for real maps the empirical limit seems to be somewhere between 10000 and 14400 blocks; the more complex the map, the smaller its area must be.

Sources[edit]