diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 35e529a08..409e50f27 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1110,30 +1110,30 @@ set (PCH_SOURCES resourcefiles/resourcefile.cpp textures/animations.cpp textures/anim_switches.cpp - textures/automaptexture.cpp textures/bitmap.cpp - textures/brightmaptexture.cpp - textures/buildtexture.cpp - textures/canvastexture.cpp - textures/ddstexture.cpp - textures/flattexture.cpp - textures/imgztexture.cpp - textures/jpegtexture.cpp - textures/md5check.cpp - textures/multipatchtexture.cpp - textures/patchtexture.cpp - textures/pcxtexture.cpp - textures/pngtexture.cpp - textures/rawpagetexture.cpp - textures/emptytexture.cpp - textures/backdroptexture.cpp - textures/shadertexture.cpp textures/texture.cpp textures/texturemanager.cpp - textures/tgatexture.cpp - textures/warptexture.cpp textures/skyboxtexture.cpp - textures/worldtexture.cpp + textures/formats/automaptexture.cpp + textures/formats/brightmaptexture.cpp + textures/formats/buildtexture.cpp + textures/formats/canvastexture.cpp + textures/formats/ddstexture.cpp + textures/formats/flattexture.cpp + textures/formats/imgztexture.cpp + textures/formats/jpegtexture.cpp + textures/formats/md5check.cpp + textures/formats/multipatchtexture.cpp + textures/formats/patchtexture.cpp + textures/formats/pcxtexture.cpp + textures/formats/pngtexture.cpp + textures/formats/rawpagetexture.cpp + textures/formats/emptytexture.cpp + textures/formats/backdroptexture.cpp + textures/formats/shadertexture.cpp + textures/formats/tgatexture.cpp + textures/formats/worldtexture.cpp + textures/formats/warptexture.cpp xlat/parse_xlat.cpp fragglescript/t_func.cpp fragglescript/t_load.cpp @@ -1438,6 +1438,7 @@ source_group("Poly Renderer\\Math" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_D 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("Render Data" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/r_data/.+") +source_group("Render Data\\Textures\\Formats" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/textures/formats/.+") source_group("Render Data\\Textures" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/textures/.+") source_group("Render Data\\Models" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/r_data/models/.+") source_group("Render Interface" FILES r_defs.h r_renderer.h r_sky.cpp r_sky.h r_state.h r_utility.cpp r_utility.h) diff --git a/src/textures/automaptexture.cpp b/src/textures/formats/automaptexture.cpp similarity index 100% rename from src/textures/automaptexture.cpp rename to src/textures/formats/automaptexture.cpp diff --git a/src/textures/backdroptexture.cpp b/src/textures/formats/backdroptexture.cpp similarity index 100% rename from src/textures/backdroptexture.cpp rename to src/textures/formats/backdroptexture.cpp diff --git a/src/textures/brightmaptexture.cpp b/src/textures/formats/brightmaptexture.cpp similarity index 100% rename from src/textures/brightmaptexture.cpp rename to src/textures/formats/brightmaptexture.cpp diff --git a/src/textures/buildtexture.cpp b/src/textures/formats/buildtexture.cpp similarity index 100% rename from src/textures/buildtexture.cpp rename to src/textures/formats/buildtexture.cpp diff --git a/src/textures/canvastexture.cpp b/src/textures/formats/canvastexture.cpp similarity index 100% rename from src/textures/canvastexture.cpp rename to src/textures/formats/canvastexture.cpp diff --git a/src/textures/ddstexture.cpp b/src/textures/formats/ddstexture.cpp similarity index 100% rename from src/textures/ddstexture.cpp rename to src/textures/formats/ddstexture.cpp diff --git a/src/textures/emptytexture.cpp b/src/textures/formats/emptytexture.cpp similarity index 100% rename from src/textures/emptytexture.cpp rename to src/textures/formats/emptytexture.cpp diff --git a/src/textures/flattexture.cpp b/src/textures/formats/flattexture.cpp similarity index 100% rename from src/textures/flattexture.cpp rename to src/textures/formats/flattexture.cpp diff --git a/src/textures/imgztexture.cpp b/src/textures/formats/imgztexture.cpp similarity index 100% rename from src/textures/imgztexture.cpp rename to src/textures/formats/imgztexture.cpp diff --git a/src/textures/jpegtexture.cpp b/src/textures/formats/jpegtexture.cpp similarity index 100% rename from src/textures/jpegtexture.cpp rename to src/textures/formats/jpegtexture.cpp diff --git a/src/textures/md5check.cpp b/src/textures/formats/md5check.cpp similarity index 100% rename from src/textures/md5check.cpp rename to src/textures/formats/md5check.cpp diff --git a/src/textures/multipatchtexture.cpp b/src/textures/formats/multipatchtexture.cpp similarity index 100% rename from src/textures/multipatchtexture.cpp rename to src/textures/formats/multipatchtexture.cpp diff --git a/src/textures/patchtexture.cpp b/src/textures/formats/patchtexture.cpp similarity index 100% rename from src/textures/patchtexture.cpp rename to src/textures/formats/patchtexture.cpp diff --git a/src/textures/pcxtexture.cpp b/src/textures/formats/pcxtexture.cpp similarity index 100% rename from src/textures/pcxtexture.cpp rename to src/textures/formats/pcxtexture.cpp diff --git a/src/textures/pngtexture.cpp b/src/textures/formats/pngtexture.cpp similarity index 100% rename from src/textures/pngtexture.cpp rename to src/textures/formats/pngtexture.cpp diff --git a/src/textures/rawpagetexture.cpp b/src/textures/formats/rawpagetexture.cpp similarity index 100% rename from src/textures/rawpagetexture.cpp rename to src/textures/formats/rawpagetexture.cpp diff --git a/src/textures/shadertexture.cpp b/src/textures/formats/shadertexture.cpp similarity index 100% rename from src/textures/shadertexture.cpp rename to src/textures/formats/shadertexture.cpp diff --git a/src/textures/tgatexture.cpp b/src/textures/formats/tgatexture.cpp similarity index 100% rename from src/textures/tgatexture.cpp rename to src/textures/formats/tgatexture.cpp diff --git a/src/textures/warptexture.cpp b/src/textures/formats/warptexture.cpp similarity index 100% rename from src/textures/warptexture.cpp rename to src/textures/formats/warptexture.cpp diff --git a/src/textures/worldtexture.cpp b/src/textures/formats/worldtexture.cpp similarity index 100% rename from src/textures/worldtexture.cpp rename to src/textures/formats/worldtexture.cpp