Skip to content

Commit

Permalink
chore(vmfpp): delete it, superseded by kvpp
Browse files Browse the repository at this point in the history
  • Loading branch information
craftablescience committed Jun 17, 2024
1 parent 7550c35 commit 70be509
Show file tree
Hide file tree
Showing 19 changed files with 9 additions and 316 deletions.
11 changes: 0 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ option(SOURCEPP_USE_FGDPP "Build fgdpp library" O
option(SOURCEPP_USE_KVPP "Build kvpp library" ON)
option(SOURCEPP_USE_MDLPP "Build mdlpp library" ON)
option(SOURCEPP_USE_VICEPP "Build vicepp library" ON)
option(SOURCEPP_USE_VMFPP "Build vmfpp library" ON)
option(SOURCEPP_USE_VTFPP "Build vtfpp library" ON)
option(SOURCEPP_BUILD_TESTS "Build tests for enabled libraries" OFF)
option(SOURCEPP_USE_STATIC_MSVC_RUNTIME "Link to static MSVC runtime library" OFF)
Expand Down Expand Up @@ -151,16 +150,6 @@ if(SOURCEPP_USE_VICEPP)
endif()


# vmfpp
if(SOURCEPP_USE_VMFPP)
add_pretty_parser(vmfpp SOURCES
"${CMAKE_CURRENT_SOURCE_DIR}/include/vmfpp/structs/Node.h"
"${CMAKE_CURRENT_SOURCE_DIR}/include/vmfpp/vmfpp.h"
"${CMAKE_CURRENT_SOURCE_DIR}/src/vmfpp/structs/Node.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/src/vmfpp/vmfpp.cpp")
endif()


# vtfpp
if(SOURCEPP_USE_VTFPP)
add_pretty_parser(vtfpp SOURCES
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Looking for more parsers in this vein? Try my other project which relies on this
| kvpp | [KeyValues](https://developer.valvesoftware.com/wiki/KeyValues) v1[^1] ||| [@craftablescience](https://github.com/craftablescience) |
| mdlpp | [MDL](https://developer.valvesoftware.com/wiki/MDL_(Source)) v44-49[^2]<br>[VTX](https://developer.valvesoftware.com/wiki/VTX) v7<br>[VVD](https://developer.valvesoftware.com/wiki/VVD) v4 ||| [@craftablescience](https://github.com/craftablescience) |
| vicepp | [VICE](https://developer.valvesoftware.com/wiki/VICE) Encrypted Files ||| [@craftablescience](https://github.com/craftablescience) |
| vmfpp | [VMF](https://developer.valvesoftware.com/wiki/VMF_(Valve_Map_Format)) ||| [@Galaco](https://github.com/Galaco), [@craftablescience](https://github.com/craftablescience) |
| vtfpp | [VTF](https://developer.valvesoftware.com/wiki/VTF_(Valve_Texture_Format)) v7.0-7.6 ||| [@craftablescience](https://github.com/craftablescience) |

[^1]: Many text-based formats in Source are close to (if not identical to) KeyValues v1, such as [VDF](https://developer.valvesoftware.com/wiki/VDF), [VMT](https://developer.valvesoftware.com/wiki/VMT), and [VMF](https://developer.valvesoftware.com/wiki/VMF_(Valve_Map_Format)).
Expand Down
50 changes: 0 additions & 50 deletions include/vmfpp/structs/Node.h

This file was deleted.

50 changes: 0 additions & 50 deletions include/vmfpp/vmfpp.h

This file was deleted.

69 changes: 0 additions & 69 deletions src/vmfpp/structs/Node.cpp

This file was deleted.

126 changes: 0 additions & 126 deletions src/vmfpp/vmfpp.cpp

This file was deleted.

18 changes: 9 additions & 9 deletions test/mdlpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@ using namespace mdlpp;

TEST(mdlpp, v44_read) {
StudioModel model;
bool opened = model.open(::readFile(ASSET_ROOT "studiomodelpp/v44.mdl"),
::readFile(ASSET_ROOT "studiomodelpp/v44.vtx"),
::readFile(ASSET_ROOT "studiomodelpp/v44.vvd"));
bool opened = model.open(::readFile(ASSET_ROOT "mdlpp/v44.mdl"),
::readFile(ASSET_ROOT "mdlpp/v44.vtx"),
::readFile(ASSET_ROOT "mdlpp/v44.vvd"));
ASSERT_TRUE(opened);
}

TEST(mdlpp, v47_read) {
StudioModel model;
bool opened = model.open(::readFile(ASSET_ROOT "studiomodelpp/v47.mdl"),
::readFile(ASSET_ROOT "studiomodelpp/v47.vtx"),
::readFile(ASSET_ROOT "studiomodelpp/v47.vvd"));
bool opened = model.open(::readFile(ASSET_ROOT "mdlpp/v47.mdl"),
::readFile(ASSET_ROOT "mdlpp/v47.vtx"),
::readFile(ASSET_ROOT "mdlpp/v47.vvd"));
ASSERT_TRUE(opened);
}

TEST(mdlpp, v49_read) {
StudioModel model;
bool opened = model.open(::readFile(ASSET_ROOT "studiomodelpp/v49.mdl"),
::readFile(ASSET_ROOT "studiomodelpp/v49.vtx"),
::readFile(ASSET_ROOT "studiomodelpp/v49.vvd"));
bool opened = model.open(::readFile(ASSET_ROOT "mdlpp/v49.mdl"),
::readFile(ASSET_ROOT "mdlpp/v49.vtx"),
::readFile(ASSET_ROOT "mdlpp/v49.vvd"));
ASSERT_TRUE(opened);
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 70be509

Please sign in to comment.