Commit Graph

1996 Commits

Author SHA1 Message Date
Eric Wasylishen a34f3df88d qbsp: surfaces.cc: use std::map for vertex hashing 2017-07-17 16:35:11 -06:00
Eric Wasylishen 3e9e388545 qbsp: surfaces.cc: refactor vertex hashing 2017-07-17 16:06:03 -06:00
Eric Wasylishen fc7a085893 qbsp: surfaces.cc: rewrite edge hash to use std::map
ad_test1.map compiles to a binary-identical .bsp
2017-07-17 16:05:46 -06:00
Eric Wasylishen 68111df578 testmaps: remove DM8.map (map scrap) 2017-07-15 13:54:28 -06:00
Eric Wasylishen 8b9f5ea40a qbsp: fix handling of duplicate planes
fixes spurious leak in e1m4.map
2017-07-15 13:51:26 -06:00
Eric Wasylishen a3cb25b46a build: build-osx.sh: fail build if id1 maps leak 2017-07-15 12:59:50 -06:00
Eric Wasylishen 983a9afbd2 qbsp: add bash script to leak test all of the id1 maps 2017-07-15 12:38:13 -06:00
Eric Wasylishen ceff3bba82 qbsp: fix const warning 2017-07-15 12:37:15 -06:00
Eric Wasylishen 1a15d5f0e9 qbsp: add -leaktest option (from q2) 2017-07-15 12:23:11 -06:00
Eric Wasylishen 5d204036b7 testmaps: add quake map sources 2017-07-15 11:58:11 -06:00
Eric Wasylishen 0263f95e59 qbsp: add -expand flag from q3map for testing hull1 expansion 2017-07-11 17:54:28 -06:00
Eric Wasylishen 2710f9b1a1 qbsp: remove/comment dead code 2017-07-11 00:07:32 -06:00
Eric Wasylishen be2799578f qbsp: remove dead code (extrafaces) 2017-07-11 00:05:57 -06:00
Eric Wasylishen 53743ddf0e qbsp: SubdivideFace: revert change to splitting logic from 1630b87
Fixes #160
2017-07-10 21:46:14 -06:00
Eric Wasylishen f54abd9a2c qbsp: WriteBSPFile: print the bsp file name to the log 2017-07-10 21:26:06 -06:00
Eric Wasylishen 240d65f788 qbsp: outside.cc rewrite
- no more recursively traversing portals, as this can overflow the stack
- better outside filling and .pts file generation, inspired by q3map
  (do a bfs from all leafs with entities, storing the number of steps
   from an occupied leaf in each leaf. Then do a dfs from the outside node
   to the first entity we hit.)
- .por file writing was dropped for now, can be re-added later
2017-07-10 12:46:22 -06:00
Eric Wasylishen bb3e296a0d qbsp: FillOutside: count portals yourself 2017-07-09 01:06:49 -06:00
Eric Wasylishen 3069996a6f qbsp: portals.cc: remove statics, move to portal_state_t struct 2017-07-09 00:46:06 -06:00
Eric Wasylishen d63aa409cc qbsp: add comment 2017-07-09 00:04:47 -06:00
Eric Wasylishen e848d00f92 qbsp: get an actual test for #158, currently disabled 2017-07-08 17:38:33 -06:00
Eric Wasylishen fbb72248bb build: fix appveyor.yml 2017-07-08 16:24:17 -06:00
Eric Wasylishen 01fa4a9f58 qbsp: set up test case for #158 2017-07-08 16:23:08 -06:00
Eric Wasylishen 34a6bf7876 qbsp: add testqbsp target 2017-07-08 15:49:14 -06:00
Eric Wasylishen 7656d5c2f1 qbsp: external map: merge all brush entities with worldspawn 2017-07-07 20:26:27 -06:00
Eric Wasylishen 60cff88335 docs: update bug report URL 2017-07-07 16:08:57 -06:00
Eric Wasylishen c0b88b7e99 light: fixes for degenerate faces 2017-07-05 20:43:47 -06:00
Eric Wasylishen 014b5265b8 qbsp: doc updates 2017-07-05 20:12:01 -06:00
Eric Wasylishen a4e3a3a887 Revert "qbsp: move node_t markfaces list to a std::vector"
This reverts commit 31df408333.
2017-07-05 18:10:56 -07:00
Eric Wasylishen 89c035a95a qbsp: update qbsp manual 2017-07-05 16:18:38 -06:00
Eric Wasylishen cef3b3da9f qbsp: misc_external_map: add "_external_map_angles" for pitch/yaw/roll 2017-07-05 15:13:09 -06:00
Eric Wasylishen 4853dd40ee mathlib: RotateAboutX/Y/Z: change to double 2017-07-05 15:02:24 -06:00
Eric Wasylishen cf6af89bdf qbsp: fix some comments 2017-07-03 17:48:43 -06:00
Eric Wasylishen 117f568cd7 qbsp: don't write unused texinfo.
also cleanup planes writing
2017-07-03 01:58:26 -06:00
Eric Wasylishen 31df408333 qbsp: move node_t markfaces list to a std::vector 2017-07-02 21:03:41 -06:00
Eric Wasylishen 0cba9c5138 qbsp: clarify node->children comment 2017-07-02 20:44:16 -06:00
Eric Wasylishen 97787e9d2c qbsp: add extrafaces argument to MakeFaceEdges 2017-07-02 20:06:41 -06:00
Eric Wasylishen eef45d79eb qbsp: more refactoring GrowNodeRegion 2017-07-02 17:27:35 -06:00
Eric Wasylishen 014770b212 qbsp: refactor GrowNodeRegion 2017-07-02 17:18:19 -06:00
Eric Wasylishen d7e90b1cf2 qbsp: PrintBSPFileSizes: reformat 2017-07-02 16:34:55 -06:00
Eric Wasylishen 80380fa7fd qbsp: drop ExportNodePlanes. Planes were already deduplicated by
FindPlanes.
2017-07-01 17:25:02 -06:00
Eric Wasylishen c5370b16eb light: update -help text 2017-06-27 19:31:19 -06:00
Eric Wasylishen 7631c736d6 light: update manual 2017-06-27 16:00:56 -06:00
Eric Wasylishen 6f07303504 light: implement _shadowworldonly, fix _shadowself which was broken 2017-06-27 14:48:27 -06:00
Eric Wasylishen 62db977309 light: add _shadow, _shadowself, _shadowworldonly testmap 2017-06-27 14:05:43 -06:00
Eric Wasylishen fef1142808 light: add shadowworldonlylist 2017-06-27 13:13:32 -06:00
Eric Wasylishen 78ed70e2a5 light: modelinfo_t: take bsp param 2017-06-27 12:59:17 -06:00
Eric Wasylishen eb7be5cd57 light: add _shadowworldonly key (unimplemented) 2017-06-27 12:57:54 -06:00
Eric Wasylishen 25d6aad5bf light: add _selfshadow as an alias for _shadowself 2017-06-27 12:27:39 -06:00
Eric Wasylishen 4dcfc12f50 light: refactor _shadowself handling 2017-06-26 17:42:50 -06:00
Eric Wasylishen 563307445d light: fix logic for switching lightmaps for switchable shadows 2017-06-26 14:20:15 -06:00