From 591f0e773a8abd5cc8fe08a8aa6b6cec3d095143 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Tue, 14 Feb 2017 16:16:57 -0700 Subject: [PATCH] lightstest1.map: add tests of more corner cases - minlight on bmodels that are partially sticking out of the world - "_shadow" "1" bmodels on the middle of world faces --- testmaps/lightstest1.map | 66 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 62 insertions(+), 4 deletions(-) diff --git a/testmaps/lightstest1.map b/testmaps/lightstest1.map index 10004e07..e06cdfc6 100644 --- a/testmaps/lightstest1.map +++ b/testmaps/lightstest1.map @@ -398,27 +398,36 @@ ( 96 -528 16 ) ( 96 -160 32 ) ( 96 -160 16 ) narrow 48 -0 -0 1 1 ( -1248 -528 16 ) ( -1248 -160 32 ) ( -1248 -528 32 ) narrow 48 -0 -0 1 1 ( -160 1184 16 ) ( 96 1184 32 ) ( -160 1184 32 ) narrow -32 -0 -0 1 1 +( 216 576 80 ) ( 56 576 80 ) ( 56 576 208 ) narrow -32 0 0 1 1 ( -160 -528 80 ) ( 96 -160 80 ) ( 96 -528 80 ) archeo1 64 80 -0 1 1 ( -160 -528 16 ) ( 96 -160 16 ) ( -160 -160 16 ) narrow -32 -48 -0 1 1 -( 216 576 80 ) ( 56 576 80 ) ( 56 576 208 ) narrow -32 0 0 1 1 } // brush 44 { ( -448 -528 16 ) ( -448 -160 32 ) ( -448 -160 16 ) narrow 48 -0 -0 1 1 ( -1248 -528 16 ) ( -1248 -160 32 ) ( -1248 -528 32 ) narrow 48 -0 -0 1 1 +( 216 576 80 ) ( 56 576 208 ) ( 56 576 80 ) narrow -32 0 0 1 1 +( 80 112 80 ) ( 32 112 80 ) ( 32 112 208 ) narrow -32 0 0 1 1 ( -160 -528 80 ) ( 96 -160 80 ) ( 96 -528 80 ) archeo1 64 80 -0 1 1 ( -160 -528 16 ) ( 96 -160 16 ) ( -160 -160 16 ) narrow -32 -48 -0 1 1 -( 80 112 80 ) ( 32 112 80 ) ( 32 112 208 ) narrow -32 0 0 1 1 -( 216 576 80 ) ( 56 576 208 ) ( 56 576 80 ) narrow -32 0 0 1 1 } // brush 45 { ( 96 -528 16 ) ( 96 -160 32 ) ( 96 -160 16 ) narrow 48 -0 -0 1 1 ( -1248 -528 16 ) ( -1248 -160 32 ) ( -1248 -528 32 ) narrow 48 -0 -0 1 1 +( 80 112 80 ) ( 32 112 208 ) ( 32 112 80 ) narrow -32 0 0 1 1 ( -160 -1408 16 ) ( 96 -1408 32 ) ( 96 -1408 16 ) narrow -32 -0 -0 1 1 ( -160 -528 80 ) ( 96 -160 80 ) ( 96 -528 80 ) archeo1 64 80 -0 1 1 ( -160 -528 16 ) ( 96 -160 16 ) ( -160 -160 16 ) narrow -32 -48 -0 1 1 -( 80 112 80 ) ( 32 112 208 ) ( 32 112 80 ) narrow -32 0 0 1 1 +} +// brush 46 +{ +( 320 -176 32 ) ( 544 -176 48 ) ( 544 -176 32 ) narrow 32 -48 -0 1 1 +( 288 -176 32 ) ( 288 -160 48 ) ( 288 -176 48 ) narrow 96 -48 -0 1 1 +( 320 -176 80 ) ( 544 -160 80 ) ( 320 -160 80 ) narrow 32 -0 -0 1 1 +( 320 -176 208 ) ( 544 -160 208 ) ( 544 -176 208 ) narrow 32 -0 -0 1 1 +( 320 -160 32 ) ( 544 -160 48 ) ( 320 -160 48 ) narrow 32 -48 -0 1 1 +( 544 -176 32 ) ( 544 -160 48 ) ( 544 -160 32 ) narrow 96 -48 -0 1 1 } } // entity 1 @@ -2656,3 +2665,52 @@ "origin" "480 256 104" "angle" "-0" } +// entity 111 +{ +"classname" "func_door" +"angle" "-1" +"_minlight" "100" +"_minlight_color" "252 119 112" +// brush 0 +{ +( 368 -64 -192 ) ( 384 -64 -176 ) ( 384 -64 -192 ) shuttledoor1 -0 -16 -0 1 1 +( 320 -32 -192 ) ( 320 -16 -176 ) ( 320 -32 -176 ) shuttledoor1 -0 -16 -0 1 1 +( 368 -32 -144 ) ( 384 -16 -144 ) ( 368 -16 -144 ) shuttle2 -0 -0 -0 1 1 +( 368 -32 112 ) ( 384 -16 112 ) ( 384 -32 112 ) shuttle2 -0 -0 -0 1 1 +( 368 -0 -192 ) ( 384 -0 -176 ) ( 368 -0 -176 ) shuttledoor1 -0 -16 -0 1 1 +( 384 -32 -192 ) ( 384 -16 -176 ) ( 384 -16 -192 ) shuttledoor1 -0 -16 -0 1 1 +} +} +// entity 112 +{ +"classname" "func_wall" +"_shadow" "1" +// brush 0 +{ +( 496 -160 128 ) ( 496 -160 160 ) ( 496 -144 160 ) stlight2 -0 -0 -0 1 1 +( 496 -144 160 ) ( 464 -144 160 ) ( 464 -160 128 ) stlight2 16 -0 -0 1 1 +( 464 -160 128 ) ( 464 -160 160 ) ( 496 -160 160 ) stlight2 16 -0 -0 1 1 +( 496 -160 160 ) ( 464 -160 160 ) ( 464 -144 160 ) stlight2 16 -0 -0 1 1 +( 464 -144 160 ) ( 464 -160 160 ) ( 464 -160 128 ) stlight2 -0 -0 -0 1 1 +} +// brush 1 +{ +( 368 -160 128 ) ( 368 -160 160 ) ( 368 -144 160 ) stlight2 -0 -0 -0 1 1 +( 368 -144 160 ) ( 336 -144 160 ) ( 336 -160 128 ) stlight2 16 -0 -0 1 1 +( 336 -160 128 ) ( 336 -160 160 ) ( 368 -160 160 ) stlight2 16 -0 -0 1 1 +( 368 -160 160 ) ( 336 -160 160 ) ( 336 -144 160 ) stlight2 16 -0 -0 1 1 +( 336 -144 160 ) ( 336 -160 160 ) ( 336 -160 128 ) stlight2 -0 -0 -0 1 1 +} +} +// entity 113 +{ +"classname" "light_flame_small_white" +"origin" "480 -152 172" +"angle" "-0" +} +// entity 114 +{ +"classname" "light_flame_small_white" +"origin" "352 -152 172" +"angle" "-0" +}