diff --git a/src/vtfpp/vtfpp.cpp b/src/vtfpp/vtfpp.cpp index 01977a716..deca40f1a 100644 --- a/src/vtfpp/vtfpp.cpp +++ b/src/vtfpp/vtfpp.cpp @@ -13,31 +13,30 @@ Resource::ConvertedData Resource::convertData() const { case TYPE_CRC: case TYPE_EXTENDED_FLAGS: if (this->data.size() != sizeof(uint32_t)) { - return {}; + return Resource::ConvertedData{std::monostate{}}; } - return *reinterpret_cast(this->data.data()); + return Resource::ConvertedData{*reinterpret_cast(this->data.data())}; case TYPE_LOD_CONTROL_INFO: if (this->data.size() != sizeof(uint32_t)) { - return {}; + return Resource::ConvertedData{std::monostate{}}; } - return std::make_pair( + return Resource::ConvertedData{std::make_pair( *(reinterpret_cast(this->data.data()) + 0), - *(reinterpret_cast(this->data.data()) + 1) - ); + *(reinterpret_cast(this->data.data()) + 1))}; case TYPE_KEYVALUES_DATA: if (this->data.size() <= sizeof(uint32_t)) { - return ""; + return Resource::ConvertedData{""}; } - return std::string(reinterpret_cast(this->data.data() + 4), *reinterpret_cast(this->data.data())); + return Resource::ConvertedData{std::string(reinterpret_cast(this->data.data() + 4), *reinterpret_cast(this->data.data()))}; case TYPE_AUX_COMPRESSION: if (this->data.size() <= sizeof(uint32_t) || this->data.size() % sizeof(uint32_t) != 0) { - return {}; + return Resource::ConvertedData{std::monostate{}}; } - return std::span{reinterpret_cast(this->data.data()), this->data.size() / 4}; + return Resource::ConvertedData{std::span{reinterpret_cast(this->data.data()), this->data.size() / 4}}; default: break; } - return {}; + return Resource::ConvertedData{std::monostate{}}; } VTF::VTF(std::vector&& vtfData, bool parseHeaderOnly) @@ -111,7 +110,7 @@ VTF::VTF(std::vector&& vtfData, bool parseHeaderOnly) auto curPos = stream.tell(); stream.seek(lastOffset); lastResource->data = stream.read_span(currentOffset - lastOffset); - stream.seek(curPos); + stream.seek(static_cast(curPos)); } lastResource = this->resources.back().get(); } @@ -121,7 +120,7 @@ VTF::VTF(std::vector&& vtfData, bool parseHeaderOnly) auto curPos = stream.tell(); stream.seek(offset); lastResource->data = stream.read_span(stream.size() - offset); - stream.seek(curPos); + stream.seek(static_cast(curPos)); } if (auto auxResource = this->getResource(Resource::TYPE_AUX_COMPRESSION)) { diff --git a/test/res/vmfpp/test.vmf b/test/res/vmfpp/test.vmf deleted file mode 100644 index 30a9bfb61..000000000 --- a/test/res/vmfpp/test.vmf +++ /dev/null @@ -1,901 +0,0 @@ -versioninfo -{ - "editorversion" "400" - "editorbuild" "9800" - "mapversion" "1" - "formatversion" "100" - "prefab" "0" -} -visgroups -{ -} -viewsettings -{ - "bSnapToGrid" "1" - "bShowGrid" "1" - "bShowLogicalGrid" "1" - "nGridSpacing" "32" - "bShow3DGrid" "0" - "nInstanceVisibility" "2" - views - { - v0 - { - "3d" "1" - "position" "(529.799 159.385 11.3132)" - "angle" "[-0.799987 247.2 0]" - } - v1 - { - "3d" "0" - "position" "(0 0 0)" - "zoom" "0.25" - } - v2 - { - "3d" "0" - "position" "(0 0 0)" - "zoom" "0.25" - } - v3 - { - "3d" "0" - "position" "(420.24 -65536 -12.2962)" - "zoom" "2.67483" - } - } -} -world -{ - "id" "1" - "mapversion" "1" - "classname" "worldspawn" - "skyname" "sky_black_nofog" - "maxpropscreenwidth" "-1" - "detailvbsp" "detail.vbsp" - "detailmaterial" "detail/detailsprites" - "maxblobcount" "250" - "maxprojectedtextures" "8" - solid - { - "id" "2" - side - { - "id" "1" - "plane" "(-1024 -512 64) (1024 -512 64) (1024 -576 64)" - point_data - { - "numpts" "4" - "point" "0 -1024 -512 64" - "point" "1 1024 -512 64" - "point" "2 1024 -576 64" - "point" "3 -1024 -576 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "2" - "plane" "(-1024 -576 0) (1024 -576 0) (1024 -512 0)" - point_data - { - "numpts" "4" - "point" "0 -1024 -576 0" - "point" "1 1024 -576 0" - "point" "2 1024 -512 0" - "point" "3 -1024 -512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "3" - "plane" "(-1024 -512 64) (-1024 -576 64) (-1024 -576 0)" - point_data - { - "numpts" "4" - "point" "0 -1024 -512 64" - "point" "1 -1024 -576 64" - "point" "2 -1024 -576 0" - "point" "3 -1024 -512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "4" - "plane" "(1024 -512 0) (1024 -576 0) (1024 -576 64)" - point_data - { - "numpts" "4" - "point" "0 1024 -512 0" - "point" "1 1024 -576 0" - "point" "2 1024 -576 64" - "point" "3 1024 -512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "5" - "plane" "(1024 -512 64) (-1024 -512 64) (-1024 -512 0)" - point_data - { - "numpts" "4" - "point" "0 1024 -512 64" - "point" "1 -1024 -512 64" - "point" "2 -1024 -512 0" - "point" "3 1024 -512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "6" - "plane" "(1024 -576 0) (-1024 -576 0) (-1024 -576 64)" - point_data - { - "numpts" "4" - "point" "0 1024 -576 0" - "point" "1 -1024 -576 0" - "point" "2 -1024 -576 64" - "point" "3 1024 -576 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "0 127 152" - "visgroupshown" "1" - "visgroupautoshown" "1" - } - } - solid - { - "id" "3" - side - { - "id" "7" - "plane" "(1024 512 64) (1088 512 64) (1088 -512 64)" - point_data - { - "numpts" "4" - "point" "0 1024 512 64" - "point" "1 1088 512 64" - "point" "2 1088 -512 64" - "point" "3 1024 -512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "8" - "plane" "(1024 -512 0) (1088 -512 0) (1088 512 0)" - point_data - { - "numpts" "4" - "point" "0 1024 -512 0" - "point" "1 1088 -512 0" - "point" "2 1088 512 0" - "point" "3 1024 512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "9" - "plane" "(1024 512 64) (1024 -512 64) (1024 -512 0)" - point_data - { - "numpts" "4" - "point" "0 1024 512 64" - "point" "1 1024 -512 64" - "point" "2 1024 -512 0" - "point" "3 1024 512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "10" - "plane" "(1088 512 0) (1088 -512 0) (1088 -512 64)" - point_data - { - "numpts" "4" - "point" "0 1088 512 0" - "point" "1 1088 -512 0" - "point" "2 1088 -512 64" - "point" "3 1088 512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "11" - "plane" "(1088 512 64) (1024 512 64) (1024 512 0)" - point_data - { - "numpts" "4" - "point" "0 1088 512 64" - "point" "1 1024 512 64" - "point" "2 1024 512 0" - "point" "3 1088 512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "12" - "plane" "(1088 -512 0) (1024 -512 0) (1024 -512 64)" - point_data - { - "numpts" "4" - "point" "0 1088 -512 0" - "point" "1 1024 -512 0" - "point" "2 1024 -512 64" - "point" "3 1088 -512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "0 183 240" - "visgroupshown" "1" - "visgroupautoshown" "1" - } - } - solid - { - "id" "4" - side - { - "id" "13" - "plane" "(-1024 576 64) (1024 576 64) (1024 512 64)" - point_data - { - "numpts" "4" - "point" "0 -1024 576 64" - "point" "1 1024 576 64" - "point" "2 1024 512 64" - "point" "3 -1024 512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "14" - "plane" "(-1024 512 0) (1024 512 0) (1024 576 0)" - point_data - { - "numpts" "4" - "point" "0 -1024 512 0" - "point" "1 1024 512 0" - "point" "2 1024 576 0" - "point" "3 -1024 576 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "15" - "plane" "(-1024 576 64) (-1024 512 64) (-1024 512 0)" - point_data - { - "numpts" "4" - "point" "0 -1024 576 64" - "point" "1 -1024 512 64" - "point" "2 -1024 512 0" - "point" "3 -1024 576 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "16" - "plane" "(1024 576 0) (1024 512 0) (1024 512 64)" - point_data - { - "numpts" "4" - "point" "0 1024 576 0" - "point" "1 1024 512 0" - "point" "2 1024 512 64" - "point" "3 1024 576 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "17" - "plane" "(1024 576 64) (-1024 576 64) (-1024 576 0)" - point_data - { - "numpts" "4" - "point" "0 1024 576 64" - "point" "1 -1024 576 64" - "point" "2 -1024 576 0" - "point" "3 1024 576 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "18" - "plane" "(1024 512 0) (-1024 512 0) (-1024 512 64)" - point_data - { - "numpts" "4" - "point" "0 1024 512 0" - "point" "1 -1024 512 0" - "point" "2 -1024 512 64" - "point" "3 1024 512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "0 193 222" - "visgroupshown" "1" - "visgroupautoshown" "1" - } - } - solid - { - "id" "5" - side - { - "id" "19" - "plane" "(-1088 512 64) (-1024 512 64) (-1024 -512 64)" - point_data - { - "numpts" "4" - "point" "0 -1088 512 64" - "point" "1 -1024 512 64" - "point" "2 -1024 -512 64" - "point" "3 -1088 -512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "20" - "plane" "(-1088 -512 0) (-1024 -512 0) (-1024 512 0)" - point_data - { - "numpts" "4" - "point" "0 -1088 -512 0" - "point" "1 -1024 -512 0" - "point" "2 -1024 512 0" - "point" "3 -1088 512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "21" - "plane" "(-1088 512 64) (-1088 -512 64) (-1088 -512 0)" - point_data - { - "numpts" "4" - "point" "0 -1088 512 64" - "point" "1 -1088 -512 64" - "point" "2 -1088 -512 0" - "point" "3 -1088 512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "22" - "plane" "(-1024 512 0) (-1024 -512 0) (-1024 -512 64)" - point_data - { - "numpts" "4" - "point" "0 -1024 512 0" - "point" "1 -1024 -512 0" - "point" "2 -1024 -512 64" - "point" "3 -1024 512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "23" - "plane" "(-1024 512 64) (-1088 512 64) (-1088 512 0)" - point_data - { - "numpts" "4" - "point" "0 -1024 512 64" - "point" "1 -1088 512 64" - "point" "2 -1088 512 0" - "point" "3 -1024 512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "24" - "plane" "(-1024 -512 0) (-1088 -512 0) (-1088 -512 64)" - point_data - { - "numpts" "4" - "point" "0 -1024 -512 0" - "point" "1 -1088 -512 0" - "point" "2 -1088 -512 64" - "point" "3 -1024 -512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "0 155 164" - "visgroupshown" "1" - "visgroupautoshown" "1" - } - } - solid - { - "id" "6" - side - { - "id" "25" - "plane" "(-1024 512 128) (1024 512 128) (1024 -512 128)" - point_data - { - "numpts" "4" - "point" "0 -1024 512 128" - "point" "1 1024 512 128" - "point" "2 1024 -512 128" - "point" "3 -1024 -512 128" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "26" - "plane" "(-1024 -512 64) (1024 -512 64) (1024 512 64)" - point_data - { - "numpts" "4" - "point" "0 -1024 -512 64" - "point" "1 1024 -512 64" - "point" "2 1024 512 64" - "point" "3 -1024 512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "27" - "plane" "(-1024 512 128) (-1024 -512 128) (-1024 -512 64)" - point_data - { - "numpts" "4" - "point" "0 -1024 512 128" - "point" "1 -1024 -512 128" - "point" "2 -1024 -512 64" - "point" "3 -1024 512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "28" - "plane" "(1024 512 64) (1024 -512 64) (1024 -512 128)" - point_data - { - "numpts" "4" - "point" "0 1024 512 64" - "point" "1 1024 -512 64" - "point" "2 1024 -512 128" - "point" "3 1024 512 128" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "29" - "plane" "(1024 512 128) (-1024 512 128) (-1024 512 64)" - point_data - { - "numpts" "4" - "point" "0 1024 512 128" - "point" "1 -1024 512 128" - "point" "2 -1024 512 64" - "point" "3 1024 512 64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "30" - "plane" "(1024 -512 64) (-1024 -512 64) (-1024 -512 128)" - point_data - { - "numpts" "4" - "point" "0 1024 -512 64" - "point" "1 -1024 -512 64" - "point" "2 -1024 -512 128" - "point" "3 1024 -512 128" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "0 229 178" - "visgroupshown" "1" - "visgroupautoshown" "1" - } - } - solid - { - "id" "7" - side - { - "id" "31" - "plane" "(-1024 512 0) (1024 512 0) (1024 -512 0)" - point_data - { - "numpts" "4" - "point" "0 -1024 512 0" - "point" "1 1024 512 0" - "point" "2 1024 -512 0" - "point" "3 -1024 -512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "32" - "plane" "(-1024 -512 -64) (1024 -512 -64) (1024 512 -64)" - point_data - { - "numpts" "4" - "point" "0 -1024 -512 -64" - "point" "1 1024 -512 -64" - "point" "2 1024 512 -64" - "point" "3 -1024 512 -64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "33" - "plane" "(-1024 512 0) (-1024 -512 0) (-1024 -512 -64)" - point_data - { - "numpts" "4" - "point" "0 -1024 512 0" - "point" "1 -1024 -512 0" - "point" "2 -1024 -512 -64" - "point" "3 -1024 512 -64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "34" - "plane" "(1024 512 -64) (1024 -512 -64) (1024 -512 0)" - point_data - { - "numpts" "4" - "point" "0 1024 512 -64" - "point" "1 1024 -512 -64" - "point" "2 1024 -512 0" - "point" "3 1024 512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "35" - "plane" "(1024 512 0) (-1024 512 0) (-1024 512 -64)" - point_data - { - "numpts" "4" - "point" "0 1024 512 0" - "point" "1 -1024 512 0" - "point" "2 -1024 512 -64" - "point" "3 1024 512 -64" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "36" - "plane" "(1024 -512 -64) (-1024 -512 -64) (-1024 -512 0)" - point_data - { - "numpts" "4" - "point" "0 1024 -512 -64" - "point" "1 -1024 -512 -64" - "point" "2 -1024 -512 0" - "point" "3 1024 -512 0" - } - "material" "ANIM_WP/FRAMEWORK/BACKPANELS_COLOR01_CHEAP" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "0 107 204" - "visgroupshown" "1" - "visgroupautoshown" "1" - } - } -} -entity -{ - "id" "20" - "classname" "info_player_start" - "angles" "0 0 0" - "origin" "-9.26825 142.574 1" - editor - { - "color" "0 255 0" - "visgroupshown" "1" - "visgroupautoshown" "1" - "logicalpos" "[0 3000]" - } -} -hidden -{ - entity - { - "id" "22" - "classname" "info_player_start" - "angles" "0 0 0" - "origin" "-68.1315 -61.7435 1" - editor - { - "color" "0 255 0" - "visgroupshown" "1" - "visgroupautoshown" "1" - "logicalpos" "[0 3500]" - } - } -} -hidden -{ - entity - { - "id" "24" - "classname" "info_player_start" - "angles" "0 0 0" - "origin" "829.031 -291.836 1" - editor - { - "color" "0 255 0" - "visgroupshown" "1" - "visgroupautoshown" "1" - "logicalpos" "[0 4000]" - } - } -} -entity -{ - "id" "26" - "classname" "info_player_start" - "angles" "0 0 0" - "origin" "-211.362 110.323 1" - editor - { - "color" "0 255 0" - "visgroupshown" "1" - "visgroupautoshown" "1" - "logicalpos" "[0 4500]" - } -} -entity -{ - "id" "28" - "classname" "logic_relay" - "angles" "0 0 0" - "startdisabled" "0" - connections - { - "OnTrigger" "hij1-1" - } - "origin" "448 72.8387 32" - editor - { - "color" "0 100 250" - "visgroupshown" "1" - "visgroupautoshown" "1" - "logicalpos" "[0 5000]" - } -} -cameras -{ - "activecamera" "-1" -} -cordons -{ - "active" "0" -} -quickhide -{ - "count" "4" - list - { - "id" "24" - "id" "22" - } -}