Commit Graph

2378 Commits

Author SHA1 Message Date
Garux 4471302857 add and use BasicVector3.vec2() 2021-06-23 16:51:03 +03:00
Garux 4697d7940c fix new gcc build error: ‘N’ is not a constant expression, while using offsetof 2021-06-22 20:49:42 +03:00
Garux 7796044913 fix clang build error 2021-06-22 19:17:58 +03:00
Garux 5b33fae202 fix clang error: variable-sized object may not be initialized 2021-06-21 17:07:03 +03:00
Garux 17406bd124 Merge branch 'master' of https://github.com/Garux/netradiant-custom 2021-06-21 16:51:27 +03:00
Garux cfdcfe2b62
Merge pull request #74 from germangar/jal-minifixes
maxLMSurfaceVerts and keepLights not initialized from their game descriptor values
2021-06-04 00:39:43 +03:00
germangar 3b9b05d40e Undo changing to unsigned int for maxLMSurfaceVerts, maxSurfaceVerts and maxSurfaceIndexes. Restore qfusion.h long value 2021-06-03 22:28:29 +02:00
germangar 451f88efd7 Fix: Do not ignore game descriptor value for maxLMSurfaceVerts and keepLights
Use unsigned int for maxLMSurfaceVerts, maxSurfaceVerts and maxSurfaceIndexes
Fix: Out of bounds value at qfusion.h
2021-06-02 12:16:44 +02: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 5efe29d863 * use dynamic maxSurfaceVerts (user preference/game define) in 'force meta process for a surface' decision (was hardcoded) 2021-05-20 17:10:31 +03:00
Garux 5c3b7d842c * entity keys: prefer "angles" over "angle", "modelscale_vec" over "modelscale" if both are set 2021-05-16 21:50: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 155c2624b1 * .ent: support setting default model value of MiscModel type (<model key="model" name="Model File" value="ass/spider.mdc">) 2021-05-15 18:10:34 +03:00
Garux 4a53b753b8 make libassimp_.$(DLL) order-only prerequisite to avoid it in the $^ list = fix linking in linux 2021-05-13 20:42:14 +03:00
Garux 31e7829e2b * support negative misc_model scale 2021-05-11 19:05:54 +03:00
Garux 427ef0874b * improve ase export compatibility
write normals after faces
write vertex normals right after their face normal
2021-05-08 14:15:17 +03:00
Garux 9cf755dfab lower default camera mouse sensitivity
screen resolution change over time ~= 640x480 -> fullHd ~= 3x
2021-05-08 11:05:13 +03:00
Garux d1dcc29fa0 * automatically add ExtraResoucePath to q3map2 arguments, if set 2021-05-08 10:48:06 +03:00
Garux 72248bd95f * add optional soundtypes keyword of .game config, affecting file types shown in sound browsing dialog 2021-05-07 16:30:52 +03:00
Garux 9eefda4fc5 * fix texturing, when origin key of group entity is set 2021-05-07 14:50:43 +03:00
Garux 6b699527a3 * fix rendering of direction arrow of group entities, when origin key is set 2021-05-07 14:50:16 +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 89110afef6 fix default model box 2021-04-14 16:44:01 +03:00
Garux 05f4c6639b add -DNDEBUG for assimp 2021-04-14 16:22:27 +03:00
Garux 8d19be1c0e * fgd: support studio("display/model/path") and flags(Angles) 2021-04-07 03:06:38 +03:00
Garux ceb6ee6051 parse extra comment and url in fgd 2021-04-07 03:04:01 +03:00
Garux 281096da58 fix crash on EntityClassFGD:: re realise() 2021-04-07 03:00:10 +03:00
Garux c6c978a38f * load all found *.fgd, not just halflife.fgd 2021-04-07 02:31:28 +03:00
Garux 31a79faee4 update assimp 2021-04-07 01:56:00 +03:00
Garux b1043424ed fix findstring use in makefile 2021-04-04 15:58:50 +03:00
Garux 70b12396aa build own assimp dll 2021-03-29 13:57:16 +03:00
Garux 63f9703cd6 add assimp dependency to makefile 2021-03-29 02:08:03 +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 6aa8e432f7 change Preferences_Save_Safe code to not have small oob read 2021-03-24 04:26:54 +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
Garux 5b1b9b5e6c fix xml entity key description with escaped characters reading
handle special symbols in smartedit key description tooltip
2021-03-21 05:44:28 +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
Thomas Debesse c4b79d2194 radiant/texwindow: fix a minor typo 2021-03-20 20:31:35 +03:00
Thomas Debesse 42c00bfc67 plugins/shader: remove unused Texture_ForName function declaration
It looks to be a leftover from QE4.
2021-03-20 20:22:31 +03:00
Garux 9feec41e31 minor tweaks 2021-03-20 20:15:43 +03:00
Garux 95f4b3e504 * only scale light radius by mouse while it is displayed 2021-03-20 02:32:42 +03:00
Garux e200ffc762 minor tweaks 2021-03-20 02:30:11 +03:00