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
1da9dbfea9
* -keepmodels in -bsp / _keepModels on worldspawn: keep misc_model entities in the BSP file after compile
2023-08-17 19:22:21 +06:00
Garux
41d37cf57d
* skylight extension: q3map_skylight amount iterations optional[horizon_min horizon_max sample_color]
...
horizon_min horizon_max: two spherical angles, defining portion of sphere to emit light from.
Default is 0 90, which is upper hemisphere. -90 90 will be whole sphere.
sample_color: Default = 1: sample color of each individual light from skybox images, if they are present.
0: use shader color, set by q3map_lightRGB/q3map_lightImage/_up skybox image/qer_editorImage.
* q3map_skylight may be used multiple times in a single shader
2022-01-09 16:50:04 +03:00
Garux
d888d2622d
use sensible floodlightIntensity default, so -floodlight is usable
2021-12-11 02:34:34 +03:00
Garux
150c3027b0
fix colormod broken in 977781a621
2021-11-13 18:26:12 +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
25bb05b0d2
remove global int numMapEntities; int entitySourceBrushes;
2021-11-06 15:12:21 +03:00
Garux
16dddad640
remove global entity_t *mapEnt;
2021-11-06 13:50:30 +03:00
Garux
522f6f907e
rename cmdlib and imagelib to fix name clashes
2021-10-31 14:13:02 +03:00
Garux
512f0a959b
manage headers
2021-10-31 10:54:57 +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
7626f69b02
minor tweaks
2021-10-28 12:25:26 +03:00
Garux
977781a621
minor tweaks
2021-10-26 17:26:35 +03:00
Garux
4726542134
replace Q_EXTERN Q_ASSIGN macro trick by inline variable specifier
...
remove explicit initialization, where it equals to default zero initialization
2021-10-22 04:13:08 +03:00
Garux
bf6389fc26
use #pragma once
2021-10-22 02:19:50 +03:00
Garux
6a7550a6ba
shorten special class members declarations
2021-10-14 23:31:07 +03:00
Garux
a719e012fe
* -mergebsp [options] <mainBsp.bsp> <bspToinject.bsp>: Inject latter BSP to former. Tree and vis data of the main one are preserved.
...
* -mergebsp -fixnames: Make incoming BSP target/targetname names unique to not collide with existing names
* -mergebsp -world: Also merge worldspawn model (brushes as if they were detail, no BSP tree is affected) (only merges entities by default)
2021-10-13 22:50:43 +03:00
Garux
fa1933fff5
secure image_t business
...
no need to keep in mind its destructor
2021-10-06 15:28:47 +03:00
Garux
9660fbb6f1
* unlimit MAX_IMAGES
2021-10-06 10:51:32 +03:00
Garux
44ced506e3
autopacker: use LoadBSPFilePartially
...
LoadBSPFilePartially: support RBSP
2021-10-05 13:44:30 +03:00
Garux
82d038f6d1
remove global error prone char name[ 1024 ]
2021-10-04 09:59:17 +03:00
Garux
a0e79e8ecd
refactor autopk3
...
unlimit list sizes
* -pk3, -repack: support multiple bsp files input by command line
2021-10-02 19:13:28 +03:00
Garux
5283f631e7
std::vector<rawGridPoint_t> rawGridPoints
2021-09-28 05:07:56 +03:00
Garux
d1ccdb0fcf
std::vector<bspDrawVert_t> yDrawVerts
2021-09-27 21:50:46 +03:00
Garux
1b1e6769e8
std::vector<fog_t> mapFogs
2021-09-27 15:40:39 +03:00
Garux
efa324ebe6
remove unused stuff
2021-09-27 15:12:53 +03:00
Garux
ecf9a46e78
std::vector<bspAdvertisement_t> bspAds
2021-09-27 13:29:59 +03:00
Garux
ce0dd55cc5
std::vector<bspFog_t> bspFogs
2021-09-27 12:56:08 +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
560060a908
std::vector<byte> bspVisBytes
2021-09-26 20:34:41 +03:00
Garux
28dfbaa5ab
std::vector<bspGridPoint_t> bspGridPoints
2021-09-26 20:01:26 +03:00
Garux
e4d6e63e91
std::vector<byte> bspLightBytes
2021-09-25 19:16:25 +03:00
Garux
f5c1a11a66
std::vector<bspBrushSide_t> bspBrushSides
2021-09-25 10:17:51 +03:00
Garux
9f63742fda
std::vector<std::uint8_t> opaqueBrushes
2021-09-24 17:35:58 +03:00
Garux
260dc59d4a
std::vector<bspBrush_t> bspBrushes
2021-09-24 17:05:00 +03:00
Garux
a20717c364
std::vector<int> bspLeafBrushes
2021-09-24 16:27:10 +03:00
Garux
6066fe2cc2
std::vector<int> bspLeafSurfaces
2021-09-24 16:16:02 +03:00
Garux
b1f32e6faa
std::vector<bspNode_t> bspNodes
2021-09-24 16:06:34 +03:00
Garux
bccd3bafd7
std::vector<bspPlane_t> bspPlanes
2021-09-24 15:43:24 +03:00
Garux
76d2b565b3
std::vector<bspLeaf_t> bspLeafs
2021-09-24 15:25:58 +03:00
Garux
6267f1d0af
std::vector<char> bspEntData
2021-09-24 13:57:17 +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
0e0a295330
* new: bsp export/import in json format; Usage: q3map2 -json <-unpack|-pack> [-v] <mapname>
2021-09-23 03:11:43 +03:00
Garux
29ba8c4876
refactor command line arguments parsing
2021-09-19 11:58:00 +03:00