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
02a3b9c026
use ostream_write( CopiedString )
2021-09-18 15:30:11 +03:00
Garux
b78513f9f8
refactor InitPaths()
...
get rid of MAX_OS_PATH
2021-09-17 19:50:36 +03:00
Garux
97ad9bf5c5
separate path manipulating functions
...
unlimit VFS_MAXDIRS
2021-09-15 08:07:05 +03:00
Garux
bafb339c09
MergeMetaTriangles: epsilon compare st, improves merging imprecise sts, e.g. for nonplanar surfaces after q3map_tcgen or just brush face texture projection
2021-09-03 06:23:40 +03:00
Garux
f0c393fcbf
remove __attribute__ ((unused)) uses
2021-08-19 23:14:18 +03:00
Garux
41c3dfc96e
add move constructor, assignment to String class
2021-08-18 01:24:53 +03:00
Garux
bb1931b745
* sort pk3s, so content of later (zzz) overrides earlier, like in radiant and engine
...
* fix strong performance penalty with large amount of files in pk3s
store pak file path once per pk3, not per each file inside
2021-08-13 03:20:07 +03:00
Garux
ee92bdd801
minor tweaks
2021-07-27 22:16:05 +03:00
Garux
44907db895
Add KTX and ETC1 texture support by @Triang3l
...
https://github.com/xonotic/netradiant/pull/1
https://gitlab.com/xonotic/netradiant/-/issues/5
This pull request adds support for Khronos Textures to NetRadiant and Q3Map2, with OpenGL ES 2.0 formats, Ericsson Texture Compression version 1, and BGR/BGRA.
The patent-free Ericsson Texture Compression format will be used in the next version of Warsow to significantly reduce VRAM usage on mobile GPUs and the integrated GPU of Intel Broadwell.
2021-07-18 16:18:49 +03:00
Garux
4c0d049c02
prevent overflow in ostream_write( Decimal )
2021-07-11 16:28:10 +03:00
Garux
4471302857
add and use BasicVector3.vec2()
2021-06-23 16:51:03 +03:00
Garux
7796044913
fix clang build error
2021-06-22 19:17:58 +03:00
Garux
089c100adc
assimp: fix -Waddress-of-packed-member
2021-06-01 01:06:57 +03:00
Garux
6c00419653
fix spelling
2021-05-24 20:23:09 +03:00
Garux
da98f5f9d9
add and use Entity::getClassName(), Entity::hasKeyValue()
...
do not return default value from getKeyValue()
2021-05-16 10:13:42 +03:00
Garux
ed04f90497
* .ent: "direction" attribute presence enables -1/-2 angle support for EclassModel, GenericEntity
...
* .ent: "angles" attribute presence enables angles support for EclassModel
2021-05-15 23:38:41 +03:00
Garux
31e7829e2b
* support negative misc_model scale
2021-05-11 19:05:54 +03:00
Garux
c58749c72a
apply custom assimp fixes
2021-05-07 14:49:50 +03:00
Garux
75c7c09903
* replace model loaders by assimp library (40+ formats)
...
* auto split big model meshes to <= maxSurfaceVerts chunks (avoids excess meta process for vertexlit ones)
2021-05-07 14:47:39 +03:00
Garux
31a79faee4
update assimp
2021-04-07 01:56:00 +03:00
Garux
70b12396aa
build own assimp dll
2021-03-29 13:57:16 +03:00
Garux
b533eca7ca
add assimp library code
2021-03-29 02:06:58 +03:00
Garux
5008fa278f
simplify TYPE_CONSTANT code
2021-03-25 21:59:31 +03:00
Garux
edabdd157e
shorten BernsteinPolynomial
2021-03-25 18:03:46 +03:00
Garux
f8ab9a3b59
remove IntegralConstant hack
2021-03-25 05:50:17 +03:00
Garux
dc5dea6d21
delete copy constructors and assignment operators explicitly
2021-03-24 15:48:29 +03:00
Garux
60652a335f
remove empty .cpp of header libs
2021-03-24 01:20:05 +03:00
Garux
2222100316
indent classes, align by spaces
2021-03-24 00:25:15 +03:00
Thomas Debesse
af82669bd3
do not fail on missing image or model plugin, they can be optional
2021-03-20 20:58:29 +03:00
Garux
9feec41e31
minor tweaks
2021-03-20 20:15:43 +03:00
Garux
e200ffc762
minor tweaks
2021-03-20 02:30:11 +03:00
Garux
ebd90382a4
* improve performance of deselecting big selections
2021-03-20 02:29:48 +03:00
Garux
812679236d
* improve performance of big maps loading, undo/redo dramatically
...
determinant factor is amount of nodes in one container
2021-03-20 02:29:11 +03:00
Garux
a5fb9388c2
fix double free on PICO model parsing error
2021-03-13 14:54:59 +03:00
Garux
4f5f5649dc
consider ability of _pico_parse() to return empty string (on trailing space w/o linefeed in this case)
2021-03-13 11:32:45 +03:00
Garux
1144be0881
add BasicVector3 uniform constructor
2021-03-11 19:14:07 +03:00
Garux
902fb46938
random tweaks
2021-03-04 16:11:00 +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
92b2487875
fix string warnings
2021-02-08 01:33:36 +03:00
Garux
aa596f856d
bytebool.h : only #include <stdbool.h> w/o __cplusplus
2021-02-07 07:47:33 +03:00
Garux
b9d5f091e0
use fold expression, forwarding reference
2021-01-29 05:12:20 +03:00
Garux
623163ae9c
remove unused markers
2021-01-28 02:12:15 +03:00
Garux
22dd3d1719
fix warning
2021-01-25 01:09:21 +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
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
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