Commit Graph

33 Commits

Author SHA1 Message Date
Garux df02774ff5 tweak StringOutputStream use
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
2024-01-29 16:54:08 +06:00
Garux d40538eea0 * fix RBSP style keys on -exportents and decompilation, so that they are alright for -onlyents and compilation 2023-08-18 01:20:58 +06:00
Garux da98e8fde3 various code cleanups 2021-10-30 16:04:31 +03:00
Garux e62da4c621 * patchMeta: fix: keep playerclip patches for collisions
* autocaulk: do not impact fog brushes with all faces culled (global fog case)
decompilation: detail flag deduction: avoid detail hints, areaportals, antiportals by surfaceparm structural check
change hardcoded surfaceflags use to statically evaluated ones for the given game
2021-10-29 11:29:32 +03:00
Garux 5ef76b0212 * non -fast bsp decompilation: deduce brush detail flag; note: structural transparent brushes get marked detail too, e.g. hints 2021-10-14 21:09:06 +03:00
Garux bc7bd516e6 refactor bsp decompilation 2021-10-14 14:32:49 +03:00
Garux 4642753564 std::vector<bspDrawSurface_t> bspDrawSurfaces 2021-09-27 06:14:12 +03:00
Garux c58bd839da std::vector<bspDrawVert_t> bspDrawVerts 2021-09-26 21:41:46 +03:00
Garux 260dc59d4a std::vector<bspBrush_t> bspBrushes 2021-09-24 17:05:00 +03:00
Garux bccd3bafd7 std::vector<bspPlane_t> bspPlanes 2021-09-24 15:43:24 +03:00
Garux 58911934e0 std::vector<bspShader_t> bspShaders 2021-09-24 13:39:04 +03:00
Garux 6e2fc92576 std::vector<bspModel_t> bspModels 2021-09-24 12:11:11 +03:00
Garux f492ab27eb more c++ in q3map2 2021-08-10 22:41:43 +03:00
Garux c3041cc2f8 using winding_t = std::vector<Vector3> 2021-07-31 18:28:38 +03:00
Garux ffa1a4340c std::vector<plane_t> mapplanes 2021-07-29 22:21:36 +03:00
Garux 2222100316 indent classes, align by spaces 2021-03-24 00:25:15 +03:00
Garux 1d4424f4c6 minor tweaks 2021-03-12 01:17:01 +03:00
Garux 09c78ec0dc return Vector3 from vectorForKey() 2021-03-11 20:16:52 +03:00
Garux 98f9023cdc minor tweaks 2021-03-11 10:57:17 +03:00
Garux 0cff77e30d consider "textures/system/" jka common folder during map decompilation 2021-03-09 20:13:42 +03:00
Garux f9a424b6c8 more c++ 2021-03-02 22:01:09 +03:00
Garux 9857bb955b more c++ math 2021-02-26 01:10:51 +03:00
Garux 4ce944444d rewrite q3map2 math in c++ 2021-02-25 19:41:43 +03:00
Garux ba497e4139 SafeOpenWrite, SafeOpenRead funcs use 2021-02-09 18:05:06 +03:00
Garux 99a5ef0416 refactor entity key values routines 2021-01-30 16:23:31 +03:00
Garux 623163ae9c remove unused markers 2021-01-28 02:12:15 +03:00
Garux 3ff224cbdf fix texture projection decompilation
in C this check was equal to
abs((int)dist) >= distanceEpsilon
comparing float dist to distanceEpsilon is not sufficient, as points are not precise enough, plus they are snapped
2021-01-25 08:36:16 +03:00
Garux 54c38610bf use std::list<epair_t> 2021-01-23 17:25:47 +03:00
Garux 36b63e1d2c turn entities array to std::vector<entity_t> 2021-01-23 15:39:42 +03:00
Garux b0e62198ba use safe strings more 2021-01-21 18:41:16 +03:00
Garux da3b05728c use safe string for shaderInfo_t.shader 2021-01-19 01:24:21 +03:00
Garux 13524d59ef fix the build 2021-01-16 15:10:59 +03:00
Garux fafa271a46 turn quake3 tools to cpp 2021-01-15 01:37:23 +03:00