Garux
e1e551ff45
minor tweaks
2025-11-03 00:35:36 +05:00
Garux
7bb1c1ba06
remove odd casts
2025-11-02 02:37:40 +05:00
Garux
5b380fd6fe
remove explicit float literal specifiers
2025-11-02 01:27:42 +05:00
Garux
2f17128f06
remove some odd static_cast<>
2025-11-01 20:49:05 +05:00
Garux
5850a027a2
workaround cd_lighting not being correctly applied on start
...
#258
2025-10-22 02:25:52 +05:00
Garux
66e15e9ba0
minor tweaks
2025-09-23 02:45:24 +05:00
Garux
413eb84b6c
* render camera crosshair sharply independently of viewport size, with shadow
2025-09-19 03:58:33 +05:00
Garux
2b0136cd57
fix -Wdeprecated-enum-enum-conversion
2025-09-08 00:23:09 +05:00
Garux
d7f3e9bd3f
minor tweaks
2025-09-04 16:01:47 +05:00
Garux
5426732f28
minor tweaks
2025-09-02 05:04:33 +05:00
Garux
607d4c67ad
tweak formatting
2025-02-05 15:59:29 +05:00
Garux
8820a72d05
meaningful naming of color preferences
2025-01-30 20:39:08 +05:00
Garux
a3e673302c
* Misc->Colors: add CameraIcon, AxisX, AxisY, AxisZ controls
2025-01-29 23:44:11 +05:00
TimePath
b65f27b166
Callback: cleanup
2025-01-22 14:57:22 +05:00
TimePath
57c8189225
Callback: remove fixed-arity wrappers
2025-01-22 12:39:14 +05:00
Garux
bf9feb943a
minor refactoring
2025-01-11 12:53:41 +05:00
Garux
1a895c1984
prevent simultaneous mouse presses in SelectionSystemWindowObserver
...
fixes e.g. shift+m2 drag, +m1 -m1
2025-01-05 07:37:40 +05:00
Garux
22a4ee2f81
fix deprecated Qt function warnings
2024-02-04 10:18:45 +06:00
Garux
1f45694358
Revert "fix build in ubuntu via using deprecated Qt function"
...
This reverts commit f7977eb851 .
2024-02-04 10:08:29 +06:00
Garux
f36b8999b0
move f2f inside Renderer_GetStats()
2024-02-03 17:17:51 +06:00
Garux
df02774ff5
tweak StringOutputStream use
...
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
2024-01-29 16:54:08 +06:00
Garux
dee00be204
adjust preferences dialog.spinners decimals
...
closes #152
2023-10-05 20:16:38 +06:00
Garux
15ca706037
support DPI scaling by viewports rendering and input in certain scenarios
...
e.g. in mac, kde, wayland or after QT_SCALE_FACTOR=1.25 ./install/radiant
2022-11-07 19:02:40 +03:00
Garux
f7a33dd4d3
manage camera events queue
...
fixes impossibility of wasd + freelook in linux
fixes jagged focused orbiting
2022-11-07 18:32:34 +03:00
Garux
f7977eb851
fix build in ubuntu via using deprecated Qt function
2022-10-27 10:04:56 +03:00
Garux
9d3d204018
Qt
2022-10-27 09:10:31 +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
4016d64859
use std::chrono::steady_clock timer
2021-11-03 19:43:44 +03:00
Garux
c217ad981a
remove Sys_DoubleTime()
2021-10-31 14:33:57 +03:00
Garux
522f6f907e
rename cmdlib and imagelib to fix name clashes
2021-10-31 14:13:02 +03:00
Garux
da98e8fde3
various code cleanups
2021-10-30 16:04:31 +03:00
Garux
0c390241c8
fix formatting
2021-10-26 18:16:24 +03:00
Garux
d812cbd4d4
replace ArrayRange by tcb::span (reproduction of std::span)
2021-10-24 08:32:10 +03:00
Garux
133b146712
limit camera workzone renderable data amount
...
fixes performance with big selection + small grid
fixes crash, while scaling brush + model to zero
2021-07-02 16:55:50 +03:00
Garux
4471302857
add and use BasicVector3.vec2()
2021-06-23 16:51:03 +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
2222100316
indent classes, align by spaces
2021-03-24 00:25:15 +03:00
Garux
5977a04550
* unzoom from mouse pointer in 2D and 3D
2020-06-13 20:58:10 +03:00
Garux
62603d25fb
don't check equality to gboolean FALSE and TRUE
2020-05-21 16:27:31 +03:00
Garux
70cf8c4bdd
gtk_widget_ref/gtk_widget_unref -> g_object_ref/g_object_unref
2020-05-21 16:27:28 +03:00
Garux
50e1af1a16
update GtkWidget allocation access method
2020-05-21 16:27:03 +03:00
Garux
ff33df7d45
replace GTK_WIDGET_VISIBLE -> gtk_widget_get_visible()
2020-05-19 23:46:54 +03:00
Garux
112f66fb06
remove deprecated GTK_WIDGET_SET_FLAGS GTK_WIDGET_UNSET_FLAGS use
2020-05-19 22:08:00 +03:00
Garux
e1a145c234
remove excess (GdkModifierType) casts
2020-05-19 21:40:52 +03:00
Garux
0831e0966d
Replace GDK_<keyname> with GDK_KEY_<keyname>
2020-05-19 21:15:11 +03:00
Garux
a0a47640b0
* new rendering system for volatile text
...
(symbols rendered to atlas texture)
deliver position via glRasterPos + glGet GL_CURRENT_RASTER_POSITION to avoid adding calculations of screen coords in many spots
solves problem: pango 1.44 switch freetype->harfbuzz = bitmap fonts aren't available, in particular no gdk_gl_font_use_pango_font()
text is rendered from font bottom (was from baseline)(latter is wanted less often)
wgl bitmap<->pango sizes do not match, thus realign all text positions, increase default font size
make 2D axes labels, view type text, sizing info adaptive to font size
#24
fixes #42
2020-05-14 07:51:34 +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
94a6cc9cda
lower default camera fov
2020-02-25 19:01:48 +03:00
Garux
a834981d53
binds... * shift + }/{: CameraModeNext/Prev
2019-09-08 18:28:48 +03:00