Commit Graph

238 Commits

Author SHA1 Message Date
Eric Wasylishen 251a6dc7ca testmaps: add a more minimal q1_rocks that's just a cube 2022-08-19 22:55:27 -06:00
Eric Wasylishen 648ffab77b testqbsp: improve q1_rocks test 2022-08-19 22:10:16 -06:00
Eric Wasylishen 10051ceff5 testmaps: remove some accidental brushes in q1_hull_expansion_lip.map
testqbsp: more detailed q1_hull_expansion_lip tests for clipnodes

testqbsp: decompile hull1 of testmaps by default

testqbsp: corrections to the q1_hull_expansion_lip.map expectation

adjust gitignore
2022-08-19 20:49:59 -06:00
Eric Wasylishen 832ab0ee94 testqbsp: q1_hull_expansion_lip.map: move detail to world as a temp workaround
for -debugexpand only expanding world brushes
2022-08-19 01:14:38 -06:00
Eric Wasylishen 8ce72efba2 testmaps: add q1_hull_expansion_lip.map
which is getting incorrectly expanded
2022-08-16 00:35:47 -06:00
Eric Wasylishen d88bedd153 testqbsp: add q1_rocks.map test with obj2map style brushes 2022-08-15 01:07:47 -06:00
Eric Wasylishen 244399b6f7 testqbsp: make q1_hull1_content_types seal in hull1/2 2022-08-14 21:40:49 -06:00
Eric Wasylishen 0642ad16d3 testqbsp: start a hull1 content type test 2022-08-14 18:14:56 -06:00
Eric Wasylishen 35859a6ea4 tests: add q1_wad_mapname test 2022-08-14 13:45:31 -06:00
Eric Wasylishen 995ac04673 tests: add a few clipnode count tests
adjust qbsp_simple_worldspawn_detail.map so it seals in hull1/2
2022-08-13 20:11:22 -06:00
Eric Wasylishen e05a2bdf75 qbsp: "-add additional.map" feature 2022-08-01 19:13:10 -06:00
Eric Wasylishen f665cd5cb6 testqbsp: rename our copy of base1.map to base1-test.map
for easier loading in game in Q2
2022-07-31 21:29:25 -06:00
Eric Wasylishen a2451a41fb qbsp: rewrite of q1 contents representation in bspfile.cc
use q2-like bitflags so we can represent mixes like (water | mist), which we need within the compiler
2022-07-27 02:31:49 -06:00
Eric Wasylishen 7f955a5247 testmaps: add q1_tjunc_angled_face 2022-07-13 00:59:46 -06:00
Eric Wasylishen 6d847fed85 testqbsp: rename quake map source to have -test suffix, for easier loading in an id1/maps directory
otherwise vanilla engines will load the original .bsp's from the pak files
2022-07-12 23:13:46 -06:00
Eric Wasylishen 54a6762a05 qbsp: add edge sharing test 2022-07-10 01:25:28 -06:00
Eric Wasylishen c2a2890240 testqbsp: add texture metadata for some of the base1.map special textures
so we can compile a working version of the map
2022-07-07 01:21:50 -06:00
Eric Wasylishen 862d9bd5f2 testqbsp: add q1_clip_func_wall
Ensure submodels that are all "clip" get bounds set correctly
2022-06-30 00:53:02 -06:00
Eric Wasylishen 84263ef1a1 testqbsp: add model bounds test map 2022-06-22 22:11:40 -06:00
Eric Wasylishen 98e27cf620 testqbsp: improve water_detail_illusionary test 2022-06-21 01:16:55 -06:00
Eric Wasylishen 59d6169b3d qbsp: add a test of just a cube 2022-06-19 16:04:54 -06:00
Eric Wasylishen bf36bd56f7 qbsp: fix qbsp_q1_sealing test case 2022-06-14 02:03:50 -06:00
Eric Wasylishen a309e8467b testmaps: add qbsp_q1_sealing.map 2022-06-14 00:44:50 -06:00
Eric Wasylishen 4e7ecbf9ff testqbsp: add qbsp_q2_detail_seals 2022-06-13 22:50:01 -06:00
Eric Wasylishen 1cddbf1ad9 testqbsp: add qbsp_q2_seal_empty_rooms 2022-06-13 22:39:04 -06:00
Eric Wasylishen 2c8de8b877 q2_liquids.map: add lava/water covering each other tests 2022-06-11 14:07:19 -06:00
Eric Wasylishen 121c6384fe q2_liquids.map: "un-default" content/surface flags in TB so they don't require a baseq2 dir to compile correctly 2022-06-10 22:15:20 -06:00
Eric Wasylishen 28c6489968 q2_liquids.map, q2_water_trans.map from Paril 2022-06-10 22:11:59 -06:00
Eric Wasylishen ce1c2c2c19 qbsp_q2_detail: translate map so center doesn't get chopped in q2 tools 2022-06-10 20:18:35 -06:00
Eric Wasylishen c8841fb1bf testqbsp: add lavawater test 2022-06-08 01:01:17 -06:00
Eric Wasylishen ad8e6a7a75 testqbsp: bmodel collision issue where world and bmodel are interfering 2022-06-07 17:05:03 -06:00
Eric Wasylishen e3892617ed testqbsp: add testmap for q2 lava intersecting clip (fails currently) 2022-06-03 23:29:23 -06:00
Eric Wasylishen d43f10ae2b qbsp: fix areaportals touching detail 2022-06-01 22:01:48 -06:00
Eric Wasylishen e7f02daddb testmaps: remove obsolete shell script based test 2022-05-24 20:13:19 -06:00
Eric Wasylishen 7e53f84f4f testmaps: delete redundant test case 2022-05-24 19:53:14 -06:00
Eric Wasylishen e4f6201bbe testbqsp: add simple_sealed_rotated 2022-05-22 13:36:19 -06:00
Eric Wasylishen 215c6549b9 testqbsp: add test of nodraw + includeskip 2022-05-15 01:49:27 -06:00
Eric Wasylishen a1b8a38283 merge non-brush bsp specific changes from brushbsp branch 2022-05-11 01:58:53 -06:00
Eric Wasylishen 35d938607c testmaps: move lightstest1.map -> light_general.map 2022-02-19 14:03:43 -07:00
Eric Wasylishen ac3fb7801f automated_tests.sh: disable hash checks until they stabilize 2022-02-15 00:55:42 -07:00
Eric Wasylishen fefc0fc662 automated_tests.sh: fix bash syntax errors, don't run vis in parallel
makes it difficult to tell which map caused a vis crash
2022-02-06 15:00:29 -07:00
Eric Wasylishen e0981b356b testmaps: add qbsp_leaf_contents_bug.map 2022-01-29 22:10:10 -07:00
Eric Wasylishen 81f69b40f7 ci: add --continue-on-failure option to automated_tests.sh 2022-01-29 20:27:42 -07:00
Eric Wasylishen 84020b1335 Restore "skip the flips - saves us a bit of time!"
BSP output changes (should just be face order though)
2022-01-25 21:50:52 -07:00
Eric Wasylishen 0af808021e testmaps: hook up newer test maps 2022-01-25 21:23:44 -07:00
Eric Wasylishen 7e6ae905db testmaps: add qbsp_tjunc_many_sided_face.map 2022-01-25 19:50:21 -07:00
Eric Wasylishen 465aa791f5 testmaps: update qbspfeatures.bsp expected output
changed due to noclipfaces related change in prev commit
2022-01-22 21:11:31 -07:00
Eric Wasylishen ec3f24893d automated_tests.sh: fix bash weirdness 2022-01-15 16:11:40 -07:00
Eric Wasylishen 978b882381 automated_tests.sh: debugging test failure on appveyor 2022-01-15 15:30:11 -07:00
Eric Wasylishen 0dd7a73cc1 qbsp: flip brush clipping order to match original qbsp
Patch from Paril
2022-01-15 14:35:02 -07:00
Eric Wasylishen 38e27a38ec testmaps: add q2 detail/playerclip testmaps 2021-10-24 23:23:05 -06:00
Eric Wasylishen f56d6113b6 testmaps: regenerate hashes to account for 0 vs -0 change 2021-10-24 16:24:20 -06:00
Eric Wasylishen 0a827d56c6 testmaps: update reference .json to have embedded texture data 2021-10-24 14:56:43 -06:00
Eric Wasylishen 15930bb573 testmaps: update e1m1 hashes to account for outside filling change 2021-10-11 23:18:24 -06:00
Eric Wasylishen ebd3d4e5c2 testmaps: add qbsp_sealing_point_entity_on_outside.map 2021-10-11 22:50:32 -06:00
Eric Wasylishen ed1982b782 testmaps: update expected .json output to account for nexttexinfo change 2021-10-09 13:06:16 -06:00
Eric Wasylishen 100d364edf Merge remote-tracking branch 'origin/master' into pr/322 2021-10-08 19:04:48 -06:00
Eric Wasylishen f0e3d32ffc testmaps: ignore space change in json diff 2021-10-08 17:19:22 -06:00
Eric Wasylishen b855bbd0f2 testmaps: Add qbsp_angled_brush.map 2021-10-08 17:18:17 -06:00
Eric Wasylishen 33a454c700 Merge remote-tracking branch 'origin/master' into pr/322 2021-10-08 00:58:25 -06:00
Eric Wasylishen cfee292e5f qbsp: use fmt to print portals 2021-10-08 00:44:34 -06:00
Eric Wasylishen afcf84ba1c Merge remote-tracking branch 'origin/master' into pr/322 2021-10-07 23:56:03 -06:00
Eric Wasylishen 9610841dd7 qbsp: use fmt to print "origin" keys for rotators 2021-10-07 23:52:30 -06:00
Eric Wasylishen 447b9e0492 Merge remote-tracking branch 'origin/master' into pr/322 2021-10-07 23:40:57 -06:00
Eric Wasylishen a894bbd5de testmaps: add origin brush test 2021-10-07 23:33:59 -06:00
Eric Wasylishen e3f6dc9be0 Merge remote-tracking branch 'origin/master' into pr/322 2021-10-07 20:09:18 -06:00
Eric Wasylishen 532b35c5bf qbsp: insert new epairs at the end of an entity 2021-10-07 20:06:20 -06:00
Eric Wasylishen 3d8d803674 testmaps: ignore space change in json diff 2021-10-07 00:38:06 -06:00
Eric Wasylishen dddfc11dde Merge remote-tracking branch 'origin/master' into pr/322 2021-10-07 00:32:14 -06:00
Eric Wasylishen 681a916348 qbsp: wad.cc: zero out data after \0 in dmiptex_t.name
This is just for consistency with the cleanup branch which is also doing this
2021-10-07 00:31:11 -06:00
Eric Wasylishen 673e386c16 Merge remote-tracking branch 'origin/master' into pr/322 2021-10-06 22:23:25 -06:00
Eric Wasylishen 17d8c6f7ad testmaps: also save + diff expected log output for the tiny test maps 2021-10-06 22:19:18 -06:00
Eric Wasylishen e6c015a1b3 testmaps: change diff option for ignoring CRLF/LF differences 2021-10-06 21:52:49 -06:00
Eric Wasylishen 1ce3702e32 testmaps: ignore trailing space in .json diff (line ending differences) 2021-10-06 18:36:42 -06:00
Eric Wasylishen fcda291e9a testmaps: ignore trailing space in .json diff (line ending differences) 2021-10-06 18:31:09 -06:00
Eric Wasylishen 402c18bad0 Merge branch 'master' into pr/322 2021-10-06 18:00:39 -06:00
Eric Wasylishen ca7002cb38 qbsp: preserve .map file order of epairs 2021-10-06 17:58:20 -06:00
Eric Wasylishen dbbe2290a7 testmaps: commit .json of tiny test maps 2021-10-06 17:14:28 -06:00
Eric Wasylishen 7cf1107f83 testmaps: commit .json of tiny test maps 2021-10-06 17:09:52 -06:00
Eric Wasylishen a79772d988 testmaps: fix stale hash for qbsp_func_detail_illusionary_plus_water.map 2021-10-04 20:25:26 -06:00
Eric Wasylishen a7c3e70766 testmaps: add qbsp_func_detail_illusionary_plus_water.map 2021-10-04 19:27:24 -06:00
Eric Wasylishen 640befb4dc qbsp: write portals as binary to avoid line ending differences 2021-10-03 19:47:00 -06:00
Eric Wasylishen baf1bdf732 testmaps: also check hashes of .prt files. run vis processes in parallel. 2021-10-03 19:26:40 -06:00
Eric Wasylishen b01e9ef7b1 testmaps: add a new simple func_detail testmap 2021-10-03 19:19:11 -06:00
Eric Wasylishen 3bd65d5aa5 testmaps: add lava, water, sky, origin to qbspfeatures.map 2021-10-02 20:15:43 -06:00
Eric Wasylishen d4464a6503 testmaps: update hash 2021-10-01 23:25:39 -06:00
Eric Wasylishen 3e56b635c0 testmaps: update hashes 2021-10-01 23:17:48 -06:00
Eric Wasylishen 5dc3982a54 testmaps: update qbspfeatures.map 2021-10-01 22:58:45 -06:00
Eric Wasylishen af7e3308f6 qbsp: testmaps: add qbspfeatures.map 2021-09-27 00:00:41 -06:00
Eric Wasylishen 77cbc5780f tests: update onlyents hash (this branch is correct, master branch is broken) 2021-09-21 23:42:41 -06:00
Eric Wasylishen d86638d6f3 tests: commit E1M1-edited-ents.map for easier testing/debugging 2021-09-21 22:49:02 -06:00
Eric Wasylishen 2e7e886fa3 testmaps: -onlyents test 2021-09-20 23:35:41 -06:00
Eric Wasylishen a535a0bd1b ci: add -wrbrushes test 2021-09-20 21:40:55 -06:00
Eric Wasylishen f45f512922 testmaps: add phong test map 2021-09-20 19:42:25 -06:00
Eric Wasylishen d453ff6c01 ci: try forcing exit 0 2021-09-19 22:59:10 -06:00
Eric Wasylishen ab23e8cac5 ci :disable light test for now, because it's nondeterministic (at least across windows/mac) 2021-09-19 21:58:38 -06:00
Eric Wasylishen f2cffaa9e8 ci: run light single threaded 2021-09-19 18:57:00 -06:00
Eric Wasylishen d01c30ea9b ci: run vis single threaded, refresh expected hashes 2021-09-19 18:46:40 -06:00
Eric Wasylishen 87c65fffed ci: initial commit of test map hashes 2021-09-19 16:29:42 -06:00
Eric Wasylishen 2446134b23 ci: add hash checking and generating functionality 2021-09-19 16:23:23 -06:00