Commit Graph

  • ecf9a46e78 std::vector<bspAdvertisement_t> bspAds Garux 2021-09-27 13:29:59 +0300
  • ce0dd55cc5 std::vector<bspFog_t> bspFogs Garux 2021-09-27 12:56:08 +0300
  • 4642753564 std::vector<bspDrawSurface_t> bspDrawSurfaces Garux 2021-09-27 06:14:12 +0300
  • 7993cc8a1f std::vector<int> bspDrawIndexes Garux 2021-09-26 22:10:46 +0300
  • c58bd839da std::vector<bspDrawVert_t> bspDrawVerts Garux 2021-09-26 21:41:46 +0300
  • 560060a908 std::vector<byte> bspVisBytes Garux 2021-09-26 20:34:41 +0300
  • 28dfbaa5ab std::vector<bspGridPoint_t> bspGridPoints Garux 2021-09-26 20:01:26 +0300
  • e4d6e63e91 std::vector<byte> bspLightBytes Garux 2021-09-25 19:16:25 +0300
  • f5c1a11a66 std::vector<bspBrushSide_t> bspBrushSides Garux 2021-09-25 10:17:51 +0300
  • 9f63742fda std::vector<std::uint8_t> opaqueBrushes Garux 2021-09-24 17:35:58 +0300
  • 260dc59d4a std::vector<bspBrush_t> bspBrushes Garux 2021-09-24 17:05:00 +0300
  • a20717c364 std::vector<int> bspLeafBrushes Garux 2021-09-24 16:27:10 +0300
  • 6066fe2cc2 std::vector<int> bspLeafSurfaces Garux 2021-09-24 16:16:02 +0300
  • b1f32e6faa std::vector<bspNode_t> bspNodes Garux 2021-09-24 16:06:34 +0300
  • bccd3bafd7 std::vector<bspPlane_t> bspPlanes Garux 2021-09-24 15:43:24 +0300
  • 76d2b565b3 std::vector<bspLeaf_t> bspLeafs Garux 2021-09-24 15:25:58 +0300
  • 6267f1d0af std::vector<char> bspEntData Garux 2021-09-24 13:57:17 +0300
  • 58911934e0 std::vector<bspShader_t> bspShaders Garux 2021-09-24 13:39:04 +0300
  • 6e2fc92576 std::vector<bspModel_t> bspModels Garux 2021-09-24 12:11:11 +0300
  • 0e0a295330 * new: bsp export/import in json format; Usage: q3map2 -json <-unpack|-pack> [-v] <mapname> Garux 2021-09-23 03:11:43 +0300
  • 29ba8c4876 refactor command line arguments parsing Garux 2021-09-19 11:58:00 +0300
  • 02a3b9c026 use ostream_write( CopiedString ) Garux 2021-09-18 15:30:11 +0300
  • b78513f9f8 refactor InitPaths() get rid of MAX_OS_PATH Garux 2021-09-17 19:50:36 +0300
  • e22e6169c9 * -fs_basegame gamename: Overrides default game directory name (e.g. Q3A uses 'baseq3', OpenArena 'baseoa', so -game quake3 -fs_basegame baseoa for OA ) Garux 2021-09-16 15:26:55 +0300
  • 97ad9bf5c5 separate path manipulating functions unlimit VFS_MAXDIRS Garux 2021-09-15 08:07:05 +0300
  • e1186dd734 subdivide files Garux 2021-09-13 22:29:44 +0300
  • dbeb2d0718 rename game -> g_game Garux 2021-09-13 18:49:09 +0300
  • 5c5f698c28 use standard [[ noreturn ]] attribute add ENSURE macro Garux 2021-09-13 18:22:44 +0300
  • ef635cd95c remove direct uses of MAIN_C macro Garux 2021-09-13 16:33:29 +0300
  • 68b8d7d5dc refactor game configs: using class inheritance to avoid massive duplication Garux 2021-09-13 16:11:01 +0300
  • 34fc3d0a5d minor tweaks Garux 2021-09-08 20:03:15 +0300
  • 18c741a960 remove unused side_t field Garux 2021-09-08 19:45:04 +0300
  • 77f2e39af5 minor tweaks Garux 2021-09-08 19:40:09 +0300
  • f3321cef5f * auto fog direction: try all sides, not just axial; default to none, if no visible sides * q3map_fogDir: pick best matching side, not strict match only; ignore invisible 'bevel' sides Garux 2021-09-08 19:22:18 +0300
  • 23d82aa9ef * prioritize +Z fog visible side in ambiguous case (= -Z fog direction), as in fogged pit Garux 2021-09-08 10:11:49 +0300
  • 204c3138e2 emit warning on expected practical engine fog limit overflow Garux 2021-09-07 08:14:04 +0300
  • 43b5148447 remove -metaMaxBBoxDistance with current 'pre weld' strategy it's not optimization anymore, also wont work as option to merge non welded triangles with adjusted meta score Garux 2021-09-05 14:45:01 +0300
  • 191d489d62 * hasten MergeMetaTriangles and SmoothMetaTriangles to perform typically in 0 seconds * improve quality of metasurfaces and reduce their count in general case Garux 2021-09-05 11:37:00 +0300
  • bafb339c09 MergeMetaTriangles: epsilon compare st, improves merging imprecise sts, e.g. for nonplanar surfaces after q3map_tcgen or just brush face texture projection Garux 2021-09-03 06:23:40 +0300
  • d113eed245 improve MergeMetaTriangles out surfaces quality and reduce count Garux 2021-09-03 06:19:41 +0300
  • 7f8e548c2f * hasten MergeMetaTriangles greatly (around 30 times in worst case) this has negative impact on surfaces count in certain scenario (big axial surface of easily mergable triangles) it wins predecessor once we rotate such surface so may be consider choosing sorting plane per lump or mergables algorithm itself is dependent on test data ordering, thus best option would be tweaking it, not prerequisites redundant indexes suppressed count is always worse with this due to sorting nature, sorting per axial plane helps assuming this optimization is not important and case dependent Garux 2021-09-01 20:16:57 +0300
  • f067b5d6c3 tweak -meta Garux 2021-08-28 18:37:22 +0300
  • 0ad3d89d4a use spatially sorted indices during search of coincident vertices in AddMetaVertToSurface Garux 2021-08-28 10:56:50 +0300
  • e780b45696 enfasten -meta for nonplanar by doing cheap check 1st Garux 2021-08-27 17:13:26 +0300
  • 160c1d33db remove -texrange business (assuming it's not relevant for decades) optimize -meta (shave off 1/3 in worst case) Garux 2021-08-27 12:18:56 +0300
  • 8d71aea059 * Q2::surface inspector::brush face flags: add "Unset flags" button Garux 2021-08-24 18:57:59 +0300
  • b58408344c Q2 optional brush face flags in BP, 220 mapformats Garux 2021-08-24 18:55:34 +0300
  • 3129fd0bce refactor model clipping code Garux 2021-08-20 22:32:33 +0300
  • f0c393fcbf remove __attribute__ ((unused)) uses Garux 2021-08-19 23:14:18 +0300
  • 4c49b81c3a shorten g_archives syntax Garux 2021-08-19 13:16:38 +0300
  • aa4f3a1f72 reduce the use of GSlist Quake3FileSystem::forEachFile: avoid double extension check, support "*", as advertised Garux 2021-08-19 12:28:56 +0300
  • 41c3dfc96e add move constructor, assignment to String class Garux 2021-08-18 01:24:53 +0300
  • d82996d684 mbspc: fix q3 entities being loaded twice Garux 2021-08-15 18:54:28 +0300
  • 1372ea440b more move semantics Garux 2021-08-14 08:21:25 +0300
  • bb1931b745 * sort pk3s, so content of later (zzz) overrides earlier, like in radiant and engine * fix strong performance penalty with large amount of files in pk3s store pak file path once per pk3, not per each file inside Garux 2021-08-13 03:20:07 +0300
  • 4beae3d362 * support entries with .shader extension in shaderlist.txt vfsListShaderFiles (empty shaderlist = load all shaders, -pk3, -repack): only list pk3 .shaders from scripts/ folder support non scripts/ shaderPath (e.g. jka) unlimit shader files count case insensitive shaderlist entries, so duplicates aren't loaded twice Garux 2021-08-12 11:23:59 +0300
  • aa5de2fee9 wrap winding_next logic prevent crash in AddWindingToConvexHull() Garux 2021-08-11 18:18:38 +0300
  • f492ab27eb more c++ in q3map2 Garux 2021-08-10 22:41:43 +0300
  • 99f4a4a767 minor tweaks Garux 2021-08-03 20:54:21 +0300
  • 357f67f237 remove Q_EXTERN int numLights remove /* potential pre-setup */ : 1. it seems to never actually be the case 2. it is called from threaded functions, while SetupEnvelopes() itself is not thread safe Garux 2021-08-03 18:26:47 +0300
  • f49639c697 std::list<light_t> lights Garux 2021-08-03 04:12:34 +0300
  • a743668e44 prevent overflow in gridsize adjustment Garux 2021-08-02 12:03:22 +0300
  • 15b391cdb3 minor tweaks Garux 2021-08-02 00:47:18 +0300
  • e8996d0857 using facelist_t = std::forward_list<face_t> Garux 2021-08-01 22:50:35 +0300
  • c3041cc2f8 using winding_t = std::vector<Vector3> Garux 2021-07-31 18:28:38 +0300
  • dbfb22e273 using winding_accu_t = std::vector<DoubleVector3>; Garux 2021-07-30 12:20:56 +0300
  • ffa1a4340c std::vector<plane_t> mapplanes Garux 2021-07-29 22:21:36 +0300
  • ee92bdd801 minor tweaks Garux 2021-07-27 22:16:05 +0300
  • 89b7bcdf53 * read .map brush plane points and store brush planes for windings calculation in double precision (fixes cracks between brush faces) Garux 2021-07-27 20:04:35 +0300
  • 3c17f8fbc5 add MST_PLANAR and MST_TRIANGLE_SOUP counts to -info report Garux 2021-07-22 17:32:58 +0300
  • 45c3c4c012 bump prtview reading buffer size Garux 2021-07-22 16:57:37 +0300
  • 8022e0c92f compressed radiant.ico Garux 2021-07-18 18:02:41 +0300
  • 44907db895 Add KTX and ETC1 texture support by @Triang3l https://github.com/xonotic/netradiant/pull/1 https://gitlab.com/xonotic/netradiant/-/issues/5 Garux 2021-07-18 16:18:49 +0300
  • d1c3c838c8 bump bobtoolz::polygon builder::max number of sides Garux 2021-07-11 16:31:55 +0300
  • 8cc464014e improve Brush_ConstructPrism() readability Garux 2021-07-11 16:30:48 +0300
  • 4c0d049c02 prevent overflow in ostream_write( Decimal ) Garux 2021-07-11 16:28:10 +0300
  • a1daaa2946 remove commented out code Garux 2021-07-02 17:19:56 +0300
  • da55e8cbb4 * ctrl + m3/drag: also paste texture seamlessly from brush face to patch and vice versa, when face edje is adjacent to patch edje Garux 2021-07-02 17:16:50 +0300
  • 133b146712 limit camera workzone renderable data amount fixes performance with big selection + small grid fixes crash, while scaling brush + model to zero Garux 2021-07-02 16:55:50 +0300
  • 0e4a4fdcf6 * fix _castShadows > 1: cast on world, as advertised Garux 2021-07-02 16:50:01 +0300
  • 4471302857 add and use BasicVector3.vec2() Garux 2021-06-23 16:51:03 +0300
  • 4697d7940c fix new gcc build error: ‘N’ is not a constant expression, while using offsetof Garux 2021-06-22 20:49:42 +0300
  • 7796044913 fix clang build error Garux 2021-06-22 19:17:58 +0300
  • 5b33fae202 fix clang error: variable-sized object may not be initialized Garux 2021-06-21 17:07:03 +0300
  • 17406bd124 Merge branch 'master' of https://github.com/Garux/netradiant-custom Garux 2021-06-21 16:51:27 +0300
  • cfdcfe2b62
    Merge pull request #74 from germangar/jal-minifixes Garux 2021-06-04 00:39:43 +0300
  • 3b9b05d40e Undo changing to unsigned int for maxLMSurfaceVerts, maxSurfaceVerts and maxSurfaceIndexes. Restore qfusion.h long value germangar 2021-06-03 22:28:29 +0200
  • 451f88efd7 Fix: Do not ignore game descriptor value for maxLMSurfaceVerts and keepLights Use unsigned int for maxLMSurfaceVerts, maxSurfaceVerts and maxSurfaceIndexes Fix: Out of bounds value at qfusion.h germangar 2021-06-02 12:16:44 +0200
  • 089c100adc assimp: fix -Waddress-of-packed-member Garux 2021-06-01 01:06:57 +0300
  • 6c00419653 fix spelling Garux 2021-05-24 20:23:09 +0300
  • 5efe29d863 * use dynamic maxSurfaceVerts (user preference/game define) in 'force meta process for a surface' decision (was hardcoded) Garux 2021-05-20 17:10:31 +0300
  • 5c3b7d842c * entity keys: prefer "angles" over "angle", "modelscale_vec" over "modelscale" if both are set Garux 2021-05-16 21:50:09 +0300
  • da98f5f9d9 add and use Entity::getClassName(), Entity::hasKeyValue() do not return default value from getKeyValue() Garux 2021-05-16 10:13:42 +0300
  • ed04f90497 * .ent: "direction" attribute presence enables -1/-2 angle support for EclassModel, GenericEntity * .ent: "angles" attribute presence enables angles support for EclassModel Garux 2021-05-15 23:38:41 +0300
  • 155c2624b1 * .ent: support setting default model value of MiscModel type (<model key="model" name="Model File" value="ass/spider.mdc">) Garux 2021-05-15 18:10:34 +0300
  • 4a53b753b8 make libassimp_.$(DLL) order-only prerequisite to avoid it in the $^ list = fix linking in linux Garux 2021-05-13 20:42:14 +0300
  • 31e7829e2b * support negative misc_model scale Garux 2021-05-11 19:05:54 +0300
  • 427ef0874b * improve ase export compatibility write normals after faces write vertex normals right after their face normal Garux 2021-05-08 14:15:17 +0300
  • 9cf755dfab lower default camera mouse sensitivity screen resolution change over time ~= 640x480 -> fullHd ~= 3x Garux 2021-05-08 11:05:13 +0300
  • d1dcc29fa0 * automatically add ExtraResoucePath to q3map2 arguments, if set Garux 2021-05-08 10:48:06 +0300