diff --git a/testmaps/automatated_tests.sh b/testmaps/automatated_tests.sh index 3f6072b9..70444700 100755 --- a/testmaps/automatated_tests.sh +++ b/testmaps/automatated_tests.sh @@ -16,6 +16,9 @@ set -x UPDATE_HASHES=0 if [[ "$1" == "--update-hashes" ]]; then UPDATE_HASHES=1 +elif [[ "$1" != "" ]]; then + echo "usage: ./automated_tests.sh [--update-hashes]" + exit 1 fi # checking for lack of crashes @@ -38,6 +41,7 @@ light invalid_texture_axes.map || exit 1 HASH_CHECK_BSPS="qbsp_func_detail.bsp \ qbsp_func_detail_illusionary_plus_water.bsp \ qbsp_origin.bsp \ +qbsp_angled_brush.bsp \ e1m1-bsp29.bsp \ e1m1-bsp2.bsp \ e1m1-2psb.bsp \ @@ -55,7 +59,8 @@ HASH_CHECK_PRTS=${HASH_CHECK_BSPS//.bsp/.prt} # directly to the git repo, so we can print a diff COMMIT_JSON_MAPS="qbsp_func_detail.bsp \ qbsp_func_detail_illusionary_plus_water.bsp \ -qbsp_origin.bsp" +qbsp_origin.bsp \ +qbsp_angled_brush.bsp" # smaller test maps for specific features/combinations # check .json diff of COMMIT_JSON_MAPS diff --git a/testmaps/qbsp-vis.sha256sum b/testmaps/qbsp-vis.sha256sum index 7ae00d33..d76363c0 100644 --- a/testmaps/qbsp-vis.sha256sum +++ b/testmaps/qbsp-vis.sha256sum @@ -1,6 +1,7 @@ 415d75b92b48e753b3ffc462b9e002a6c4e659481e8cc7609b268d03d0985029 *qbsp_func_detail.bsp c9524f3858d9df55f612fb4b75670434712c2ed58a37e8534bf48f82eb6f81db *qbsp_func_detail_illusionary_plus_water.bsp 75e19d355b3c39acac2dcd2e17616fbbeb25d16cc0a240817f3abbb30f5e92bf *qbsp_origin.bsp +c2e343508067ae349e77381eb296dc52eb7e54d7022c865952595b33cd9fdac4 *qbsp_angled_brush.bsp c3e0cfd0388a730835a73eb33155a454e459d2173e4b2e4df3825a45e1d9b34e *e1m1-bsp29.bsp 6c1280a4db77acd2076a47cf918f1ef7d60e6646bfb995373c122fe74522d495 *e1m1-bsp2.bsp c73b5d7c4a769fc49ef84f7dd5e1c0e241526ba38ed3c65995f0addbf5052bb1 *e1m1-2psb.bsp diff --git a/testmaps/qbsp.sha256sum b/testmaps/qbsp.sha256sum index 0c7d4030..6b01d4a1 100644 --- a/testmaps/qbsp.sha256sum +++ b/testmaps/qbsp.sha256sum @@ -1,6 +1,7 @@ 6b27857f7fca00c0412998db914f19f1e0c1408dbbd8800230589a39c67b94bb *qbsp_func_detail.bsp 9c316cfa2587aba74925a96883bc5553490daf14ad3ed31a2669cfd7a53036a2 *qbsp_func_detail_illusionary_plus_water.bsp c8839aa94da63cfe5d0c796be747cc9a108a1ad10df42c86d849c545fe85f472 *qbsp_origin.bsp +0fd7181be8b3c6ad50369f74e191371227ed8e61a8ea1abc0096cb117c816501 *qbsp_angled_brush.bsp 9c8e99b94adab8a1c167585cea24b93f5de97eb27edfa1d1bdf62e65b8c41225 *e1m1-bsp29.bsp 663d18865131d41cd2e3114c1cbe19d81aadd12bd6c76b8500508b9216bbf167 *e1m1-bsp2.bsp 1a1b53f1bdebf966a0846b9466638c0b3b3678eee6488fb572dd9a9ccd7b3084 *e1m1-2psb.bsp @@ -14,6 +15,7 @@ af969da100d8dda94d355277c60382c925aabe18c6a4ce9b7500e4e43313f7f4 *e1m1-bspxbrush abf3633d5a6d0e167ce9bacec476d3408c8240df5f3d72d14867cd201d4e3674 *qbsp_func_detail.prt c0995c6b92256fa048c1a755ebe7e07f5fae33cb64e3c53adc234380fe44f267 *qbsp_func_detail_illusionary_plus_water.prt b1ac538e53efc28ace2088324b1c0504d0f09b013d30b39ce231d76124bc6c22 *qbsp_origin.prt +00cc54b056ec14bb918fc3b30dab4b01b71f95bbca628206734b6d6f9aa19e10 *qbsp_angled_brush.prt 8d7c5ea9f0fafbc2aec52ceeb8b3dd464a0da2935abf878bfb27c3961e17e436 *e1m1-bsp29.prt 8d7c5ea9f0fafbc2aec52ceeb8b3dd464a0da2935abf878bfb27c3961e17e436 *e1m1-bsp2.prt 8d7c5ea9f0fafbc2aec52ceeb8b3dd464a0da2935abf878bfb27c3961e17e436 *e1m1-2psb.prt diff --git a/testmaps/qbsp_angled_brush.map b/testmaps/qbsp_angled_brush.map new file mode 100644 index 00000000..6ef31aa5 --- /dev/null +++ b/testmaps/qbsp_angled_brush.map @@ -0,0 +1,84 @@ +// Game: Quake +// Format: Valve +// entity 0 +{ +"mapversion" "220" +"classname" "worldspawn" +"wad" "deprecated/free_wad.wad;deprecated/fence.wad;deprecated/origin.wad;deprecated/hintskip.wad" +"_wateralpha" "0.5" +"_tb_def" "builtin:Quoth2.fgd" +// brush 0 +{ +( -176 -256 64 ) ( -176 -255 64 ) ( -176 -256 65 ) tsl_wall1 [ 0 -1 0 0 ] [ 0 0 -1 -32 ] 0 1 1 +( -176 -432 64 ) ( -176 -432 65 ) ( -175 -432 64 ) tsl_wall1 [ 1 0 0 16 ] [ 0 0 -1 -32 ] 0 1 1 +( -176 -256 96 ) ( -175 -256 96 ) ( -176 -255 96 ) tsl_wall1 [ -1 0 0 -16 ] [ 0 -1 0 0 ] 0 1 1 +( -160 192 352 ) ( -160 193 352 ) ( -159 192 352 ) tsl_wall1 [ 1 0 0 16 ] [ 0 -1 0 0 ] 0 1 1 +( -160 176 80 ) ( -159 176 80 ) ( -160 176 81 ) tsl_wall1 [ -1 0 0 -16 ] [ 0 0 -1 -32 ] 0 1 1 +( -160 192 80 ) ( -160 192 81 ) ( -160 193 80 ) tsl_wall1 [ 0 1 0 0 ] [ 0 0 -1 -32 ] 0 1 1 +} +// brush 1 +{ +( -160 176 88 ) ( -160 177 88 ) ( -160 176 89 ) tsl_wall1 [ 0 1.0000000000000002 0 -32 ] [ 0 0 -1.0000000000000002 -32 ] 0 1 1 +( -160 176 88 ) ( -160 176 89 ) ( -159 176 88 ) tsl_wall1 [ -1 0 0 -16 ] [ 0 0 -1 -32 ] 0 1 1 +( -160 176 96 ) ( -159 176 96 ) ( -160 177 96 ) tsl_wall1 [ -1.0000000000000002 0 0 -16 ] [ 0 1.0000000000000002 0 -40 ] 0 1 1 +( 288 192 352 ) ( 288 193 352 ) ( 289 192 352 ) tsl_wall1 [ -1.0000000000000002 0 0 -16 ] [ 0 -1.0000000000000002 0 48 ] 0 1 1 +( 288 192 96 ) ( 289 192 96 ) ( 288 192 97 ) tsl_wall1 [ -1 0 0 -16 ] [ 0 0 -1 -32 ] 0 1 1 +( 288 192 96 ) ( 288 192 97 ) ( 288 193 96 ) tsl_wall1 [ 0 -1.0000000000000002 0 0 ] [ 0 0 -1.0000000000000002 -32 ] 0 1 1 +} +// brush 2 +{ +( -160 -112 96 ) ( -160 -111 96 ) ( -160 -112 97 ) orangestuff8 [ 0 1 0 -16 ] [ 0 0 -1 0 ] 0 1 1 +( -80 -432 80 ) ( -81 -432 80 ) ( -80 -432 81 ) orangestuff8 [ -1 0 0 16 ] [ 0 0 -1 0 ] 180 1 1 +( -80 -432 80 ) ( -80 -431 80 ) ( -81 -432 80 ) orangestuff8 [ 1 0 0 -16 ] [ 0 -1 0 16 ] 180 1 1 +( -160 -112 96 ) ( -161 -112 96 ) ( -160 -111 96 ) orangestuff8 [ -1 0 0 16 ] [ 0 -1 0 16 ] 180 1 1 +( -160 176 96 ) ( -160 176 97 ) ( -161 176 96 ) orangestuff8 [ 1 0 0 -16 ] [ 0 0 -1 0 ] 180 1 1 +( 288 -432 80 ) ( 288 -432 81 ) ( 288 -431 80 ) orangestuff8 [ 0 -1 0 16 ] [ 0 0 -1 0 ] 0 1 1 +} +// brush 3 +{ +( -160 -448 88 ) ( -160 -447 88 ) ( -160 -448 89 ) tsl_wall1 [ 0 1.0000000000000002 0 80 ] [ 0 0 -1.0000000000000002 -32 ] 0 1 1 +( -160 -448 88 ) ( -160 -448 89 ) ( -159 -448 88 ) tsl_wall1 [ -1 0 0 -16 ] [ 0 0 -1 -32 ] 0 1 1 +( -160 -448 96 ) ( -159 -448 96 ) ( -160 -447 96 ) tsl_wall1 [ -1.0000000000000002 0 0 -16 ] [ 0 1.0000000000000002 0 72 ] 0 1 1 +( 288 -432 352 ) ( 288 -431 352 ) ( 289 -432 352 ) tsl_wall1 [ -1.0000000000000002 0 0 -16 ] [ 0 -1.0000000000000002 0 -64 ] 0 1 1 +( 288 -432 96 ) ( 289 -432 96 ) ( 288 -432 97 ) tsl_wall1 [ -1 0 0 -16 ] [ 0 0 -1 -32 ] 0 1 1 +( 288 -432 96 ) ( 288 -432 97 ) ( 288 -431 96 ) tsl_wall1 [ 0 -1.0000000000000002 0 -112 ] [ 0 0 -1.0000000000000002 -32 ] 0 1 1 +} +// brush 4 +{ +( -160 -256 352 ) ( -160 -255 352 ) ( -160 -256 353 ) orangestuff8 [ 0 0 -1.0000000000000002 0 ] [ 0 -1.0000000000000002 0 0 ] 180 1 1 +( 288 -432 360 ) ( 288 -432 361 ) ( 289 -432 360 ) orangestuff8 [ -1.0000000000000002 0 0 0 ] [ 0 0 1.0000000000000002 -16 ] 180 1 1 +( -160 -256 352 ) ( -159 -256 352 ) ( -160 -255 352 ) orangestuff8 [ -1 0 0 0 ] [ 0 -1 0 0 ] 180 1 1 +( 288 176 368 ) ( 288 177 368 ) ( 289 176 368 ) orangestuff8 [ -1 0 0 0 ] [ 0 -1 0 0 ] 180 1 1 +( 288 176 360 ) ( 289 176 360 ) ( 288 176 361 ) orangestuff8 [ -1.0000000000000002 0 0 0 ] [ 0 0 1.0000000000000002 -16 ] 180 1 1 +( 288 176 360 ) ( 288 176 361 ) ( 288 177 360 ) orangestuff8 [ 0 0 1.0000000000000002 0 ] [ 0 -1.0000000000000002 0 0 ] 180 1 1 +} +// brush 5 +{ +( 288 192 80 ) ( 288 193 80 ) ( 288 192 81 ) tsl_wall1 [ 0 1 0 0 ] [ 0 0 -1 -32 ] 0 1 1 +( 304 -432 64 ) ( 303 -432 64 ) ( 304 -432 65 ) tsl_wall1 [ -1 0 0 16 ] [ 0 0 -1 -32 ] 180 1 1 +( 304 -256 96 ) ( 304 -255 96 ) ( 303 -256 96 ) tsl_wall1 [ 1 0 0 -16 ] [ 0 -1 0 0 ] 180 1 1 +( 304 -256 352 ) ( 303 -256 352 ) ( 304 -255 352 ) tsl_wall1 [ 1 0 0 -16 ] [ 0 -1 0 0 ] 180 1 1 +( 288 176 80 ) ( 288 176 81 ) ( 287 176 80 ) tsl_wall1 [ 1 0 0 -16 ] [ 0 0 -1 -32 ] 180 1 1 +( 304 -256 64 ) ( 304 -256 65 ) ( 304 -255 64 ) tsl_wall1 [ 0 -1 0 0 ] [ 0 0 -1 -32 ] 0 1 1 +} +// brush 6 +{ +( 110 -174 62.94617613083766 ) ( 109.49999999999996 -173.5000000000001 63.6532829120242 ) ( 110.49999999999994 -174.50000000000009 63.6532829120242 ) tsl_wall1 [ -0.4999999999999993 0.5000000000000003 -0.7071067811865477 106.509674 ] [ 0.4999999999999995 -0.5000000000000007 -0.7071067811865474 -97.49033 ] 315 1 1 +( 135.94112549695427 -132.05887450304584 51.63246763185289 ) ( 136.64823227814082 -131.3517677218593 51.63246763185289 ) ( 135.44112549695427 -131.55887450304584 52.339574413039436 ) tsl_wall1 [ 0.7071067811865483 0.7071067811865468 0 -66.74516 ] [ 0.4999999999999996 -0.5000000000000007 -0.7071067811865475 -97.49033 ] 327.3501 1 1 +( 168.50966799187813 -51.49033200812204 198.71067811865476 ) ( 169.21677477306469 -50.783225226935485 198.71067811865476 ) ( 169.00966799187816 -51.99033200812204 199.4177848998413 ) tsl_wall1 [ -0.4999999999999994 0.5000000000000004 -0.7071067811865478 106.509674 ] [ -0.7071067811865483 -0.7071067811865468 0 98.74516 ] 32.6499 1 1 +( 89.94112549695433 -86.05887450304577 139.31370849898477 ) ( 90.44112549695433 -86.55887450304577 140.0208152801713 ) ( 90.64823227814087 -85.35176772185923 139.31370849898477 ) tsl_wall1 [ -0.4999999999999994 0.5000000000000004 -0.7071067811865478 106.509674 ] [ 0.7071067811865483 0.7071067811865468 0 -114.74516 ] 327.3501 1 1 +( 248.50966799187808 -131.49033200812215 153.45584412271575 ) ( 248.00966799187808 -130.99033200812215 154.1629509039023 ) ( 249.21677477306463 -130.7832252269356 153.45584412271575 ) tsl_wall1 [ -0.7071067811865483 -0.7071067811865468 0 98.74516 ] [ 0.4999999999999996 -0.5000000000000007 -0.7071067811865475 -97.49033 ] 32.6499 1 1 +( 235.8233764908629 -96.17662350913739 119.51471862576146 ) ( 236.3233764908629 -96.67662350913739 120.22182540694801 ) ( 235.3233764908629 -95.67662350913739 120.22182540694801 ) tsl_wall1 [ -0.4999999999999993 0.5000000000000003 -0.7071067811865477 106.509674 ] [ 0.4999999999999995 -0.5000000000000007 -0.7071067811865474 -97.49033 ] 45 1 1 +} +} +// entity 1 +{ +"classname" "light" +"origin" "56 -40 200" +"light" "3000" +} +// entity 2 +{ +"classname" "info_player_start" +"origin" "-88 -64 120" +} diff --git a/testmaps/reference_bsp_json/qbsp_angled_brush.bsp.json b/testmaps/reference_bsp_json/qbsp_angled_brush.bsp.json new file mode 100644 index 00000000..877ffdea --- /dev/null +++ b/testmaps/reference_bsp_json/qbsp_angled_brush.bsp.json @@ -0,0 +1,3940 @@ +{ + "clipnodes": [ + { + "children": [ + 1, + 30 + ], + "planenum": 35 + }, + { + "children": [ + 2, + 26 + ], + "planenum": 33 + }, + { + "children": [ + 3, + 7 + ], + "planenum": 31 + }, + { + "children": [ + -2, + 4 + ], + "planenum": 15 + }, + { + "children": [ + 5, + -2 + ], + "planenum": 14 + }, + { + "children": [ + -2, + 6 + ], + "planenum": 13 + }, + { + "children": [ + -2, + -1 + ], + "planenum": 12 + }, + { + "children": [ + -2, + 8 + ], + "planenum": 15 + }, + { + "children": [ + 9, + 10 + ], + "planenum": 30 + }, + { + "children": [ + -2, + -1 + ], + "planenum": 13 + }, + { + "children": [ + 11, + 12 + ], + "planenum": 29 + }, + { + "children": [ + -1, + -2 + ], + "planenum": 14 + }, + { + "children": [ + 13, + -2 + ], + "planenum": 14 + }, + { + "children": [ + 14, + -1 + ], + "planenum": 28 + }, + { + "children": [ + -1, + 15 + ], + "planenum": 27 + }, + { + "children": [ + -1, + 16 + ], + "planenum": 26 + }, + { + "children": [ + 17, + -1 + ], + "planenum": 25 + }, + { + "children": [ + 18, + -1 + ], + "planenum": 24 + }, + { + "children": [ + 19, + -1 + ], + "planenum": 23 + }, + { + "children": [ + -1, + 20 + ], + "planenum": 22 + }, + { + "children": [ + 21, + -1 + ], + "planenum": 21 + }, + { + "children": [ + -1, + 22 + ], + "planenum": 20 + }, + { + "children": [ + 23, + -1 + ], + "planenum": 19 + }, + { + "children": [ + -1, + 24 + ], + "planenum": 18 + }, + { + "children": [ + -1, + 25 + ], + "planenum": 17 + }, + { + "children": [ + -1, + -2 + ], + "planenum": 16 + }, + { + "children": [ + -2, + 27 + ], + "planenum": 12 + }, + { + "children": [ + -2, + 28 + ], + "planenum": 13 + }, + { + "children": [ + 29, + -2 + ], + "planenum": 14 + }, + { + "children": [ + -1, + -2 + ], + "planenum": 32 + }, + { + "children": [ + -2, + 31 + ], + "planenum": 15 + }, + { + "children": [ + 32, + -2 + ], + "planenum": 32 + }, + { + "children": [ + 33, + -2 + ], + "planenum": 34 + }, + { + "children": [ + 34, + -2 + ], + "planenum": 14 + }, + { + "children": [ + -2, + -1 + ], + "planenum": 13 + }, + { + "children": [ + 36, + 65 + ], + "planenum": 57 + }, + { + "children": [ + 37, + 61 + ], + "planenum": 55 + }, + { + "children": [ + 38, + 42 + ], + "planenum": 53 + }, + { + "children": [ + -2, + 39 + ], + "planenum": 38 + }, + { + "children": [ + 40, + -2 + ], + "planenum": 14 + }, + { + "children": [ + -2, + 41 + ], + "planenum": 37 + }, + { + "children": [ + -2, + -1 + ], + "planenum": 36 + }, + { + "children": [ + -2, + 43 + ], + "planenum": 38 + }, + { + "children": [ + 44, + 45 + ], + "planenum": 30 + }, + { + "children": [ + -2, + -1 + ], + "planenum": 37 + }, + { + "children": [ + 46, + 47 + ], + "planenum": 52 + }, + { + "children": [ + -1, + -2 + ], + "planenum": 14 + }, + { + "children": [ + 48, + -2 + ], + "planenum": 14 + }, + { + "children": [ + 49, + -1 + ], + "planenum": 51 + }, + { + "children": [ + -1, + 50 + ], + "planenum": 50 + }, + { + "children": [ + -1, + 51 + ], + "planenum": 49 + }, + { + "children": [ + 52, + -1 + ], + "planenum": 48 + }, + { + "children": [ + 53, + -1 + ], + "planenum": 47 + }, + { + "children": [ + 54, + -1 + ], + "planenum": 46 + }, + { + "children": [ + -1, + 55 + ], + "planenum": 45 + }, + { + "children": [ + 56, + -1 + ], + "planenum": 44 + }, + { + "children": [ + -1, + 57 + ], + "planenum": 43 + }, + { + "children": [ + 58, + -1 + ], + "planenum": 42 + }, + { + "children": [ + -1, + 59 + ], + "planenum": 41 + }, + { + "children": [ + -1, + 60 + ], + "planenum": 40 + }, + { + "children": [ + -1, + -2 + ], + "planenum": 39 + }, + { + "children": [ + -2, + 62 + ], + "planenum": 36 + }, + { + "children": [ + -2, + 63 + ], + "planenum": 37 + }, + { + "children": [ + 64, + -2 + ], + "planenum": 14 + }, + { + "children": [ + -1, + -2 + ], + "planenum": 54 + }, + { + "children": [ + -2, + 66 + ], + "planenum": 38 + }, + { + "children": [ + 67, + -2 + ], + "planenum": 54 + }, + { + "children": [ + 68, + -2 + ], + "planenum": 56 + }, + { + "children": [ + 69, + -2 + ], + "planenum": 14 + }, + { + "children": [ + -2, + -1 + ], + "planenum": 37 + } + ], + "edges": [ + [ + 0, + 0 + ], + [ + 0, + 1 + ], + [ + 1, + 2 + ], + [ + 2, + 3 + ], + [ + 3, + 0 + ], + [ + 4, + 5 + ], + [ + 5, + 0 + ], + [ + 3, + 4 + ], + [ + 6, + 7 + ], + [ + 7, + 3 + ], + [ + 2, + 6 + ], + [ + 7, + 8 + ], + [ + 8, + 4 + ], + [ + 9, + 10 + ], + [ + 10, + 11 + ], + [ + 11, + 12 + ], + [ + 12, + 9 + ], + [ + 11, + 13 + ], + [ + 13, + 14 + ], + [ + 14, + 12 + ], + [ + 15, + 16 + ], + [ + 16, + 9 + ], + [ + 12, + 15 + ], + [ + 17, + 15 + ], + [ + 14, + 17 + ], + [ + 6, + 18 + ], + [ + 18, + 19 + ], + [ + 19, + 20 + ], + [ + 20, + 7 + ], + [ + 21, + 22 + ], + [ + 22, + 8 + ], + [ + 20, + 21 + ], + [ + 19, + 23 + ], + [ + 23, + 24 + ], + [ + 24, + 25 + ], + [ + 25, + 20 + ], + [ + 26, + 27 + ], + [ + 27, + 21 + ], + [ + 25, + 26 + ], + [ + 15, + 25 + ], + [ + 24, + 16 + ], + [ + 17, + 26 + ], + [ + 28, + 29 + ], + [ + 29, + 1 + ], + [ + 0, + 30 + ], + [ + 30, + 28 + ], + [ + 5, + 31 + ], + [ + 31, + 32 + ], + [ + 32, + 30 + ], + [ + 33, + 34 + ], + [ + 34, + 28 + ], + [ + 30, + 35 + ], + [ + 35, + 33 + ], + [ + 32, + 36 + ], + [ + 36, + 37 + ], + [ + 37, + 35 + ], + [ + 10, + 33 + ], + [ + 35, + 11 + ], + [ + 37, + 13 + ], + [ + 36, + 38 + ], + [ + 38, + 14 + ], + [ + 31, + 39 + ], + [ + 39, + 38 + ], + [ + 4, + 39 + ], + [ + 38, + 27 + ], + [ + 39, + 22 + ], + [ + 9, + 40 + ], + [ + 40, + 34 + ], + [ + 40, + 41 + ], + [ + 41, + 29 + ], + [ + 41, + 2 + ], + [ + 23, + 40 + ], + [ + 18, + 41 + ], + [ + 42, + 43 + ], + [ + 43, + 44 + ], + [ + 44, + 45 + ], + [ + 45, + 42 + ], + [ + 46, + 47 + ], + [ + 47, + 48 + ], + [ + 48, + 49 + ], + [ + 49, + 46 + ], + [ + 45, + 46 + ], + [ + 49, + 42 + ], + [ + 43, + 48 + ], + [ + 47, + 44 + ] + ], + "entdata": "{\n\"mapversion\" \"220\"\n\"classname\" \"worldspawn\"\n\"wad\" \"deprecated/free_wad.wad;deprecated/fence.wad;deprecated/origin.wad;deprecated/hintskip.wad\"\n\"_wateralpha\" \"0.5\"\n\"_tb_def\" \"builtin:Quoth2.fgd\"\n}\n{\n\"classname\" \"light\"\n\"origin\" \"56 -40 200\"\n\"light\" \"3000\"\n}\n{\n\"classname\" \"info_player_start\"\n\"origin\" \"-88 -64 120\"\n}\n\u0000", + "faces": [ + { + "firstedge": 0, + "lightofs": -1, + "numedges": 4, + "planenum": 0, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 0, + "vertices": [ + [ + 288.0, + -432.0, + 128.0 + ], + [ + 288.0, + -432.0, + 352.0 + ], + [ + 64.0, + -432.0, + 352.0 + ], + [ + 64.0, + -432.0, + 128.0 + ] + ] + }, + { + "firstedge": 4, + "lightofs": -1, + "numedges": 4, + "planenum": 0, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 0, + "vertices": [ + [ + 64.0, + -432.0, + 96.0 + ], + [ + 288.0, + -432.0, + 96.0 + ], + [ + 288.0, + -432.0, + 128.0 + ], + [ + 64.0, + -432.0, + 128.0 + ] + ] + }, + { + "firstedge": 8, + "lightofs": -1, + "numedges": 4, + "planenum": 0, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 0, + "vertices": [ + [ + -160.0, + -432.0, + 352.0 + ], + [ + -160.0, + -432.0, + 128.0 + ], + [ + 64.0, + -432.0, + 128.0 + ], + [ + 64.0, + -432.0, + 352.0 + ] + ] + }, + { + "firstedge": 12, + "lightofs": -1, + "numedges": 4, + "planenum": 0, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 0, + "vertices": [ + [ + -160.0, + -432.0, + 128.0 + ], + [ + -160.0, + -432.0, + 96.0 + ], + [ + 64.0, + -432.0, + 96.0 + ], + [ + 64.0, + -432.0, + 128.0 + ] + ] + }, + { + "firstedge": 16, + "lightofs": -1, + "numedges": 4, + "planenum": 1, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 0, + "vertices": [ + [ + 64.0, + 176.0, + 352.0 + ], + [ + 288.0, + 176.0, + 352.0 + ], + [ + 288.0, + 176.0, + 128.0 + ], + [ + 64.0, + 176.0, + 128.0 + ] + ] + }, + { + "firstedge": 20, + "lightofs": -1, + "numedges": 4, + "planenum": 1, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 0, + "vertices": [ + [ + 288.0, + 176.0, + 128.0 + ], + [ + 288.0, + 176.0, + 96.0 + ], + [ + 64.0, + 176.0, + 96.0 + ], + [ + 64.0, + 176.0, + 128.0 + ] + ] + }, + { + "firstedge": 24, + "lightofs": -1, + "numedges": 4, + "planenum": 1, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 0, + "vertices": [ + [ + -160.0, + 176.0, + 128.0 + ], + [ + -160.0, + 176.0, + 352.0 + ], + [ + 64.0, + 176.0, + 352.0 + ], + [ + 64.0, + 176.0, + 128.0 + ] + ] + }, + { + "firstedge": 28, + "lightofs": -1, + "numedges": 4, + "planenum": 1, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 0, + "vertices": [ + [ + -160.0, + 176.0, + 96.0 + ], + [ + -160.0, + 176.0, + 128.0 + ], + [ + 64.0, + 176.0, + 128.0 + ], + [ + 64.0, + 176.0, + 96.0 + ] + ] + }, + { + "firstedge": 32, + "lightofs": -1, + "numedges": 5, + "planenum": 2, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + -160.0, + -432.0, + 128.0 + ], + [ + -160.0, + -432.0, + 352.0 + ], + [ + -160.0, + -272.0, + 352.0 + ], + [ + -160.0, + -208.0, + 352.0 + ], + [ + -160.0, + -208.0, + 128.0 + ] + ] + }, + { + "firstedge": 37, + "lightofs": -1, + "numedges": 5, + "planenum": 2, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + -160.0, + -208.0, + 96.0 + ], + [ + -160.0, + -272.0, + 96.0 + ], + [ + -160.0, + -432.0, + 96.0 + ], + [ + -160.0, + -432.0, + 128.0 + ], + [ + -160.0, + -208.0, + 128.0 + ] + ] + }, + { + "firstedge": 42, + "lightofs": -1, + "numedges": 5, + "planenum": 2, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + -160.0, + -208.0, + 128.0 + ], + [ + -160.0, + -208.0, + 352.0 + ], + [ + -160.0, + -48.0, + 352.0 + ], + [ + -160.0, + 16.0, + 352.0 + ], + [ + -160.0, + 16.0, + 128.0 + ] + ] + }, + { + "firstedge": 47, + "lightofs": -1, + "numedges": 5, + "planenum": 2, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + -160.0, + 16.0, + 96.0 + ], + [ + -160.0, + -48.0, + 96.0 + ], + [ + -160.0, + -208.0, + 96.0 + ], + [ + -160.0, + -208.0, + 128.0 + ], + [ + -160.0, + 16.0, + 128.0 + ] + ] + }, + { + "firstedge": 52, + "lightofs": -1, + "numedges": 4, + "planenum": 2, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + -160.0, + 176.0, + 352.0 + ], + [ + -160.0, + 176.0, + 128.0 + ], + [ + -160.0, + 16.0, + 128.0 + ], + [ + -160.0, + 16.0, + 352.0 + ] + ] + }, + { + "firstedge": 56, + "lightofs": -1, + "numedges": 4, + "planenum": 2, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + -160.0, + 176.0, + 128.0 + ], + [ + -160.0, + 176.0, + 96.0 + ], + [ + -160.0, + 16.0, + 96.0 + ], + [ + -160.0, + 16.0, + 128.0 + ] + ] + }, + { + "firstedge": 60, + "lightofs": -1, + "numedges": 5, + "planenum": 3, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + 288.0, + -208.0, + 352.0 + ], + [ + 288.0, + -272.0, + 352.0 + ], + [ + 288.0, + -432.0, + 352.0 + ], + [ + 288.0, + -432.0, + 128.0 + ], + [ + 288.0, + -208.0, + 128.0 + ] + ] + }, + { + "firstedge": 65, + "lightofs": -1, + "numedges": 5, + "planenum": 3, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + 288.0, + -432.0, + 128.0 + ], + [ + 288.0, + -432.0, + 96.0 + ], + [ + 288.0, + -272.0, + 96.0 + ], + [ + 288.0, + -208.0, + 96.0 + ], + [ + 288.0, + -208.0, + 128.0 + ] + ] + }, + { + "firstedge": 70, + "lightofs": -1, + "numedges": 5, + "planenum": 3, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + 288.0, + 16.0, + 352.0 + ], + [ + 288.0, + -48.0, + 352.0 + ], + [ + 288.0, + -208.0, + 352.0 + ], + [ + 288.0, + -208.0, + 128.0 + ], + [ + 288.0, + 16.0, + 128.0 + ] + ] + }, + { + "firstedge": 75, + "lightofs": -1, + "numedges": 5, + "planenum": 3, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + 288.0, + -208.0, + 128.0 + ], + [ + 288.0, + -208.0, + 96.0 + ], + [ + 288.0, + -48.0, + 96.0 + ], + [ + 288.0, + 16.0, + 96.0 + ], + [ + 288.0, + 16.0, + 128.0 + ] + ] + }, + { + "firstedge": 80, + "lightofs": -1, + "numedges": 4, + "planenum": 3, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + 288.0, + 176.0, + 128.0 + ], + [ + 288.0, + 176.0, + 352.0 + ], + [ + 288.0, + 16.0, + 352.0 + ], + [ + 288.0, + 16.0, + 128.0 + ] + ] + }, + { + "firstedge": 84, + "lightofs": -1, + "numedges": 4, + "planenum": 3, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 1, + "vertices": [ + [ + 288.0, + 176.0, + 96.0 + ], + [ + 288.0, + 176.0, + 128.0 + ], + [ + 288.0, + 16.0, + 128.0 + ], + [ + 288.0, + 16.0, + 96.0 + ] + ] + }, + { + "firstedge": 88, + "lightofs": -1, + "numedges": 5, + "planenum": 4, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 2, + "vertices": [ + [ + 64.0, + 176.0, + 96.0 + ], + [ + 288.0, + 176.0, + 96.0 + ], + [ + 288.0, + 16.0, + 96.0 + ], + [ + 288.0, + -48.0, + 96.0 + ], + [ + 64.0, + -48.0, + 96.0 + ] + ] + }, + { + "firstedge": 93, + "lightofs": -1, + "numedges": 5, + "planenum": 4, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 2, + "vertices": [ + [ + 288.0, + -48.0, + 96.0 + ], + [ + 288.0, + -208.0, + 96.0 + ], + [ + 288.0, + -272.0, + 96.0 + ], + [ + 64.0, + -272.0, + 96.0 + ], + [ + 64.0, + -48.0, + 96.0 + ] + ] + }, + { + "firstedge": 98, + "lightofs": -1, + "numedges": 4, + "planenum": 4, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 2, + "vertices": [ + [ + 288.0, + -272.0, + 96.0 + ], + [ + 288.0, + -432.0, + 96.0 + ], + [ + 64.0, + -432.0, + 96.0 + ], + [ + 64.0, + -272.0, + 96.0 + ] + ] + }, + { + "firstedge": 102, + "lightofs": -1, + "numedges": 5, + "planenum": 4, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 2, + "vertices": [ + [ + -160.0, + -48.0, + 96.0 + ], + [ + -160.0, + 16.0, + 96.0 + ], + [ + -160.0, + 176.0, + 96.0 + ], + [ + 64.0, + 176.0, + 96.0 + ], + [ + 64.0, + -48.0, + 96.0 + ] + ] + }, + { + "firstedge": 107, + "lightofs": -1, + "numedges": 5, + "planenum": 4, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 2, + "vertices": [ + [ + -160.0, + -272.0, + 96.0 + ], + [ + -160.0, + -208.0, + 96.0 + ], + [ + -160.0, + -48.0, + 96.0 + ], + [ + 64.0, + -48.0, + 96.0 + ], + [ + 64.0, + -272.0, + 96.0 + ] + ] + }, + { + "firstedge": 112, + "lightofs": -1, + "numedges": 4, + "planenum": 4, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 2, + "vertices": [ + [ + -160.0, + -432.0, + 96.0 + ], + [ + -160.0, + -272.0, + 96.0 + ], + [ + 64.0, + -272.0, + 96.0 + ], + [ + 64.0, + -432.0, + 96.0 + ] + ] + }, + { + "firstedge": 116, + "lightofs": -1, + "numedges": 5, + "planenum": 5, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 3, + "vertices": [ + [ + 288.0, + -48.0, + 352.0 + ], + [ + 288.0, + 16.0, + 352.0 + ], + [ + 288.0, + 176.0, + 352.0 + ], + [ + 64.0, + 176.0, + 352.0 + ], + [ + 64.0, + -48.0, + 352.0 + ] + ] + }, + { + "firstedge": 121, + "lightofs": -1, + "numedges": 5, + "planenum": 5, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 3, + "vertices": [ + [ + 288.0, + -272.0, + 352.0 + ], + [ + 288.0, + -208.0, + 352.0 + ], + [ + 288.0, + -48.0, + 352.0 + ], + [ + 64.0, + -48.0, + 352.0 + ], + [ + 64.0, + -272.0, + 352.0 + ] + ] + }, + { + "firstedge": 126, + "lightofs": -1, + "numedges": 4, + "planenum": 5, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 3, + "vertices": [ + [ + 64.0, + -432.0, + 352.0 + ], + [ + 288.0, + -432.0, + 352.0 + ], + [ + 288.0, + -272.0, + 352.0 + ], + [ + 64.0, + -272.0, + 352.0 + ] + ] + }, + { + "firstedge": 130, + "lightofs": -1, + "numedges": 5, + "planenum": 5, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 3, + "vertices": [ + [ + -160.0, + 176.0, + 352.0 + ], + [ + -160.0, + 16.0, + 352.0 + ], + [ + -160.0, + -48.0, + 352.0 + ], + [ + 64.0, + -48.0, + 352.0 + ], + [ + 64.0, + 176.0, + 352.0 + ] + ] + }, + { + "firstedge": 135, + "lightofs": -1, + "numedges": 5, + "planenum": 5, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 3, + "vertices": [ + [ + -160.0, + -48.0, + 352.0 + ], + [ + -160.0, + -208.0, + 352.0 + ], + [ + -160.0, + -272.0, + 352.0 + ], + [ + 64.0, + -272.0, + 352.0 + ], + [ + 64.0, + -48.0, + 352.0 + ] + ] + }, + { + "firstedge": 140, + "lightofs": -1, + "numedges": 4, + "planenum": 5, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 3, + "vertices": [ + [ + -160.0, + -272.0, + 352.0 + ], + [ + -160.0, + -432.0, + 352.0 + ], + [ + 64.0, + -432.0, + 352.0 + ], + [ + 64.0, + -272.0, + 352.0 + ] + ] + }, + { + "firstedge": 144, + "lightofs": -1, + "numedges": 4, + "planenum": 6, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 4, + "vertices": [ + [ + 203.82337951660156, + -64.17662048339844, + 232.6518096923828 + ], + [ + 139.82337951660156, + -0.17662350833415985, + 142.1421356201172 + ], + [ + 149.82337951660156, + -10.176623344421387, + 128.0 + ], + [ + 213.82337951660156, + -74.17662048339844, + 218.50967407226563 + ] + ] + }, + { + "firstedge": 148, + "lightofs": -1, + "numedges": 4, + "planenum": 7, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 4, + "vertices": [ + [ + 112.0, + -176.0, + 218.50967407226563 + ], + [ + 48.0, + -112.0, + 128.0 + ], + [ + 38.0, + -102.0, + 142.1421356201172 + ], + [ + 102.0, + -166.0, + 232.6518096923828 + ] + ] + }, + { + "firstedge": 152, + "lightofs": -1, + "numedges": 4, + "planenum": 8, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 5, + "vertices": [ + [ + 213.82337951660156, + -74.17662048339844, + 218.50967407226563 + ], + [ + 112.0, + -176.0, + 218.50967407226563 + ], + [ + 102.0, + -166.0, + 232.6518096923828 + ], + [ + 203.82337951660156, + -64.17662048339844, + 232.6518096923828 + ] + ] + }, + { + "firstedge": 156, + "lightofs": -1, + "numedges": 4, + "planenum": 9, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 6, + "vertices": [ + [ + 139.82337951660156, + -0.17662350833415985, + 142.1421356201172 + ], + [ + 38.0, + -102.0, + 142.1421356201172 + ], + [ + 48.0, + -112.0, + 128.0 + ], + [ + 149.82337951660156, + -10.176623344421387, + 128.0 + ] + ] + }, + { + "firstedge": 160, + "lightofs": -1, + "numedges": 4, + "planenum": 10, + "side": 1, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 7, + "vertices": [ + [ + 149.82337951660156, + -10.176623344421387, + 128.0 + ], + [ + 48.0, + -112.0, + 128.0 + ], + [ + 112.0, + -176.0, + 218.50967407226563 + ], + [ + 213.82337951660156, + -74.17662048339844, + 218.50967407226563 + ] + ] + }, + { + "firstedge": 164, + "lightofs": -1, + "numedges": 4, + "planenum": 11, + "side": 0, + "styles": [ + 255, + 255, + 255, + 255 + ], + "texinfo": 8, + "vertices": [ + [ + 203.82337951660156, + -64.17662048339844, + 232.6518096923828 + ], + [ + 102.0, + -166.0, + 232.6518096923828 + ], + [ + 38.0, + -102.0, + 142.1421356201172 + ], + [ + 139.82337951660156, + -0.17662350833415985, + 142.1421356201172 + ] + ] + } + ], + "leaffaces": [ + 20, + 21, + 23, + 26, + 27, + 29, + 4, + 5, + 6, + 7, + 16, + 17, + 18, + 19, + 32, + 21, + 22, + 26, + 27, + 28, + 29, + 30, + 14, + 15, + 16, + 17, + 34, + 37, + 30, + 29, + 26, + 20, + 21, + 17, + 36, + 35, + 13, + 12, + 7, + 6, + 29, + 24, + 23, + 21, + 20, + 33, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 31, + 30, + 29, + 28, + 27, + 25, + 24, + 23, + 22, + 21, + 3, + 2, + 1, + 0 + ], + "leafs": [ + { + "ambient_level": [ + 0, + 0, + 0, + 0 + ], + "area": 0, + "cluster": 0, + "contents": -2, + "firstleafbrush": 0, + "firstmarksurface": 0, + "maxs": [ + 0.0, + 0.0, + 0.0 + ], + "mins": [ + 0.0, + 0.0, + 0.0 + ], + "numleafbrushes": 0, + "nummarksurfaces": 0, + "visofs": 0 + }, + { + "ambient_level": [ + 0, + 0, + 0, + 0 + ], + "area": 0, + "cluster": 0, + "contents": -1, + "firstleafbrush": 0, + "firstmarksurface": 0, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -37.0, + -149.0, + 96.0 + ], + "numleafbrushes": 0, + "nummarksurfaces": 15, + "visofs": -1 + }, + { + "ambient_level": [ + 0, + 0, + 0, + 0 + ], + "area": 0, + "cluster": 0, + "contents": -1, + "firstleafbrush": 0, + "firstmarksurface": 15, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -160.0, + -353.0, + 96.0 + ], + "numleafbrushes": 0, + "nummarksurfaces": 12, + "visofs": -1 + }, + { + "ambient_level": [ + 0, + 0, + 0, + 0 + ], + "area": 0, + "cluster": 0, + "contents": -1, + "firstleafbrush": 0, + "firstmarksurface": 27, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -160.0, + -353.0, + 96.0 + ], + "numleafbrushes": 0, + "nummarksurfaces": 4, + "visofs": -1 + }, + { + "ambient_level": [ + 0, + 0, + 0, + 0 + ], + "area": 0, + "cluster": 0, + "contents": -1, + "firstleafbrush": 0, + "firstmarksurface": 31, + "maxs": [ + 288.0, + 174.0, + 352.0 + ], + "mins": [ + -160.0, + -353.0, + 96.0 + ], + "numleafbrushes": 0, + "nummarksurfaces": 4, + "visofs": -1 + }, + { + "ambient_level": [ + 0, + 0, + 0, + 0 + ], + "area": 0, + "cluster": 0, + "contents": -1, + "firstleafbrush": 0, + "firstmarksurface": 35, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -160.0, + -353.0, + 96.0 + ], + "numleafbrushes": 0, + "nummarksurfaces": 10, + "visofs": -1 + }, + { + "ambient_level": [ + 0, + 0, + 0, + 0 + ], + "area": 0, + "cluster": 0, + "contents": -1, + "firstleafbrush": 0, + "firstmarksurface": 45, + "maxs": [ + 288.0, + 96.0, + 352.0 + ], + "mins": [ + -160.0, + -432.0, + 96.0 + ], + "numleafbrushes": 0, + "nummarksurfaces": 23, + "visofs": -1 + } + ], + "models": [ + { + "firstface": 0, + "headnode": [ + 0, + 0, + 35, + 0, + 0, + 0, + 0, + 0 + ], + "maxs": [ + 303.0, + 191.0, + 367.0 + ], + "mins": [ + -175.0, + -447.0, + 81.0 + ], + "numfaces": 38, + "origin": [ + 0.0, + 0.0, + 0.0 + ], + "visleafs": 6 + } + ], + "nodes": [ + { + "children": [ + 1, + -1 + ], + "firstface": 0, + "maxs": [ + 328.0, + 216.0, + 392.0 + ], + "mins": [ + -200.0, + -472.0, + 56.0 + ], + "numfaces": 4, + "planenum": 0 + }, + { + "children": [ + -1, + 2 + ], + "firstface": 4, + "maxs": [ + 328.0, + 216.0, + 392.0 + ], + "mins": [ + -200.0, + -432.0, + 56.0 + ], + "numfaces": 4, + "planenum": 1 + }, + { + "children": [ + 3, + -1 + ], + "firstface": 8, + "maxs": [ + 328.0, + 176.0, + 392.0 + ], + "mins": [ + -200.0, + -432.0, + 56.0 + ], + "numfaces": 6, + "planenum": 2 + }, + { + "children": [ + -1, + 4 + ], + "firstface": 14, + "maxs": [ + 328.0, + 176.0, + 392.0 + ], + "mins": [ + -160.0, + -432.0, + 56.0 + ], + "numfaces": 6, + "planenum": 3 + }, + { + "children": [ + 5, + -1 + ], + "firstface": 20, + "maxs": [ + 288.0, + 176.0, + 392.0 + ], + "mins": [ + -160.0, + -432.0, + 56.0 + ], + "numfaces": 6, + "planenum": 4 + }, + { + "children": [ + -1, + 6 + ], + "firstface": 26, + "maxs": [ + 288.0, + 176.0, + 392.0 + ], + "mins": [ + -160.0, + -432.0, + 96.0 + ], + "numfaces": 6, + "planenum": 5 + }, + { + "children": [ + -2, + 7 + ], + "firstface": 32, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -160.0, + -432.0, + 96.0 + ], + "numfaces": 1, + "planenum": 6 + }, + { + "children": [ + 8, + -7 + ], + "firstface": 33, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -160.0, + -432.0, + 96.0 + ], + "numfaces": 1, + "planenum": 7 + }, + { + "children": [ + -3, + 9 + ], + "firstface": 34, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -160.0, + -353.0, + 96.0 + ], + "numfaces": 1, + "planenum": 8 + }, + { + "children": [ + 10, + -6 + ], + "firstface": 35, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -160.0, + -353.0, + 96.0 + ], + "numfaces": 1, + "planenum": 9 + }, + { + "children": [ + 11, + -5 + ], + "firstface": 36, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -160.0, + -353.0, + 96.0 + ], + "numfaces": 1, + "planenum": 10 + }, + { + "children": [ + -4, + -1 + ], + "firstface": 37, + "maxs": [ + 288.0, + 176.0, + 352.0 + ], + "mins": [ + -160.0, + -353.0, + 96.0 + ], + "numfaces": 1, + "planenum": 11 + } + ], + "planes": [ + { + "dist": -432.0, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + }, + { + "dist": 176.0, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + }, + { + "dist": -160.0, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": 288.0, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": 96.0, + "normal": [ + 0.0, + 0.0, + 1.0 + ], + "type": 2 + }, + { + "dist": 352.0, + "normal": [ + 0.0, + 0.0, + 1.0 + ], + "type": 2 + }, + { + "dist": 98.74516296386719, + "normal": [ + 0.7071067690849304, + 0.7071067690849304, + 0.0 + ], + "type": 3 + }, + { + "dist": -45.25483322143555, + "normal": [ + 0.7071067690849304, + 0.7071067690849304, + 1.4921397450962104e-13 + ], + "type": 4 + }, + { + "dist": 298.5096740722656, + "normal": [ + 0.5, + -0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": 170.50967407226563, + "normal": [ + 0.5, + -0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": 10.509668350219727, + "normal": [ + -0.5, + 0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": 30.509668350219727, + "normal": [ + -0.5, + 0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": 160.0, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + }, + { + "dist": 320.0, + "normal": [ + 0.0, + 0.0, + 1.0 + ], + "type": 2 + }, + { + "dist": 120.0, + "normal": [ + 0.0, + 0.0, + 1.0 + ], + "type": 2 + }, + { + "dist": 272.0, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": 79.96859741210938, + "normal": [ + 0.8164966106414795, + 0.0, + -0.5773502588272095 + ], + "type": 3 + }, + { + "dist": 327.66302490234375, + "normal": [ + 0.8164966106414795, + 0.0, + 0.5773502588272095 + ], + "type": 3 + }, + { + "dist": 108.8419418334961, + "normal": [ + 0.0, + 0.8164966106414795, + 0.5773502588272095 + ], + "type": 4 + }, + { + "dist": -226.274169921875, + "normal": [ + -0.7071067690849304, + 0.7071067690849304, + 0.0 + ], + "type": 4 + }, + { + "dist": 121.3725814819336, + "normal": [ + 0.7071067690849304, + 0.7071067690849304, + 0.0 + ], + "type": 3 + }, + { + "dist": -296.7803649902344, + "normal": [ + 0.0, + 0.8164966106414795, + -0.5773502588272095 + ], + "type": 4 + }, + { + "dist": 331.480224609375, + "normal": [ + 0.5, + -0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": -49.0859375, + "normal": [ + 0.0, + 0.8164966106414795, + 0.5773502588272095 + ], + "type": 4 + }, + { + "dist": -28.117748260498047, + "normal": [ + -0.5, + 0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": -77.95928192138672, + "normal": [ + 0.8164966106414795, + 0.0, + -0.5773502588272095 + ], + "type": 3 + }, + { + "dist": 63.48023223876953, + "normal": [ + -0.5, + 0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": -76.3675308227539, + "normal": [ + -0.7071067690849304, + 0.7071067690849304, + 0.0 + ], + "type": 4 + }, + { + "dist": -67.88224792480469, + "normal": [ + 0.7071067690849304, + 0.7071067690849304, + 1.4921397450962104e-13 + ], + "type": 4 + }, + { + "dist": 229.82337951660156, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": 256.65179443359375, + "normal": [ + 0.0, + 0.0, + 1.0 + ], + "type": 2 + }, + { + "dist": 15.823376655578613, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + }, + { + "dist": -144.0, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": 22.0, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": -416.0, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + }, + { + "dist": -192.0, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + }, + { + "dist": 144.0, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + }, + { + "dist": 288.0, + "normal": [ + 0.0, + 0.0, + 1.0 + ], + "type": 2 + }, + { + "dist": 256.0, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": 111.50775146484375, + "normal": [ + 0.8164966106414795, + 0.0, + -0.5773502588272095 + ], + "type": 3 + }, + { + "dist": 340.7269592285156, + "normal": [ + 0.8164966106414795, + 0.0, + 0.5773502588272095 + ], + "type": 3 + }, + { + "dist": 121.9058837890625, + "normal": [ + 0.0, + 0.8164966106414795, + 0.5773502588272095 + ], + "type": 4 + }, + { + "dist": -248.90158081054688, + "normal": [ + -0.7071067690849304, + 0.7071067690849304, + 0.0 + ], + "type": 4 + }, + { + "dist": 144.0, + "normal": [ + 0.7071067690849304, + 0.7071067690849304, + 0.0 + ], + "type": 3 + }, + { + "dist": -309.84429931640625, + "normal": [ + 0.0, + 0.8164966106414795, + -0.5773502588272095 + ], + "type": 4 + }, + { + "dist": 347.480224609375, + "normal": [ + 0.5, + -0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": -80.62509155273438, + "normal": [ + 0.0, + 0.8164966106414795, + 0.5773502588272095 + ], + "type": 4 + }, + { + "dist": -66.74516296386719, + "normal": [ + -0.5, + 0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": -91.02322387695313, + "normal": [ + 0.8164966106414795, + 0.0, + -0.5773502588272095 + ], + "type": 3 + }, + { + "dist": 79.48023223876953, + "normal": [ + -0.5, + 0.5, + 0.7071067690849304 + ], + "type": 5 + }, + { + "dist": -53.740116119384766, + "normal": [ + -0.7071067690849304, + 0.7071067690849304, + 0.0 + ], + "type": 4 + }, + { + "dist": -90.5096664428711, + "normal": [ + 0.7071067690849304, + 0.7071067690849304, + 1.4921397450962104e-13 + ], + "type": 4 + }, + { + "dist": 245.82337951660156, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": 31.823375701904297, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + }, + { + "dist": -128.0, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": 6.0, + "normal": [ + 1.0, + 0.0, + 0.0 + ], + "type": 0 + }, + { + "dist": -400.0, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + }, + { + "dist": -208.0, + "normal": [ + 0.0, + 1.0, + 0.0 + ], + "type": 1 + } + ], + "surfedges": [ + 1, + 2, + 3, + 4, + 5, + 6, + -4, + 7, + 8, + 9, + -3, + 10, + 11, + 12, + -7, + -9, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + -15, + 20, + 21, + -16, + 22, + 23, + -22, + -19, + 24, + -8, + 25, + 26, + 27, + 28, + 29, + 30, + -11, + -28, + 31, + -27, + 32, + 33, + 34, + 35, + 36, + 37, + -31, + -35, + 38, + -20, + 39, + -34, + 40, + -23, + 41, + -38, + -39, + 42, + 43, + -1, + 44, + 45, + -6, + 46, + 47, + 48, + -44, + 49, + 50, + -45, + 51, + 52, + -48, + 53, + 54, + 55, + -51, + -14, + 56, + -52, + 57, + -17, + -57, + -55, + 58, + -18, + -58, + -54, + 59, + 60, + -53, + -47, + 61, + 62, + -59, + -46, + -5, + 63, + -61, + -36, + -41, + -24, + -60, + 64, + -29, + -37, + -64, + -62, + 65, + -30, + -65, + -63, + -12, + -49, + -56, + -13, + 66, + 67, + -42, + -50, + -67, + 68, + 69, + -2, + -43, + -69, + 70, + -40, + -33, + 71, + -66, + -21, + -32, + -26, + 72, + -68, + -71, + -25, + -10, + -70, + -72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + -80, + 82, + -76, + 83, + -78, + 84, + -74, + -84, + -77, + -81, + -75, + -82, + -79, + -83, + -73 + ], + "texinfo": [ + { + "flags": 0, + "miptex": 0, + "nexttexinfo": 0, + "texture": "", + "value": 0, + "vecs": [ + [ + -1.0, + 0.0, + 0.0, + -16.0 + ], + [ + 0.0, + 0.0, + -1.0, + -32.0 + ] + ] + }, + { + "flags": 0, + "miptex": 0, + "nexttexinfo": 0, + "texture": "", + "value": 0, + "vecs": [ + [ + 0.0, + 1.0, + 0.0, + 0.0 + ], + [ + 0.0, + 0.0, + -1.0, + -32.0 + ] + ] + }, + { + "flags": 0, + "miptex": 1, + "nexttexinfo": 0, + "texture": "", + "value": 0, + "vecs": [ + [ + -1.0, + 0.0, + 0.0, + 16.0 + ], + [ + 0.0, + -1.0, + 0.0, + 16.0 + ] + ] + }, + { + "flags": 0, + "miptex": 1, + "nexttexinfo": 0, + "texture": "", + "value": 0, + "vecs": [ + [ + -1.0, + 0.0, + 0.0, + 0.0 + ], + [ + 0.0, + -1.0, + 0.0, + 0.0 + ] + ] + }, + { + "flags": 0, + "miptex": 0, + "nexttexinfo": 0, + "texture": "", + "value": 0, + "vecs": [ + [ + -0.5, + 0.5, + -0.7071067690849304, + 106.50967407226563 + ], + [ + 0.5, + -0.5, + -0.7071067690849304, + -97.4903335571289 + ] + ] + }, + { + "flags": 0, + "miptex": 0, + "nexttexinfo": 0, + "texture": "", + "value": 0, + "vecs": [ + [ + -0.7071067690849304, + -0.7071067690849304, + 0.0, + 98.74516296386719 + ], + [ + 0.5, + -0.5, + -0.7071067690849304, + -97.4903335571289 + ] + ] + }, + { + "flags": 0, + "miptex": 0, + "nexttexinfo": 0, + "texture": "", + "value": 0, + "vecs": [ + [ + 0.7071067690849304, + 0.7071067690849304, + 0.0, + -66.74516296386719 + ], + [ + 0.5, + -0.5, + -0.7071067690849304, + -97.4903335571289 + ] + ] + }, + { + "flags": 0, + "miptex": 0, + "nexttexinfo": 0, + "texture": "", + "value": 0, + "vecs": [ + [ + -0.5, + 0.5, + -0.7071067690849304, + 106.50967407226563 + ], + [ + 0.7071067690849304, + 0.7071067690849304, + 0.0, + -114.74516296386719 + ] + ] + }, + { + "flags": 0, + "miptex": 0, + "nexttexinfo": 0, + "texture": "", + "value": 0, + "vecs": [ + [ + -0.5, + 0.5, + -0.7071067690849304, + 106.50967407226563 + ], + [ + -0.7071067690849304, + -0.7071067690849304, + 0.0, + 98.74516296386719 + ] + ] + } + ], + "vertexes": [ + [ + 288.0, + -432.0, + 128.0 + ], + [ + 288.0, + -432.0, + 352.0 + ], + [ + 64.0, + -432.0, + 352.0 + ], + [ + 64.0, + -432.0, + 128.0 + ], + [ + 64.0, + -432.0, + 96.0 + ], + [ + 288.0, + -432.0, + 96.0 + ], + [ + -160.0, + -432.0, + 352.0 + ], + [ + -160.0, + -432.0, + 128.0 + ], + [ + -160.0, + -432.0, + 96.0 + ], + [ + 64.0, + 176.0, + 352.0 + ], + [ + 288.0, + 176.0, + 352.0 + ], + [ + 288.0, + 176.0, + 128.0 + ], + [ + 64.0, + 176.0, + 128.0 + ], + [ + 288.0, + 176.0, + 96.0 + ], + [ + 64.0, + 176.0, + 96.0 + ], + [ + -160.0, + 176.0, + 128.0 + ], + [ + -160.0, + 176.0, + 352.0 + ], + [ + -160.0, + 176.0, + 96.0 + ], + [ + -160.0, + -272.0, + 352.0 + ], + [ + -160.0, + -208.0, + 352.0 + ], + [ + -160.0, + -208.0, + 128.0 + ], + [ + -160.0, + -208.0, + 96.0 + ], + [ + -160.0, + -272.0, + 96.0 + ], + [ + -160.0, + -48.0, + 352.0 + ], + [ + -160.0, + 16.0, + 352.0 + ], + [ + -160.0, + 16.0, + 128.0 + ], + [ + -160.0, + 16.0, + 96.0 + ], + [ + -160.0, + -48.0, + 96.0 + ], + [ + 288.0, + -208.0, + 352.0 + ], + [ + 288.0, + -272.0, + 352.0 + ], + [ + 288.0, + -208.0, + 128.0 + ], + [ + 288.0, + -272.0, + 96.0 + ], + [ + 288.0, + -208.0, + 96.0 + ], + [ + 288.0, + 16.0, + 352.0 + ], + [ + 288.0, + -48.0, + 352.0 + ], + [ + 288.0, + 16.0, + 128.0 + ], + [ + 288.0, + -48.0, + 96.0 + ], + [ + 288.0, + 16.0, + 96.0 + ], + [ + 64.0, + -48.0, + 96.0 + ], + [ + 64.0, + -272.0, + 96.0 + ], + [ + 64.0, + -48.0, + 352.0 + ], + [ + 64.0, + -272.0, + 352.0 + ], + [ + 203.82337951660156, + -64.17662048339844, + 232.6518096923828 + ], + [ + 139.82337951660156, + -0.17662350833415985, + 142.1421356201172 + ], + [ + 149.82337951660156, + -10.176623344421387, + 128.0 + ], + [ + 213.82337951660156, + -74.17662048339844, + 218.50967407226563 + ], + [ + 112.0, + -176.0, + 218.50967407226563 + ], + [ + 48.0, + -112.0, + 128.0 + ], + [ + 38.0, + -102.0, + 142.1421356201172 + ], + [ + 102.0, + -166.0, + 232.6518096923828 + ] + ] +} \ No newline at end of file diff --git a/testmaps/reference_bsp_json/qbsp_angled_brush.bsp.qbsplog b/testmaps/reference_bsp_json/qbsp_angled_brush.bsp.qbsplog new file mode 100644 index 00000000..821cd268 --- /dev/null +++ b/testmaps/reference_bsp_json/qbsp_angled_brush.bsp.qbsplog @@ -0,0 +1,88 @@ +---- qbsp / ericw-tools v0.18.1-373-gca7002c ---- +Input file: qbsp_angled_brush.map +Output file: qbsp_angled_brush.bsp + +SetQdirFromPath: no "maps" in 'C:\Users\Eric\Documents\ericwtools-vcpkgtest\testmaps\/qbsp_angled_brush.map' +---- LoadMapFile ---- +*** WARNING 06: No info_player_deathmatch entities in level + 42 faces + 7 brushes + 3 entities + 2 unique texnames + 31 texinfo + +Opened WAD: deprecated/free_wad.wad +Opened WAD: deprecated/fence.wad +Opened WAD: deprecated/origin.wad +Opened WAD: deprecated/hintskip.wad +Processing hull 0... +---- Brush_LoadEntity ---- + 7 brushes + 18 planes +---- CSGFaces ---- + 42 brushfaces + 42 csgfaces + 42 mergedfaces +---- SolidBSP ---- + 30 split nodes + 7 solid leafs + 24 empty leafs + 0 water leafs + 0 detail leafs + 0 detail illusionary leafs + 0 detail fence leafs + 0 illusionary visblocker leafs + 156 leaffaces + 126 nodefaces +---- Portalize ---- + 24 vis leafs + 24 vis clusters + 52 vis portals +---- FillOutside ---- + 18 outleafs +---- MergeAll ---- + 12 mergefaces +---- SolidBSP ---- + 12 split nodes + 7 solid leafs + 6 empty leafs + 0 water leafs + 0 detail leafs + 0 detail illusionary leafs + 0 detail fence leafs + 0 illusionary visblocker leafs + 68 leaffaces + 38 nodefaces +---- Portalize ---- + 6 vis leafs + 6 vis clusters + 12 vis portals +---- Tjunc ---- + 40 world edges + 124 edge points + 16 edges added by tjunctions + 0 faces added by tjunctions +---- MakeFaceEdges ---- +---- GrowRegions ---- +Processing hull 1... +Processing hull 2... +---- WriteBSPFile ---- +Writing qbsp_angled_brush.bsp as BSP version Quake BSP +Wrote qbsp_angled_brush.bsp + 1 models + 58 planes 1160 + 50 vertexes 600 + 12 nodes 288 + 9 texinfos 360 + 38 faces 760 + 70 clipnodes 560 + 7 leafs 196 + 68 marksurfaces 136 + 85 edges 340 + 168 surfedges 672 + 2 textures 27292 + lightdata 0 + visdata 0 + entdata 319 + +0.055 seconds elapsed