Marcus Minhorst
1ce47e2fec
Standardize SDL2 include
2025-09-23 01:38:57 -04:00
Marcus Minhorst
8479aef773
Update macos search paths
2025-09-23 01:38:57 -04:00
Marcus Minhorst
6fbffd8717
Add error message for failed zwidget init
2025-09-23 01:38:57 -04:00
Christoph Oelckers
dadfade127
Exclude SDL2 from Windows compilation.
...
This causes problems if CMake finds it - these files are not meant to be used on Windows builds
2025-09-20 23:08:45 -04:00
Marcus Minhorst
ce8eb6e4ba
Fix typo
2025-09-20 18:10:18 -03:00
Marcus Minhorst
c753b4a98f
Fix typo
2025-09-20 18:02:10 -03:00
Marcus Minhorst
65cfb976fa
Squashed 'libraries/ZWidget/' changes from 924b8e0e78..b5ae8c8ab0 ( #3357 )
...
b5ae8c8ab0 Fix sdl2 initial paint
a06bc7f8b4 Wayland Backend: Use unaccelerated dx and dy for OnMouseMoveRawEvent()
f1789718d1 Wayland Backend: Implement clipboard support
11f3fe0e21 Fix a typo
2f4e3603e0 Add timers
bcecfa9ee2 Fix filling with wrong window background sometimes
6681d2c2d8 Fix timer linked list
4564f7ea88 OnXInputEvent calls callbacks, which potentially could create/destroy windows
92f99a1abf Improve timer stability
4ccb1a03f8 Fix Cursor Shape protocol related crashes - If the protocol is available, avoid handling buffers directly
fdefb2945d Add timers for X11 backend
25a2a2c846 WaylandDisplayBackend: New protocols and improvements - Add xdg_toplevel_icon and cursor_shape protocols support - Implement WaylandDisplayWindow::SetWindowIcon() based on the xdg_toplevel_icon protocol.
d817b79b98 Fix compile error
af5a87dba5 Add missing include statement
43996b7864 setIcon for x11
49ae157f31 Implement setIcon for Windows Fix spaces that should be tabs in the wayland backend
a564526bb7 WaylandDisplayBackend: Combine LShift and RShift into Shift
46031df314 CMakeLists: Remove the unnecessary additional SDL2 check in the example section
5363f5354e Implement open folder dialog Improve support for paths with spaces in them
bec2844e11 Fix the CI label for macOS
e2c6af9e5d Seems CI was set to use a macOS version from 1865
991ca3377a Enable macOS in CI
1f5c95edef include SDL2 directory to fix mac compilation
git-subtree-dir: libraries/ZWidget
git-subtree-split: b5ae8c8ab038789298a8df1384322f0e69e57e5c
2025-09-19 23:49:56 -03:00
Marcus Minhorst
5834fe6abe
[Nit] Silence more minor warnings
...
* Silence -Wdeprecated-literal-operator
* Silence -Wmissing-braces warning
* Silence -Wbitwise-instead-of-logical warning
* Silence -Wlogical-op-parentheses warning
2025-09-19 23:49:03 -03:00
Marcus Minhorst
e2bd23dfa0
[Nit] Fixup nontrivial memcall warning
...
* Silenced -Wnontrivial-memcall in asmjit
* Silenced -Wnontrivial-memcall in tools
* Silenced -Wnontrivial-memcall
* (to squash) Silenced -Wnontrivial-memcall (as reviewed by Jay)
* (to squash) Silenced -Wnontrivial-memcall (as reviewed by Jay [again])
2025-09-19 16:38:53 -03:00
Yarn366
415950fb9c
Added support for the Kex port of Doom to Linux/macOS, which was missed earlier
2025-09-19 07:56:57 -04:00
Yarn366
2feae32535
Added support for Heretic/Hexen vanilla WADs that come with the 2025 Kex port
2025-09-19 07:56:57 -04:00
Marcus Minhorst
d0aa5813e0
Moved historical docs out of install path
2025-09-19 00:12:50 -04:00
Marcus Minhorst
6732ab2314
Build appimage through ci
2025-09-19 00:12:50 -04:00
Marcus Minhorst
729f320627
Fix appimage recipe
2025-09-19 00:12:50 -04:00
Marcus Minhorst
327b33a239
Install zmusic to system
2025-09-19 00:12:50 -04:00
Marcus Minhorst
f892a750b2
Silence integer division warning
2025-09-16 12:57:55 -03:00
Marcus Minhorst
6b4bbb5e94
Page[up/down] now page full pages instead of rows
...
Also simplified scrollwheel code
2025-09-16 12:57:55 -03:00
Marcus Minhorst
e30c601f41
Allow for HOME/END key to move viewport when cursor cannot move
2025-09-16 12:57:55 -03:00
Marcus Minhorst
1ca06d94bc
Add shift+page[up/down] alias
2025-09-16 12:57:55 -03:00
Marcus Minhorst
995d3c90d3
Cursor Keys + Shift can scroll
2025-09-16 12:57:55 -03:00
Marcus Minhorst
60b7712ed6
Clamp home key
2025-09-16 12:57:55 -03:00
Marcus Minhorst
13cfa76368
Fixes page up key going off screen infinitely
2025-09-16 12:57:55 -03:00
Gaerzi
1fff657204
Fix Hexen transcription error
...
It's actually "archimage", with an i, not "archmage".
Cf. bc35ff0cb7/Hexen Source/MN_MENU.C (L1008)
2025-09-12 20:04:07 +02:00
Marcus Minhorst
449e34cc9e
Better haptics_debug output
2025-09-10 07:36:37 -04:00
Marcus Minhorst
0a89676d1d
Made haptics_compat=warn more useful
2025-09-10 07:36:37 -04:00
Marcus Minhorst
c424cce4d8
Expanded compat matching
2025-09-10 07:36:37 -04:00
Marcus Minhorst
479c65c0a1
Added missing guard and hid on-screen user warning
2025-09-10 07:36:37 -04:00
nashmuhandes
a8c5355f31
Allow particle fade-out and fade-in to be defined individually for FSpawnParticleParams and A_SpawnParticleEx. Requires either SPF_FADE_IN_OUT or SPF_FADE_IN_HOLD_OUT flags to be enabled first, and startalpha to be 0 for fading in. The old fadestep parameter serves as the fade-in time, while the new fadeoutstep parameter controls the fade-out time. SPF_FADE_IN_HOLD_OUT ensures the particle will stay solid for the duration of its lifetime before starting to fade out.
2025-09-10 07:10:13 -03:00
Sally Coolatta
457d8bba09
Fix gl_pipeline_depth cvar max
...
2 is a valid value, but it was overwriting when >= 2.
I was able to test that 2+ works, even without any code changes, by using `+gl_pipeline_depth 2` on command line. Some weird order of operations doesn't change the value back before the renderer checks its value. (Which, tbh, is kind of scary? But I don't have to spoons to investigate right now, or if it matters for anything else.)
2025-09-09 13:50:10 -03:00
Ricardo Luís Vaz Silva
9445828ddd
preserve ZSMapInfo on map copy
2025-09-09 13:48:28 -03:00
Marcus Minhorst
7086f463e5
Keep cursor in screen when resizing
2025-09-08 17:08:02 -03:00
Marcus Minhorst
4ba28c2781
Clamp scroll value better
2025-09-08 17:08:02 -03:00
Marcus Minhorst
5c658a3834
Fix optionmenu not respecting rowheight
2025-09-08 17:08:02 -03:00
Marcus Minhorst
259dc1936f
Fix another menu scroll bug
...
Static text at the end of menu would break scrolling
2025-09-08 17:08:02 -03:00
Ricardo Luís Vaz Silva
7b1f3165aa
don't copy zmusic to build dir when doing static builds
2025-09-08 08:02:22 -03:00
rafapaezbas
6a0ee2c9fe
fix compilation in mac with sdl2
2025-09-08 03:04:03 -03:00
Sally Coolatta
af0919e3cf
Fix bigfont characters with dark pixels
...
Makes Doom text render with the correct colors again
2025-09-08 02:59:16 -03:00
Rachael Alexanderson
d7c04e2fb2
- remove vid_scalemode 7 from the menu for now, if for no other reason than it doesn't work properly at the moment
2025-09-06 19:48:04 -04:00
Alexander Kromm
655d01ba4d
expose ToInt and ToFloat from FString as ToInt and ToDouble
2025-09-03 09:36:21 -04:00
Rachael Alexanderson
5408e243a9
- fix previous vid_fps i_timescale adjustment; previous fix did not take into account how the fps meter actually worked
2025-09-03 02:04:36 -04:00
Chris Robinson
b8807b7d99
Correct modeset timing on some systems
...
Co-authored-by: Marcus Minhorst <marcus.minhorst@gmail.com>
2025-09-02 07:35:04 -04:00
Boondorl
3d39bf33bb
Re-add handler param to MessageBox Init virtual
...
This is just to prevent breaking any existing overrides. The value is fully unused.
2025-08-30 15:39:30 -03:00
Brad Smith
ca74b49dc8
Remove hardcoded libdl for BSD's
...
Fixes build on OpenBSD and NetBSD. BSD's do not use libdl.
2025-08-30 06:31:32 -04:00
Rachael Alexanderson
53ffd97822
Revert "- add argument for EventHandler.Find() which allows searching by parent class (default false)"
...
This reverts commit abdacad8d3 .
Revert "- missed one"
This reverts commit 03123b96de .
2025-08-30 06:03:02 -04:00
Rachael Alexanderson
2ee07d2df6
- adjust vid_fps by i_timescale to always show the real fps value
2025-08-30 05:57:53 -04:00
Marcus Minhorst
2e8fb069f3
Restore loading screen under sdl
2025-08-29 07:35:01 -04:00
Marcus Minhorst
65ea93236c
Fix sdl window not showing on some systems
2025-08-29 07:35:01 -04:00
Marcus Minhorst
cee2f9eb19
Add updated theme
2025-08-26 23:22:53 -04:00
Marcus Minhorst
f532b04712
Maybe fix initial paint
...
Needs to be upstreamed after confirming this does in fact fix things
2025-08-26 23:22:53 -04:00
Marcus Minhorst
ce932d8aeb
Disable building example code
2025-08-26 23:22:53 -04:00