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
Garux
d346f1ee07
packer, repacker: emit warning on "model2" key been found
2020-11-24 20:33:33 +03:00
Garux
06267e67cb
repacker: fix odd WARNING3: %s : about to include shader for excluded texture
...
when repack.exclude has texture = shader from game.exclude
2020-11-24 19:59:51 +03:00
Garux
103ac6931e
* fix -fixaas
2020-11-08 13:04:29 +03:00
Garux
a28add796c
fix incompatible function type
2020-11-05 14:24:45 +03:00
Garux
58878b522a
fix libpng warning
...
https://sourceforge.net/p/libpng/bugs/165/
http://www.libpng.org/pub/png/libpng-manual.txt
2020-11-05 14:23:33 +03:00
Garux
e42d17b71f
fix color of obj without usemtl
2020-10-31 10:20:51 +03:00
Garux
c50c044a31
fix volatile text rendering artifacts with MSAA
...
a0a47640b0
2020-10-29 22:00:17 +03:00
Garux
af71efc0e6
* no shaderlist.txt or empty one = load all shaders
2020-10-25 09:07:29 +03:00