From 89d607c9a61f4f9af5b708870399a68ed26bbdbc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 31 Jan 2019 19:58:17 +0100 Subject: [PATCH] - moved all rendering code into a common subdirectory. No changes to the files themselves was made. --- src/CMakeLists.txt | 384 +++++++++--------- .../gl/renderer/gl_postprocess.cpp | 0 .../gl/renderer/gl_postprocessstate.cpp | 0 .../gl/renderer/gl_postprocessstate.h | 0 .../gl/renderer/gl_renderbuffers.cpp | 0 .../gl/renderer/gl_renderbuffers.h | 0 .../gl/renderer/gl_renderer.cpp | 0 src/{ => rendering}/gl/renderer/gl_renderer.h | 0 .../gl/renderer/gl_renderstate.cpp | 0 .../gl/renderer/gl_renderstate.h | 0 src/{ => rendering}/gl/renderer/gl_scene.cpp | 0 .../gl/renderer/gl_stereo3d.cpp | 0 .../gl/shaders/gl_postprocessshader.cpp | 0 .../gl/shaders/gl_postprocessshaderinstance.h | 0 src/{ => rendering}/gl/shaders/gl_shader.cpp | 0 src/{ => rendering}/gl/shaders/gl_shader.h | 0 .../gl/shaders/gl_shaderprogram.cpp | 0 .../gl/shaders/gl_shaderprogram.h | 0 src/{ => rendering}/gl/system/gl_buffers.cpp | 0 src/{ => rendering}/gl/system/gl_buffers.h | 0 src/{ => rendering}/gl/system/gl_debug.cpp | 0 src/{ => rendering}/gl/system/gl_debug.h | 0 .../gl/system/gl_framebuffer.cpp | 0 .../gl/system/gl_framebuffer.h | 0 .../gl/textures/gl_hwtexture.cpp | 0 .../gl/textures/gl_hwtexture.h | 0 .../gl/textures/gl_samplers.cpp | 0 src/{ => rendering}/gl/textures/gl_samplers.h | 0 src/{ => rendering}/gl_load/gl_extlist.txt | 0 src/{ => rendering}/gl_load/gl_interface.cpp | 0 src/{ => rendering}/gl_load/gl_interface.h | 0 src/{ => rendering}/gl_load/gl_load.c | 0 src/{ => rendering}/gl_load/gl_load.h | 0 src/{ => rendering}/gl_load/gl_system.h | 0 src/{ => rendering}/hwrenderer/data/buffers.h | 0 .../hwrenderer/data/flatvertices.cpp | 0 .../hwrenderer/data/flatvertices.h | 0 .../hwrenderer/data/hw_vertexbuilder.cpp | 0 .../hwrenderer/data/hw_vertexbuilder.h | 0 .../hwrenderer/data/hw_viewpointbuffer.cpp | 0 .../hwrenderer/data/hw_viewpointbuffer.h | 0 .../hwrenderer/data/renderqueue.h | 0 .../hwrenderer/data/shaderuniforms.h | 0 .../hwrenderer/dynlights/hw_aabbtree.cpp | 0 .../hwrenderer/dynlights/hw_aabbtree.h | 0 .../hwrenderer/dynlights/hw_dynlightdata.cpp | 0 .../hwrenderer/dynlights/hw_dynlightdata.h | 0 .../hwrenderer/dynlights/hw_lightbuffer.cpp | 0 .../hwrenderer/dynlights/hw_lightbuffer.h | 0 .../hwrenderer/dynlights/hw_shadowmap.cpp | 0 .../hwrenderer/dynlights/hw_shadowmap.h | 0 .../hwrenderer/models/hw_models.cpp | 0 .../hwrenderer/models/hw_models.h | 0 .../postprocessing/hw_postprocess.cpp | 0 .../postprocessing/hw_postprocess.h | 0 .../postprocessing/hw_postprocess_cvars.cpp | 0 .../postprocessing/hw_postprocess_cvars.h | 0 .../postprocessing/hw_postprocessshader.cpp | 0 .../postprocessing/hw_postprocessshader.h | 0 .../postprocessing/hw_present3dRowshader.cpp | 0 .../postprocessing/hw_present3dRowshader.h | 0 .../postprocessing/hw_presentshader.cpp | 0 .../postprocessing/hw_presentshader.h | 0 .../postprocessing/hw_shaderprogram.h | 0 .../postprocessing/hw_shadowmapshader.cpp | 0 .../postprocessing/hw_shadowmapshader.h | 0 .../hwrenderer/scene/hw_bsp.cpp | 0 .../hwrenderer/scene/hw_clipper.cpp | 0 .../hwrenderer/scene/hw_clipper.h | 0 .../hwrenderer/scene/hw_decal.cpp | 0 .../hwrenderer/scene/hw_drawinfo.cpp | 0 .../hwrenderer/scene/hw_drawinfo.h | 0 .../hwrenderer/scene/hw_drawlist.cpp | 0 .../hwrenderer/scene/hw_drawlist.h | 0 .../hwrenderer/scene/hw_drawlistadd.cpp | 0 .../hwrenderer/scene/hw_drawstructs.h | 0 .../hwrenderer/scene/hw_fakeflat.cpp | 0 .../hwrenderer/scene/hw_fakeflat.h | 0 .../hwrenderer/scene/hw_flats.cpp | 0 .../hwrenderer/scene/hw_portal.cpp | 0 .../hwrenderer/scene/hw_portal.h | 0 .../hwrenderer/scene/hw_renderhacks.cpp | 0 .../hwrenderer/scene/hw_renderstate.cpp | 0 .../hwrenderer/scene/hw_renderstate.h | 0 .../hwrenderer/scene/hw_sky.cpp | 0 .../hwrenderer/scene/hw_skydome.cpp | 0 .../hwrenderer/scene/hw_skydome.h | 0 .../hwrenderer/scene/hw_skyportal.cpp | 0 .../hwrenderer/scene/hw_spritelight.cpp | 0 .../hwrenderer/scene/hw_sprites.cpp | 0 .../hwrenderer/scene/hw_viewpointuniforms.h | 0 .../hwrenderer/scene/hw_walls.cpp | 0 .../hwrenderer/scene/hw_walls_vertex.cpp | 0 .../hwrenderer/scene/hw_weapon.cpp | 0 .../hwrenderer/scene/hw_weapon.h | 0 .../hwrenderer/textures/hw_ihwtexture.h | 0 .../hwrenderer/textures/hw_material.cpp | 0 .../hwrenderer/textures/hw_material.h | 0 .../hwrenderer/textures/hw_precache.cpp | 0 .../hwrenderer/textures/hw_texcontainer.h | 0 .../hwrenderer/utility/hw_clock.cpp | 0 .../hwrenderer/utility/hw_clock.h | 0 .../hwrenderer/utility/hw_cvars.cpp | 0 .../hwrenderer/utility/hw_cvars.h | 0 .../hwrenderer/utility/hw_draw2d.cpp | 0 .../hwrenderer/utility/hw_lighting.cpp | 0 .../hwrenderer/utility/hw_lighting.h | 0 .../hwrenderer/utility/hw_shaderpatcher.cpp | 0 .../hwrenderer/utility/hw_shaderpatcher.h | 0 .../hwrenderer/utility/hw_vrmodes.cpp | 0 .../hwrenderer/utility/hw_vrmodes.h | 0 .../polyrenderer/drawers/poly_buffer.cpp | 0 .../polyrenderer/drawers/poly_buffer.h | 0 .../polyrenderer/drawers/poly_draw_args.cpp | 0 .../polyrenderer/drawers/poly_draw_args.h | 0 .../polyrenderer/drawers/poly_triangle.cpp | 0 .../polyrenderer/drawers/poly_triangle.h | 0 .../polyrenderer/drawers/screen_triangle.cpp | 0 .../polyrenderer/drawers/screen_triangle.h | 0 .../polyrenderer/math/gpu_types.cpp | 0 .../polyrenderer/math/gpu_types.h | 0 src/{ => rendering}/polyrenderer/poly_all.cpp | 0 .../polyrenderer/poly_renderer.cpp | 0 .../polyrenderer/poly_renderer.h | 0 .../polyrenderer/poly_renderthread.cpp | 0 .../polyrenderer/poly_renderthread.h | 0 .../polyrenderer/scene/poly_cull.cpp | 0 .../polyrenderer/scene/poly_cull.h | 0 .../polyrenderer/scene/poly_decal.cpp | 0 .../polyrenderer/scene/poly_decal.h | 0 .../polyrenderer/scene/poly_light.cpp | 0 .../polyrenderer/scene/poly_light.h | 0 .../polyrenderer/scene/poly_model.cpp | 0 .../polyrenderer/scene/poly_model.h | 0 .../polyrenderer/scene/poly_particle.cpp | 0 .../polyrenderer/scene/poly_particle.h | 0 .../polyrenderer/scene/poly_plane.cpp | 0 .../polyrenderer/scene/poly_plane.h | 0 .../polyrenderer/scene/poly_playersprite.cpp | 0 .../polyrenderer/scene/poly_playersprite.h | 0 .../polyrenderer/scene/poly_portal.cpp | 0 .../polyrenderer/scene/poly_portal.h | 0 .../polyrenderer/scene/poly_scene.cpp | 0 .../polyrenderer/scene/poly_scene.h | 0 .../polyrenderer/scene/poly_sky.cpp | 0 .../polyrenderer/scene/poly_sky.h | 0 .../polyrenderer/scene/poly_sprite.cpp | 0 .../polyrenderer/scene/poly_sprite.h | 0 .../polyrenderer/scene/poly_wall.cpp | 0 .../polyrenderer/scene/poly_wall.h | 0 .../polyrenderer/scene/poly_wallsprite.cpp | 0 .../polyrenderer/scene/poly_wallsprite.h | 0 .../swrenderer/drawers/r_draw.cpp | 0 .../swrenderer/drawers/r_draw.h | 0 .../swrenderer/drawers/r_draw_pal.cpp | 0 .../swrenderer/drawers/r_draw_pal.h | 0 .../swrenderer/drawers/r_draw_rgba.cpp | 0 .../swrenderer/drawers/r_draw_rgba.h | 0 .../swrenderer/drawers/r_draw_sky32.h | 0 .../swrenderer/drawers/r_draw_sky32_sse2.h | 0 .../swrenderer/drawers/r_draw_span32.h | 0 .../swrenderer/drawers/r_draw_span32_sse2.h | 0 .../swrenderer/drawers/r_draw_sprite32.h | 0 .../swrenderer/drawers/r_draw_sprite32_sse2.h | 0 .../swrenderer/drawers/r_draw_wall32.h | 0 .../swrenderer/drawers/r_draw_wall32_sse2.h | 0 .../swrenderer/drawers/r_thread.cpp | 0 .../swrenderer/drawers/r_thread.h | 0 .../swrenderer/line/r_farclip_line.cpp | 0 .../swrenderer/line/r_farclip_line.h | 0 .../swrenderer/line/r_fogboundary.cpp | 0 .../swrenderer/line/r_fogboundary.h | 0 .../swrenderer/line/r_line.cpp | 0 src/{ => rendering}/swrenderer/line/r_line.h | 0 .../swrenderer/line/r_renderdrawsegment.cpp | 0 .../swrenderer/line/r_renderdrawsegment.h | 0 .../swrenderer/line/r_walldraw.cpp | 0 .../swrenderer/line/r_walldraw.h | 0 .../swrenderer/line/r_wallsetup.cpp | 0 .../swrenderer/line/r_wallsetup.h | 0 .../swrenderer/plane/r_flatplane.cpp | 0 .../swrenderer/plane/r_flatplane.h | 0 .../swrenderer/plane/r_planerenderer.cpp | 0 .../swrenderer/plane/r_planerenderer.h | 0 .../swrenderer/plane/r_skyplane.cpp | 0 .../swrenderer/plane/r_skyplane.h | 0 .../swrenderer/plane/r_slopeplane.cpp | 0 .../swrenderer/plane/r_slopeplane.h | 0 .../swrenderer/plane/r_visibleplane.cpp | 0 .../swrenderer/plane/r_visibleplane.h | 0 .../swrenderer/plane/r_visibleplanelist.cpp | 0 .../swrenderer/plane/r_visibleplanelist.h | 0 src/{ => rendering}/swrenderer/r_all.cpp | 0 src/{ => rendering}/swrenderer/r_memory.cpp | 0 src/{ => rendering}/swrenderer/r_memory.h | 0 .../swrenderer/r_renderthread.cpp | 0 .../swrenderer/r_renderthread.h | 0 .../swrenderer/r_swcolormaps.cpp | 0 .../swrenderer/r_swcolormaps.h | 0 .../swrenderer/r_swrenderer.cpp | 0 src/{ => rendering}/swrenderer/r_swrenderer.h | 0 src/{ => rendering}/swrenderer/r_swscene.cpp | 0 src/{ => rendering}/swrenderer/r_swscene.h | 0 .../swrenderer/scene/r_3dfloors.cpp | 0 .../swrenderer/scene/r_3dfloors.h | 0 .../swrenderer/scene/r_light.cpp | 0 .../swrenderer/scene/r_light.h | 0 .../swrenderer/scene/r_opaque_pass.cpp | 0 .../swrenderer/scene/r_opaque_pass.h | 0 .../swrenderer/scene/r_portal.cpp | 0 .../swrenderer/scene/r_portal.h | 0 .../swrenderer/scene/r_scene.cpp | 0 .../swrenderer/scene/r_scene.h | 0 .../swrenderer/scene/r_translucent_pass.cpp | 0 .../swrenderer/scene/r_translucent_pass.h | 0 .../swrenderer/segments/r_clipsegment.cpp | 0 .../swrenderer/segments/r_clipsegment.h | 0 .../swrenderer/segments/r_drawsegment.cpp | 0 .../swrenderer/segments/r_drawsegment.h | 0 .../swrenderer/segments/r_portalsegment.cpp | 0 .../swrenderer/segments/r_portalsegment.h | 0 .../swrenderer/textures/r_swtexture.cpp | 0 .../swrenderer/textures/r_swtexture.h | 0 .../swrenderer/textures/swcanvastexture.cpp | 0 .../swrenderer/textures/warpbuffer.h | 0 .../swrenderer/textures/warptexture.cpp | 0 .../swrenderer/things/r_decal.cpp | 0 .../swrenderer/things/r_decal.h | 0 .../swrenderer/things/r_model.cpp | 0 .../swrenderer/things/r_model.h | 0 .../swrenderer/things/r_particle.cpp | 0 .../swrenderer/things/r_particle.h | 0 .../swrenderer/things/r_playersprite.cpp | 0 .../swrenderer/things/r_playersprite.h | 0 .../swrenderer/things/r_sprite.cpp | 0 .../swrenderer/things/r_sprite.h | 0 .../swrenderer/things/r_visiblesprite.cpp | 0 .../swrenderer/things/r_visiblesprite.h | 0 .../swrenderer/things/r_visiblespritelist.cpp | 0 .../swrenderer/things/r_visiblespritelist.h | 0 .../swrenderer/things/r_voxel.cpp | 0 .../swrenderer/things/r_voxel.h | 0 .../swrenderer/things/r_wallsprite.cpp | 0 .../swrenderer/things/r_wallsprite.h | 0 .../swrenderer/viewport/r_drawerargs.cpp | 0 .../swrenderer/viewport/r_drawerargs.h | 0 .../swrenderer/viewport/r_skydrawer.cpp | 0 .../swrenderer/viewport/r_skydrawer.h | 0 .../swrenderer/viewport/r_spandrawer.cpp | 0 .../swrenderer/viewport/r_spandrawer.h | 0 .../swrenderer/viewport/r_spritedrawer.cpp | 0 .../swrenderer/viewport/r_spritedrawer.h | 0 .../swrenderer/viewport/r_viewport.cpp | 0 .../swrenderer/viewport/r_viewport.h | 0 .../swrenderer/viewport/r_walldrawer.cpp | 0 .../swrenderer/viewport/r_walldrawer.h | 0 256 files changed, 193 insertions(+), 191 deletions(-) rename src/{ => rendering}/gl/renderer/gl_postprocess.cpp (100%) rename src/{ => rendering}/gl/renderer/gl_postprocessstate.cpp (100%) rename src/{ => rendering}/gl/renderer/gl_postprocessstate.h (100%) rename src/{ => rendering}/gl/renderer/gl_renderbuffers.cpp (100%) rename src/{ => rendering}/gl/renderer/gl_renderbuffers.h (100%) rename src/{ => rendering}/gl/renderer/gl_renderer.cpp (100%) rename src/{ => rendering}/gl/renderer/gl_renderer.h (100%) rename src/{ => rendering}/gl/renderer/gl_renderstate.cpp (100%) rename src/{ => rendering}/gl/renderer/gl_renderstate.h (100%) rename src/{ => rendering}/gl/renderer/gl_scene.cpp (100%) rename src/{ => rendering}/gl/renderer/gl_stereo3d.cpp (100%) rename src/{ => rendering}/gl/shaders/gl_postprocessshader.cpp (100%) rename src/{ => rendering}/gl/shaders/gl_postprocessshaderinstance.h (100%) rename src/{ => rendering}/gl/shaders/gl_shader.cpp (100%) rename src/{ => rendering}/gl/shaders/gl_shader.h (100%) rename src/{ => rendering}/gl/shaders/gl_shaderprogram.cpp (100%) rename src/{ => rendering}/gl/shaders/gl_shaderprogram.h (100%) rename src/{ => rendering}/gl/system/gl_buffers.cpp (100%) rename src/{ => rendering}/gl/system/gl_buffers.h (100%) rename src/{ => rendering}/gl/system/gl_debug.cpp (100%) rename src/{ => rendering}/gl/system/gl_debug.h (100%) rename src/{ => rendering}/gl/system/gl_framebuffer.cpp (100%) rename src/{ => rendering}/gl/system/gl_framebuffer.h (100%) rename src/{ => rendering}/gl/textures/gl_hwtexture.cpp (100%) rename src/{ => rendering}/gl/textures/gl_hwtexture.h (100%) rename src/{ => rendering}/gl/textures/gl_samplers.cpp (100%) rename src/{ => rendering}/gl/textures/gl_samplers.h (100%) rename src/{ => rendering}/gl_load/gl_extlist.txt (100%) rename src/{ => rendering}/gl_load/gl_interface.cpp (100%) rename src/{ => rendering}/gl_load/gl_interface.h (100%) rename src/{ => rendering}/gl_load/gl_load.c (100%) rename src/{ => rendering}/gl_load/gl_load.h (100%) rename src/{ => rendering}/gl_load/gl_system.h (100%) rename src/{ => rendering}/hwrenderer/data/buffers.h (100%) rename src/{ => rendering}/hwrenderer/data/flatvertices.cpp (100%) rename src/{ => rendering}/hwrenderer/data/flatvertices.h (100%) rename src/{ => rendering}/hwrenderer/data/hw_vertexbuilder.cpp (100%) rename src/{ => rendering}/hwrenderer/data/hw_vertexbuilder.h (100%) rename src/{ => rendering}/hwrenderer/data/hw_viewpointbuffer.cpp (100%) rename src/{ => rendering}/hwrenderer/data/hw_viewpointbuffer.h (100%) rename src/{ => rendering}/hwrenderer/data/renderqueue.h (100%) rename src/{ => rendering}/hwrenderer/data/shaderuniforms.h (100%) rename src/{ => rendering}/hwrenderer/dynlights/hw_aabbtree.cpp (100%) rename src/{ => rendering}/hwrenderer/dynlights/hw_aabbtree.h (100%) rename src/{ => rendering}/hwrenderer/dynlights/hw_dynlightdata.cpp (100%) rename src/{ => rendering}/hwrenderer/dynlights/hw_dynlightdata.h (100%) rename src/{ => rendering}/hwrenderer/dynlights/hw_lightbuffer.cpp (100%) rename src/{ => rendering}/hwrenderer/dynlights/hw_lightbuffer.h (100%) rename src/{ => rendering}/hwrenderer/dynlights/hw_shadowmap.cpp (100%) rename src/{ => rendering}/hwrenderer/dynlights/hw_shadowmap.h (100%) rename src/{ => rendering}/hwrenderer/models/hw_models.cpp (100%) rename src/{ => rendering}/hwrenderer/models/hw_models.h (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_postprocess.cpp (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_postprocess.h (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_postprocess_cvars.cpp (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_postprocess_cvars.h (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_postprocessshader.cpp (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_postprocessshader.h (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_present3dRowshader.cpp (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_present3dRowshader.h (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_presentshader.cpp (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_presentshader.h (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_shaderprogram.h (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_shadowmapshader.cpp (100%) rename src/{ => rendering}/hwrenderer/postprocessing/hw_shadowmapshader.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_bsp.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_clipper.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_clipper.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_decal.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_drawinfo.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_drawinfo.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_drawlist.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_drawlist.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_drawlistadd.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_drawstructs.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_fakeflat.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_fakeflat.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_flats.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_portal.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_portal.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_renderhacks.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_renderstate.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_renderstate.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_sky.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_skydome.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_skydome.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_skyportal.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_spritelight.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_sprites.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_viewpointuniforms.h (100%) rename src/{ => rendering}/hwrenderer/scene/hw_walls.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_walls_vertex.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_weapon.cpp (100%) rename src/{ => rendering}/hwrenderer/scene/hw_weapon.h (100%) rename src/{ => rendering}/hwrenderer/textures/hw_ihwtexture.h (100%) rename src/{ => rendering}/hwrenderer/textures/hw_material.cpp (100%) rename src/{ => rendering}/hwrenderer/textures/hw_material.h (100%) rename src/{ => rendering}/hwrenderer/textures/hw_precache.cpp (100%) rename src/{ => rendering}/hwrenderer/textures/hw_texcontainer.h (100%) rename src/{ => rendering}/hwrenderer/utility/hw_clock.cpp (100%) rename src/{ => rendering}/hwrenderer/utility/hw_clock.h (100%) rename src/{ => rendering}/hwrenderer/utility/hw_cvars.cpp (100%) rename src/{ => rendering}/hwrenderer/utility/hw_cvars.h (100%) rename src/{ => rendering}/hwrenderer/utility/hw_draw2d.cpp (100%) rename src/{ => rendering}/hwrenderer/utility/hw_lighting.cpp (100%) rename src/{ => rendering}/hwrenderer/utility/hw_lighting.h (100%) rename src/{ => rendering}/hwrenderer/utility/hw_shaderpatcher.cpp (100%) rename src/{ => rendering}/hwrenderer/utility/hw_shaderpatcher.h (100%) rename src/{ => rendering}/hwrenderer/utility/hw_vrmodes.cpp (100%) rename src/{ => rendering}/hwrenderer/utility/hw_vrmodes.h (100%) rename src/{ => rendering}/polyrenderer/drawers/poly_buffer.cpp (100%) rename src/{ => rendering}/polyrenderer/drawers/poly_buffer.h (100%) rename src/{ => rendering}/polyrenderer/drawers/poly_draw_args.cpp (100%) rename src/{ => rendering}/polyrenderer/drawers/poly_draw_args.h (100%) rename src/{ => rendering}/polyrenderer/drawers/poly_triangle.cpp (100%) rename src/{ => rendering}/polyrenderer/drawers/poly_triangle.h (100%) rename src/{ => rendering}/polyrenderer/drawers/screen_triangle.cpp (100%) rename src/{ => rendering}/polyrenderer/drawers/screen_triangle.h (100%) rename src/{ => rendering}/polyrenderer/math/gpu_types.cpp (100%) rename src/{ => rendering}/polyrenderer/math/gpu_types.h (100%) rename src/{ => rendering}/polyrenderer/poly_all.cpp (100%) rename src/{ => rendering}/polyrenderer/poly_renderer.cpp (100%) rename src/{ => rendering}/polyrenderer/poly_renderer.h (100%) rename src/{ => rendering}/polyrenderer/poly_renderthread.cpp (100%) rename src/{ => rendering}/polyrenderer/poly_renderthread.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_cull.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_cull.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_decal.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_decal.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_light.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_light.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_model.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_model.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_particle.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_particle.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_plane.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_plane.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_playersprite.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_playersprite.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_portal.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_portal.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_scene.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_scene.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_sky.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_sky.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_sprite.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_sprite.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_wall.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_wall.h (100%) rename src/{ => rendering}/polyrenderer/scene/poly_wallsprite.cpp (100%) rename src/{ => rendering}/polyrenderer/scene/poly_wallsprite.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw.cpp (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_pal.cpp (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_pal.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_rgba.cpp (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_rgba.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_sky32.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_sky32_sse2.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_span32.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_span32_sse2.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_sprite32.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_sprite32_sse2.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_wall32.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_draw_wall32_sse2.h (100%) rename src/{ => rendering}/swrenderer/drawers/r_thread.cpp (100%) rename src/{ => rendering}/swrenderer/drawers/r_thread.h (100%) rename src/{ => rendering}/swrenderer/line/r_farclip_line.cpp (100%) rename src/{ => rendering}/swrenderer/line/r_farclip_line.h (100%) rename src/{ => rendering}/swrenderer/line/r_fogboundary.cpp (100%) rename src/{ => rendering}/swrenderer/line/r_fogboundary.h (100%) rename src/{ => rendering}/swrenderer/line/r_line.cpp (100%) rename src/{ => rendering}/swrenderer/line/r_line.h (100%) rename src/{ => rendering}/swrenderer/line/r_renderdrawsegment.cpp (100%) rename src/{ => rendering}/swrenderer/line/r_renderdrawsegment.h (100%) rename src/{ => rendering}/swrenderer/line/r_walldraw.cpp (100%) rename src/{ => rendering}/swrenderer/line/r_walldraw.h (100%) rename src/{ => rendering}/swrenderer/line/r_wallsetup.cpp (100%) rename src/{ => rendering}/swrenderer/line/r_wallsetup.h (100%) rename src/{ => rendering}/swrenderer/plane/r_flatplane.cpp (100%) rename src/{ => rendering}/swrenderer/plane/r_flatplane.h (100%) rename src/{ => rendering}/swrenderer/plane/r_planerenderer.cpp (100%) rename src/{ => rendering}/swrenderer/plane/r_planerenderer.h (100%) rename src/{ => rendering}/swrenderer/plane/r_skyplane.cpp (100%) rename src/{ => rendering}/swrenderer/plane/r_skyplane.h (100%) rename src/{ => rendering}/swrenderer/plane/r_slopeplane.cpp (100%) rename src/{ => rendering}/swrenderer/plane/r_slopeplane.h (100%) rename src/{ => rendering}/swrenderer/plane/r_visibleplane.cpp (100%) rename src/{ => rendering}/swrenderer/plane/r_visibleplane.h (100%) rename src/{ => rendering}/swrenderer/plane/r_visibleplanelist.cpp (100%) rename src/{ => rendering}/swrenderer/plane/r_visibleplanelist.h (100%) rename src/{ => rendering}/swrenderer/r_all.cpp (100%) rename src/{ => rendering}/swrenderer/r_memory.cpp (100%) rename src/{ => rendering}/swrenderer/r_memory.h (100%) rename src/{ => rendering}/swrenderer/r_renderthread.cpp (100%) rename src/{ => rendering}/swrenderer/r_renderthread.h (100%) rename src/{ => rendering}/swrenderer/r_swcolormaps.cpp (100%) rename src/{ => rendering}/swrenderer/r_swcolormaps.h (100%) rename src/{ => rendering}/swrenderer/r_swrenderer.cpp (100%) rename src/{ => rendering}/swrenderer/r_swrenderer.h (100%) rename src/{ => rendering}/swrenderer/r_swscene.cpp (100%) rename src/{ => rendering}/swrenderer/r_swscene.h (100%) rename src/{ => rendering}/swrenderer/scene/r_3dfloors.cpp (100%) rename src/{ => rendering}/swrenderer/scene/r_3dfloors.h (100%) rename src/{ => rendering}/swrenderer/scene/r_light.cpp (100%) rename src/{ => rendering}/swrenderer/scene/r_light.h (100%) rename src/{ => rendering}/swrenderer/scene/r_opaque_pass.cpp (100%) rename src/{ => rendering}/swrenderer/scene/r_opaque_pass.h (100%) rename src/{ => rendering}/swrenderer/scene/r_portal.cpp (100%) rename src/{ => rendering}/swrenderer/scene/r_portal.h (100%) rename src/{ => rendering}/swrenderer/scene/r_scene.cpp (100%) rename src/{ => rendering}/swrenderer/scene/r_scene.h (100%) rename src/{ => rendering}/swrenderer/scene/r_translucent_pass.cpp (100%) rename src/{ => rendering}/swrenderer/scene/r_translucent_pass.h (100%) rename src/{ => rendering}/swrenderer/segments/r_clipsegment.cpp (100%) rename src/{ => rendering}/swrenderer/segments/r_clipsegment.h (100%) rename src/{ => rendering}/swrenderer/segments/r_drawsegment.cpp (100%) rename src/{ => rendering}/swrenderer/segments/r_drawsegment.h (100%) rename src/{ => rendering}/swrenderer/segments/r_portalsegment.cpp (100%) rename src/{ => rendering}/swrenderer/segments/r_portalsegment.h (100%) rename src/{ => rendering}/swrenderer/textures/r_swtexture.cpp (100%) rename src/{ => rendering}/swrenderer/textures/r_swtexture.h (100%) rename src/{ => rendering}/swrenderer/textures/swcanvastexture.cpp (100%) rename src/{ => rendering}/swrenderer/textures/warpbuffer.h (100%) rename src/{ => rendering}/swrenderer/textures/warptexture.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_decal.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_decal.h (100%) rename src/{ => rendering}/swrenderer/things/r_model.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_model.h (100%) rename src/{ => rendering}/swrenderer/things/r_particle.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_particle.h (100%) rename src/{ => rendering}/swrenderer/things/r_playersprite.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_playersprite.h (100%) rename src/{ => rendering}/swrenderer/things/r_sprite.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_sprite.h (100%) rename src/{ => rendering}/swrenderer/things/r_visiblesprite.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_visiblesprite.h (100%) rename src/{ => rendering}/swrenderer/things/r_visiblespritelist.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_visiblespritelist.h (100%) rename src/{ => rendering}/swrenderer/things/r_voxel.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_voxel.h (100%) rename src/{ => rendering}/swrenderer/things/r_wallsprite.cpp (100%) rename src/{ => rendering}/swrenderer/things/r_wallsprite.h (100%) rename src/{ => rendering}/swrenderer/viewport/r_drawerargs.cpp (100%) rename src/{ => rendering}/swrenderer/viewport/r_drawerargs.h (100%) rename src/{ => rendering}/swrenderer/viewport/r_skydrawer.cpp (100%) rename src/{ => rendering}/swrenderer/viewport/r_skydrawer.h (100%) rename src/{ => rendering}/swrenderer/viewport/r_spandrawer.cpp (100%) rename src/{ => rendering}/swrenderer/viewport/r_spandrawer.h (100%) rename src/{ => rendering}/swrenderer/viewport/r_spritedrawer.cpp (100%) rename src/{ => rendering}/swrenderer/viewport/r_spritedrawer.h (100%) rename src/{ => rendering}/swrenderer/viewport/r_viewport.cpp (100%) rename src/{ => rendering}/swrenderer/viewport/r_viewport.h (100%) rename src/{ => rendering}/swrenderer/viewport/r_walldrawer.cpp (100%) rename src/{ => rendering}/swrenderer/viewport/r_walldrawer.h (100%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6c0929319c..1f6b54a5a8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -682,105 +682,105 @@ file( GLOB HEADER_FILES sound/timiditypp/*.h sound/wildmidi/*.h xlat/*.h - swrenderer/*.h - swrenderer/textures/*.h - swrenderer/drawers/*.h - swrenderer/scene/*.h - swrenderer/segments/*.h - swrenderer/line/*.h - swrenderer/plane/*.h - swrenderer/things/*.h - swrenderer/viewport/*.h - polyrenderer/*.h - polyrenderer/math/*.h - polyrenderer/drawers/*.h - polyrenderer/scene/*.h - hwrenderer/data/*.h - hwrenderer/dynlights/*.h - hwrenderer/models/*.h - hwrenderer/postprocessing/*.h - hwrenderer/scene/*.h - hwrenderer/textures/*.h - hwrenderer/utility/*.h - gl/*.h - gl/models/*.h - gl/renderer/*.h - gl/scene/*.h - gl/shaders/*.h - gl/system/*.h - gl/textures/*.h - gl_load/*.h + rendering/swrenderer/*.h + rendering/swrenderer/textures/*.h + rendering/swrenderer/drawers/*.h + rendering/swrenderer/scene/*.h + rendering/swrenderer/segments/*.h + rendering/swrenderer/line/*.h + rendering/swrenderer/plane/*.h + rendering/swrenderer/things/*.h + rendering/swrenderer/viewport/*.h + rendering/polyrenderer/*.h + rendering/polyrenderer/math/*.h + rendering/polyrenderer/drawers/*.h + rendering/polyrenderer/scene/*.h + rendering/hwrenderer/data/*.h + rendering/hwrenderer/dynlights/*.h + rendering/hwrenderer/models/*.h + rendering/hwrenderer/postprocessing/*.h + rendering/hwrenderer/scene/*.h + rendering/hwrenderer/textures/*.h + rendering/hwrenderer/utility/*.h + rendering/gl/*.h + rendering/gl/models/*.h + rendering/gl/renderer/*.h + rendering/gl/scene/*.h + rendering/gl/shaders/*.h + rendering/gl/system/*.h + rendering/gl/textures/*.h + rendering/gl_load/*.h *.h ) set ( SWRENDER_SOURCES - swrenderer/r_swcolormaps.cpp - swrenderer/r_swrenderer.cpp - swrenderer/r_memory.cpp - swrenderer/r_renderthread.cpp - swrenderer/drawers/r_draw.cpp - swrenderer/drawers/r_draw_pal.cpp - swrenderer/drawers/r_draw_rgba.cpp - swrenderer/drawers/r_thread.cpp - swrenderer/scene/r_3dfloors.cpp - swrenderer/scene/r_light.cpp - swrenderer/scene/r_opaque_pass.cpp - swrenderer/scene/r_portal.cpp - swrenderer/scene/r_scene.cpp - swrenderer/scene/r_translucent_pass.cpp - swrenderer/viewport/r_drawerargs.cpp - swrenderer/viewport/r_skydrawer.cpp - swrenderer/viewport/r_spandrawer.cpp - swrenderer/viewport/r_spritedrawer.cpp - swrenderer/viewport/r_viewport.cpp - swrenderer/viewport/r_walldrawer.cpp - swrenderer/line/r_line.cpp - swrenderer/line/r_farclip_line.cpp - swrenderer/line/r_walldraw.cpp - swrenderer/line/r_wallsetup.cpp - swrenderer/line/r_fogboundary.cpp - swrenderer/line/r_renderdrawsegment.cpp - swrenderer/segments/r_clipsegment.cpp - swrenderer/segments/r_drawsegment.cpp - swrenderer/segments/r_portalsegment.cpp - swrenderer/things/r_visiblesprite.cpp - swrenderer/things/r_visiblespritelist.cpp - swrenderer/things/r_voxel.cpp - swrenderer/things/r_particle.cpp - swrenderer/things/r_playersprite.cpp - swrenderer/things/r_sprite.cpp - swrenderer/things/r_wallsprite.cpp - swrenderer/things/r_decal.cpp - swrenderer/things/r_model.cpp - swrenderer/plane/r_visibleplane.cpp - swrenderer/plane/r_visibleplanelist.cpp - swrenderer/plane/r_skyplane.cpp - swrenderer/plane/r_planerenderer.cpp - swrenderer/plane/r_flatplane.cpp - swrenderer/plane/r_slopeplane.cpp + rendering/swrenderer/r_swcolormaps.cpp + rendering/swrenderer/r_swrenderer.cpp + rendering/swrenderer/r_memory.cpp + rendering/swrenderer/r_renderthread.cpp + rendering/swrenderer/drawers/r_draw.cpp + rendering/swrenderer/drawers/r_draw_pal.cpp + rendering/swrenderer/drawers/r_draw_rgba.cpp + rendering/swrenderer/drawers/r_thread.cpp + rendering/swrenderer/scene/r_3dfloors.cpp + rendering/swrenderer/scene/r_light.cpp + rendering/swrenderer/scene/r_opaque_pass.cpp + rendering/swrenderer/scene/r_portal.cpp + rendering/swrenderer/scene/r_scene.cpp + rendering/swrenderer/scene/r_translucent_pass.cpp + rendering/swrenderer/viewport/r_drawerargs.cpp + rendering/swrenderer/viewport/r_skydrawer.cpp + rendering/swrenderer/viewport/r_spandrawer.cpp + rendering/swrenderer/viewport/r_spritedrawer.cpp + rendering/swrenderer/viewport/r_viewport.cpp + rendering/swrenderer/viewport/r_walldrawer.cpp + rendering/swrenderer/line/r_line.cpp + rendering/swrenderer/line/r_farclip_line.cpp + rendering/swrenderer/line/r_walldraw.cpp + rendering/swrenderer/line/r_wallsetup.cpp + rendering/swrenderer/line/r_fogboundary.cpp + rendering/swrenderer/line/r_renderdrawsegment.cpp + rendering/swrenderer/segments/r_clipsegment.cpp + rendering/swrenderer/segments/r_drawsegment.cpp + rendering/swrenderer/segments/r_portalsegment.cpp + rendering/swrenderer/things/r_visiblesprite.cpp + rendering/swrenderer/things/r_visiblespritelist.cpp + rendering/swrenderer/things/r_voxel.cpp + rendering/swrenderer/things/r_particle.cpp + rendering/swrenderer/things/r_playersprite.cpp + rendering/swrenderer/things/r_sprite.cpp + rendering/swrenderer/things/r_wallsprite.cpp + rendering/swrenderer/things/r_decal.cpp + rendering/swrenderer/things/r_model.cpp + rendering/swrenderer/plane/r_visibleplane.cpp + rendering/swrenderer/plane/r_visibleplanelist.cpp + rendering/swrenderer/plane/r_skyplane.cpp + rendering/swrenderer/plane/r_planerenderer.cpp + rendering/swrenderer/plane/r_flatplane.cpp + rendering/swrenderer/plane/r_slopeplane.cpp ) set( POLYRENDER_SOURCES - polyrenderer/poly_renderer.cpp - polyrenderer/poly_renderthread.cpp - polyrenderer/scene/poly_scene.cpp - polyrenderer/scene/poly_portal.cpp - polyrenderer/scene/poly_cull.cpp - polyrenderer/scene/poly_decal.cpp - polyrenderer/scene/poly_particle.cpp - polyrenderer/scene/poly_plane.cpp - polyrenderer/scene/poly_playersprite.cpp - polyrenderer/scene/poly_wall.cpp - polyrenderer/scene/poly_wallsprite.cpp - polyrenderer/scene/poly_sprite.cpp - polyrenderer/scene/poly_model.cpp - polyrenderer/scene/poly_sky.cpp - polyrenderer/scene/poly_light.cpp - polyrenderer/drawers/poly_buffer.cpp - polyrenderer/drawers/poly_triangle.cpp - polyrenderer/drawers/poly_draw_args.cpp - polyrenderer/drawers/screen_triangle.cpp - polyrenderer/math/gpu_types.cpp + rendering/polyrenderer/poly_renderer.cpp + rendering/polyrenderer/poly_renderthread.cpp + rendering/polyrenderer/scene/poly_scene.cpp + rendering/polyrenderer/scene/poly_portal.cpp + rendering/polyrenderer/scene/poly_cull.cpp + rendering/polyrenderer/scene/poly_decal.cpp + rendering/polyrenderer/scene/poly_particle.cpp + rendering/polyrenderer/scene/poly_plane.cpp + rendering/polyrenderer/scene/poly_playersprite.cpp + rendering/polyrenderer/scene/poly_wall.cpp + rendering/polyrenderer/scene/poly_wallsprite.cpp + rendering/polyrenderer/scene/poly_sprite.cpp + rendering/polyrenderer/scene/poly_model.cpp + rendering/polyrenderer/scene/poly_sky.cpp + rendering/polyrenderer/scene/poly_light.cpp + rendering/polyrenderer/drawers/poly_buffer.cpp + rendering/polyrenderer/drawers/poly_triangle.cpp + rendering/polyrenderer/drawers/poly_draw_args.cpp + rendering/polyrenderer/drawers/screen_triangle.cpp + rendering/polyrenderer/math/gpu_types.cpp ) # These files will be flagged as "headers" so that they appear in project files @@ -806,9 +806,9 @@ set( NOT_COMPILED_SOURCE_FILES # Enable fast math for some sources set( FASTMATH_SOURCES - swrenderer/r_all.cpp - swrenderer/r_swscene.cpp - polyrenderer/poly_all.cpp + rendering/swrenderer/r_all.cpp + rendering/swrenderer/r_swscene.cpp + rendering/polyrenderer/poly_all.cpp sound/oplsynth/opl_mus_player.cpp sound/mpg123_decoder.cpp sound/music_midi_base.cpp @@ -822,26 +822,26 @@ set( FASTMATH_SOURCES textures/hires/hqnx/hq4x.cpp textures/hires/xbr/xbrz.cpp textures/hires/xbr/xbrz_old.cpp - gl_load/gl_load.c - hwrenderer/postprocessing/hw_postprocess_cvars.cpp - hwrenderer/postprocessing/hw_postprocessshader.cpp - hwrenderer/dynlights/hw_dynlightdata.cpp - hwrenderer/scene/hw_bsp.cpp - hwrenderer/scene/hw_fakeflat.cpp - hwrenderer/scene/hw_decal.cpp - hwrenderer/scene/hw_drawinfo.cpp - hwrenderer/scene/hw_drawlist.cpp - hwrenderer/scene/hw_clipper.cpp - hwrenderer/scene/hw_flats.cpp - hwrenderer/scene/hw_portal.cpp - hwrenderer/scene/hw_renderhacks.cpp - hwrenderer/scene/hw_sky.cpp - hwrenderer/scene/hw_skyportal.cpp - hwrenderer/scene/hw_sprites.cpp - hwrenderer/scene/hw_spritelight.cpp - hwrenderer/scene/hw_walls.cpp - hwrenderer/scene/hw_walls_vertex.cpp - hwrenderer/scene/hw_weapon.cpp + rendering/gl_load/gl_load.c + rendering/hwrenderer/postprocessing/hw_postprocess_cvars.cpp + rendering/hwrenderer/postprocessing/hw_postprocessshader.cpp + rendering/hwrenderer/dynlights/hw_dynlightdata.cpp + rendering/hwrenderer/scene/hw_bsp.cpp + rendering/hwrenderer/scene/hw_fakeflat.cpp + rendering/hwrenderer/scene/hw_decal.cpp + rendering/hwrenderer/scene/hw_drawinfo.cpp + rendering/hwrenderer/scene/hw_drawlist.cpp + rendering/hwrenderer/scene/hw_clipper.cpp + rendering/hwrenderer/scene/hw_flats.cpp + rendering/hwrenderer/scene/hw_portal.cpp + rendering/hwrenderer/scene/hw_renderhacks.cpp + rendering/hwrenderer/scene/hw_sky.cpp + rendering/hwrenderer/scene/hw_skyportal.cpp + rendering/hwrenderer/scene/hw_sprites.cpp + rendering/hwrenderer/scene/hw_spritelight.cpp + rendering/hwrenderer/scene/hw_walls.cpp + rendering/hwrenderer/scene/hw_walls_vertex.cpp + rendering/hwrenderer/scene/hw_weapon.cpp r_data/models/models.cpp r_data/matrix.cpp sound/adlmidi/adldata.cpp @@ -1036,46 +1036,46 @@ set (PCH_SOURCES g_statusbar/sbarinfo.cpp g_statusbar/sbar_mugshot.cpp g_statusbar/shared_sbar.cpp - gl/renderer/gl_renderer.cpp - gl/renderer/gl_renderstate.cpp - gl/renderer/gl_renderbuffers.cpp - gl/renderer/gl_postprocess.cpp - gl/renderer/gl_postprocessstate.cpp - gl/renderer/gl_stereo3d.cpp - gl/renderer/gl_scene.cpp - gl/shaders/gl_shader.cpp - gl/shaders/gl_shaderprogram.cpp - gl/shaders/gl_postprocessshader.cpp - gl_load/gl_interface.cpp - gl/system/gl_framebuffer.cpp - gl/system/gl_debug.cpp - gl/system/gl_buffers.cpp - gl/textures/gl_hwtexture.cpp - gl/textures/gl_samplers.cpp - hwrenderer/data/hw_vertexbuilder.cpp - hwrenderer/data/flatvertices.cpp - hwrenderer/data/hw_viewpointbuffer.cpp - hwrenderer/dynlights/hw_aabbtree.cpp - hwrenderer/dynlights/hw_shadowmap.cpp - hwrenderer/dynlights/hw_lightbuffer.cpp - hwrenderer/models/hw_models.cpp - hwrenderer/scene/hw_skydome.cpp - hwrenderer/scene/hw_drawlistadd.cpp - hwrenderer/scene/hw_renderstate.cpp - hwrenderer/postprocessing/hw_postprocess.cpp - hwrenderer/postprocessing/hw_postprocess_cvars.cpp - hwrenderer/postprocessing/hw_postprocessshader.cpp - hwrenderer/postprocessing/hw_shadowmapshader.cpp - hwrenderer/postprocessing/hw_presentshader.cpp - hwrenderer/postprocessing/hw_present3dRowshader.cpp - hwrenderer/textures/hw_material.cpp - hwrenderer/textures/hw_precache.cpp - hwrenderer/utility/hw_clock.cpp - hwrenderer/utility/hw_cvars.cpp - hwrenderer/utility/hw_draw2d.cpp - hwrenderer/utility/hw_lighting.cpp - hwrenderer/utility/hw_shaderpatcher.cpp - hwrenderer/utility/hw_vrmodes.cpp + rendering/gl/renderer/gl_renderer.cpp + rendering/gl/renderer/gl_renderstate.cpp + rendering/gl/renderer/gl_renderbuffers.cpp + rendering/gl/renderer/gl_postprocess.cpp + rendering/gl/renderer/gl_postprocessstate.cpp + rendering/gl/renderer/gl_stereo3d.cpp + rendering/gl/renderer/gl_scene.cpp + rendering/gl/shaders/gl_shader.cpp + rendering/gl/shaders/gl_shaderprogram.cpp + rendering/gl/shaders/gl_postprocessshader.cpp + rendering/gl_load/gl_interface.cpp + rendering/gl/system/gl_framebuffer.cpp + rendering/gl/system/gl_debug.cpp + rendering/gl/system/gl_buffers.cpp + rendering/gl/textures/gl_hwtexture.cpp + rendering/gl/textures/gl_samplers.cpp + rendering/hwrenderer/data/hw_vertexbuilder.cpp + rendering/hwrenderer/data/flatvertices.cpp + rendering/hwrenderer/data/hw_viewpointbuffer.cpp + rendering/hwrenderer/dynlights/hw_aabbtree.cpp + rendering/hwrenderer/dynlights/hw_shadowmap.cpp + rendering/hwrenderer/dynlights/hw_lightbuffer.cpp + rendering/hwrenderer/models/hw_models.cpp + rendering/hwrenderer/scene/hw_skydome.cpp + rendering/hwrenderer/scene/hw_drawlistadd.cpp + rendering/hwrenderer/scene/hw_renderstate.cpp + rendering/hwrenderer/postprocessing/hw_postprocess.cpp + rendering/hwrenderer/postprocessing/hw_postprocess_cvars.cpp + rendering/hwrenderer/postprocessing/hw_postprocessshader.cpp + rendering/hwrenderer/postprocessing/hw_shadowmapshader.cpp + rendering/hwrenderer/postprocessing/hw_presentshader.cpp + rendering/hwrenderer/postprocessing/hw_present3dRowshader.cpp + rendering/hwrenderer/textures/hw_material.cpp + rendering/hwrenderer/textures/hw_precache.cpp + rendering/hwrenderer/utility/hw_clock.cpp + rendering/hwrenderer/utility/hw_cvars.cpp + rendering/hwrenderer/utility/hw_draw2d.cpp + rendering/hwrenderer/utility/hw_lighting.cpp + rendering/hwrenderer/utility/hw_shaderpatcher.cpp + rendering/hwrenderer/utility/hw_vrmodes.cpp maploader/edata.cpp maploader/specials.cpp maploader/maploader.cpp @@ -1256,9 +1256,9 @@ set (PCH_SOURCES sound/wildmidi/reverb.cpp sound/wildmidi/wildmidi_lib.cpp sound/wildmidi/wm_error.cpp - swrenderer/textures/r_swtexture.cpp - swrenderer/textures/warptexture.cpp - swrenderer/textures/swcanvastexture.cpp + rendering/swrenderer/textures/r_swtexture.cpp + rendering/swrenderer/textures/warptexture.cpp + rendering/swrenderer/textures/swcanvastexture.cpp events.cpp ) @@ -1320,6 +1320,7 @@ include_directories( . g_statusbar g_shared g_inventory + rendering sound textures sound/oplsynth @@ -1437,39 +1438,40 @@ source_group("FraggleScript" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/fr source_group("Intermission" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/intermission/.+") source_group("Map Loader" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/maploader/.+") source_group("Menu" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/menu/.+") -source_group("Hardware Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/.+") -source_group("Hardware Renderer\\Data" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/data/.+") -source_group("Hardware Renderer\\Dynamic Lights" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/dynlights/.+") -source_group("Hardware Renderer\\Models" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/models/.+") -source_group("Hardware Renderer\\Postprocessing" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/postprocessing/.+") -source_group("Hardware Renderer\\Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/renderer/.+") -source_group("Hardware Renderer\\Scene" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/scene/.+") -source_group("Hardware Renderer\\Shaders" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/shaders/.+") -source_group("Hardware Renderer\\System" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/system/.+") -source_group("Hardware Renderer\\Textures" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/textures/.+") -source_group("Hardware Renderer\\Utilities" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/utility/.+") -source_group("OpenGL Loader" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl_load/.+") -source_group("OpenGL Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/.+") -source_group("OpenGL Renderer\\Data" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/data/.+") -source_group("OpenGL Renderer\\Dynamic Lights" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/dynlights/.+") -source_group("OpenGL Renderer\\Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/renderer/.+") -source_group("OpenGL Renderer\\Scene" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/scene/.+") -source_group("OpenGL Renderer\\Shaders" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/shaders/.+") -source_group("OpenGL Renderer\\System" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/system/.+") -source_group("OpenGL Renderer\\Textures" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/textures/.+") -source_group("OpenGL Renderer\\Utilities" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/utility/.+") -source_group("Software Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/swrenderer/.+") -source_group("Software Renderer\\Drawers" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/swrenderer/drawers/.+") -source_group("Software Renderer\\Scene" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/swrenderer/scene/.+") -source_group("Software Renderer\\Segments" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/swrenderer/segments/.+") -source_group("Software Renderer\\Line" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/swrenderer/line/.+") -source_group("Software Renderer\\Plane" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/swrenderer/plane/.+") -source_group("Software Renderer\\Things" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/swrenderer/things/.+") -source_group("Software Renderer\\Viewport" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/swrenderer/viewport/.+") -source_group("Poly Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/polyrenderer/.+") -source_group("Poly Renderer\\Math" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/polyrenderer/math/.+") -source_group("Poly Renderer\\Drawers" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/polyrenderer/drawers/.+") -source_group("Poly Renderer\\Scene" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/polyrenderer/scene/.+") +source_group("Rendering" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/.+") +source_group("Rendering\\Hardware Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gl/.+") +source_group("Rendering\\Hardware Renderer\\Data" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/hwrenderer/data/.+") +source_group("Rendering\\Hardware Renderer\\Dynamic Lights" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/hwrenderer/dynlights/.+") +source_group("Rendering\\Hardware Renderer\\Models" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/hwrenderer/models/.+") +source_group("Rendering\\Hardware Renderer\\Postprocessing" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/hwrenderer/postprocessing/.+") +source_group("Rendering\\Hardware Renderer\\Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/hwrenderer/renderer/.+") +source_group("Rendering\\Hardware Renderer\\Scene" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/hwrenderer/scene/.+") +source_group("Rendering\\Hardware Renderer\\Shaders" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/hwrenderer/shaders/.+") +source_group("Rendering\\Hardware Renderer\\System" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/hwrenderer/system/.+") +source_group("Rendering\\Hardware Renderer\\Textures" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/hwrenderer/textures/.+") +source_group("Rendering\\Hardware Renderer\\Utilities" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/hwrenderer/utility/.+") +source_group("Rendering\\OpenGL Loader" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl_load/.+") +source_group("Rendering\\OpenGL Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl/.+") +source_group("Rendering\\OpenGL Renderer\\Data" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl/data/.+") +source_group("Rendering\\OpenGL Renderer\\Dynamic Lights" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl/dynlights/.+") +source_group("Rendering\\OpenGL Renderer\\Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl/renderer/.+") +source_group("Rendering\\OpenGL Renderer\\Scene" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl/scene/.+") +source_group("Rendering\\OpenGL Renderer\\Shaders" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl/shaders/.+") +source_group("Rendering\\OpenGL Renderer\\System" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl/system/.+") +source_group("Rendering\\OpenGL Renderer\\Textures" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl/textures/.+") +source_group("Rendering\\OpenGL Renderer\\Utilities" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/gl/utility/.+") +source_group("Rendering\\Software Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/swrenderer/.+") +source_group("Rendering\\Software Renderer\\Drawers" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/swrenderer/drawers/.+") +source_group("Rendering\\Software Renderer\\Scene" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/swrenderer/scene/.+") +source_group("Rendering\\Software Renderer\\Segments" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/swrenderer/segments/.+") +source_group("Rendering\\Software Renderer\\Line" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/swrenderer/line/.+") +source_group("Rendering\\Software Renderer\\Plane" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/swrenderer/plane/.+") +source_group("Rendering\\Software Renderer\\Things" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/swrenderer/things/.+") +source_group("Rendering\\Software Renderer\\Viewport" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/swrenderer/viewport/.+") +source_group("Rendering\\Poly Renderer" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/polyrenderer/.+") +source_group("Rendering\\Poly Renderer\\Math" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/polyrenderer/math/.+") +source_group("Rendering\\Poly Renderer\\Drawers" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/polyrenderer/drawers/.+") +source_group("Rendering\\Poly Renderer\\Scene" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/rendering/polyrenderer/scene/.+") source_group("Render Data" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/r_data/.+") source_group("Render Data\\Textures" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/textures/.+") source_group("Render Data\\Textures\\Hires" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/textures/hires/.+") diff --git a/src/gl/renderer/gl_postprocess.cpp b/src/rendering/gl/renderer/gl_postprocess.cpp similarity index 100% rename from src/gl/renderer/gl_postprocess.cpp rename to src/rendering/gl/renderer/gl_postprocess.cpp diff --git a/src/gl/renderer/gl_postprocessstate.cpp b/src/rendering/gl/renderer/gl_postprocessstate.cpp similarity index 100% rename from src/gl/renderer/gl_postprocessstate.cpp rename to src/rendering/gl/renderer/gl_postprocessstate.cpp diff --git a/src/gl/renderer/gl_postprocessstate.h b/src/rendering/gl/renderer/gl_postprocessstate.h similarity index 100% rename from src/gl/renderer/gl_postprocessstate.h rename to src/rendering/gl/renderer/gl_postprocessstate.h diff --git a/src/gl/renderer/gl_renderbuffers.cpp b/src/rendering/gl/renderer/gl_renderbuffers.cpp similarity index 100% rename from src/gl/renderer/gl_renderbuffers.cpp rename to src/rendering/gl/renderer/gl_renderbuffers.cpp diff --git a/src/gl/renderer/gl_renderbuffers.h b/src/rendering/gl/renderer/gl_renderbuffers.h similarity index 100% rename from src/gl/renderer/gl_renderbuffers.h rename to src/rendering/gl/renderer/gl_renderbuffers.h diff --git a/src/gl/renderer/gl_renderer.cpp b/src/rendering/gl/renderer/gl_renderer.cpp similarity index 100% rename from src/gl/renderer/gl_renderer.cpp rename to src/rendering/gl/renderer/gl_renderer.cpp diff --git a/src/gl/renderer/gl_renderer.h b/src/rendering/gl/renderer/gl_renderer.h similarity index 100% rename from src/gl/renderer/gl_renderer.h rename to src/rendering/gl/renderer/gl_renderer.h diff --git a/src/gl/renderer/gl_renderstate.cpp b/src/rendering/gl/renderer/gl_renderstate.cpp similarity index 100% rename from src/gl/renderer/gl_renderstate.cpp rename to src/rendering/gl/renderer/gl_renderstate.cpp diff --git a/src/gl/renderer/gl_renderstate.h b/src/rendering/gl/renderer/gl_renderstate.h similarity index 100% rename from src/gl/renderer/gl_renderstate.h rename to src/rendering/gl/renderer/gl_renderstate.h diff --git a/src/gl/renderer/gl_scene.cpp b/src/rendering/gl/renderer/gl_scene.cpp similarity index 100% rename from src/gl/renderer/gl_scene.cpp rename to src/rendering/gl/renderer/gl_scene.cpp diff --git a/src/gl/renderer/gl_stereo3d.cpp b/src/rendering/gl/renderer/gl_stereo3d.cpp similarity index 100% rename from src/gl/renderer/gl_stereo3d.cpp rename to src/rendering/gl/renderer/gl_stereo3d.cpp diff --git a/src/gl/shaders/gl_postprocessshader.cpp b/src/rendering/gl/shaders/gl_postprocessshader.cpp similarity index 100% rename from src/gl/shaders/gl_postprocessshader.cpp rename to src/rendering/gl/shaders/gl_postprocessshader.cpp diff --git a/src/gl/shaders/gl_postprocessshaderinstance.h b/src/rendering/gl/shaders/gl_postprocessshaderinstance.h similarity index 100% rename from src/gl/shaders/gl_postprocessshaderinstance.h rename to src/rendering/gl/shaders/gl_postprocessshaderinstance.h diff --git a/src/gl/shaders/gl_shader.cpp b/src/rendering/gl/shaders/gl_shader.cpp similarity index 100% rename from src/gl/shaders/gl_shader.cpp rename to src/rendering/gl/shaders/gl_shader.cpp diff --git a/src/gl/shaders/gl_shader.h b/src/rendering/gl/shaders/gl_shader.h similarity index 100% rename from src/gl/shaders/gl_shader.h rename to src/rendering/gl/shaders/gl_shader.h diff --git a/src/gl/shaders/gl_shaderprogram.cpp b/src/rendering/gl/shaders/gl_shaderprogram.cpp similarity index 100% rename from src/gl/shaders/gl_shaderprogram.cpp rename to src/rendering/gl/shaders/gl_shaderprogram.cpp diff --git a/src/gl/shaders/gl_shaderprogram.h b/src/rendering/gl/shaders/gl_shaderprogram.h similarity index 100% rename from src/gl/shaders/gl_shaderprogram.h rename to src/rendering/gl/shaders/gl_shaderprogram.h diff --git a/src/gl/system/gl_buffers.cpp b/src/rendering/gl/system/gl_buffers.cpp similarity index 100% rename from src/gl/system/gl_buffers.cpp rename to src/rendering/gl/system/gl_buffers.cpp diff --git a/src/gl/system/gl_buffers.h b/src/rendering/gl/system/gl_buffers.h similarity index 100% rename from src/gl/system/gl_buffers.h rename to src/rendering/gl/system/gl_buffers.h diff --git a/src/gl/system/gl_debug.cpp b/src/rendering/gl/system/gl_debug.cpp similarity index 100% rename from src/gl/system/gl_debug.cpp rename to src/rendering/gl/system/gl_debug.cpp diff --git a/src/gl/system/gl_debug.h b/src/rendering/gl/system/gl_debug.h similarity index 100% rename from src/gl/system/gl_debug.h rename to src/rendering/gl/system/gl_debug.h diff --git a/src/gl/system/gl_framebuffer.cpp b/src/rendering/gl/system/gl_framebuffer.cpp similarity index 100% rename from src/gl/system/gl_framebuffer.cpp rename to src/rendering/gl/system/gl_framebuffer.cpp diff --git a/src/gl/system/gl_framebuffer.h b/src/rendering/gl/system/gl_framebuffer.h similarity index 100% rename from src/gl/system/gl_framebuffer.h rename to src/rendering/gl/system/gl_framebuffer.h diff --git a/src/gl/textures/gl_hwtexture.cpp b/src/rendering/gl/textures/gl_hwtexture.cpp similarity index 100% rename from src/gl/textures/gl_hwtexture.cpp rename to src/rendering/gl/textures/gl_hwtexture.cpp diff --git a/src/gl/textures/gl_hwtexture.h b/src/rendering/gl/textures/gl_hwtexture.h similarity index 100% rename from src/gl/textures/gl_hwtexture.h rename to src/rendering/gl/textures/gl_hwtexture.h diff --git a/src/gl/textures/gl_samplers.cpp b/src/rendering/gl/textures/gl_samplers.cpp similarity index 100% rename from src/gl/textures/gl_samplers.cpp rename to src/rendering/gl/textures/gl_samplers.cpp diff --git a/src/gl/textures/gl_samplers.h b/src/rendering/gl/textures/gl_samplers.h similarity index 100% rename from src/gl/textures/gl_samplers.h rename to src/rendering/gl/textures/gl_samplers.h diff --git a/src/gl_load/gl_extlist.txt b/src/rendering/gl_load/gl_extlist.txt similarity index 100% rename from src/gl_load/gl_extlist.txt rename to src/rendering/gl_load/gl_extlist.txt diff --git a/src/gl_load/gl_interface.cpp b/src/rendering/gl_load/gl_interface.cpp similarity index 100% rename from src/gl_load/gl_interface.cpp rename to src/rendering/gl_load/gl_interface.cpp diff --git a/src/gl_load/gl_interface.h b/src/rendering/gl_load/gl_interface.h similarity index 100% rename from src/gl_load/gl_interface.h rename to src/rendering/gl_load/gl_interface.h diff --git a/src/gl_load/gl_load.c b/src/rendering/gl_load/gl_load.c similarity index 100% rename from src/gl_load/gl_load.c rename to src/rendering/gl_load/gl_load.c diff --git a/src/gl_load/gl_load.h b/src/rendering/gl_load/gl_load.h similarity index 100% rename from src/gl_load/gl_load.h rename to src/rendering/gl_load/gl_load.h diff --git a/src/gl_load/gl_system.h b/src/rendering/gl_load/gl_system.h similarity index 100% rename from src/gl_load/gl_system.h rename to src/rendering/gl_load/gl_system.h diff --git a/src/hwrenderer/data/buffers.h b/src/rendering/hwrenderer/data/buffers.h similarity index 100% rename from src/hwrenderer/data/buffers.h rename to src/rendering/hwrenderer/data/buffers.h diff --git a/src/hwrenderer/data/flatvertices.cpp b/src/rendering/hwrenderer/data/flatvertices.cpp similarity index 100% rename from src/hwrenderer/data/flatvertices.cpp rename to src/rendering/hwrenderer/data/flatvertices.cpp diff --git a/src/hwrenderer/data/flatvertices.h b/src/rendering/hwrenderer/data/flatvertices.h similarity index 100% rename from src/hwrenderer/data/flatvertices.h rename to src/rendering/hwrenderer/data/flatvertices.h diff --git a/src/hwrenderer/data/hw_vertexbuilder.cpp b/src/rendering/hwrenderer/data/hw_vertexbuilder.cpp similarity index 100% rename from src/hwrenderer/data/hw_vertexbuilder.cpp rename to src/rendering/hwrenderer/data/hw_vertexbuilder.cpp diff --git a/src/hwrenderer/data/hw_vertexbuilder.h b/src/rendering/hwrenderer/data/hw_vertexbuilder.h similarity index 100% rename from src/hwrenderer/data/hw_vertexbuilder.h rename to src/rendering/hwrenderer/data/hw_vertexbuilder.h diff --git a/src/hwrenderer/data/hw_viewpointbuffer.cpp b/src/rendering/hwrenderer/data/hw_viewpointbuffer.cpp similarity index 100% rename from src/hwrenderer/data/hw_viewpointbuffer.cpp rename to src/rendering/hwrenderer/data/hw_viewpointbuffer.cpp diff --git a/src/hwrenderer/data/hw_viewpointbuffer.h b/src/rendering/hwrenderer/data/hw_viewpointbuffer.h similarity index 100% rename from src/hwrenderer/data/hw_viewpointbuffer.h rename to src/rendering/hwrenderer/data/hw_viewpointbuffer.h diff --git a/src/hwrenderer/data/renderqueue.h b/src/rendering/hwrenderer/data/renderqueue.h similarity index 100% rename from src/hwrenderer/data/renderqueue.h rename to src/rendering/hwrenderer/data/renderqueue.h diff --git a/src/hwrenderer/data/shaderuniforms.h b/src/rendering/hwrenderer/data/shaderuniforms.h similarity index 100% rename from src/hwrenderer/data/shaderuniforms.h rename to src/rendering/hwrenderer/data/shaderuniforms.h diff --git a/src/hwrenderer/dynlights/hw_aabbtree.cpp b/src/rendering/hwrenderer/dynlights/hw_aabbtree.cpp similarity index 100% rename from src/hwrenderer/dynlights/hw_aabbtree.cpp rename to src/rendering/hwrenderer/dynlights/hw_aabbtree.cpp diff --git a/src/hwrenderer/dynlights/hw_aabbtree.h b/src/rendering/hwrenderer/dynlights/hw_aabbtree.h similarity index 100% rename from src/hwrenderer/dynlights/hw_aabbtree.h rename to src/rendering/hwrenderer/dynlights/hw_aabbtree.h diff --git a/src/hwrenderer/dynlights/hw_dynlightdata.cpp b/src/rendering/hwrenderer/dynlights/hw_dynlightdata.cpp similarity index 100% rename from src/hwrenderer/dynlights/hw_dynlightdata.cpp rename to src/rendering/hwrenderer/dynlights/hw_dynlightdata.cpp diff --git a/src/hwrenderer/dynlights/hw_dynlightdata.h b/src/rendering/hwrenderer/dynlights/hw_dynlightdata.h similarity index 100% rename from src/hwrenderer/dynlights/hw_dynlightdata.h rename to src/rendering/hwrenderer/dynlights/hw_dynlightdata.h diff --git a/src/hwrenderer/dynlights/hw_lightbuffer.cpp b/src/rendering/hwrenderer/dynlights/hw_lightbuffer.cpp similarity index 100% rename from src/hwrenderer/dynlights/hw_lightbuffer.cpp rename to src/rendering/hwrenderer/dynlights/hw_lightbuffer.cpp diff --git a/src/hwrenderer/dynlights/hw_lightbuffer.h b/src/rendering/hwrenderer/dynlights/hw_lightbuffer.h similarity index 100% rename from src/hwrenderer/dynlights/hw_lightbuffer.h rename to src/rendering/hwrenderer/dynlights/hw_lightbuffer.h diff --git a/src/hwrenderer/dynlights/hw_shadowmap.cpp b/src/rendering/hwrenderer/dynlights/hw_shadowmap.cpp similarity index 100% rename from src/hwrenderer/dynlights/hw_shadowmap.cpp rename to src/rendering/hwrenderer/dynlights/hw_shadowmap.cpp diff --git a/src/hwrenderer/dynlights/hw_shadowmap.h b/src/rendering/hwrenderer/dynlights/hw_shadowmap.h similarity index 100% rename from src/hwrenderer/dynlights/hw_shadowmap.h rename to src/rendering/hwrenderer/dynlights/hw_shadowmap.h diff --git a/src/hwrenderer/models/hw_models.cpp b/src/rendering/hwrenderer/models/hw_models.cpp similarity index 100% rename from src/hwrenderer/models/hw_models.cpp rename to src/rendering/hwrenderer/models/hw_models.cpp diff --git a/src/hwrenderer/models/hw_models.h b/src/rendering/hwrenderer/models/hw_models.h similarity index 100% rename from src/hwrenderer/models/hw_models.h rename to src/rendering/hwrenderer/models/hw_models.h diff --git a/src/hwrenderer/postprocessing/hw_postprocess.cpp b/src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp similarity index 100% rename from src/hwrenderer/postprocessing/hw_postprocess.cpp rename to src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp diff --git a/src/hwrenderer/postprocessing/hw_postprocess.h b/src/rendering/hwrenderer/postprocessing/hw_postprocess.h similarity index 100% rename from src/hwrenderer/postprocessing/hw_postprocess.h rename to src/rendering/hwrenderer/postprocessing/hw_postprocess.h diff --git a/src/hwrenderer/postprocessing/hw_postprocess_cvars.cpp b/src/rendering/hwrenderer/postprocessing/hw_postprocess_cvars.cpp similarity index 100% rename from src/hwrenderer/postprocessing/hw_postprocess_cvars.cpp rename to src/rendering/hwrenderer/postprocessing/hw_postprocess_cvars.cpp diff --git a/src/hwrenderer/postprocessing/hw_postprocess_cvars.h b/src/rendering/hwrenderer/postprocessing/hw_postprocess_cvars.h similarity index 100% rename from src/hwrenderer/postprocessing/hw_postprocess_cvars.h rename to src/rendering/hwrenderer/postprocessing/hw_postprocess_cvars.h diff --git a/src/hwrenderer/postprocessing/hw_postprocessshader.cpp b/src/rendering/hwrenderer/postprocessing/hw_postprocessshader.cpp similarity index 100% rename from src/hwrenderer/postprocessing/hw_postprocessshader.cpp rename to src/rendering/hwrenderer/postprocessing/hw_postprocessshader.cpp diff --git a/src/hwrenderer/postprocessing/hw_postprocessshader.h b/src/rendering/hwrenderer/postprocessing/hw_postprocessshader.h similarity index 100% rename from src/hwrenderer/postprocessing/hw_postprocessshader.h rename to src/rendering/hwrenderer/postprocessing/hw_postprocessshader.h diff --git a/src/hwrenderer/postprocessing/hw_present3dRowshader.cpp b/src/rendering/hwrenderer/postprocessing/hw_present3dRowshader.cpp similarity index 100% rename from src/hwrenderer/postprocessing/hw_present3dRowshader.cpp rename to src/rendering/hwrenderer/postprocessing/hw_present3dRowshader.cpp diff --git a/src/hwrenderer/postprocessing/hw_present3dRowshader.h b/src/rendering/hwrenderer/postprocessing/hw_present3dRowshader.h similarity index 100% rename from src/hwrenderer/postprocessing/hw_present3dRowshader.h rename to src/rendering/hwrenderer/postprocessing/hw_present3dRowshader.h diff --git a/src/hwrenderer/postprocessing/hw_presentshader.cpp b/src/rendering/hwrenderer/postprocessing/hw_presentshader.cpp similarity index 100% rename from src/hwrenderer/postprocessing/hw_presentshader.cpp rename to src/rendering/hwrenderer/postprocessing/hw_presentshader.cpp diff --git a/src/hwrenderer/postprocessing/hw_presentshader.h b/src/rendering/hwrenderer/postprocessing/hw_presentshader.h similarity index 100% rename from src/hwrenderer/postprocessing/hw_presentshader.h rename to src/rendering/hwrenderer/postprocessing/hw_presentshader.h diff --git a/src/hwrenderer/postprocessing/hw_shaderprogram.h b/src/rendering/hwrenderer/postprocessing/hw_shaderprogram.h similarity index 100% rename from src/hwrenderer/postprocessing/hw_shaderprogram.h rename to src/rendering/hwrenderer/postprocessing/hw_shaderprogram.h diff --git a/src/hwrenderer/postprocessing/hw_shadowmapshader.cpp b/src/rendering/hwrenderer/postprocessing/hw_shadowmapshader.cpp similarity index 100% rename from src/hwrenderer/postprocessing/hw_shadowmapshader.cpp rename to src/rendering/hwrenderer/postprocessing/hw_shadowmapshader.cpp diff --git a/src/hwrenderer/postprocessing/hw_shadowmapshader.h b/src/rendering/hwrenderer/postprocessing/hw_shadowmapshader.h similarity index 100% rename from src/hwrenderer/postprocessing/hw_shadowmapshader.h rename to src/rendering/hwrenderer/postprocessing/hw_shadowmapshader.h diff --git a/src/hwrenderer/scene/hw_bsp.cpp b/src/rendering/hwrenderer/scene/hw_bsp.cpp similarity index 100% rename from src/hwrenderer/scene/hw_bsp.cpp rename to src/rendering/hwrenderer/scene/hw_bsp.cpp diff --git a/src/hwrenderer/scene/hw_clipper.cpp b/src/rendering/hwrenderer/scene/hw_clipper.cpp similarity index 100% rename from src/hwrenderer/scene/hw_clipper.cpp rename to src/rendering/hwrenderer/scene/hw_clipper.cpp diff --git a/src/hwrenderer/scene/hw_clipper.h b/src/rendering/hwrenderer/scene/hw_clipper.h similarity index 100% rename from src/hwrenderer/scene/hw_clipper.h rename to src/rendering/hwrenderer/scene/hw_clipper.h diff --git a/src/hwrenderer/scene/hw_decal.cpp b/src/rendering/hwrenderer/scene/hw_decal.cpp similarity index 100% rename from src/hwrenderer/scene/hw_decal.cpp rename to src/rendering/hwrenderer/scene/hw_decal.cpp diff --git a/src/hwrenderer/scene/hw_drawinfo.cpp b/src/rendering/hwrenderer/scene/hw_drawinfo.cpp similarity index 100% rename from src/hwrenderer/scene/hw_drawinfo.cpp rename to src/rendering/hwrenderer/scene/hw_drawinfo.cpp diff --git a/src/hwrenderer/scene/hw_drawinfo.h b/src/rendering/hwrenderer/scene/hw_drawinfo.h similarity index 100% rename from src/hwrenderer/scene/hw_drawinfo.h rename to src/rendering/hwrenderer/scene/hw_drawinfo.h diff --git a/src/hwrenderer/scene/hw_drawlist.cpp b/src/rendering/hwrenderer/scene/hw_drawlist.cpp similarity index 100% rename from src/hwrenderer/scene/hw_drawlist.cpp rename to src/rendering/hwrenderer/scene/hw_drawlist.cpp diff --git a/src/hwrenderer/scene/hw_drawlist.h b/src/rendering/hwrenderer/scene/hw_drawlist.h similarity index 100% rename from src/hwrenderer/scene/hw_drawlist.h rename to src/rendering/hwrenderer/scene/hw_drawlist.h diff --git a/src/hwrenderer/scene/hw_drawlistadd.cpp b/src/rendering/hwrenderer/scene/hw_drawlistadd.cpp similarity index 100% rename from src/hwrenderer/scene/hw_drawlistadd.cpp rename to src/rendering/hwrenderer/scene/hw_drawlistadd.cpp diff --git a/src/hwrenderer/scene/hw_drawstructs.h b/src/rendering/hwrenderer/scene/hw_drawstructs.h similarity index 100% rename from src/hwrenderer/scene/hw_drawstructs.h rename to src/rendering/hwrenderer/scene/hw_drawstructs.h diff --git a/src/hwrenderer/scene/hw_fakeflat.cpp b/src/rendering/hwrenderer/scene/hw_fakeflat.cpp similarity index 100% rename from src/hwrenderer/scene/hw_fakeflat.cpp rename to src/rendering/hwrenderer/scene/hw_fakeflat.cpp diff --git a/src/hwrenderer/scene/hw_fakeflat.h b/src/rendering/hwrenderer/scene/hw_fakeflat.h similarity index 100% rename from src/hwrenderer/scene/hw_fakeflat.h rename to src/rendering/hwrenderer/scene/hw_fakeflat.h diff --git a/src/hwrenderer/scene/hw_flats.cpp b/src/rendering/hwrenderer/scene/hw_flats.cpp similarity index 100% rename from src/hwrenderer/scene/hw_flats.cpp rename to src/rendering/hwrenderer/scene/hw_flats.cpp diff --git a/src/hwrenderer/scene/hw_portal.cpp b/src/rendering/hwrenderer/scene/hw_portal.cpp similarity index 100% rename from src/hwrenderer/scene/hw_portal.cpp rename to src/rendering/hwrenderer/scene/hw_portal.cpp diff --git a/src/hwrenderer/scene/hw_portal.h b/src/rendering/hwrenderer/scene/hw_portal.h similarity index 100% rename from src/hwrenderer/scene/hw_portal.h rename to src/rendering/hwrenderer/scene/hw_portal.h diff --git a/src/hwrenderer/scene/hw_renderhacks.cpp b/src/rendering/hwrenderer/scene/hw_renderhacks.cpp similarity index 100% rename from src/hwrenderer/scene/hw_renderhacks.cpp rename to src/rendering/hwrenderer/scene/hw_renderhacks.cpp diff --git a/src/hwrenderer/scene/hw_renderstate.cpp b/src/rendering/hwrenderer/scene/hw_renderstate.cpp similarity index 100% rename from src/hwrenderer/scene/hw_renderstate.cpp rename to src/rendering/hwrenderer/scene/hw_renderstate.cpp diff --git a/src/hwrenderer/scene/hw_renderstate.h b/src/rendering/hwrenderer/scene/hw_renderstate.h similarity index 100% rename from src/hwrenderer/scene/hw_renderstate.h rename to src/rendering/hwrenderer/scene/hw_renderstate.h diff --git a/src/hwrenderer/scene/hw_sky.cpp b/src/rendering/hwrenderer/scene/hw_sky.cpp similarity index 100% rename from src/hwrenderer/scene/hw_sky.cpp rename to src/rendering/hwrenderer/scene/hw_sky.cpp diff --git a/src/hwrenderer/scene/hw_skydome.cpp b/src/rendering/hwrenderer/scene/hw_skydome.cpp similarity index 100% rename from src/hwrenderer/scene/hw_skydome.cpp rename to src/rendering/hwrenderer/scene/hw_skydome.cpp diff --git a/src/hwrenderer/scene/hw_skydome.h b/src/rendering/hwrenderer/scene/hw_skydome.h similarity index 100% rename from src/hwrenderer/scene/hw_skydome.h rename to src/rendering/hwrenderer/scene/hw_skydome.h diff --git a/src/hwrenderer/scene/hw_skyportal.cpp b/src/rendering/hwrenderer/scene/hw_skyportal.cpp similarity index 100% rename from src/hwrenderer/scene/hw_skyportal.cpp rename to src/rendering/hwrenderer/scene/hw_skyportal.cpp diff --git a/src/hwrenderer/scene/hw_spritelight.cpp b/src/rendering/hwrenderer/scene/hw_spritelight.cpp similarity index 100% rename from src/hwrenderer/scene/hw_spritelight.cpp rename to src/rendering/hwrenderer/scene/hw_spritelight.cpp diff --git a/src/hwrenderer/scene/hw_sprites.cpp b/src/rendering/hwrenderer/scene/hw_sprites.cpp similarity index 100% rename from src/hwrenderer/scene/hw_sprites.cpp rename to src/rendering/hwrenderer/scene/hw_sprites.cpp diff --git a/src/hwrenderer/scene/hw_viewpointuniforms.h b/src/rendering/hwrenderer/scene/hw_viewpointuniforms.h similarity index 100% rename from src/hwrenderer/scene/hw_viewpointuniforms.h rename to src/rendering/hwrenderer/scene/hw_viewpointuniforms.h diff --git a/src/hwrenderer/scene/hw_walls.cpp b/src/rendering/hwrenderer/scene/hw_walls.cpp similarity index 100% rename from src/hwrenderer/scene/hw_walls.cpp rename to src/rendering/hwrenderer/scene/hw_walls.cpp diff --git a/src/hwrenderer/scene/hw_walls_vertex.cpp b/src/rendering/hwrenderer/scene/hw_walls_vertex.cpp similarity index 100% rename from src/hwrenderer/scene/hw_walls_vertex.cpp rename to src/rendering/hwrenderer/scene/hw_walls_vertex.cpp diff --git a/src/hwrenderer/scene/hw_weapon.cpp b/src/rendering/hwrenderer/scene/hw_weapon.cpp similarity index 100% rename from src/hwrenderer/scene/hw_weapon.cpp rename to src/rendering/hwrenderer/scene/hw_weapon.cpp diff --git a/src/hwrenderer/scene/hw_weapon.h b/src/rendering/hwrenderer/scene/hw_weapon.h similarity index 100% rename from src/hwrenderer/scene/hw_weapon.h rename to src/rendering/hwrenderer/scene/hw_weapon.h diff --git a/src/hwrenderer/textures/hw_ihwtexture.h b/src/rendering/hwrenderer/textures/hw_ihwtexture.h similarity index 100% rename from src/hwrenderer/textures/hw_ihwtexture.h rename to src/rendering/hwrenderer/textures/hw_ihwtexture.h diff --git a/src/hwrenderer/textures/hw_material.cpp b/src/rendering/hwrenderer/textures/hw_material.cpp similarity index 100% rename from src/hwrenderer/textures/hw_material.cpp rename to src/rendering/hwrenderer/textures/hw_material.cpp diff --git a/src/hwrenderer/textures/hw_material.h b/src/rendering/hwrenderer/textures/hw_material.h similarity index 100% rename from src/hwrenderer/textures/hw_material.h rename to src/rendering/hwrenderer/textures/hw_material.h diff --git a/src/hwrenderer/textures/hw_precache.cpp b/src/rendering/hwrenderer/textures/hw_precache.cpp similarity index 100% rename from src/hwrenderer/textures/hw_precache.cpp rename to src/rendering/hwrenderer/textures/hw_precache.cpp diff --git a/src/hwrenderer/textures/hw_texcontainer.h b/src/rendering/hwrenderer/textures/hw_texcontainer.h similarity index 100% rename from src/hwrenderer/textures/hw_texcontainer.h rename to src/rendering/hwrenderer/textures/hw_texcontainer.h diff --git a/src/hwrenderer/utility/hw_clock.cpp b/src/rendering/hwrenderer/utility/hw_clock.cpp similarity index 100% rename from src/hwrenderer/utility/hw_clock.cpp rename to src/rendering/hwrenderer/utility/hw_clock.cpp diff --git a/src/hwrenderer/utility/hw_clock.h b/src/rendering/hwrenderer/utility/hw_clock.h similarity index 100% rename from src/hwrenderer/utility/hw_clock.h rename to src/rendering/hwrenderer/utility/hw_clock.h diff --git a/src/hwrenderer/utility/hw_cvars.cpp b/src/rendering/hwrenderer/utility/hw_cvars.cpp similarity index 100% rename from src/hwrenderer/utility/hw_cvars.cpp rename to src/rendering/hwrenderer/utility/hw_cvars.cpp diff --git a/src/hwrenderer/utility/hw_cvars.h b/src/rendering/hwrenderer/utility/hw_cvars.h similarity index 100% rename from src/hwrenderer/utility/hw_cvars.h rename to src/rendering/hwrenderer/utility/hw_cvars.h diff --git a/src/hwrenderer/utility/hw_draw2d.cpp b/src/rendering/hwrenderer/utility/hw_draw2d.cpp similarity index 100% rename from src/hwrenderer/utility/hw_draw2d.cpp rename to src/rendering/hwrenderer/utility/hw_draw2d.cpp diff --git a/src/hwrenderer/utility/hw_lighting.cpp b/src/rendering/hwrenderer/utility/hw_lighting.cpp similarity index 100% rename from src/hwrenderer/utility/hw_lighting.cpp rename to src/rendering/hwrenderer/utility/hw_lighting.cpp diff --git a/src/hwrenderer/utility/hw_lighting.h b/src/rendering/hwrenderer/utility/hw_lighting.h similarity index 100% rename from src/hwrenderer/utility/hw_lighting.h rename to src/rendering/hwrenderer/utility/hw_lighting.h diff --git a/src/hwrenderer/utility/hw_shaderpatcher.cpp b/src/rendering/hwrenderer/utility/hw_shaderpatcher.cpp similarity index 100% rename from src/hwrenderer/utility/hw_shaderpatcher.cpp rename to src/rendering/hwrenderer/utility/hw_shaderpatcher.cpp diff --git a/src/hwrenderer/utility/hw_shaderpatcher.h b/src/rendering/hwrenderer/utility/hw_shaderpatcher.h similarity index 100% rename from src/hwrenderer/utility/hw_shaderpatcher.h rename to src/rendering/hwrenderer/utility/hw_shaderpatcher.h diff --git a/src/hwrenderer/utility/hw_vrmodes.cpp b/src/rendering/hwrenderer/utility/hw_vrmodes.cpp similarity index 100% rename from src/hwrenderer/utility/hw_vrmodes.cpp rename to src/rendering/hwrenderer/utility/hw_vrmodes.cpp diff --git a/src/hwrenderer/utility/hw_vrmodes.h b/src/rendering/hwrenderer/utility/hw_vrmodes.h similarity index 100% rename from src/hwrenderer/utility/hw_vrmodes.h rename to src/rendering/hwrenderer/utility/hw_vrmodes.h diff --git a/src/polyrenderer/drawers/poly_buffer.cpp b/src/rendering/polyrenderer/drawers/poly_buffer.cpp similarity index 100% rename from src/polyrenderer/drawers/poly_buffer.cpp rename to src/rendering/polyrenderer/drawers/poly_buffer.cpp diff --git a/src/polyrenderer/drawers/poly_buffer.h b/src/rendering/polyrenderer/drawers/poly_buffer.h similarity index 100% rename from src/polyrenderer/drawers/poly_buffer.h rename to src/rendering/polyrenderer/drawers/poly_buffer.h diff --git a/src/polyrenderer/drawers/poly_draw_args.cpp b/src/rendering/polyrenderer/drawers/poly_draw_args.cpp similarity index 100% rename from src/polyrenderer/drawers/poly_draw_args.cpp rename to src/rendering/polyrenderer/drawers/poly_draw_args.cpp diff --git a/src/polyrenderer/drawers/poly_draw_args.h b/src/rendering/polyrenderer/drawers/poly_draw_args.h similarity index 100% rename from src/polyrenderer/drawers/poly_draw_args.h rename to src/rendering/polyrenderer/drawers/poly_draw_args.h diff --git a/src/polyrenderer/drawers/poly_triangle.cpp b/src/rendering/polyrenderer/drawers/poly_triangle.cpp similarity index 100% rename from src/polyrenderer/drawers/poly_triangle.cpp rename to src/rendering/polyrenderer/drawers/poly_triangle.cpp diff --git a/src/polyrenderer/drawers/poly_triangle.h b/src/rendering/polyrenderer/drawers/poly_triangle.h similarity index 100% rename from src/polyrenderer/drawers/poly_triangle.h rename to src/rendering/polyrenderer/drawers/poly_triangle.h diff --git a/src/polyrenderer/drawers/screen_triangle.cpp b/src/rendering/polyrenderer/drawers/screen_triangle.cpp similarity index 100% rename from src/polyrenderer/drawers/screen_triangle.cpp rename to src/rendering/polyrenderer/drawers/screen_triangle.cpp diff --git a/src/polyrenderer/drawers/screen_triangle.h b/src/rendering/polyrenderer/drawers/screen_triangle.h similarity index 100% rename from src/polyrenderer/drawers/screen_triangle.h rename to src/rendering/polyrenderer/drawers/screen_triangle.h diff --git a/src/polyrenderer/math/gpu_types.cpp b/src/rendering/polyrenderer/math/gpu_types.cpp similarity index 100% rename from src/polyrenderer/math/gpu_types.cpp rename to src/rendering/polyrenderer/math/gpu_types.cpp diff --git a/src/polyrenderer/math/gpu_types.h b/src/rendering/polyrenderer/math/gpu_types.h similarity index 100% rename from src/polyrenderer/math/gpu_types.h rename to src/rendering/polyrenderer/math/gpu_types.h diff --git a/src/polyrenderer/poly_all.cpp b/src/rendering/polyrenderer/poly_all.cpp similarity index 100% rename from src/polyrenderer/poly_all.cpp rename to src/rendering/polyrenderer/poly_all.cpp diff --git a/src/polyrenderer/poly_renderer.cpp b/src/rendering/polyrenderer/poly_renderer.cpp similarity index 100% rename from src/polyrenderer/poly_renderer.cpp rename to src/rendering/polyrenderer/poly_renderer.cpp diff --git a/src/polyrenderer/poly_renderer.h b/src/rendering/polyrenderer/poly_renderer.h similarity index 100% rename from src/polyrenderer/poly_renderer.h rename to src/rendering/polyrenderer/poly_renderer.h diff --git a/src/polyrenderer/poly_renderthread.cpp b/src/rendering/polyrenderer/poly_renderthread.cpp similarity index 100% rename from src/polyrenderer/poly_renderthread.cpp rename to src/rendering/polyrenderer/poly_renderthread.cpp diff --git a/src/polyrenderer/poly_renderthread.h b/src/rendering/polyrenderer/poly_renderthread.h similarity index 100% rename from src/polyrenderer/poly_renderthread.h rename to src/rendering/polyrenderer/poly_renderthread.h diff --git a/src/polyrenderer/scene/poly_cull.cpp b/src/rendering/polyrenderer/scene/poly_cull.cpp similarity index 100% rename from src/polyrenderer/scene/poly_cull.cpp rename to src/rendering/polyrenderer/scene/poly_cull.cpp diff --git a/src/polyrenderer/scene/poly_cull.h b/src/rendering/polyrenderer/scene/poly_cull.h similarity index 100% rename from src/polyrenderer/scene/poly_cull.h rename to src/rendering/polyrenderer/scene/poly_cull.h diff --git a/src/polyrenderer/scene/poly_decal.cpp b/src/rendering/polyrenderer/scene/poly_decal.cpp similarity index 100% rename from src/polyrenderer/scene/poly_decal.cpp rename to src/rendering/polyrenderer/scene/poly_decal.cpp diff --git a/src/polyrenderer/scene/poly_decal.h b/src/rendering/polyrenderer/scene/poly_decal.h similarity index 100% rename from src/polyrenderer/scene/poly_decal.h rename to src/rendering/polyrenderer/scene/poly_decal.h diff --git a/src/polyrenderer/scene/poly_light.cpp b/src/rendering/polyrenderer/scene/poly_light.cpp similarity index 100% rename from src/polyrenderer/scene/poly_light.cpp rename to src/rendering/polyrenderer/scene/poly_light.cpp diff --git a/src/polyrenderer/scene/poly_light.h b/src/rendering/polyrenderer/scene/poly_light.h similarity index 100% rename from src/polyrenderer/scene/poly_light.h rename to src/rendering/polyrenderer/scene/poly_light.h diff --git a/src/polyrenderer/scene/poly_model.cpp b/src/rendering/polyrenderer/scene/poly_model.cpp similarity index 100% rename from src/polyrenderer/scene/poly_model.cpp rename to src/rendering/polyrenderer/scene/poly_model.cpp diff --git a/src/polyrenderer/scene/poly_model.h b/src/rendering/polyrenderer/scene/poly_model.h similarity index 100% rename from src/polyrenderer/scene/poly_model.h rename to src/rendering/polyrenderer/scene/poly_model.h diff --git a/src/polyrenderer/scene/poly_particle.cpp b/src/rendering/polyrenderer/scene/poly_particle.cpp similarity index 100% rename from src/polyrenderer/scene/poly_particle.cpp rename to src/rendering/polyrenderer/scene/poly_particle.cpp diff --git a/src/polyrenderer/scene/poly_particle.h b/src/rendering/polyrenderer/scene/poly_particle.h similarity index 100% rename from src/polyrenderer/scene/poly_particle.h rename to src/rendering/polyrenderer/scene/poly_particle.h diff --git a/src/polyrenderer/scene/poly_plane.cpp b/src/rendering/polyrenderer/scene/poly_plane.cpp similarity index 100% rename from src/polyrenderer/scene/poly_plane.cpp rename to src/rendering/polyrenderer/scene/poly_plane.cpp diff --git a/src/polyrenderer/scene/poly_plane.h b/src/rendering/polyrenderer/scene/poly_plane.h similarity index 100% rename from src/polyrenderer/scene/poly_plane.h rename to src/rendering/polyrenderer/scene/poly_plane.h diff --git a/src/polyrenderer/scene/poly_playersprite.cpp b/src/rendering/polyrenderer/scene/poly_playersprite.cpp similarity index 100% rename from src/polyrenderer/scene/poly_playersprite.cpp rename to src/rendering/polyrenderer/scene/poly_playersprite.cpp diff --git a/src/polyrenderer/scene/poly_playersprite.h b/src/rendering/polyrenderer/scene/poly_playersprite.h similarity index 100% rename from src/polyrenderer/scene/poly_playersprite.h rename to src/rendering/polyrenderer/scene/poly_playersprite.h diff --git a/src/polyrenderer/scene/poly_portal.cpp b/src/rendering/polyrenderer/scene/poly_portal.cpp similarity index 100% rename from src/polyrenderer/scene/poly_portal.cpp rename to src/rendering/polyrenderer/scene/poly_portal.cpp diff --git a/src/polyrenderer/scene/poly_portal.h b/src/rendering/polyrenderer/scene/poly_portal.h similarity index 100% rename from src/polyrenderer/scene/poly_portal.h rename to src/rendering/polyrenderer/scene/poly_portal.h diff --git a/src/polyrenderer/scene/poly_scene.cpp b/src/rendering/polyrenderer/scene/poly_scene.cpp similarity index 100% rename from src/polyrenderer/scene/poly_scene.cpp rename to src/rendering/polyrenderer/scene/poly_scene.cpp diff --git a/src/polyrenderer/scene/poly_scene.h b/src/rendering/polyrenderer/scene/poly_scene.h similarity index 100% rename from src/polyrenderer/scene/poly_scene.h rename to src/rendering/polyrenderer/scene/poly_scene.h diff --git a/src/polyrenderer/scene/poly_sky.cpp b/src/rendering/polyrenderer/scene/poly_sky.cpp similarity index 100% rename from src/polyrenderer/scene/poly_sky.cpp rename to src/rendering/polyrenderer/scene/poly_sky.cpp diff --git a/src/polyrenderer/scene/poly_sky.h b/src/rendering/polyrenderer/scene/poly_sky.h similarity index 100% rename from src/polyrenderer/scene/poly_sky.h rename to src/rendering/polyrenderer/scene/poly_sky.h diff --git a/src/polyrenderer/scene/poly_sprite.cpp b/src/rendering/polyrenderer/scene/poly_sprite.cpp similarity index 100% rename from src/polyrenderer/scene/poly_sprite.cpp rename to src/rendering/polyrenderer/scene/poly_sprite.cpp diff --git a/src/polyrenderer/scene/poly_sprite.h b/src/rendering/polyrenderer/scene/poly_sprite.h similarity index 100% rename from src/polyrenderer/scene/poly_sprite.h rename to src/rendering/polyrenderer/scene/poly_sprite.h diff --git a/src/polyrenderer/scene/poly_wall.cpp b/src/rendering/polyrenderer/scene/poly_wall.cpp similarity index 100% rename from src/polyrenderer/scene/poly_wall.cpp rename to src/rendering/polyrenderer/scene/poly_wall.cpp diff --git a/src/polyrenderer/scene/poly_wall.h b/src/rendering/polyrenderer/scene/poly_wall.h similarity index 100% rename from src/polyrenderer/scene/poly_wall.h rename to src/rendering/polyrenderer/scene/poly_wall.h diff --git a/src/polyrenderer/scene/poly_wallsprite.cpp b/src/rendering/polyrenderer/scene/poly_wallsprite.cpp similarity index 100% rename from src/polyrenderer/scene/poly_wallsprite.cpp rename to src/rendering/polyrenderer/scene/poly_wallsprite.cpp diff --git a/src/polyrenderer/scene/poly_wallsprite.h b/src/rendering/polyrenderer/scene/poly_wallsprite.h similarity index 100% rename from src/polyrenderer/scene/poly_wallsprite.h rename to src/rendering/polyrenderer/scene/poly_wallsprite.h diff --git a/src/swrenderer/drawers/r_draw.cpp b/src/rendering/swrenderer/drawers/r_draw.cpp similarity index 100% rename from src/swrenderer/drawers/r_draw.cpp rename to src/rendering/swrenderer/drawers/r_draw.cpp diff --git a/src/swrenderer/drawers/r_draw.h b/src/rendering/swrenderer/drawers/r_draw.h similarity index 100% rename from src/swrenderer/drawers/r_draw.h rename to src/rendering/swrenderer/drawers/r_draw.h diff --git a/src/swrenderer/drawers/r_draw_pal.cpp b/src/rendering/swrenderer/drawers/r_draw_pal.cpp similarity index 100% rename from src/swrenderer/drawers/r_draw_pal.cpp rename to src/rendering/swrenderer/drawers/r_draw_pal.cpp diff --git a/src/swrenderer/drawers/r_draw_pal.h b/src/rendering/swrenderer/drawers/r_draw_pal.h similarity index 100% rename from src/swrenderer/drawers/r_draw_pal.h rename to src/rendering/swrenderer/drawers/r_draw_pal.h diff --git a/src/swrenderer/drawers/r_draw_rgba.cpp b/src/rendering/swrenderer/drawers/r_draw_rgba.cpp similarity index 100% rename from src/swrenderer/drawers/r_draw_rgba.cpp rename to src/rendering/swrenderer/drawers/r_draw_rgba.cpp diff --git a/src/swrenderer/drawers/r_draw_rgba.h b/src/rendering/swrenderer/drawers/r_draw_rgba.h similarity index 100% rename from src/swrenderer/drawers/r_draw_rgba.h rename to src/rendering/swrenderer/drawers/r_draw_rgba.h diff --git a/src/swrenderer/drawers/r_draw_sky32.h b/src/rendering/swrenderer/drawers/r_draw_sky32.h similarity index 100% rename from src/swrenderer/drawers/r_draw_sky32.h rename to src/rendering/swrenderer/drawers/r_draw_sky32.h diff --git a/src/swrenderer/drawers/r_draw_sky32_sse2.h b/src/rendering/swrenderer/drawers/r_draw_sky32_sse2.h similarity index 100% rename from src/swrenderer/drawers/r_draw_sky32_sse2.h rename to src/rendering/swrenderer/drawers/r_draw_sky32_sse2.h diff --git a/src/swrenderer/drawers/r_draw_span32.h b/src/rendering/swrenderer/drawers/r_draw_span32.h similarity index 100% rename from src/swrenderer/drawers/r_draw_span32.h rename to src/rendering/swrenderer/drawers/r_draw_span32.h diff --git a/src/swrenderer/drawers/r_draw_span32_sse2.h b/src/rendering/swrenderer/drawers/r_draw_span32_sse2.h similarity index 100% rename from src/swrenderer/drawers/r_draw_span32_sse2.h rename to src/rendering/swrenderer/drawers/r_draw_span32_sse2.h diff --git a/src/swrenderer/drawers/r_draw_sprite32.h b/src/rendering/swrenderer/drawers/r_draw_sprite32.h similarity index 100% rename from src/swrenderer/drawers/r_draw_sprite32.h rename to src/rendering/swrenderer/drawers/r_draw_sprite32.h diff --git a/src/swrenderer/drawers/r_draw_sprite32_sse2.h b/src/rendering/swrenderer/drawers/r_draw_sprite32_sse2.h similarity index 100% rename from src/swrenderer/drawers/r_draw_sprite32_sse2.h rename to src/rendering/swrenderer/drawers/r_draw_sprite32_sse2.h diff --git a/src/swrenderer/drawers/r_draw_wall32.h b/src/rendering/swrenderer/drawers/r_draw_wall32.h similarity index 100% rename from src/swrenderer/drawers/r_draw_wall32.h rename to src/rendering/swrenderer/drawers/r_draw_wall32.h diff --git a/src/swrenderer/drawers/r_draw_wall32_sse2.h b/src/rendering/swrenderer/drawers/r_draw_wall32_sse2.h similarity index 100% rename from src/swrenderer/drawers/r_draw_wall32_sse2.h rename to src/rendering/swrenderer/drawers/r_draw_wall32_sse2.h diff --git a/src/swrenderer/drawers/r_thread.cpp b/src/rendering/swrenderer/drawers/r_thread.cpp similarity index 100% rename from src/swrenderer/drawers/r_thread.cpp rename to src/rendering/swrenderer/drawers/r_thread.cpp diff --git a/src/swrenderer/drawers/r_thread.h b/src/rendering/swrenderer/drawers/r_thread.h similarity index 100% rename from src/swrenderer/drawers/r_thread.h rename to src/rendering/swrenderer/drawers/r_thread.h diff --git a/src/swrenderer/line/r_farclip_line.cpp b/src/rendering/swrenderer/line/r_farclip_line.cpp similarity index 100% rename from src/swrenderer/line/r_farclip_line.cpp rename to src/rendering/swrenderer/line/r_farclip_line.cpp diff --git a/src/swrenderer/line/r_farclip_line.h b/src/rendering/swrenderer/line/r_farclip_line.h similarity index 100% rename from src/swrenderer/line/r_farclip_line.h rename to src/rendering/swrenderer/line/r_farclip_line.h diff --git a/src/swrenderer/line/r_fogboundary.cpp b/src/rendering/swrenderer/line/r_fogboundary.cpp similarity index 100% rename from src/swrenderer/line/r_fogboundary.cpp rename to src/rendering/swrenderer/line/r_fogboundary.cpp diff --git a/src/swrenderer/line/r_fogboundary.h b/src/rendering/swrenderer/line/r_fogboundary.h similarity index 100% rename from src/swrenderer/line/r_fogboundary.h rename to src/rendering/swrenderer/line/r_fogboundary.h diff --git a/src/swrenderer/line/r_line.cpp b/src/rendering/swrenderer/line/r_line.cpp similarity index 100% rename from src/swrenderer/line/r_line.cpp rename to src/rendering/swrenderer/line/r_line.cpp diff --git a/src/swrenderer/line/r_line.h b/src/rendering/swrenderer/line/r_line.h similarity index 100% rename from src/swrenderer/line/r_line.h rename to src/rendering/swrenderer/line/r_line.h diff --git a/src/swrenderer/line/r_renderdrawsegment.cpp b/src/rendering/swrenderer/line/r_renderdrawsegment.cpp similarity index 100% rename from src/swrenderer/line/r_renderdrawsegment.cpp rename to src/rendering/swrenderer/line/r_renderdrawsegment.cpp diff --git a/src/swrenderer/line/r_renderdrawsegment.h b/src/rendering/swrenderer/line/r_renderdrawsegment.h similarity index 100% rename from src/swrenderer/line/r_renderdrawsegment.h rename to src/rendering/swrenderer/line/r_renderdrawsegment.h diff --git a/src/swrenderer/line/r_walldraw.cpp b/src/rendering/swrenderer/line/r_walldraw.cpp similarity index 100% rename from src/swrenderer/line/r_walldraw.cpp rename to src/rendering/swrenderer/line/r_walldraw.cpp diff --git a/src/swrenderer/line/r_walldraw.h b/src/rendering/swrenderer/line/r_walldraw.h similarity index 100% rename from src/swrenderer/line/r_walldraw.h rename to src/rendering/swrenderer/line/r_walldraw.h diff --git a/src/swrenderer/line/r_wallsetup.cpp b/src/rendering/swrenderer/line/r_wallsetup.cpp similarity index 100% rename from src/swrenderer/line/r_wallsetup.cpp rename to src/rendering/swrenderer/line/r_wallsetup.cpp diff --git a/src/swrenderer/line/r_wallsetup.h b/src/rendering/swrenderer/line/r_wallsetup.h similarity index 100% rename from src/swrenderer/line/r_wallsetup.h rename to src/rendering/swrenderer/line/r_wallsetup.h diff --git a/src/swrenderer/plane/r_flatplane.cpp b/src/rendering/swrenderer/plane/r_flatplane.cpp similarity index 100% rename from src/swrenderer/plane/r_flatplane.cpp rename to src/rendering/swrenderer/plane/r_flatplane.cpp diff --git a/src/swrenderer/plane/r_flatplane.h b/src/rendering/swrenderer/plane/r_flatplane.h similarity index 100% rename from src/swrenderer/plane/r_flatplane.h rename to src/rendering/swrenderer/plane/r_flatplane.h diff --git a/src/swrenderer/plane/r_planerenderer.cpp b/src/rendering/swrenderer/plane/r_planerenderer.cpp similarity index 100% rename from src/swrenderer/plane/r_planerenderer.cpp rename to src/rendering/swrenderer/plane/r_planerenderer.cpp diff --git a/src/swrenderer/plane/r_planerenderer.h b/src/rendering/swrenderer/plane/r_planerenderer.h similarity index 100% rename from src/swrenderer/plane/r_planerenderer.h rename to src/rendering/swrenderer/plane/r_planerenderer.h diff --git a/src/swrenderer/plane/r_skyplane.cpp b/src/rendering/swrenderer/plane/r_skyplane.cpp similarity index 100% rename from src/swrenderer/plane/r_skyplane.cpp rename to src/rendering/swrenderer/plane/r_skyplane.cpp diff --git a/src/swrenderer/plane/r_skyplane.h b/src/rendering/swrenderer/plane/r_skyplane.h similarity index 100% rename from src/swrenderer/plane/r_skyplane.h rename to src/rendering/swrenderer/plane/r_skyplane.h diff --git a/src/swrenderer/plane/r_slopeplane.cpp b/src/rendering/swrenderer/plane/r_slopeplane.cpp similarity index 100% rename from src/swrenderer/plane/r_slopeplane.cpp rename to src/rendering/swrenderer/plane/r_slopeplane.cpp diff --git a/src/swrenderer/plane/r_slopeplane.h b/src/rendering/swrenderer/plane/r_slopeplane.h similarity index 100% rename from src/swrenderer/plane/r_slopeplane.h rename to src/rendering/swrenderer/plane/r_slopeplane.h diff --git a/src/swrenderer/plane/r_visibleplane.cpp b/src/rendering/swrenderer/plane/r_visibleplane.cpp similarity index 100% rename from src/swrenderer/plane/r_visibleplane.cpp rename to src/rendering/swrenderer/plane/r_visibleplane.cpp diff --git a/src/swrenderer/plane/r_visibleplane.h b/src/rendering/swrenderer/plane/r_visibleplane.h similarity index 100% rename from src/swrenderer/plane/r_visibleplane.h rename to src/rendering/swrenderer/plane/r_visibleplane.h diff --git a/src/swrenderer/plane/r_visibleplanelist.cpp b/src/rendering/swrenderer/plane/r_visibleplanelist.cpp similarity index 100% rename from src/swrenderer/plane/r_visibleplanelist.cpp rename to src/rendering/swrenderer/plane/r_visibleplanelist.cpp diff --git a/src/swrenderer/plane/r_visibleplanelist.h b/src/rendering/swrenderer/plane/r_visibleplanelist.h similarity index 100% rename from src/swrenderer/plane/r_visibleplanelist.h rename to src/rendering/swrenderer/plane/r_visibleplanelist.h diff --git a/src/swrenderer/r_all.cpp b/src/rendering/swrenderer/r_all.cpp similarity index 100% rename from src/swrenderer/r_all.cpp rename to src/rendering/swrenderer/r_all.cpp diff --git a/src/swrenderer/r_memory.cpp b/src/rendering/swrenderer/r_memory.cpp similarity index 100% rename from src/swrenderer/r_memory.cpp rename to src/rendering/swrenderer/r_memory.cpp diff --git a/src/swrenderer/r_memory.h b/src/rendering/swrenderer/r_memory.h similarity index 100% rename from src/swrenderer/r_memory.h rename to src/rendering/swrenderer/r_memory.h diff --git a/src/swrenderer/r_renderthread.cpp b/src/rendering/swrenderer/r_renderthread.cpp similarity index 100% rename from src/swrenderer/r_renderthread.cpp rename to src/rendering/swrenderer/r_renderthread.cpp diff --git a/src/swrenderer/r_renderthread.h b/src/rendering/swrenderer/r_renderthread.h similarity index 100% rename from src/swrenderer/r_renderthread.h rename to src/rendering/swrenderer/r_renderthread.h diff --git a/src/swrenderer/r_swcolormaps.cpp b/src/rendering/swrenderer/r_swcolormaps.cpp similarity index 100% rename from src/swrenderer/r_swcolormaps.cpp rename to src/rendering/swrenderer/r_swcolormaps.cpp diff --git a/src/swrenderer/r_swcolormaps.h b/src/rendering/swrenderer/r_swcolormaps.h similarity index 100% rename from src/swrenderer/r_swcolormaps.h rename to src/rendering/swrenderer/r_swcolormaps.h diff --git a/src/swrenderer/r_swrenderer.cpp b/src/rendering/swrenderer/r_swrenderer.cpp similarity index 100% rename from src/swrenderer/r_swrenderer.cpp rename to src/rendering/swrenderer/r_swrenderer.cpp diff --git a/src/swrenderer/r_swrenderer.h b/src/rendering/swrenderer/r_swrenderer.h similarity index 100% rename from src/swrenderer/r_swrenderer.h rename to src/rendering/swrenderer/r_swrenderer.h diff --git a/src/swrenderer/r_swscene.cpp b/src/rendering/swrenderer/r_swscene.cpp similarity index 100% rename from src/swrenderer/r_swscene.cpp rename to src/rendering/swrenderer/r_swscene.cpp diff --git a/src/swrenderer/r_swscene.h b/src/rendering/swrenderer/r_swscene.h similarity index 100% rename from src/swrenderer/r_swscene.h rename to src/rendering/swrenderer/r_swscene.h diff --git a/src/swrenderer/scene/r_3dfloors.cpp b/src/rendering/swrenderer/scene/r_3dfloors.cpp similarity index 100% rename from src/swrenderer/scene/r_3dfloors.cpp rename to src/rendering/swrenderer/scene/r_3dfloors.cpp diff --git a/src/swrenderer/scene/r_3dfloors.h b/src/rendering/swrenderer/scene/r_3dfloors.h similarity index 100% rename from src/swrenderer/scene/r_3dfloors.h rename to src/rendering/swrenderer/scene/r_3dfloors.h diff --git a/src/swrenderer/scene/r_light.cpp b/src/rendering/swrenderer/scene/r_light.cpp similarity index 100% rename from src/swrenderer/scene/r_light.cpp rename to src/rendering/swrenderer/scene/r_light.cpp diff --git a/src/swrenderer/scene/r_light.h b/src/rendering/swrenderer/scene/r_light.h similarity index 100% rename from src/swrenderer/scene/r_light.h rename to src/rendering/swrenderer/scene/r_light.h diff --git a/src/swrenderer/scene/r_opaque_pass.cpp b/src/rendering/swrenderer/scene/r_opaque_pass.cpp similarity index 100% rename from src/swrenderer/scene/r_opaque_pass.cpp rename to src/rendering/swrenderer/scene/r_opaque_pass.cpp diff --git a/src/swrenderer/scene/r_opaque_pass.h b/src/rendering/swrenderer/scene/r_opaque_pass.h similarity index 100% rename from src/swrenderer/scene/r_opaque_pass.h rename to src/rendering/swrenderer/scene/r_opaque_pass.h diff --git a/src/swrenderer/scene/r_portal.cpp b/src/rendering/swrenderer/scene/r_portal.cpp similarity index 100% rename from src/swrenderer/scene/r_portal.cpp rename to src/rendering/swrenderer/scene/r_portal.cpp diff --git a/src/swrenderer/scene/r_portal.h b/src/rendering/swrenderer/scene/r_portal.h similarity index 100% rename from src/swrenderer/scene/r_portal.h rename to src/rendering/swrenderer/scene/r_portal.h diff --git a/src/swrenderer/scene/r_scene.cpp b/src/rendering/swrenderer/scene/r_scene.cpp similarity index 100% rename from src/swrenderer/scene/r_scene.cpp rename to src/rendering/swrenderer/scene/r_scene.cpp diff --git a/src/swrenderer/scene/r_scene.h b/src/rendering/swrenderer/scene/r_scene.h similarity index 100% rename from src/swrenderer/scene/r_scene.h rename to src/rendering/swrenderer/scene/r_scene.h diff --git a/src/swrenderer/scene/r_translucent_pass.cpp b/src/rendering/swrenderer/scene/r_translucent_pass.cpp similarity index 100% rename from src/swrenderer/scene/r_translucent_pass.cpp rename to src/rendering/swrenderer/scene/r_translucent_pass.cpp diff --git a/src/swrenderer/scene/r_translucent_pass.h b/src/rendering/swrenderer/scene/r_translucent_pass.h similarity index 100% rename from src/swrenderer/scene/r_translucent_pass.h rename to src/rendering/swrenderer/scene/r_translucent_pass.h diff --git a/src/swrenderer/segments/r_clipsegment.cpp b/src/rendering/swrenderer/segments/r_clipsegment.cpp similarity index 100% rename from src/swrenderer/segments/r_clipsegment.cpp rename to src/rendering/swrenderer/segments/r_clipsegment.cpp diff --git a/src/swrenderer/segments/r_clipsegment.h b/src/rendering/swrenderer/segments/r_clipsegment.h similarity index 100% rename from src/swrenderer/segments/r_clipsegment.h rename to src/rendering/swrenderer/segments/r_clipsegment.h diff --git a/src/swrenderer/segments/r_drawsegment.cpp b/src/rendering/swrenderer/segments/r_drawsegment.cpp similarity index 100% rename from src/swrenderer/segments/r_drawsegment.cpp rename to src/rendering/swrenderer/segments/r_drawsegment.cpp diff --git a/src/swrenderer/segments/r_drawsegment.h b/src/rendering/swrenderer/segments/r_drawsegment.h similarity index 100% rename from src/swrenderer/segments/r_drawsegment.h rename to src/rendering/swrenderer/segments/r_drawsegment.h diff --git a/src/swrenderer/segments/r_portalsegment.cpp b/src/rendering/swrenderer/segments/r_portalsegment.cpp similarity index 100% rename from src/swrenderer/segments/r_portalsegment.cpp rename to src/rendering/swrenderer/segments/r_portalsegment.cpp diff --git a/src/swrenderer/segments/r_portalsegment.h b/src/rendering/swrenderer/segments/r_portalsegment.h similarity index 100% rename from src/swrenderer/segments/r_portalsegment.h rename to src/rendering/swrenderer/segments/r_portalsegment.h diff --git a/src/swrenderer/textures/r_swtexture.cpp b/src/rendering/swrenderer/textures/r_swtexture.cpp similarity index 100% rename from src/swrenderer/textures/r_swtexture.cpp rename to src/rendering/swrenderer/textures/r_swtexture.cpp diff --git a/src/swrenderer/textures/r_swtexture.h b/src/rendering/swrenderer/textures/r_swtexture.h similarity index 100% rename from src/swrenderer/textures/r_swtexture.h rename to src/rendering/swrenderer/textures/r_swtexture.h diff --git a/src/swrenderer/textures/swcanvastexture.cpp b/src/rendering/swrenderer/textures/swcanvastexture.cpp similarity index 100% rename from src/swrenderer/textures/swcanvastexture.cpp rename to src/rendering/swrenderer/textures/swcanvastexture.cpp diff --git a/src/swrenderer/textures/warpbuffer.h b/src/rendering/swrenderer/textures/warpbuffer.h similarity index 100% rename from src/swrenderer/textures/warpbuffer.h rename to src/rendering/swrenderer/textures/warpbuffer.h diff --git a/src/swrenderer/textures/warptexture.cpp b/src/rendering/swrenderer/textures/warptexture.cpp similarity index 100% rename from src/swrenderer/textures/warptexture.cpp rename to src/rendering/swrenderer/textures/warptexture.cpp diff --git a/src/swrenderer/things/r_decal.cpp b/src/rendering/swrenderer/things/r_decal.cpp similarity index 100% rename from src/swrenderer/things/r_decal.cpp rename to src/rendering/swrenderer/things/r_decal.cpp diff --git a/src/swrenderer/things/r_decal.h b/src/rendering/swrenderer/things/r_decal.h similarity index 100% rename from src/swrenderer/things/r_decal.h rename to src/rendering/swrenderer/things/r_decal.h diff --git a/src/swrenderer/things/r_model.cpp b/src/rendering/swrenderer/things/r_model.cpp similarity index 100% rename from src/swrenderer/things/r_model.cpp rename to src/rendering/swrenderer/things/r_model.cpp diff --git a/src/swrenderer/things/r_model.h b/src/rendering/swrenderer/things/r_model.h similarity index 100% rename from src/swrenderer/things/r_model.h rename to src/rendering/swrenderer/things/r_model.h diff --git a/src/swrenderer/things/r_particle.cpp b/src/rendering/swrenderer/things/r_particle.cpp similarity index 100% rename from src/swrenderer/things/r_particle.cpp rename to src/rendering/swrenderer/things/r_particle.cpp diff --git a/src/swrenderer/things/r_particle.h b/src/rendering/swrenderer/things/r_particle.h similarity index 100% rename from src/swrenderer/things/r_particle.h rename to src/rendering/swrenderer/things/r_particle.h diff --git a/src/swrenderer/things/r_playersprite.cpp b/src/rendering/swrenderer/things/r_playersprite.cpp similarity index 100% rename from src/swrenderer/things/r_playersprite.cpp rename to src/rendering/swrenderer/things/r_playersprite.cpp diff --git a/src/swrenderer/things/r_playersprite.h b/src/rendering/swrenderer/things/r_playersprite.h similarity index 100% rename from src/swrenderer/things/r_playersprite.h rename to src/rendering/swrenderer/things/r_playersprite.h diff --git a/src/swrenderer/things/r_sprite.cpp b/src/rendering/swrenderer/things/r_sprite.cpp similarity index 100% rename from src/swrenderer/things/r_sprite.cpp rename to src/rendering/swrenderer/things/r_sprite.cpp diff --git a/src/swrenderer/things/r_sprite.h b/src/rendering/swrenderer/things/r_sprite.h similarity index 100% rename from src/swrenderer/things/r_sprite.h rename to src/rendering/swrenderer/things/r_sprite.h diff --git a/src/swrenderer/things/r_visiblesprite.cpp b/src/rendering/swrenderer/things/r_visiblesprite.cpp similarity index 100% rename from src/swrenderer/things/r_visiblesprite.cpp rename to src/rendering/swrenderer/things/r_visiblesprite.cpp diff --git a/src/swrenderer/things/r_visiblesprite.h b/src/rendering/swrenderer/things/r_visiblesprite.h similarity index 100% rename from src/swrenderer/things/r_visiblesprite.h rename to src/rendering/swrenderer/things/r_visiblesprite.h diff --git a/src/swrenderer/things/r_visiblespritelist.cpp b/src/rendering/swrenderer/things/r_visiblespritelist.cpp similarity index 100% rename from src/swrenderer/things/r_visiblespritelist.cpp rename to src/rendering/swrenderer/things/r_visiblespritelist.cpp diff --git a/src/swrenderer/things/r_visiblespritelist.h b/src/rendering/swrenderer/things/r_visiblespritelist.h similarity index 100% rename from src/swrenderer/things/r_visiblespritelist.h rename to src/rendering/swrenderer/things/r_visiblespritelist.h diff --git a/src/swrenderer/things/r_voxel.cpp b/src/rendering/swrenderer/things/r_voxel.cpp similarity index 100% rename from src/swrenderer/things/r_voxel.cpp rename to src/rendering/swrenderer/things/r_voxel.cpp diff --git a/src/swrenderer/things/r_voxel.h b/src/rendering/swrenderer/things/r_voxel.h similarity index 100% rename from src/swrenderer/things/r_voxel.h rename to src/rendering/swrenderer/things/r_voxel.h diff --git a/src/swrenderer/things/r_wallsprite.cpp b/src/rendering/swrenderer/things/r_wallsprite.cpp similarity index 100% rename from src/swrenderer/things/r_wallsprite.cpp rename to src/rendering/swrenderer/things/r_wallsprite.cpp diff --git a/src/swrenderer/things/r_wallsprite.h b/src/rendering/swrenderer/things/r_wallsprite.h similarity index 100% rename from src/swrenderer/things/r_wallsprite.h rename to src/rendering/swrenderer/things/r_wallsprite.h diff --git a/src/swrenderer/viewport/r_drawerargs.cpp b/src/rendering/swrenderer/viewport/r_drawerargs.cpp similarity index 100% rename from src/swrenderer/viewport/r_drawerargs.cpp rename to src/rendering/swrenderer/viewport/r_drawerargs.cpp diff --git a/src/swrenderer/viewport/r_drawerargs.h b/src/rendering/swrenderer/viewport/r_drawerargs.h similarity index 100% rename from src/swrenderer/viewport/r_drawerargs.h rename to src/rendering/swrenderer/viewport/r_drawerargs.h diff --git a/src/swrenderer/viewport/r_skydrawer.cpp b/src/rendering/swrenderer/viewport/r_skydrawer.cpp similarity index 100% rename from src/swrenderer/viewport/r_skydrawer.cpp rename to src/rendering/swrenderer/viewport/r_skydrawer.cpp diff --git a/src/swrenderer/viewport/r_skydrawer.h b/src/rendering/swrenderer/viewport/r_skydrawer.h similarity index 100% rename from src/swrenderer/viewport/r_skydrawer.h rename to src/rendering/swrenderer/viewport/r_skydrawer.h diff --git a/src/swrenderer/viewport/r_spandrawer.cpp b/src/rendering/swrenderer/viewport/r_spandrawer.cpp similarity index 100% rename from src/swrenderer/viewport/r_spandrawer.cpp rename to src/rendering/swrenderer/viewport/r_spandrawer.cpp diff --git a/src/swrenderer/viewport/r_spandrawer.h b/src/rendering/swrenderer/viewport/r_spandrawer.h similarity index 100% rename from src/swrenderer/viewport/r_spandrawer.h rename to src/rendering/swrenderer/viewport/r_spandrawer.h diff --git a/src/swrenderer/viewport/r_spritedrawer.cpp b/src/rendering/swrenderer/viewport/r_spritedrawer.cpp similarity index 100% rename from src/swrenderer/viewport/r_spritedrawer.cpp rename to src/rendering/swrenderer/viewport/r_spritedrawer.cpp diff --git a/src/swrenderer/viewport/r_spritedrawer.h b/src/rendering/swrenderer/viewport/r_spritedrawer.h similarity index 100% rename from src/swrenderer/viewport/r_spritedrawer.h rename to src/rendering/swrenderer/viewport/r_spritedrawer.h diff --git a/src/swrenderer/viewport/r_viewport.cpp b/src/rendering/swrenderer/viewport/r_viewport.cpp similarity index 100% rename from src/swrenderer/viewport/r_viewport.cpp rename to src/rendering/swrenderer/viewport/r_viewport.cpp diff --git a/src/swrenderer/viewport/r_viewport.h b/src/rendering/swrenderer/viewport/r_viewport.h similarity index 100% rename from src/swrenderer/viewport/r_viewport.h rename to src/rendering/swrenderer/viewport/r_viewport.h diff --git a/src/swrenderer/viewport/r_walldrawer.cpp b/src/rendering/swrenderer/viewport/r_walldrawer.cpp similarity index 100% rename from src/swrenderer/viewport/r_walldrawer.cpp rename to src/rendering/swrenderer/viewport/r_walldrawer.cpp diff --git a/src/swrenderer/viewport/r_walldrawer.h b/src/rendering/swrenderer/viewport/r_walldrawer.h similarity index 100% rename from src/swrenderer/viewport/r_walldrawer.h rename to src/rendering/swrenderer/viewport/r_walldrawer.h