Commit graph

3738 commits

Author SHA1 Message Date
Greg V
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
Greg V
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
Greg V
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
Roman Masanin
1ea89f5aed Merge remote-tracking branch 'upstream/master' 2020-09-28 03:40:58 +03:00
Roman Masanin
37e382c758 fix for frequency misscalculation 2020-09-28 03:29:45 +03:00
Roman Masanin
ca73f0344c fixed original bug, when heli go ma if cars fly cheat activated 2020-09-28 01:38:05 +03:00
eray orçunus
70aac0f460 Fixes: PS2/PS2-like menu, Hud, new sliding text found 2020-09-27 19:22:21 +03:00
eray orçunus
9b76424540 Fixes 2020-09-27 04:39:25 +03:00
Roman Masanin
b956be0f44 another clamp 2020-09-27 04:22:59 +03:00
Roman Masanin
f67275be13 correction of defects and another two audio functions 2020-09-27 03:35:15 +03:00
eray orçunus
a5d6c952a7 Credits & fixes 2020-09-27 02:36:49 +03:00
Sergeanur
4cfc61da14 Use enums in aVehicleSettings 2020-09-27 02:26:35 +03:00
Roman Masanin
c403df0861 processEngineDamage 2020-09-27 02:03:36 +03:00
Filip Gawin
6cfac662a1 Add target arm64 2020-09-27 00:32:14 +02:00
Roman Masanin
bb2e601e13 Merge remote-tracking branch 'upstream/miami' into miami 2020-09-26 21:38:37 +03:00
Nikolay Korolev
c5699a9b30 now fixed properly 2020-09-26 21:35:09 +03:00
Nikolay Korolev
48a10de41f bug fixed 2020-09-26 21:25:40 +03:00
Nikolay Korolev
3c5624bc56 fixed tabs 2020-09-26 21:16:55 +03:00
Nikolay Korolev
796ad66d72 fixed replay bug 2020-09-26 21:12:47 +03:00
shfil
db1137b5a1
Merge pull request #715 from Nick007J/master
some SilentPatch fixes
2020-09-26 20:11:25 +02:00
Nikolay Korolev
f7d5021ac5 VC replays 2020-09-26 21:10:23 +03:00
Roman Masanin
4c220b1f95 return bridge, crane and fix structures in fluff.h 2020-09-26 21:07:51 +03:00
Roman Masanin
356c50ec1e mark completed functions in audioManager.h 2020-09-26 20:50:51 +03:00
Roman Masanin
ec8ac117ed Improve dodo cheat to allow fly on cars 2020-09-26 20:36:07 +03:00
Roman Masanin
c61160fee3 small fixes and cleanup 2020-09-26 20:24:25 +03:00
Roman Masanin
1bd497effc complete cleanup heli and flatTyre 2020-09-26 14:32:14 +03:00
Sergeanur
4d1182bdb1 Fix coronas reflections 2020-09-26 14:24:21 +03:00
Sergeanur
05e65baabe Fix coronas reflections 2020-09-26 14:23:34 +03:00
Nikolay Korolev
2eb2e9ac12 fixed tab 2020-09-26 14:12:42 +03:00
Nikolay Korolev
b42d9e3e7c silentpatch fixes 2020-09-26 13:30:22 +03:00
Nikolay Korolev
eefb0c817f Merge remote-tracking branch 'upstream/master' 2020-09-26 13:28:33 +03:00
Nikolay Korolev
375c7df00f Merge remote-tracking branch 'upstream/master' 2020-09-26 12:30:14 +03:00
Roman Masanin
e256eaf014 cleanup carHeli 2020-09-26 05:41:10 +03:00
Sergeanur
dd93a90ab2 Fix MASTER build with glfw 2020-09-26 05:14:24 +03:00
Sergeanur
3f0a80f7c7 Fix MASTER build with glfw 2020-09-26 05:10:22 +03:00
Roman Masanin
a75ddd0d0c processVehicleOneShots for heli, and heli blade fix 2020-09-26 04:10:00 +03:00
Sergeanur
c3d7a73c0b Fix OpenGL Z-write
# Conflicts:
#	src/core/main.cpp
2020-09-26 00:26:43 +03:00
Sergeanur
0ce8082bda Fix OpenGL Z-write 2020-09-26 00:25:39 +03:00
Roman Masanin
6e3523d594 flat tyre and minimal refractoring 2020-09-25 23:27:28 +03:00
shfil
6dfb32d285
Add link to steam store 2020-09-25 13:56:15 +02:00
Roman Masanin
4d1023ca30 safe before clean up 2020-09-25 04:57:11 +03:00
Roman Masanin
f097b9c972 fix deaddodo 2020-09-25 03:10:11 +03:00
Roman Masanin
4414288b86 remove anther goto 2020-09-25 02:30:51 +03:00
Roman Masanin
b3cbe3d338 removed some goto 2020-09-25 02:17:58 +03:00
Roman Masanin
1d22c78f9f processCarHeli half done 2020-09-25 01:43:19 +03:00
guyE
01845812a1 Experiment 2020-09-24 12:45:45 +03:00
eray orçunus
dbc458a4d7 CPed and CCivilianPed funcs done 2020-09-24 01:54:37 +03:00
Sergeanur
288f99d507 Add .gitattributes for better language stats 2020-09-23 16:09:46 +03:00
Sergeanur
c6cf16447b Add .gitattributes for better language stats 2020-09-23 16:08:35 +03:00
Roman Masanin
b2e3d90734 ProcessEscalators + some fixes 2020-09-22 19:32:05 +03:00