Graphics engine (No GUI editor) to create doom-style maps using mapvertex arrays and string arrays for referencing textures.
For example, a sector may be created using the following data:
{
mapvertex_t sector_vertex[4]:{{0,0},{10,0},{10,10},{0,10}},
floor_height: 0,
ceil_height: 128,
upper_textures: {"metal","metal","metal","metal"},
middle_textures: {"metal","metal","metal","metal"},
lower_textures: {"metal","metal","metal","metal"},
light_level: 150
}
Look at main.cpp class in order to see how sectors are defined and the map of the last two photos is built.
-
Classes such as a camera, shader, shader_img, resource_manager and texture were obtained from the site https://learnopengl.com/.
-
Doom Hd textures have been taken from the project (https://github.com/KuriKai/DHTP), credit goes to each one of the names on the Copyright / Permissions section.