Commit Graph

2237 Commits

Author SHA1 Message Date
Eric Wasylishen a8a564300c tests: move unused tests to deprecated folder 2021-09-19 15:26:48 -06:00
Eric Wasylishen e0cce38d55 tests: add vis to path before running regression tests
move leaktest invocation to automated_tests.sh
2021-09-19 15:24:46 -06:00
Eric Wasylishen e9052f3002 Revert "Q2BSP + QBSP (#313)"
This reverts commit eaa86c71c6.
2021-09-19 14:58:34 -06:00
Eric Wasylishen 5465ab4ff6 Revert "Q2bsp VIS support (#315)"
This reverts commit 90973e1198.
2021-09-19 14:56:25 -06:00
Eric Wasylishen ff8b2e3446 gitignore: ignore bsp/log/prt/vis files in test dirs 2021-09-19 14:03:36 -06:00
Eric Wasylishen 61b0c276c3 automated_tests.sh: wip new testing system 2021-09-19 14:01:54 -06:00
Jonathan f89d5534b6 yay I can test tests now 2021-09-13 11:24:40 -04:00
Jonathan 4944ea36c7 set game on tests 2021-09-13 11:15:08 -04:00
Jonathan 75c303b503 last fix :( 2021-09-13 11:03:10 -04:00
Jonathan e3378432ff Fix test_qbsp (needs proper fixes, this is just a temp one) 2021-09-13 10:24:14 -04:00
Jonathan c575334dff Fix testlight 2021-09-13 10:15:11 -04:00
Eric Wasylishen d2ea0cee41 Merge remote-tracking branch 'origin/master' into qbsp-use-common 2021-09-12 23:04:42 -06:00
Eric Wasylishen 28b4ec7f3f
ci: fix linux CI (#321) 2021-09-12 16:40:56 -06:00
Eric Wasylishen f284b96375 ci: quiet some log spam 2021-09-12 14:35:28 -06:00
Jonathan ae02ff5393 Implement leafbrushes cache
Fix bmodel leafbrushes (tank Spoike)
2021-09-12 13:27:39 -04:00
Jonathan 42cc946db1 Fix texinfo 2021-09-12 11:14:52 -04:00
Jonathan 1cf9817092 JSON output support 2021-09-12 11:10:21 -04:00
Jonathan 91f0c47128 remove test code
fix two errors
2021-09-12 08:38:21 -04:00
Jonathan c95a1e2ccb q2 and bug fixes
# Conflicts:
#	include/qbsp/qbsp.hh
#	include/qbsp/winding.hh
#	qbsp/brush.cc
#	qbsp/csg4.cc
#	qbsp/merge.cc
2021-09-12 08:34:01 -04:00
Eric Wasylishen ac79487e4d ci: mac: use embree's official package over homebrew.
Has @rpath set up already
2021-09-12 01:30:20 -06:00
Eric Wasylishen 3f2d8c57c1 build: fix finding embree license with mac package 2021-09-12 01:30:20 -06:00
Eric Wasylishen bd3452bfdc build: simplify light build (embree handling) 2021-09-12 01:30:20 -06:00
Eric Wasylishen 527c63f55f build: remove obsolete cmake min required in subprojects 2021-09-12 01:30:20 -06:00
Eric Wasylishen 1b586e62d9 ci: mac: print shared library deps 2021-09-12 01:30:20 -06:00
xDShot 4a1feadaab
#include <limits.h> (#319)
Fixes error about undefined INT_MAX in common/bspfile.cc
2021-09-12 00:15:02 -06:00
Eric Wasylishen 81d58e5e89 test: add -noverbose to qbsp invocations 2021-09-11 13:47:36 -06:00
Eric Wasylishen 66f6362773 ci: checkout recursive 2021-09-11 13:27:11 -06:00
Eric Wasylishen 3d9d167360 build: fix build-osx.sh 2021-09-11 13:12:25 -06:00
Eric Wasylishen 2c3afefa50 cmake.yml: fix typo 2021-09-11 12:42:44 -06:00
Eric Wasylishen 82cd5e43ea cmake.yml: run existing build scripts 2021-09-11 12:41:49 -06:00
Eric Wasylishen 8b00905549
ci: github actions starter script 2021-09-11 11:50:10 -06:00
Ozkan Sezer b2911290a7
fix hexen2 hull sizes (#318) 2021-09-11 11:46:03 -06:00
Jonathan 8cdb9ff6c4 Initial attempt at leafbrushes 2021-09-09 05:11:47 -04:00
Jonathan 35040d1bd3 Q2 working sorta 2021-09-09 02:13:28 -04:00
Jonathan 9800f4f738 Mostly all native!! 2021-09-09 00:26:17 -04:00
Ozkan Sezer 69cb6b981f
bsputil: write ents in binary mode and print its crc in 4-digit hex (#317) 2021-09-08 17:50:32 -06:00
Jonathan 004fcb57c1 Content flags type, splitting up native and compiler flags.
Extreme WIP and likely not working properly. Need to rid all direct .native usages and direct them through target_version->game
2021-09-07 06:13:17 -04:00
Jonathan c16bbf403d Change miptex thingies to handle const as the comment wishes they would
Use optional to properly indicate the intended purpose of optional/"unset" values rather than a magic number (also because for some reason outputnum was stuck at 0 even though it defaults to -1 and I didn't want to debug why)
beginning of Q2 contents
2021-09-07 03:24:16 -04:00
Jonathan 00efa6e67d Fix operator<
Introduce gamedef, to reduce rewriting of data in bspversions
fix name of needs_subdivision
include value in texinfo, in prep for Q2
2021-09-07 01:41:32 -04:00
Jonathan acc65953ce Use tie for mtexinfo too 2021-09-06 22:15:59 -04:00
Jonathan 398b865c96 throw array in there too 2021-09-06 22:13:45 -04:00
Jonathan 9602772450 Use tie for operator</> of surfflags_t 2021-09-06 22:12:57 -04:00
Jonathan 437459a4dd Finish using game everywhere 2021-09-06 18:09:13 -04:00
Jonathan dd3bcebe39 Fix missing newline 2021-09-06 17:29:09 -04:00
Jonathan 01d1400971 Merge branch 'qbsp-use-common' of https://github.com/ericwa/ericw-tools into qbsp-use-common
# Conflicts:
#	common/bspfile.cc
#	qbsp/writebsp.cc
2021-09-06 17:27:42 -04:00
Jonathan 8c7df2b062 Merge branch 'master' into qbsp-use-common
# Conflicts:
#	qbsp/writebsp.cc
2021-09-06 17:25:12 -04:00
Jonathan 3bc9b1b0f8 Instead of directly comparing BSP version pointers just for game type, I compacted quake2/hexen2 into a single enum.
Feature check in bspver for colored lightmaps, which replaces the many "version == q2 || version == qbism || version == hl".
2021-09-06 17:13:37 -04:00
Eric Wasylishen 99f1da85a7 Merge remote-tracking branch 'origin/master' into qbsp-use-common 2021-09-06 15:12:09 -06:00
Eric Wasylishen 5fef157f53 qbsp: take floor/ceil of node/leaf bounds even for bsp2
for consistency with refactor branch
2021-09-06 14:53:05 -06:00
Eric Wasylishen 71bb22dc28 qbsp: auto switch to extended limits formats 2021-09-06 14:20:51 -06:00