Eric Wasylishen
|
af2dd987d8
|
qbsp: import BaseWindingForNode from qbsp3
|
2022-06-17 22:10:11 -06:00 |
Eric Wasylishen
|
3e2045479b
|
qbsp: move .prt writing to prtfile.cc to align with qbsp3
|
2022-06-17 20:31:37 -06:00 |
Jonathan
|
95cd13373a
|
slight speed improvement
|
2022-06-17 15:10:20 -04:00 |
Jonathan
|
b0dad9d01d
|
save a few more cycles by just using raw pointers. it's a bit uglier, but this is hard to represent with shared_ptr and I think it was the wrong choice anyways since the ownership chain is difficult to represent in a shared_ptr here.
|
2022-06-17 14:56:17 -04:00 |
Jonathan
|
c3bb07acaa
|
~33% speed improvement on vis by using already-allocated memory for the vis stack
|
2022-06-17 13:53:35 -04:00 |
Jonathan
|
46aaa81ffd
|
simplify/c++-ize CompressRow code and related areas (less allocations overall)
|
2022-06-17 12:06:37 -04:00 |
Jonathan
|
238a7b8fa7
|
document FACENORMALS lump
|
2022-06-17 10:59:24 -04:00 |
Eric Wasylishen
|
2248b8cd73
|
testqbsp: add more portal assertions
|
2022-06-17 02:41:39 -06:00 |
Eric Wasylishen
|
00d9d403ea
|
testqbsp: fix wrong winding constructor being chosen
|
2022-06-17 01:58:26 -06:00 |
Eric Wasylishen
|
259d95e47c
|
testqbsp: add a first portal test
|
2022-06-17 01:53:08 -06:00 |
Eric Wasylishen
|
da346a931a
|
testqbsp: quick setup of code to run test suite against a reference q1 compiler
|
2022-06-17 00:59:18 -06:00 |
Eric Wasylishen
|
7ac4012f92
|
testqbsp: replace map.leakfile checks with checking .prt file existence
|
2022-06-16 23:33:55 -06:00 |
Eric Wasylishen
|
0edd52517a
|
testqbsp: read .prt files back in
|
2022-06-16 23:22:15 -06:00 |
Eric Wasylishen
|
f1823f30fa
|
testqbsp: rename LoadTestmap -> LoadTestmapQ1
|
2022-06-16 23:05:00 -06:00 |
Eric Wasylishen
|
f6309a91cb
|
vis: move .prt reader to common
|
2022-06-16 21:55:03 -06:00 |
Eric Wasylishen
|
b173e18e51
|
vis: refactor LoadPortals
|
2022-06-16 21:39:22 -06:00 |
Jonathan
|
3094fd8c29
|
Merge branch 'type-cleanup' into brushbsp
|
2022-06-16 22:03:11 -04:00 |
Eric Wasylishen
|
8c90c5c3dc
|
qbsp: fix dangling std::string access through string_view
|
2022-06-16 20:58:46 -04:00 |
Eric Wasylishen
|
a746506d6a
|
clang-cl build fix
|
2022-06-16 20:54:15 -04:00 |
Jonathan
|
0b67acd4ba
|
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
# Conflicts:
# include/common/bspfile.hh
|
2022-06-16 20:22:36 -04:00 |
Jonathan
|
e57633bbca
|
the old Safe read/writes are gonedy now
|
2022-06-16 20:22:03 -04:00 |
Eric Wasylishen
|
b164b7b250
|
bspfile: fix bad optional access on Q1 maps
|
2022-06-16 17:14:40 -06:00 |
Eric Wasylishen
|
83271c5dac
|
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
|
2022-06-16 17:06:45 -06:00 |
Jonathan
|
62f5867581
|
remove old use of SafeWrite/Read
|
2022-06-16 18:05:53 -04:00 |
Jonathan
|
1431384b28
|
don't display mirror_inside/clips_same_type in to_string if, with the native contents value alone, it will have the same outcome as if it wasn't there at all
|
2022-06-16 13:52:12 -04:00 |
Jonathan
|
0f86849038
|
remove gamedef_generic; there's never any place where it could accidentally be used anyways.
|
2022-06-16 12:08:11 -04:00 |
Jonathan
|
5855ab3528
|
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
|
2022-06-16 12:06:45 -04:00 |
Jonathan
|
d872514b56
|
split bspfile.hh into multiple files which store the respective BSP info for the different BSP types; bspfile_generic stores the upper-most data (the superset of all BSP types), whereas the individual files contain the subsets.
|
2022-06-16 12:06:37 -04:00 |
Jonathan
|
740ab24626
|
bspx stuff into its own file
change the printing to be less redundant on BSP version
|
2022-06-16 10:59:22 -04:00 |
Jonathan
|
f53a6a19fe
|
move extended_texinfo_t to qbsp, since it's only used during compilation and not related to the BSP file
|
2022-06-16 09:50:00 -04:00 |
Jonathan
|
41ef66190f
|
consistency rename; gtexinfo_t -> mtexinfo_t
|
2022-06-16 09:36:31 -04:00 |
Jonathan
|
617cd3b089
|
consistency rename; texdata_t -> maptexdata_t
|
2022-06-16 09:35:46 -04:00 |
Jonathan
|
c62480c337
|
consistency rename; mtexinfo_t -> maptexinfo_t
|
2022-06-16 09:35:08 -04:00 |
Eric Wasylishen
|
b8dcc7535e
|
qbsp: rename FreeAllPortals -> FreeTreePortals_r
|
2022-06-15 23:27:39 -06:00 |
Eric Wasylishen
|
dfb8d7c9fc
|
qbsp: refactoring portal code towards qbsp3
|
2022-06-15 21:37:19 -06:00 |
Eric Wasylishen
|
2a2ea90bc7
|
bspfile.cc: add missing 'override's
|
2022-06-15 19:22:35 -06:00 |
Eric Wasylishen
|
7ffae0754c
|
Merge remote-tracking branch 'github-desktop-paril/type-cleanup' into brushbsp
|
2022-06-15 19:15:48 -06:00 |
Jonathan
|
8afcc54b74
|
move making contents valid from brush parsing into gamedef
|
2022-06-15 09:07:37 -04:00 |
Eric Wasylishen
|
3474dd00c5
|
qbsp: add portal_t::onnode, tree_t from qbsp3
|
2022-06-15 00:45:58 -06:00 |
Eric Wasylishen
|
27baeb8657
|
testqbsp: add check for no bspx lumps
|
2022-06-14 23:48:49 -06:00 |
Eric Wasylishen
|
f5ed79c936
|
qbsp: fix dangling std::string access through string_view
|
2022-06-14 21:33:48 -06:00 |
Eric Wasylishen
|
0c24e7bbd0
|
clang-cl build fix
|
2022-06-14 20:18:06 -06:00 |
Jonathan
|
7911782a3b
|
only use alias data if it's classname or if it's not overridden
|
2022-06-14 19:37:36 -04:00 |
Jonathan
|
23ae3edd56
|
implement entity aliases
|
2022-06-14 18:47:44 -04:00 |
Jonathan
|
eedabe6f1c
|
fix bugs
|
2022-06-14 18:38:22 -04:00 |
Jonathan
|
17656eff78
|
don't return string ref, since it can be modified after it's inserted because of the vector growing
|
2022-06-14 18:34:01 -04:00 |
Jonathan
|
78b979d670
|
Merge branch 'type-cleanup' into brushbsp
# Conflicts:
# include/light/entities.hh
# qbsp/brush.cc
# qbsp/map.cc
|
2022-06-14 17:19:30 -04:00 |
Jonathan
|
d24ea4922a
|
entdict cleanup
|
2022-06-14 17:18:13 -04:00 |
Jonathan
|
f1fd0bd30f
|
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
|
2022-06-14 10:50:54 -04:00 |
Jonathan
|
54c3103bdc
|
mark it as warning
|
2022-06-14 10:50:47 -04:00 |