2ef794539c
* fix sloped brushes evaluation at big coordinates (aka disappearing faces and brushes) add windingTestInfinity() to bruteforce test maxWorldCoord's multiplier, lending reliable winding infinity experimental Winding_createInfinite() percision improvements, borrowed from q3map2's BaseWindingForPlaneAccu()
Garux
2019-04-02 00:17:26 +03:00
429eae54de
* fix precision of brush vertex editing and wrap merge
Garux
2019-04-01 23:50:35 +03:00
213b680a3c
* region XY: only deselect excluded objects for convenience
Garux
2019-03-24 23:05:14 +03:00
12d010446b
* Brush->AutoCaulk Selected (F4); camera must be there, where legit player respawn could be, i.e. close to selection and not inside of a brush
Garux
2019-03-23 19:10:41 +03:00
00bb22e458
q3map2 * fix unwanted culling of both matching brush faces
Garux
2019-03-19 16:54:23 +03:00
fd0f0e0a6f
minor optimization
Garux
2019-03-19 16:45:26 +03:00
b75d061ff0
fix mbspc linux compilation
Garux
2019-03-15 21:41:15 +03:00
0aa711ef74
better move amount measurement logic for m2 = texbro scroll or tags condition
Garux
2019-03-14 21:19:15 +03:00
645d33be37
* special mWheel scrolling mode during orbiting in camera (alt + m2)
Garux
2019-03-14 21:10:02 +03:00
57b374417d
shorten brushexport command name increase offset in commandlist.txt
Garux
2019-03-13 19:58:21 +03:00
502c0f8bc1
* all plugins commands are bindable support detachable menus in submenus of plugins menus user_shortcuts_init() and user_shortcuts_save() are moved to not the most convenient spot, as init has to happen after plugins init and before menus creation
Garux
2019-03-13 19:45:51 +03:00
51ee1dcccb
more undo levels
Garux
2019-03-07 00:50:25 +03:00
dabcad5088
* Shortcuts edit: fix "already assigned" check rebase shortcuts logic on 'key is lower, modifiers are allowed in struct Accelerator' idea
Garux
2019-03-07 00:50:25 +03:00
6d080c01e0
turn FaceTexdef_importTokens / exportTokens: bad texdef assertions to console warning, as in practice it does more annoyance, than use, for end user
Garux
2019-03-07 00:50:25 +03:00
7a2084b405
fix: set color for RENDER_TEXT
Garux
2019-03-07 00:50:25 +03:00
4382b5f6d9
* bobToolz::Vis Viewer repair (shows current vis cluster brush drawsurfaces in green and rest visible ones in other colours for Q3 and Wolf/QL .bsp): don't crash on bsp w/o vis don't crash with origin in the void (includes inside of structural brush)(do reset) grab point to analyse from camera position with nothing selected; grab from any objects selection too fix rendering issues read surfaces written by q3map2 correctly + faster rendering code print number of loaded drawsurfaces to console for evaluation of optimization done fix a couple of of leaks and crashes after new/delete
Garux
2019-03-07 00:50:25 +03:00
3da20671dd
prtview dialog: make path editable, fix getting WD in windows
Garux
2019-02-27 23:26:28 +03:00
dfb56b66f4
* prtview plugin: support PRT2 and PRT1-AM .prt formats
Garux
2019-02-26 23:59:22 +03:00
1628abfd0f
calm down -Wdelete-non-virtual-dtor warnings remove -Wno-non-virtual-dtor from makefile (what does it do anyway? -Wdelete-non-virtual-dtor is part of -Wall)
Garux
2019-02-26 19:08:47 +03:00
6680d394e8
fix use after free (freed by realloc in EmitShader)
Garux
2019-02-23 00:02:58 +03:00
2dd78b7b97
fix use after free in RenderableCamWorkzone somehow it was grabbed by ogl too late here, if sizing info wasn't rendering
Garux
2019-02-23 00:01:12 +03:00
ff4260c75a
* picomodel: fix md2 loader duplicates management algorithm isn't as quick, as in old code, but quick nuff + working
Garux
2019-02-22 23:29:04 +03:00
aa6e80f5a4
add MBSPC documentation to the help menu
Garux
2019-02-13 02:39:37 +03:00
d1ac937b50
mbspc: add -bsp2map220 switch, writting map in Valve 220 format with correct textures alignment for Quake 1/2, SiN and Half-Life BSPs +various improvements of decompiling
Garux
2019-02-11 18:25:50 +03:00
8875e2dd80
Change winding_t and bspbrush_t to use flexible array members rather than size-1 arrays.
Thomas Köppe
2018-01-21 01:32:08 +00:00
5064c1f163
more cleanups
TTimo
2016-08-20 17:50:35 -06:00
fee0e36602
[bspc.c] Change directory variables to have static storage; they're quite large for automatic storage.
Thomas Köppe
2016-08-02 09:55:43 +01:00
13a3b91cc3
[l_bsp_{hl,q1}.c] Fix erroneous use of comma operator
Thomas Köppe
2016-08-01 21:47:15 +01:00
39c70072da
[l_bsp_{q1,q2,sin}.c] Fix undefined behaviour in array access
Thomas Köppe
2016-08-02 09:48:04 +01:00
39a3819765
Fix compilation warnings caused by abs/fabs confusion
Victor Luchits
2016-04-14 17:36:20 +03:00
8143f33548
Do not call CheckPlaneAgainstParents on tiny splits
Victor Luchits
2016-04-14 17:31:30 +03:00
e8522ae2c9
make AAS_LoadAASFile work with zero-sized lumps
Joel Baxter
2013-09-30 14:04:00 -07:00
4443f667cf
update fields in the example custom config file
Joel Baxter
2013-09-30 12:47:27 -07:00
777cd9e09a
QuakeLive fix-ups.
Chris Brooke
2012-07-31 18:16:47 +01:00
2d96a0053e
Initial QuakeLive support.
Chris Brooke
2012-07-30 23:24:29 +01:00
d8462c5831
Include func_static in AAS calculations unless spawnflags has bit 1 set.
Ben Noordhuis
2011-01-12 16:43:51 +01:00
c897b97e01
Source and destination should not overlap in call to strcpy(), use memmove().
Ben Noordhuis
2010-11-12 23:24:42 +01:00
2cba675936
Fix warning: format not a string literal and no format arguments.
Ben Noordhuis
2010-11-08 01:08:24 +01:00
91bcbfc593
Export function Q_strncpyz().
Ben Noordhuis
2010-11-08 01:07:59 +01:00
693be64e51
Remove unused variables.
Ben Noordhuis
2010-11-08 00:54:42 +01:00
d15f8e4baa
Fix warning: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’.
Ben Noordhuis
2010-11-08 00:43:30 +01:00
11f606b68a
Fix warning: array subscript is above array bounds.
Ben Noordhuis
2010-11-08 00:37:39 +01:00
5dbe479244
Fix warnings: cast from pointer to integer of different size.
Ben Noordhuis
2010-11-08 00:31:17 +01:00
fd22d6abbf
Add #include, fixes 'implicit declaration of function' warnings.
Ben Noordhuis
2010-11-08 00:28:30 +01:00
b6ebec81cb
Fix warning: format not a string literal and no format arguments. Also: use vsnprintf(), not vsprintf() - that's a buffer overrun waiting to happen.
Ben Noordhuis
2010-11-08 00:21:44 +01:00
a265802dff
Fix warning: cast from pointer to integer of different size.
Ben Noordhuis
2010-11-08 00:13:58 +01:00
ca7fb9b9ed
Replace non-standard #include <malloc.h> with <stdlib.h>
Ben Noordhuis
2010-11-06 22:29:29 +01:00
9cfed859cf
Fix potential buffer overflow.
Ben Noordhuis
2010-11-06 21:48:34 +01:00
43a5b5513f
fix indentation and typos
Garux
2019-01-27 21:37:37 +03:00
7884d9f1cd
q3map2 * assign surfaceflags to brush 'bevel' planes, so physics like slick/nodamage/metalsteps function at brush edges and vertices non bitwise materials in certain games are not handled
Garux
2019-01-27 19:41:16 +03:00
7bcb57562f
preserve brush detail state during vertex manipulations
Garux
2019-01-17 00:00:14 +03:00
01962a5afe
Fix a bug that prevent -fast to behave correctly
maek
2017-02-26 18:57:14 +01:00
b7bfa11b55
* entity inspector::smartEdit: display real key names * entity inspector::smartEdit: show tooltips with extended names and descriptions for keys and flags
Garux
2019-01-11 21:25:31 +03:00
fb53d5094a
some more sensible gui default sizes
Garux
2019-01-11 18:35:37 +03:00
034f06f18d
* brushexport plugin: write Kd (diffuse color) and map_Kd (diffuse map) data to .mtl * brushexport plugin fix: invert Y during YZ swap; invert V of UV coords (correct texturing) * brushexport plugin: default to 'Don't collapse' option q3map2: * obj export: save in popular 'Y = Up, -Z = Forward' format * picomodel::obj: load as popular 'Y = Up, -Z = Forward' format * picomodel::obj: fix support of back references in faces
Garux
2019-01-10 00:44:27 +03:00
e7fbe45319
build monitoring: change timeout value back to 25, as 8 results in radiant, taking one cpu thread for some reason buffered stream is quick enough anyway
Garux
2019-01-07 19:26:17 +03:00
168e085d8e
* "BuildMenu" preference: store filename (def. build_menu.xml) instead of absolute path for portability; absolute path is supported too, if set * fix: load customized build_menu.xml from settings folder on the very first start and with senseless "BuildMenu" value
Garux
2018-12-21 14:45:12 +03:00
5e50ac9ccf
q3map2 * allow maps with only point entity@( 0, 0, 0 ) more informative prints
Garux
2018-12-21 14:45:12 +03:00
4dc9b18f70
* fix brush shader names handling by bobtoolz (was writting empty shader name = crash on map save, at least "textures/" is expected) complain about patch and brush shader names harder
Garux
2018-12-21 14:45:12 +03:00
bcbbde0b35
remove debug prints
Garux
2018-12-13 19:31:23 +03:00
9eff327c70
refactor brush transform evaluation code to reduce amount of unneeded evaluations to 0 improvable: don't evaluateBRep on shader changed, perhaps more fix: brush vertex manip: no vertexModeFree() after identity transform (mouse forth and back / rotate dialog 0 / insertion w/o move) = selects vertices on undo fix: brush vertex manip: tex vertex lock: broken for 220 use brush::vertexmode code to delete selected brush components
Garux
2018-12-13 19:13:26 +03:00
868ff8fe50
* insert brush vertices in vertex mode by clicking with no ones selected
Garux
2018-12-11 13:19:07 +03:00
9a2886e624
add build tool skeleton; does nothing, button is hidden
Garux
2018-12-10 23:01:09 +03:00
907c0b1265
minus Brush_textureChanged(); call, faces are getting deselected anyway
Garux
2018-12-10 21:08:52 +03:00
51c798fd9c
* Snap to grid in a component mode: snap whole objects, if no components selected * Snap brush/its vertices to grid: rebuild brush from snapped vertices with optional texture vertex lock
Garux
2018-12-10 21:00:33 +03:00
3f3230ed2a
remove debug prints
Garux
2018-12-10 17:51:41 +03:00
435c41b73b
* new vertex editing mode, preserving non modified vertices (=adding/removing faces automatically) with debug prints
Garux
2018-12-10 17:50:40 +03:00