Commit Graph

2465 Commits

Author SHA1 Message Date
Andrew Udvare
bbdfbe032e
.vscode/settings: fix include path 2020-10-09 02:01:53 -04:00
Andrew Udvare
53f6c6f8e9
.vscode/c_cpp_properties: add Linux configuration 2020-10-09 02:01:46 -04:00
Andrew Udvare
9250b36431
vscode: add macOS configurations 2020-10-08 23:19:55 -04:00
Andrew Udvare
324f84750b
vscode: Linux: add release configurations 2020-10-08 23:14:37 -04:00
eray orçunus
22c9e8b581 Fix POSIX streaming 2020-10-09 02:22:02 +03:00
eray orçunus
7f330bfbf9 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-10-08 16:25:05 +03:00
erorcun
bf98dcbc3a
Merge pull request #743 from erorcun/master
Fix some sanitizer errors, improve POSIX streamer
2020-10-08 16:15:55 +03:00
eray orçunus
0409907438 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-10-08 01:26:34 +03:00
eray orçunus
07cdd06373 little renamings & librw update 2020-10-08 01:17:19 +03:00
eray orçunus
556dbdcdd6 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-10-05 22:18:51 +03:00
Nikolay Korolev
6853be36c8 Merge remote-tracking branch 'upstream/master' 2020-10-05 16:10:26 +03:00
Nikolay Korolev
2bfb54b192 fixed darkel/replay 2020-10-05 16:09:44 +03:00
eray orçunus
c5a61b3d3b Merge branch 'master' of https://github.com/GTAmodding/re3 2020-10-05 14:26:42 +03:00
eray orçunus
9db0d7bba1 Merge branch 'master' of https://github.com/GTAmodding/re3 into audioFix 2020-10-05 14:24:45 +03:00
eray orçunus
ee27cae732 Fix Linux audio path 2020-10-05 14:23:37 +03:00
eray orçunus
1a0b71bd47 Fix Audio 2020-10-05 14:23:12 +03:00
Andrew Udvare
5454456cb3
VS Code settings for code and debugging (Linux x64 only) 2020-10-05 04:57:21 -04:00
shfil
c31e3e6823
Merge pull request #741 from ShFil119/fix/make_space
Fix unsigned comparison in CStreaming::MakeSpaceFor(int32 size)
2020-10-04 22:02:28 +02:00
eray orçunus
8c170a62ee Fix some sanitizer errors, improve POSIX streamer 2020-10-04 22:39:54 +03:00
erorcun
ea4007a13c
Merge pull request #738 from erorcun/master
Fixes, mouse AUX buttons, joystick detect menu, INI
2020-10-04 22:18:33 +03:00
erorcun
fae97f29c4
Merge branch 'master' into master 2020-10-04 22:12:57 +03:00
Filip Gawin
0ac2be0093 Fix unsigned comparison in CStreaming::MakeSpaceFor(int32 size) 2020-10-04 13:18:24 +02:00
Nikolay Korolev
39678ba5ca small fix 2020-10-03 16:16:46 +03:00
erorcun
a8c19dfed8
Merge pull request #734 from Tatsh/macos
macOS support
2020-10-03 13:22:08 +03:00
erorcun
fa65cf6017
Merge pull request #736 from Krutonium/master
Readme Adjustments
2020-10-02 21:35:47 +03:00
eray orçunus
3bd3330227 Load and write our settings in re3.ini & fixes 2020-10-02 21:18:34 +03:00
Andrew Udvare
f6bc2b654c
CdStreamPosix: fix type issues 2020-10-01 20:45:38 -04:00
Andrew Udvare
34579ae9c3
premake5: Place macosx-amd64 after arm64
Fixes xcode4 project from Premake getting the wrong target (for now).
2020-10-01 20:44:33 -04:00
Sergeanur
db8e7dbaff New gxt lines 2020-10-01 15:10:16 +03:00
Andrew Udvare
bbb578c5b1
core/CdStreamPosix: switch to named semaphores to support macOS
macOS does not support unnamed semaphores. The functions return ENOSYS.
2020-10-01 03:21:06 -04:00
Andrew Udvare
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
eray orçunus
ee3f5744f5 Merge branch 'master' of github.com:erorcun/re3 2020-09-30 20:54:42 +03:00
eray orçunus
595421da39 Fixes, mouse AUX buttons, joystick detect menu 2020-09-30 20:03:01 +03:00
Nikolay Korolev
1666995cd9 fixed bad bug 2020-09-30 16:29:39 +03:00
Krutonium
786ce15ab0 Separate Coding Style out into its own Document, and mention it from the Readme. 2020-09-30 06:54:57 -04:00
Filip Gawin
8235fe08d1 Fix more 2020-09-29 17:47:48 +02:00
Filip Gawin
e324f3dac0 Some more const 2020-09-29 17:43:34 +02:00
Filip Gawin
874b31d82b Use Const instead of const (last commit) 2020-09-29 17:27:36 +02:00
Filip Gawin
eeb26cfc7d Fix warning ISO C++11 does not allow conversion from string literal to
'char *
2020-09-29 17:16:02 +02:00
Filip Gawin
8424eabf22 Fix build (if -> ifdef) 2020-09-29 17:02:47 +02:00
Filip Gawin
a0b6410801 Make frequency more consistent with vanilla 2020-09-29 16:56:40 +02:00
Sergeanur
5144b5051c Fix arg types 2020-09-28 21:37:59 +03:00
Nikolay Korolev
742ca47a43 fixed cargen 2020-09-28 21:25:14 +03:00
shfil
20167f341e
Merge pull request #722 from theR4K/master
fix for frequency miscalculation
2020-09-28 20:05:28 +02:00
Roman Masanin
7576b003c6 change for better understanding 2020-09-28 20:48:28 +03:00
Greg V
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
Greg V
7d31b7005a Add non-amd64 architectures for bsd 2020-09-28 04:57:41 +03:00
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