Commit Graph

475 Commits

Author SHA1 Message Date
Eric Wasylishen 8236efa613 csg4.cc: clarify SaveInsideFaces docs and add assertions 2017-06-01 14:25:14 -06:00
Eric Wasylishen e3b7b9615a qbsp: fix check for needing PRT2 (unlikely to matter on real maps) 2017-06-01 01:16:36 -06:00
Eric Wasylishen 213e4b9f7d qbsp: add a -nodetail switch, for debugging func_detail issues 2017-05-31 23:23:53 -06:00
Eric Wasylishen f5d4cd9202 qbsp: add -forceprt1 option for generating a PRT1 to load in editors
This is for previewing the portals between clusters, since no editors
can load PRT2.
2017-05-31 23:18:04 -06:00
Eric Wasylishen 8385797ce7 csg4.cc: add a clarifying comment 2017-05-31 13:09:42 -06:00
Eric Wasylishen 224b0c4d2e qbsp: "Couldn't create brush faces": print .map line number 2017-04-30 19:05:01 -06:00
Eric Wasylishen 85a4249852 qbsp: csg: make hint brushes never clip anything else. 2017-04-30 12:39:12 -06:00
Eric Wasylishen 8f4b506608 qbsp: refactor cmake setup 2017-04-28 13:04:51 -06:00
Eric Wasylishen 64efc77055 qbsp: expose some stuff in qbsp.hh 2017-04-28 13:04:44 -06:00
Eric Wasylishen 3ec36f6550 qbsp: use common/cmdlib 2017-04-26 15:08:49 -06:00
Eric Wasylishen a548ada3d0 qbsp: fix build 2017-04-26 14:57:23 -06:00
Eric Wasylishen 32eaa99d40 qbsp: rename our plane_t to qbsp_plane_t 2017-04-26 14:55:26 -06:00
Eric Wasylishen 8c89e128c7 qbsp: drop internal mathlib 2017-04-26 14:51:27 -06:00
Eric Wasylishen 902c45c946 all: make VectorCompare take an explicit epsilon 2017-04-26 14:20:45 -06:00
Eric Wasylishen 68b084a6c3 replace glm with qvec 2017-04-24 00:26:49 -06:00
Eric Wasylishen 1f7bd69385 qbsp: optimize FindTexinfo 2017-04-22 16:59:14 -06:00
Eric Wasylishen 43798edcfe qbsp: split out winding.hh 2017-04-20 20:09:24 -06:00
Eric Wasylishen 9034eb107a qbsp: move remaining headers to include directory 2017-04-20 19:52:06 -06:00
Eric Wasylishen c34d958d7a qbsp: split up qbsp.hh 2017-04-20 19:44:10 -06:00
Eric Wasylishen 66744e33e2 qbsp: map conversion: output epairs in the correct order 2017-03-27 19:36:53 -06:00
Eric Wasylishen 30b8503ccf qbsp: -convert quake: silence annoying warnings 2017-03-26 17:46:31 -06:00
Eric Wasylishen 73082828b4 qbsp: don't use regex stuff, doesn't work on the travis version of gcc 2017-03-26 17:41:22 -06:00
Eric Wasylishen ed89dc487a qbsp: add docs for -convert option 2017-03-26 17:07:52 -06:00
Eric Wasylishen 62f17545b9 qbsp: expose LoadBrush in header 2017-03-26 16:41:16 -06:00
Eric Wasylishen af355a87be qbsp: fix -convert quake2 2017-03-26 16:35:26 -06:00
Eric Wasylishen f3caed2f8b qbsp: support -convert quake2 to write classic q2/q3 format with three 0 flags 2017-03-26 16:06:21 -06:00
Eric Wasylishen 32b001b4d9 qbsp: fix typo in QuakeEd .map conversion 2017-03-26 16:05:33 -06:00
Eric Wasylishen dbec32efaf qbsp: -convert bp: write 0 0 0 face flags 2017-03-26 15:49:15 -06:00
Eric Wasylishen 8294e1d750 qbsp: change -convert valve220 to shorter -convert valve 2017-03-26 15:32:58 -06:00
Eric Wasylishen 75c3fdadf6 qbsp: rewrite .map printing code. Print as integers if it can be done losslessly. 2017-03-26 15:29:36 -06:00
Eric Wasylishen 2fe14087db qbsp: QuakeEd .map conversion: normalize shifts 2017-03-26 15:08:10 -06:00
Eric Wasylishen 6c336738c4 qbsp: QuakeEd .map conversion: drop the RMSE test as it sometimes picked worse visual results (wood roof trim in ad_swampy) 2017-03-26 14:42:13 -06:00
Eric Wasylishen 39c137c2a3 qbsp: SetTexinfo_QuakeEd_New: treat scale=0 as scale=1 2017-03-26 13:00:07 -06:00
Eric Wasylishen 94ba5560c7 qbsp: fix QuakeEd map conversion 2017-03-26 12:40:06 -06:00
Eric Wasylishen ce673b813e qbsp: remove dead code 2017-03-23 14:40:03 -06:00
Eric Wasylishen 5fae648506 qbsp: refactor TexDef_BSPToValve 2017-03-23 14:39:34 -06:00
Eric Wasylishen 57bed163be qbsp: change "brushprimtivies" label to shorter "bp" 2017-03-23 14:38:08 -06:00
Eric Wasylishen 78d517a99d qbsp: remove placeholder entity inserted at the end of the vecotr 2017-03-22 19:22:23 -06:00
Eric Wasylishen 6f17758fc7 qbsp: quake/valve map output: avoid divide by 0 when calculating scale 2017-03-22 18:27:13 -06:00
Eric Wasylishen be78da93e8 qbsp: quark ETP: add missing negative sign to match bjptools-xt output 2017-03-22 17:13:36 -06:00
Eric Wasylishen fc2b5e438d qbsp: brush primitives output 2017-03-22 16:39:43 -06:00
Eric Wasylishen e8a7e55bb7 qbsp: refactoring to SetTexinfo_BrushPrimitives 2017-03-22 16:39:43 -06:00
Eric Wasylishen 3dda0e9c4e qbsp: hook up "to quake" conversion 2017-03-22 02:39:55 -06:00
Eric Wasylishen aab47605bb qbsp: add TexDef_BSPToQuakeEd() 2017-03-22 02:12:16 -06:00
Eric Wasylishen f04f34524c qbsp: TextureAxisFromPlane: add extra param for returning the snapped axis 2017-03-22 01:11:21 -06:00
Eric Wasylishen 1f3d38a611 qbsp mathlib: add helper for getting angle between vectors 2017-03-22 01:07:32 -06:00
Eric Wasylishen 8e1b7effca qbsp: mark unreachable code 2017-03-22 00:40:33 -06:00
Eric Wasylishen c2bb2bea32 qbsp: first draft of * to valve220 conversion 2017-03-21 21:01:10 -06:00
Eric Wasylishen d607aa1a89 qbsp: whitespace fix 2017-03-21 21:01:10 -06:00
Eric Wasylishen a6f56d9111 qbsp: add -omitdetail option 2017-02-27 13:26:01 -07:00