Commit Graph

265 Commits

Author SHA1 Message Date
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
Jonathan 360daea172 fix test failure from map parsing 2022-07-29 22:41:57 -04:00
Jonathan d9a9046e46 fix some foot-guns with qbsp_plane_t - type is auto-set now 2022-07-28 05:51:55 -04: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 876646eeeb testqbsp: use "-tjunc rotate" on tests which are testing for a strict number of faces output 2022-07-22 22:40:24 -06:00
Jonathan da9546e260 change settings semantics to be simpler and more clear:
- no more "isLocked" - use getSource directly (locked is a confusing name)
- no more split parse/setValue functions. there's only one entry point each now, and all they do is pass along the source passed to it from its parser.
- no separate setters, use setValue(value, source)
- add a "game target" source, which is low priority and indicates to the user that the value would have been default but was changed to a better value for the game target
2022-07-14 09:03:59 -04:00
Eric Wasylishen 7f955a5247 testmaps: add q1_tjunc_angled_face 2022-07-13 00:59:46 -06:00
Eric Wasylishen a604c448c1 testqbsp: relax detail_illusionary_intersecting to pass with new tjunc code 2022-07-13 00:22:36 -06:00
Eric Wasylishen e2fe6f8963 testqbsp: turn on the q1 maps test on release builds 2022-07-12 23:36:55 -06:00
Eric Wasylishen f1f558b069 testqbsp: add detail_illusionary + water test 2022-07-12 00:07:39 -06:00
Eric Wasylishen da7e36390f testqbsp: start some contentflags tests 2022-07-12 00:02:05 -06:00
Eric Wasylishen f86a5343fb qbsp: rename options -> qbsp_options 2022-07-10 17:30:00 -06:00
Eric Wasylishen 1c59cc3a44 tests: add INCLUDE_DIRECTORIES(${EMBREE_INCLUDE_DIRS}) 2022-07-10 17:01:25 -06:00
Eric Wasylishen 050886f32c tests: unify tests under one target
to ease sharing code. vis/light tests are going to need the testqbsp infrastructure.
2022-07-10 16:36:15 -06:00