Commit Graph
97 Commits
Author SHA1 Message Date
Garux 00c352b697 remove odd newlines 2025-10-09 02:45:30 +05:00
Garux 37c7ff934c remove makeQuoted, use Quoted directly 2025-10-06 22:52:30 +05:00
Garux 8221dbf873 remove unneeded virtual destructors 2025-09-08 12:47:06 +05:00
Garux 86d08f9e93 use std::array for PlanePoints 2025-09-07 18:20:13 +05:00
Garux 5426732f28 minor tweaks 2025-09-02 05:04:33 +05:00
Garux 1599d0a64b * layers system (stored in comments of .map file)
menus	* View->Layers Browser (L)
	* Edit->Expand Selection To Layers (ctrl + q)
	* shift + q: move-to LayersMenu
closes #133
2025-08-31 16:25:12 +05:00
Garux e4aaeaad88 * .def .ent .fgd can be used simultaneously (removed entityclass="halflife") 2025-08-05 13:53:37 +05:00
Garux 6e16d7e3bd menu * Modify->Repeat: saved transforms feedback and individual resets
* Modify->Repeat->Reset Transforms (alt + r)
2025-02-06 14:37:05 +05:00
Garux 607d4c67ad tweak formatting 2025-02-05 15:59:29 +05:00
Garux 256bbfd2fa workaround poorly visible white lights on bright grid background (use eclass color)
fixes #178
2025-01-31 08:29:11 +05:00
Garux 242a481259 use math/vectorfwd.h 2025-01-30 22:39:42 +05:00
TimePath 57c8189225 Callback: remove fixed-arity wrappers 2025-01-22 12:39:14 +05:00
TimePath 9b03bf32ef Callback: work at any arity 2025-01-21 21:24:26 +05:00
Garux f387ed7718 * add alt + m1 selection style to transform manipulator for scaling in 3D 2025-01-13 09:59:49 +05:00
Garux 64708825a2 supersede class SingleCharacterInputStreamDoubleBuffered 2024-12-18 18:42:13 +05:00
Garux 4cbe05a25c bump EntityClass MAX_FLAGS to 32
#150
closes #82
2023-09-18 22:42:41 +06:00
Garux 9d3d204018 Qt 2022-10-27 09:10:31 +03:00
Garux f61e0dcb67 * view->filter->sky: Q3 shader based skies (skyParms keyword) 2022-07-18 18:28:56 +03:00
Garux d3e48d8c31 * render Q3 shader based skyboxes
logic: load 6 skybox textures when shader gets used by scene, don't unload dynamically, just on 'flush'
texture browser only uses normal preview image and doesn't trigger potentially heavy box loading
also fix R_ResampleTexture for [2+x upscaling
2022-07-18 10:05:19 +03:00
Garux f366f6cc6e double precision plane points in _QERFaceData 2021-11-23 15:11:43 +03:00
Garux b0b997e493 manage stl includes 2021-10-31 12:38:53 +03:00
Garux bf6389fc26 use #pragma once 2021-10-22 02:19:50 +03:00
Garux 71c72527af refactor tokenizing 2021-10-06 23:37:12 +03:00
Garux b58408344c Q2 optional brush face flags in BP, 220 mapformats 2021-08-24 18:55:34 +03:00
Garux f0c393fcbf remove __attribute__ ((unused)) uses 2021-08-19 23:14:18 +03:00
Garux aa4f3a1f72 reduce the use of GSlist
Quake3FileSystem::forEachFile: avoid double extension check, support "*", as advertised
2021-08-19 12:28:56 +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 5008fa278f simplify TYPE_CONSTANT code 2021-03-25 21:59:31 +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 4ce944444d rewrite q3map2 math in c++ 2021-02-25 19:41:43 +03:00
Garux cc1f7ecd76 * new filter: Point Entities (nongroup entities besides misc_models and lights) 2020-06-12 20:41:27 +03:00
Garux ef2fdfa127 make bestPlaneDirect, bestPlaneIndirect const 2020-05-05 19:49:01 +03:00
Garux 7ae79b263d minor refactoring 2020-04-28 08:30:25 +03:00
Garux 7acdf92d50 * QE tool mouse move: highlight PlaneSelectables with alt/ctrl+alt, components in component modes
improve bestPlaneIndirect pickup (resolve, when corner is closest)
support 2d in class DragPlanes::bestPlaneIndirect
2020-03-19 00:00:28 +03:00
Garux 1e0f7ba781 tweak VIEWTYPE related code 2019-08-29 00:41:40 +03:00
Garux aa99f4d254 * UV Tool (edit texture alignment of selected face) modifiers:
pivot control point and lines: ctrl = snap hard to face vertices and grid
		grid density controls: shift = change density of both axes synchronously, ctrl = power of two grid
		scale lines: shift = scale axes synchronously, ctrl = snap hard to vertices
		alt + m1 on grid = skew texture (is possible alright in BP and Valve220 map formats, not in AP); ctrl = snap hard to edges
		texture move: shift = only move along the axis with the biggest move, ctrl = snap grid lines hard to vertices and pivot
		rotate: shift = rotate with step of 15 degrees, ctrl = snap hard to edges
2019-05-19 10:30:44 +03:00
Garux 71c63fbdc6 * fix alt + m1 indirect faces picking, when object is partially or fully out of camera view
refactor math functions
2019-04-28 20:54:29 +03:00
Garux 58eb6e61d2 simplify RENDER_TEXT logic
class RenderTextLabel for text rendering
* consider texture alpha channel during rendering of shaders with qer_trans
2019-04-23 11:31:52 +03:00
Garux f45f759b43 * bigger components handles
* render occluded brush vertices differently
disable NV_DRIVER_BUG workaround
remove RenderableWireframe::glColorPointer call
2019-04-16 00:07:50 +03:00
Garux 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
2019-03-07 11:29:59 +03:00
Garux 74a3da969c * ctrl + r: clone stuff and repeat recent transforms; clipper tool toggle resets transforms stack 2019-01-18 15:00:06 +03:00
Garux 9a2886e624 add build tool skeleton; does nothing, button is hidden 2018-12-10 23:01:09 +03:00
Garux 9c91f4fa78 binds... * alt + m1 in camera: new resizing mode for brushes, curves and doom3 lights with direct and indirect selection methods 2018-10-06 02:31:05 +03:00
Garux afdf2a76e0 make Scene_BoundsSelected lazily evaluatable 2018-08-19 16:40:48 +03:00
Garux ed151906bd * bindable commands EntityMovePrimitivesToLast, EntityMovePrimitivesToFirst, EntityUngroup, EntityUngroupPrimitives 2018-06-24 21:25:53 +03:00
Garux c0b6f2169a * statusbar: show selected brushes/patches/entities counts, if anything is selected; total, if not 2018-06-01 02:23:07 +03:00
Garux 6f8a0668a3 add and use VolumeTest/View.getViewDir() 2018-05-18 01:55:20 +03:00
Garux a18a5d7c9b * snap Clipper points to brush planes, edges and vertices (in 3d camera) 2018-05-15 02:43:10 +03:00