note
	description: "[
		doomdata.h
		all external data is defined here
		most of the data is loaded into different structures at run time
		some internal structures shared by many modules are here
	]"
	license: "[
				Copyright (C) 1993-1996 by id Software, Inc.
				Copyright (C) 2005-2014 Simon Howard
				Copyright (C) 2021 Ilgiz Mustafin
		
				This program is free software; you can redistribute it and/or modify
				it under the terms of the GNU General Public License as published by
				the Free Software Foundation; either version 2 of the License, or
				(at your option) any later version.
		
				This program is distributed in the hope that it will be useful,
				but WITHOUT ANY WARRANTY; without even the implied warranty of
				MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
				GNU General Public License for more details.
		
				You should have received a copy of the GNU General Public License along
				with this program; if not, write to the Free Software Foundation, Inc.,
				51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
	]"

class 
	DOOMDATA_H

create 
	default_create

feature -- ML enum

	Ml_label: INTEGER_32 = 0
			-- A separator, name, ExMx or MAPxx

	Ml_things: INTEGER_32 = 1
			-- Monsters, items...

	Ml_linedefs: INTEGER_32 = 2
			-- LineDefs, from editing

	Ml_sidedefs: INTEGER_32 = 3
			-- SideDefs, from editing

	Ml_vertexes: INTEGER_32 = 4
			-- Vertices, edited and BSP splits generated

	Ml_segs: INTEGER_32 = 5
			-- LineSegs, from LineDefs split by BSP

	Ml_ssectors: INTEGER_32 = 6
			-- SubSectors, list of LineSegs

	Ml_nodes: INTEGER_32 = 7
			-- BSP nodes

	Ml_sectors: INTEGER_32 = 8
			-- Sectors, from editing

	Ml_reject: INTEGER_32 = 9
			-- LUT, sector-sector visibility

	Ml_blockmap: INTEGER_32 = 10
			-- LUT, motion clipping, walls/grid element
	
feature -- Other ML_ ????

	Ml_twosided: INTEGER_32 = 4
			-- Backside will not be present at all if not two sided.

	Ml_mapped: INTEGER_32 = 256
			-- Set if already seen, thus drawn in automap.

	Ml_dontpegtop: INTEGER_32 = 8
			-- upper texture unpegged

	Ml_dontpegbottom: INTEGER_32 = 16
			-- lower texture unpegged

	Ml_secret: INTEGER_32 = 32
			-- In AutoMap: don't map as two sided: IT'S A SECRET!

	Ml_blocking: INTEGER_32 = 1
			-- Solid, is an obstacle

	Ml_blockmonsters: INTEGER_32 = 2
			-- Blocks monsters only

	Ml_soundblock: INTEGER_32 = 64
			-- Sound rendering: don't let sound cross two of these
	
feature 

	Nf_subsector: INTEGER_32 = 32768
	
end -- class DOOMDATA_H

Generated by ISE EiffelStudio