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

From DoomWiki.org

[unchecked revision][checked revision]
(Redirected page to Blockmap)
(Rejected the last text change (by Zokum) and restored revision 34373 by Ryan W)
Line 1: Line 1:
#REDIRECT [[blockmap]]
+
{{stub}}
 +
 
 +
[[Image:Maxblockmap.png|right|thumb|256px|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 [[linedef]]s 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 ==
 
== Sources ==
  

Revision as of 10:24, 25 May 2020

Under construction icon-yellow.svgThis article or section is a stub. Please help the Doom Wiki by adding to it.
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