Garux
abc666ab7f
use std::uint32_t in md4
2021-01-28 05:11:59 +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
1efff8cdfe
refactor enum vstatus_t
2021-01-27 11:53:32 +03:00
Garux
62a0ae5623
prevent string overflows
2021-01-26 22:31:19 +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
d0dcce342b
use LightFlags::FastActual shortcut
2021-01-25 07:29:46 +03:00
Garux
bdfd864670
refactor enums
...
credits for class BitFlags go to Jelvan <3
2021-01-25 01:33:56 +03:00
Garux
661f8e53b9
switch to c++17
2021-01-25 01:11:46 +03:00
Garux
7297e8758b
remove unused light_shadows.cpp
2021-01-25 01:11:26 +03:00
Garux
22dd3d1719
fix warning
2021-01-25 01:09:21 +03:00
Garux
20b908e31b
remove excess typedef struct declarations
2021-01-23 19:26:50 +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
b949f70077
fix dds loading in 64 bit
2021-01-23 11:23:04 +03:00
Garux
d734199601
manage path routines
2021-01-22 02:21:54 +03:00
Garux
b0e62198ba
use safe strings more
2021-01-21 18:41:16 +03:00
Garux
0ab896b84a
remove MAC_STATIC hack
2021-01-21 16:17:23 +03:00
Garux
f3c26c791f
use safe strings more
2021-01-21 16:08:53 +03:00
Garux
8b204ac054
add and use class PathExtensionless
2021-01-21 15:15:07 +03:00
Garux
7fc079c658
merge duplicated path_ functions
...
handle backslashes, which is out of convention, but safer, as practically paths may contain them in many spots
2021-01-21 08:53:34 +03:00
Garux
15e4b8e850
manage model shaders remapping
2021-01-21 07:19:15 +03:00
Garux
fe5c0879b4
remove -tmpin & -tmpout switches, as at best they were prepending tmp/ to absolute path
2021-01-20 12:48:10 +03:00
Garux
3b39a5754d
prevent filename overflow in model .skin loader
...
strip model extension during filename construction
add variadic template operator to StringOutputStream for inline strings creation
2021-01-20 11:59:16 +03:00
Garux
cfa502df6e
safe string for globalCelShader
2021-01-19 22:40:58 +03:00
Garux
cbeccc7e3a
use safe string in GetIndexedShader
...
fix custom shader overflow check
2021-01-19 22:12:53 +03:00
Garux
c3437b7833
use safe strings in shaderInfo_s
...
turn ImageLoad() to expect extensionless path as input
2021-01-19 18:58:18 +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
3578370061
fix the build
2021-01-16 17:52:33 +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
Garux
2734cbd1e0
* ctrl + shift + z: redo alias
2021-01-05 01:40:44 +03:00
Garux
b2bc2077e5
prevent division by zero, which spreads darkness during bounces
...
source of the problem is located somewhere else
2021-01-05 01:34:55 +03:00
Garux
e62c6f4bb3
fix warnings
2021-01-03 06:24:58 +03:00
Garux
77439d8b66
fix [-Wdeprecated-copy]
2021-01-01 19:22:30 +03:00
Garux
9ec94f25aa
fix [-Wignored-qualifiers]
2021-01-01 18:31:20 +03:00
Garux
ba1a1b64f6
fix [-Wstringop-truncation]
2021-01-01 18:20:07 +03:00
Garux
155d633ae9
fix [-Wdeprecated-copy]
2021-01-01 17:44:18 +03:00
Garux
3cbe922765
fix UB: fwrite with buffer = NULL
2021-01-01 17:42:08 +03:00
Garux
d074634463
SetupGrid() after _ambient key read
2021-01-01 17:41:11 +03:00
Garux
97f0e61ccc
initialize rawGridPoints.ambient correctly
2021-01-01 17:40:06 +03:00
Garux
f401facb4f
fix main wnd splits being set before window is actually maximized/fullscreened
2020-12-30 12:51:04 +03:00
Garux
2f2140efa4
support map loading on autorestart from path with spaces
2020-12-20 17:01:23 +03:00
Garux
8b460b5318
* brush.icosahedron.truncate option
2020-12-14 08:46:36 +03:00
Garux
e1f3b25bc6
consider _decal in leak detection
...
point entities recognition is malformed in general
leak is about point entities, detection by origin key presence is weak, because there may exist entity w/o this key at 0 0 0
group entities may have origin too
detection by primitives presence haven't been working for _decal, as its primitive gets freed at this point
2020-12-14 08:36:55 +03:00
Garux
db07c3459d
* packer, repacker: handle nodraw patches correctly; warn on visible surface, having shader w/o maps (typically watercaulk)
2020-12-08 03:03:42 +03:00
Garux
5cedd26c75
* -repack -analyze switch: only analyze bsps and exit (to dump bsp resource calls)
2020-12-08 02:45:48 +03:00
Garux
dd3db2f147
bump -repack bsp list size
2020-12-08 02:34:55 +03:00
Garux
f30ee07376
* packer, repacker: also handle fogs without drawsurfaces
2020-11-25 10:29:49 +03:00