1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-01 02:35:55 +00:00
Commit graph

1934 commits

Author SHA1 Message Date
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
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
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 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
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
Nikolay Korolev 48a10de41f bug fixed 2020-09-26 21:25:40 +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
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
Sergeanur 3f0a80f7c7 Fix MASTER build with glfw 2020-09-26 05:10:22 +03:00
Sergeanur 0ce8082bda Fix OpenGL Z-write 2020-09-26 00:25:39 +03:00
Sergeanur db2c34923d Fixes to MusicManager 2020-09-19 16:39:31 +03:00
Sergeanur 7efc153dc9 Renaming audio enum entries to something more like original 2020-09-19 15:55:27 +03:00
Sergeanur 9c2e9fcf88 Fix RotateY 2020-09-15 00:31:57 +03:00
Sergeanur 38ec1bd50d Move a bunch of math to cpp files + small fixes 2020-09-14 21:07:31 +03:00
eray orçunus 93d77f340d Fixes from miami 2020-09-10 03:14:50 +03:00
eray orçunus 7658577260 CFO fixes 2020-08-25 03:27:38 +03:00
eray orçunus 082c4caecf new frontend customization 2020-08-25 00:55:57 +03:00
eray orçunus cb813bd1ab Merge branch 'master' of https://github.com/GTAmodding/re3 into erorcun 2020-08-24 22:36:03 +03:00
Sergeanur 1d907ac91f small fix 2020-08-24 21:56:34 +03:00
aap 6c63dfd86d accidentally enabled extended stuff.... 2020-08-23 13:30:54 +02:00
aap 771235d213 weather fixes 2020-08-23 13:30:21 +02:00
aap ac5af18891 fixed CRenderer::ScanSectorPoly again 2020-08-21 09:40:10 +02:00
aap dace79c7c3 small streaming fixes 2020-08-20 23:45:45 +02:00
Sergeanur 73dd29ea3a Cleanup CControllerConfigManager deletion a bit 2020-08-20 19:56:02 +03:00
Sergeanur b5ccc721ae Add VEHICLE_FIREWEAPON (disabled by default) 2020-08-20 19:40:35 +03:00
Sergeanur 0f5a771292 Fix cAudioScriptObject 2020-08-20 14:47:53 +03:00
aap a9a1bf5056 changed a sound enum 2020-08-20 13:21:08 +02:00
aap 517e2ee9a5 small fixes 2020-08-20 12:55:41 +02:00
eray orçunus be638a4973 Revert "remove CFO"
This reverts commit 0418ba597b.
2020-08-19 20:30:57 +03:00
aap c2e20070ab txd.img bug 2020-08-19 16:54:09 +02:00
aap 76fe1247c8
Merge pull request #688 from aap/master
Neo pipelines
2020-08-19 14:36:38 +02:00
Sergeanur 4d1cfb7214 Island loading cleanup and fix 2020-08-19 03:31:42 +03:00
Nikolay Korolev c559b71bc9 little fix 2020-08-18 20:08:27 +03:00
Jack Powell f09abe9ec1
Added bug fix to fix mission related crashes 2020-08-18 17:14:27 +01:00
Jack Powell 809c09938a
CREATE_RANDOM_CAR_FOR_CAR_PARK is supposed to be RANDOM_VEHICLE 2020-08-18 16:59:19 +01:00
Jack Powell db1e5a6ec4
Fix small logic mistake in CGarage::RemoveCarsBlockingDoorNotInside 2020-08-18 16:47:15 +01:00
Jack Powell 2dcf31b6c7
Call CWorld::Remove before the delete, the original game does this and its safer. 2020-08-18 15:57:40 +01:00
Nikolay Korolev b03f13b30d fixed bugfix 2020-08-18 16:52:02 +03:00
aap e3405f4be4 Merge branch 'master' of github.com:gtamodding/re3 2020-08-18 11:09:50 +02:00
aap c556cbbbe0 neo pipelines 2020-08-18 10:58:15 +02:00
eray orçunus 0418ba597b remove CFO 2020-08-16 17:58:40 +03:00
Sergeanur 732681db08 Island loading and PS2 alpha test added to options 2020-08-16 17:26:44 +03:00
Sergeanur a728a542be Graphics menu + MSAA 2020-08-16 01:37:09 +03:00
Sergeanur 72088a000b Don't react if player's targeting with melee 2020-08-14 19:42:15 +03:00
Sergeanur e7945625b5 Original screen grabber 2020-08-14 18:57:23 +03:00
Sergeanur 489743da41 Darkel fixes 2020-08-14 17:34:04 +03:00
aap 2a0a508a10 fixed clouds render 2020-08-14 09:27:54 +02:00
aap afed831aed extended postfx and sniper hud fix 2020-08-13 18:14:24 +02:00
aap f0503edf62 fix render poly bug 2020-08-13 16:29:42 +02:00
eray orçunus 2034d7b2ae Register start button for real 2020-08-13 01:29:34 +03:00
aap a149d9d511 little timecycle cleanup 2020-08-09 19:32:32 +02:00
aap 59d25d3ad8 pointlight fixes 2020-08-09 15:45:54 +02:00
aap 5dc7ff98f2 corona fixes 2020-08-09 13:17:05 +02:00
aap bad2b4b3c2
Merge pull request #681 from withmorten/master
remove CoUninitialize calls for FIX_BUGS (fixes PIX crash) and don't …
2020-08-08 17:40:17 +02:00
withmorten 24a1644b2a don't CoUninitialize for NO_MOVIES 2020-08-08 17:12:23 +02:00
erorcun 8428b99c0d
Merge pull request #678 from blingu/master
added support for FreeBSD
2020-08-08 14:58:42 +03:00
withmorten ce0633a0c2 remove CoUninitialize calls for FIX_BUGS (fixes PIX crash) and don't check return value for CoInitialize 2020-08-07 18:52:33 +02:00
blingu 8392b9ad2f
Update glfw.cpp 2020-08-07 17:51:43 +02:00
blingu 4b6cc0188b
Update CdStreamPosix.cpp 2020-08-07 17:51:15 +02:00
aap f14b1fba09
Merge pull request #675 from erorcun/master
Squeeze performance option, minor fixes
2020-08-07 10:18:46 +02:00
aap 0d7fa6df3c
Merge pull request #676 from aap/master
VU0 collision
2020-08-07 10:18:40 +02:00
blingu 56ea53a5db
clang throws an error if fixed comparisons are against NULL 2020-08-05 14:35:24 +02:00
blingu c4f9bfdc44
added FreeBSD support 2020-08-05 14:33:50 +02:00
blingu 7a7b352793
added FreeBSD support 2020-08-05 14:32:37 +02:00
Sergeanur 456cb01f16 Enable PS2 Alpha test Emu in debug menu on RW 2020-08-05 13:36:07 +03:00
aap abb640c6b6 VU0 collision 2020-08-03 17:32:06 +02:00
Sergeanur 4b3faea965 Update mpg123.32 2020-08-03 17:04:00 +03:00
eray orçunus e14252914e Squeeze performance option, minor fixes
Fixes are already in miami
2020-08-03 16:00:32 +03:00
Fire-Head 90689a1717 shadow fixes 2020-08-03 01:25:29 +03:00
Sergeanur a786dd45a4 Move sdk and eax 2020-08-02 19:36:50 +03:00
Sergeanur 57d5782588
Merge pull request #587 from Sergeanur/opus
OPUS support for OpenAL
2020-07-29 15:52:17 +03:00
aap e13d80a4eb rename shit 2020-07-29 14:31:34 +02:00
Sergeanur 4a4feb948d Add forgotten file 2020-07-29 15:25:57 +03:00
Sergeanur 6b92e9e12b Dual pass rendering for RW 3.3 2020-07-29 15:24:42 +03:00
Sergeanur 581cb5edfa The real pickup reflection fix 2020-07-29 14:56:06 +03:00
aap 2f40c3dc8b synch fakerw with reVC; update librw 2020-07-29 09:50:06 +02:00
erorcun e47eaa1425
Merge pull request #663 from erorcun/master
Fix casepath chaos
2020-07-28 17:41:49 +03:00
eray orçunus eb8844fd11 Fix casepath chaos 2020-07-28 17:40:12 +03:00
aap 2e8048d0fe collision fixes 2020-07-27 15:38:12 +02:00
aap e2d56f00dd heli fixes 2020-07-26 23:40:26 +02:00
Filip Gawin 98ec7bdaf9 Provide more memory for casepath's arg 2020-07-26 00:11:13 +02:00
Filip Gawin 40c09d28f7 fix windows build, don't use crossplatform 2020-07-25 22:38:42 +02:00
Filip Gawin b0414c84b9 Small fixes for linux build 2020-07-25 22:04:59 +02:00
Filip Gawin 3856b932dd Disable cache for openal for now 2020-07-25 20:25:34 +02:00
eray orçunus 199d57b16c Fix/change some Windows define 2020-07-25 15:18:15 +03:00
aap b5b64ca351 fixed hanim for 64 bit 2020-07-24 23:28:55 +02:00
eray orçunus 15918feb8e 90% fixes, 10% skel refactoring 2020-07-24 21:35:04 +03:00
Sergeanur bcb2b7a534 Add ps2 audio paths 2020-07-23 16:15:36 +03:00
eray orçunus 7e32c603fc New math wrappers
from miami
2020-07-23 00:31:06 +03:00
eray orçunus 1dc6fbda1f 64-bit on Windows 2020-07-22 18:51:28 +03:00
aap fdb262bca0 update librw 2020-07-22 14:02:43 +02:00
Sergeanur 7d51995640 Remove hacky way of injecting PS2 matfx on RW 3.3, remove static patcher 2020-07-22 03:32:46 +03:00
eray orçunus d596f979aa Merge branch 'master' of https://github.com/GTAmodding/re3 into erorcun 2020-07-21 20:23:13 +03:00
eray orçunus 4cf6024cdb cosmetic changes 2020-07-21 20:22:52 +03:00
aap d4d6290403 fixed to renderer 2020-07-21 11:12:10 +02:00
eray orçunus 6dbc0c7dda a cute mistake 2020-07-21 06:41:41 +03:00
eray orçunus 70df13f9d3 Fixes from miami 2020-07-20 22:47:41 +03:00
aap efd49962d2 avoid UB 2020-07-20 19:32:20 +02:00
aap b8c2cf597d figured out magic 2020-07-19 00:56:13 +02:00
aap 2cfd3a9e92 CPlane fixes 2020-07-19 00:37:12 +02:00
Sergeanur f760696a9f Fix another float 2020-07-18 19:37:28 +03:00
Sergeanur 28d7d6b2f1 Fix some audio floats 2020-07-18 19:18:58 +03:00
Nikolay Korolev d4444f8252 fix 2020-07-18 13:09:37 +03:00
Sergeanur e8ded77e27 Add fix/workaround for black screen at startup 2020-07-17 21:14:48 +03:00
Sergeanur 1b161275e1 Fix CalcScreenCoors... again 2020-07-17 18:23:11 +03:00
Sergeanur 27e1fa1d28 Add missing f's 2020-07-17 17:56:59 +03:00
Sergeanur 949d0c8853 Add audio cache for faster initialization 2020-07-17 13:48:25 +03:00
Sergeanur 693a5e0c2a Fix wheel water splash with PC_PARTICLE 2020-07-17 12:57:47 +03:00
Sergeanur 81c03f8e6d Audio fixes 2020-07-16 22:30:55 +03:00
Sergeanur ec09055599 Fix CCarStateEachFrame 2020-07-16 22:21:09 +03:00
aap 23da99622c tiny cleanup 2020-07-16 13:35:35 +02:00
Sergeanur 841fa5155c Rename LEVEL_NONE to LEVEL_GENERIC 2020-07-13 17:43:09 +03:00
Sergeanur 6eb8f6ae5a Add cutscene borders switch to the menu 2020-07-11 12:04:26 +03:00
eray orçunus 00bba630f6 enable island loading for now 2020-07-10 12:28:00 +03:00
eray orçunus aabf0f4c2c keep loading screen, but for a second 2020-07-09 21:48:43 +03:00
Sergeanur c012e5a7ff Disable loading screen 2020-07-09 20:40:15 +03:00
Sergeanur cf69f22a0c Remove island loading 2020-07-09 19:18:42 +03:00
eray orçunus 1cea84d2b1 Remove console and fix sth 2020-07-04 16:01:07 +03:00
eray orçunus addb701638 Merge branch 'master' of https://github.com/GTAmodding/re3 into erorcun 2020-07-03 16:51:58 +03:00
eray orçunus 15548758ac Bettah car enter canceling, fix CFO crash, ped objs. renaming 2020-07-03 16:51:33 +03:00
Nikolay Korolev 85e899c1a5
fixed typo 2020-07-03 15:15:42 +03:00
eray orçunus ed036df3ce Re-enable console for debugging frontend 2020-07-03 05:40:22 +03:00
Nikolay Korolev 01b15fe807
reenabled script logging 2020-07-03 01:28:41 +03:00
Filip Gawin bf2624692c Fix displaying stats 2020-07-03 00:04:49 +02:00
eray orçunus c4cd210ae0 Disable VC_PED_PORTS, better cancellable car enter, weapon and cops fixes 2020-07-02 16:01:42 +03:00
aap 575f35f2c4 fixes to CBoat 2020-07-01 18:03:59 +02:00
Nikolay Korolev a1356f1001
copypaste bug 2020-07-01 15:38:32 +03:00
erorcun eda50bc32b
Restored beta police system(disabled), fixes from miami, debug info for CFO crash (#639) 2020-07-01 15:28:43 +03:00
Nikolay Korolev 779d4e02a4 little fix 2020-07-01 15:12:25 +03:00
Sergeanur da93b0a078 Audio fixes 2020-06-30 19:06:58 +03:00
Sergeanur a15f3ddb8b Fix glfw build 2020-06-30 08:08:50 +03:00
Sergeanur c80bdf3a2a Rename IsAnyButtonPressed to CheckForInput 2020-06-30 07:43:55 +03:00
Sergeanur 6d396ba73b Fix MBlur 2020-06-30 07:43:20 +03:00
aap b072cbca93 cleanup 2020-06-29 12:12:52 +02:00
Fire_Head 7b22b7e2af
Update MemoryCard.cpp 2020-06-29 11:38:30 +03:00
Fire-Head 3b3324de38 Update MBlur.cpp 2020-06-29 11:14:00 +03:00
Fire-Head d9cb9583bf update glfw.cpp 2020-06-29 11:04:30 +03:00
Fire-Head 2f12d0e231 Update MBlur.cpp 2020-06-29 10:40:06 +03:00
Fire-Head fcac1f9a34 fix linux build? 2020-06-29 10:36:35 +03:00
Fire-Head 63fdcf7e64 menu fixes 2020-06-29 10:29:02 +03:00
Fire_Head 0cd2ac7e5e
Update AudioLogic.cpp 2020-06-29 09:41:56 +03:00
Fire_Head 860f75d66c
Merge branch 'master' into ps2menu 2020-06-29 09:37:53 +03:00
Nikolay Korolev 209b7891d1 Merge remote-tracking branch 'upstream/master' 2020-06-28 16:24:37 +03:00
Nikolay Korolev 920bc0a1bf fix 2020-06-28 16:24:09 +03:00
aap 418bee9c22 renamed 2dfx shadowRange to Size 2020-06-28 12:05:42 +02:00
Nikolay Korolev d6e111bb67 script logging fixes 2020-06-28 11:59:20 +03:00
Fire-Head 1f1782c587 restore Text.cpp 2020-06-28 08:32:56 +03:00
Fire-Head b8f633de24 fixes 2020-06-28 01:57:01 +03:00
Fire-Head 233792e2b8 fixfixfix 2020-06-28 00:31:45 +03:00
Fire-Head 1c11a8081f mips overdose 2020-06-28 00:01:51 +03:00
aap cafe4d6f0c rename attractor flag to type 2020-06-25 15:13:08 +02:00
Nikolay Korolev fe77b2ac53 Merge remote-tracking branch 'upstream/master' 2020-06-22 14:07:49 +03:00
Nikolay Korolev ba3fe38f2e fixes 2020-06-22 14:07:19 +03:00
Nikolay Korolev 043f09f3fb
Merge pull request #637 from Nick007J/master
script logging
2020-06-22 13:27:25 +03:00
Nikolay Korolev 7a71a47f74 updated player control names 2020-06-21 16:00:17 +03:00
aap 98baa36f1a FOV fix 2020-06-21 14:50:00 +02:00
Nikolay Korolev 08af34bc99 Merge remote-tracking branch 'upstream/master' 2020-06-21 15:49:30 +03:00
aap 3859efff42 ps2 cam transitions done (hopefully) 2020-06-21 14:41:39 +02:00
Nikolay Korolev 0ab4496423 copypaste 2020-06-21 13:51:20 +03:00
Nikolay Korolev f5cba0ce89 script logging 2020-06-21 13:46:23 +03:00
aap 586e8a2ab4 tried to reconstruct bills cam 2020-06-21 11:03:20 +02:00
aap e1c58131c4 PS2 cam transition mostly working 2020-06-21 00:40:07 +02:00
aap 5ad739f096 some PS2 cam code; fix for arrest cam 2020-06-20 14:38:21 +02:00
aap 4cd4f91e57 ccamera cleanup 2020-06-19 09:15:23 +02:00
aap 5f3eb76cff CCam fixes yet again 2020-06-16 13:50:29 +02:00
aap e6d2b49121 more cleanup 2020-06-14 23:16:22 +02:00
aap b77d044729 fixed boat wake 2020-06-14 09:50:00 +02:00
aap 3fe282fbe4 a few cam fixes 2020-06-13 23:39:35 +02:00
eray orçunus 3231c6c3dd ProcessTrainAnnouncements fix 2020-06-13 17:33:30 +03:00
Sergeanur beb6f3bf80 small fixes 2020-06-13 13:57:25 +03:00
Nikolay Korolev d415c4edd3
minor fix 2020-06-13 00:16:10 +03:00
aap 41dac0773f little CCam cleanup; fix in CWorld sphere test 2020-06-12 21:53:39 +02:00
aap 5a961d0284 some cam cleanup; unused PS2 train cams 2020-06-10 23:50:27 +02:00
Sergeanur 03f3b4fc5a remove numbers from enum 2020-06-08 14:33:10 +03:00
aap 94e5b24fc8 cleaned up and fixed animviewer 2020-06-08 13:01:20 +02:00
Sergeanur be9954ecc6 IsMissionAudioSamplePlaying (from VC) 2020-06-08 10:33:32 +03:00
Nikolay Korolev af564d865c fixes 2020-06-08 01:16:21 +03:00
Nikolay Korolev be2291e44c fixed some arithmetic 2020-06-07 15:07:36 +03:00
Sergeanur 31569d512c font fix 2020-06-07 09:10:09 +03:00
Fire-Head 9c0adf6a8f Revert "FONT_BANK renamed to FONT_STANDARD"
This reverts commit 552205dfba.
2020-06-07 05:03:06 +03:00