From DoomWiki.org

(Map format facts)
Line 3: Line 3:
  
 
Okay, I was just writing a Doom map viewer and using these pages as a reference. I assumed others using these pages as programming exercises would be similarly inclined. I also noticed that the source code specified ints. I can modify the tables if you like. Also, feel free to revert my changes if you do not think they fit with the theme of the site.
 
Okay, I was just writing a Doom map viewer and using these pages as a reference. I assumed others using these pages as programming exercises would be similarly inclined. I also noticed that the source code specified ints. I can modify the tables if you like. Also, feel free to revert my changes if you do not think they fit with the theme of the site.
 +
 +
: It might be useful to note the actual C types used in the original code as a separate column, come to think of it. It'd also be useful to point out in the article that most [[source port]]s and modern editing utilities do change internal treatment of the fields to unsigned, in order to support larger maps (in particular, up to 65535 sidedefs, which is the first mapping limit that will be hit when creating very detailed maps). --[[User:Quasar|Quasar]] ([[User talk:Quasar|talk]]) 11:57, 10 August 2016 (CDT)

Revision as of 11:57, 10 August 2016

Map format facts

Please ensure you are making reference to the original Doom source code when dealing with the map format. As I noted in the reversion for linedefs, most types in the map format are not treated as unsigned by the Doom engine, so using the terms you used are inaccurate. Also, non-programmers are not going to be immediately knowledgable about what an "int16" or "int8" implies, hence why stating the size in bytes is more appropriate for a wiki, which is not targeting programmers as its primary audience. --Quasar (talk) 11:51, 10 August 2016 (CDT)

Okay, I was just writing a Doom map viewer and using these pages as a reference. I assumed others using these pages as programming exercises would be similarly inclined. I also noticed that the source code specified ints. I can modify the tables if you like. Also, feel free to revert my changes if you do not think they fit with the theme of the site.

It might be useful to note the actual C types used in the original code as a separate column, come to think of it. It'd also be useful to point out in the article that most source ports and modern editing utilities do change internal treatment of the fields to unsigned, in order to support larger maps (in particular, up to 65535 sidedefs, which is the first mapping limit that will be hit when creating very detailed maps). --Quasar (talk) 11:57, 10 August 2016 (CDT)