diff --git a/manual.html b/manual.html index f0095fb..812b62a 100644 --- a/manual.html +++ b/manual.html @@ -30,11 +30,12 @@
Lumps are stored in groups. Each WAD holds a number of groups, representing different categories of lumps. Each group is an ordered dictionary; that is, it works just like a Python dict (https://docs.python.org/3/tutorial/datastructures.html#dictionaries) object but remembers in which order lumps were inserted. +
Lumps are stored in groups. Each WAD holds a number of groups, representing different categories of lumps. Each group is an ordered dictionary; that is, it works just like a Python collections.OrderedDict object.
All lumps are instances of the Lump class; see below for its documentation.
To retrieve the sprite called CYBR1A from the WAD object a, do: @@ -118,6 +119,7 @@
For the argument lists used by these functions, refer to the code and the inline documenation in lump.py. +
For the argument lists used by these functions, refer to the code and the inline documentation in lump.py.
Flat works similarly to Graphic, but handles format conversions slightly differently.
Sound, used to represent Doom format sounds, provides the following settable attributes: @@ -227,6 +229,7 @@
All editors provide the following methods:
@@ -248,6 +251,18 @@UMapEditor works similarly to MapEditor, except the attributes of map data are named based on how they appear in the TEXTMAP lump itself. See the UDMF specification for examples. +
+UMapEditor can also import non-UDMF maps, and line specials will automatically be translated to their UDMF equivalents when necessary: +
+# Load and automatically convert a Doom-format map + m = UMapEditor(wad.maps["E1M1"]) + + # Load a UDMF-format map + m = UMapEditor(wad.udmfmaps["MAP01"]) +
Refer to the source code for more information.