Garux
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
2021-08-12 11:23:59 +03:00
Garux
2222100316
indent classes, align by spaces
2021-03-24 00:25:15 +03:00
Garux
293fab0ffb
manage color-to-byte conversions
2021-03-05 13:37:56 +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
ba497e4139
SafeOpenWrite, SafeOpenRead funcs use
2021-02-09 18:05:06 +03:00
Garux
37c11990cb
del struct StrBuf; CopiedString for mapShaderFile;
2021-02-09 13:03:48 +03:00
Garux
92b2487875
fix string warnings
2021-02-08 01:33:36 +03:00
Garux
54f7daa887
more PathExtensionless use
2021-02-07 07:18:10 +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
623163ae9c
remove unused markers
2021-01-28 02:12:15 +03:00
Garux
62a0ae5623
prevent string overflows
2021-01-26 22:31:19 +03:00
Garux
bdfd864670
refactor enums
...
credits for class BitFlags go to Jelvan <3
2021-01-25 01:33:56 +03:00
Garux
20b908e31b
remove excess typedef struct declarations
2021-01-23 19:26:50 +03:00
Garux
b0e62198ba
use safe strings more
2021-01-21 18:41:16 +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
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