Garux
b4e44bc8ed
refactor StringFixedSize, auto str = String64()() use form was not doing copy elision
2024-01-25 23:46:01 +06:00
Garux
1fb1896f11
tweak light styles checks
2023-08-18 11:30:48 +06:00
Garux
be6126ce28
fix crash introduced in 977781a621
2021-12-30 19:57:37 +03:00
Garux
b474073ebe
misc_model _skin/skin key: handle both DP and Q3 naming conventions
...
disable trying skin 0 by default
not that it does much atm, as assimp md3 loader handles .skin and shader name substitution alters non path names
handle \r\n endlines in .skin
2021-11-10 22:25:45 +03:00
Garux
d75792d9a9
fix the build
2021-11-06 23:10:15 +03:00
Garux
aa110638d4
remove global std::size_t mapEntityNum;
...
(not buildable)
2021-11-06 17:27:11 +03: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
977781a621
minor tweaks
2021-10-26 17:26:35 +03:00
Garux
86a8b5f1eb
minor tweak
2021-09-27 19:56:48 +03:00
Garux
efa324ebe6
remove unused stuff
2021-09-27 15:12:53 +03:00
Garux
4642753564
std::vector<bspDrawSurface_t> bspDrawSurfaces
2021-09-27 06:14:12 +03:00
Garux
7993cc8a1f
std::vector<int> bspDrawIndexes
2021-09-26 22:10:46 +03:00
Garux
c58bd839da
std::vector<bspDrawVert_t> bspDrawVerts
2021-09-26 21:41:46 +03:00
Garux
6e2fc92576
std::vector<bspModel_t> bspModels
2021-09-24 12:11:11 +03:00
Garux
dbeb2d0718
rename game -> g_game
2021-09-13 18:49:09 +03:00
Garux
77f2e39af5
minor tweaks
2021-09-08 19:40:09 +03:00
Garux
160c1d33db
remove -texrange business (assuming it's not relevant for decades)
...
optimize -meta (shave off 1/3 in worst case)
2021-08-27 12:18:56 +03:00
Garux
aa5de2fee9
wrap winding_next logic
...
prevent crash in AddWindingToConvexHull()
2021-08-11 18:18:38 +03:00
Garux
f492ab27eb
more c++ in q3map2
2021-08-10 22:41:43 +03:00
Garux
15b391cdb3
minor tweaks
2021-08-02 00:47:18 +03:00
Garux
c3041cc2f8
using winding_t = std::vector<Vector3>
2021-07-31 18:28:38 +03:00
Garux
6c00419653
fix spelling
2021-05-24 20:23:09 +03:00
Garux
5efe29d863
* use dynamic maxSurfaceVerts (user preference/game define) in 'force meta process for a surface' decision (was hardcoded)
2021-05-20 17:10:31 +03:00
Garux
9eefda4fc5
* fix texturing, when origin key of group entity is set
2021-05-07 14:50:43 +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
1144be0881
add BasicVector3 uniform constructor
2021-03-11 19:14:07 +03:00
Garux
98f9023cdc
minor tweaks
2021-03-11 10:57:17 +03:00
Garux
293fab0ffb
manage color-to-byte conversions
2021-03-05 13:37:56 +03:00
Garux
bee749118f
unify WindingExtendBounds logic
2021-03-05 06:15:48 +03:00
Garux
902fb46938
random tweaks
2021-03-04 16:11:00 +03:00
Garux
f9a424b6c8
more c++
2021-03-02 22:01:09 +03:00
Garux
9446aeca8e
fix introduced problems
2021-02-28 12:04:52 +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
99a5ef0416
refactor entity key values routines
2021-01-30 16:23:31 +03:00
Garux
8425ce3c3e
refactor foliage_t
2021-01-29 22:40:09 +03:00
Garux
762699287e
refactor surfaceModel_t
2021-01-29 21:11:56 +03:00
Garux
276d1f5875
safe string in indexMap_t
2021-01-29 20:46:06 +03:00
Garux
623163ae9c
remove unused markers
2021-01-28 02:12:15 +03:00
Garux
e11aede11a
refactor surfaceType_t enum
2021-01-27 19:43:53 +03:00
Garux
bdfd864670
refactor enums
...
credits for class BitFlags go to Jelvan <3
2021-01-25 01:33:56 +03:00
Garux
36b63e1d2c
turn entities array to std::vector<entity_t>
2021-01-23 15:39:42 +03:00
Garux
f3c26c791f
use safe strings more
2021-01-21 16:08:53 +03:00
Garux
cbeccc7e3a
use safe string in GetIndexedShader
...
fix custom shader overflow check
2021-01-19 22:12:53 +03:00
Garux
9590d602d3
use String64 for shaderInfo_s::skyParmsImageBase
...
add variadic template operator to StringFixedSize for inline strings creation
2021-01-19 17:21:54 +03:00
Garux
da3b05728c
use safe string for shaderInfo_t.shader
2021-01-19 01:24:21 +03:00
Garux
fafa271a46
turn quake3 tools to cpp
2021-01-15 01:37:23 +03:00