Commit Graph

41 Commits

Author SHA1 Message Date
18d0fd2e48 Add multisampling to librw 2020-11-28 15:13:06 +02:00
aap
4ddc356341 memory heap starting to work 2020-11-25 22:49:50 +01:00
f33ed2892a Fix mouse lock/high-dpi 2 2020-11-16 15:49:00 +03:00
3b1debaa0d Fix mouse lock/high-dpi 2020-11-16 15:28:10 +03:00
72c0a6a680 Merge pull request #723 from myfreeweb/master
Fixes for Wayland (HiDPI and mouse lock) support, FreeBSD
2020-11-16 15:20:20 +03:00
a6aa782d6d Fixes and style changes from miami 2020-10-18 19:16:37 +03:00
b84dc2bc9b Fix management issue 2020-10-17 18:10:37 +03:00
22c9e8b581 Fix POSIX streaming 2020-10-09 02:22:02 +03:00
fae97f29c4 Merge branch 'master' into master 2020-10-04 22:12:57 +03:00
3bd3330227 Load and write our settings in re3.ini & fixes 2020-10-02 21:18:34 +03:00
01ea7801fd macOS support; thanks to @MrYadro
This should support ARM64 and x86-64.
-target flag based on information from
https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary#3618377.
2020-09-30 15:40:28 -04:00
595421da39 Fixes, mouse AUX buttons, joystick detect menu 2020-09-30 20:03:01 +03:00
7d03a6fe29 Use CLOCK_MONOTONIC_FAST when available (FreeBSD)
CLOCK_MONOTONIC_FAST is the equivalent of Linux's CLOCK_MONOTONIC_RAW.
2020-09-28 04:59:14 +03:00
0205960a2f Use GLFW_CURSOR_DISABLED (glfw's native mouse restriction)
On Wayland, clients cannot move the mouse pointer.
Mouse constraints, as required for 3D camera movement, are an explicit specific thing,
and glfw supports it with GLFW_CURSOR_DISABLED.
Use DISABLED, unless we're in a menu in windowed mode, where HIDDEN is still appropriate.
2020-09-28 04:53:15 +03:00
b95accb8ff glfw: scale cursor position by the ratio of framebuffer to screen size
This fixes the mouse being constrained to the top left quarter of the window on Wayland HiDPI setups.
2020-09-28 04:52:13 +03:00
5654347c5d Use glfwSetFramebufferSizeCallback instead of glfwSetWindowSizeCallback
Framebuffer size is scaled by the display scale.
This fixes the game being shrunk to the bottom left quarter of the window on Wayland HiDPI setups.

Corresponding change in librw: glfwGetWindowSize -> glfwGetFramebufferSize.
2020-09-28 04:50:57 +03:00
70aac0f460 Fixes: PS2/PS2-like menu, Hud, new sliding text found 2020-09-27 19:22:21 +03:00
9b76424540 Fixes 2020-09-27 04:39:25 +03:00
3f0a80f7c7 Fix MASTER build with glfw 2020-09-26 05:10:22 +03:00
e7945625b5 Original screen grabber 2020-08-14 18:57:23 +03:00
8392b9ad2f Update glfw.cpp 2020-08-07 17:51:43 +02:00
c4f9bfdc44 added FreeBSD support 2020-08-05 14:33:50 +02:00
15918feb8e 90% fixes, 10% skel refactoring 2020-07-24 21:35:04 +03:00
1dc6fbda1f 64-bit on Windows 2020-07-22 18:51:28 +03:00
7d51995640 Remove hacky way of injecting PS2 matfx on RW 3.3, remove static patcher 2020-07-22 03:32:46 +03:00
70df13f9d3 Fixes from miami 2020-07-20 22:47:41 +03:00
1cea84d2b1 Remove console and fix sth 2020-07-04 16:01:07 +03:00
ed036df3ce Re-enable console for debugging frontend 2020-07-03 05:40:22 +03:00
d9cb9583bf update glfw.cpp 2020-06-29 11:04:30 +03:00
329a387fdf Frontend customization functions, freecam toggle, minor things 2020-05-28 11:34:12 +03:00
aap
e2d3ef449c skeleton typos 2020-05-23 11:34:40 +02:00
aap
f5345f59ea blacklist for glfw "joysticks" 2020-05-14 00:09:45 +02:00
c2ac6b3759 Fix linux warnings 2020-05-12 23:18:54 +02:00
36e2bc95d3 Fix Windows build and premake 2020-05-11 20:10:01 +03:00
8a4fa58cd4 Linux build support 2020-05-11 21:00:55 +03:00
f754da272f Menu map fixes and resizable window on GLFW 2020-05-09 13:43:08 +03:00
97b288c1e4 Screen mode selector and persistent map target fix 2020-05-01 21:16:02 +03:00
aap
1b40693f80 improved video modes for glfw 2020-04-30 15:38:25 +02:00
aap
c7e2845602 removed cpuid stuff from glfw as they caused a crash by clobbering registers. what to do about win.cpp? 2020-04-28 10:56:30 +02:00
aap
41586c7cda fixes for glfw 2020-04-26 20:16:31 +02:00
6c1a1f7cd2 Initial GLFW support 2020-04-26 13:29:50 +03:00