Commit Graph

145 Commits

Author SHA1 Message Date
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
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
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
a728a542be Graphics menu + MSAA 2020-08-16 01:37:09 +03:00
Sergeanur
e7945625b5 Original screen grabber 2020-08-14 18:57:23 +03: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
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
c4f9bfdc44
added FreeBSD support 2020-08-05 14:33:50 +02:00
eray orçunus
eb8844fd11 Fix casepath chaos 2020-07-28 17:40:12 +03:00
eray orçunus
199d57b16c Fix/change some Windows define 2020-07-25 15:18:15 +03:00
eray orçunus
15918feb8e 90% fixes, 10% skel refactoring 2020-07-24 21:35:04 +03:00
eray orçunus
1dc6fbda1f 64-bit on Windows 2020-07-22 18:51:28 +03: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
70df13f9d3 Fixes from miami 2020-07-20 22:47:41 +03:00
Sergeanur
e8ded77e27 Add fix/workaround for black screen at startup 2020-07-17 21:14:48 +03:00
eray orçunus
1cea84d2b1 Remove console and fix sth 2020-07-04 16:01:07 +03:00
eray orçunus
ed036df3ce Re-enable console for debugging frontend 2020-07-03 05:40:22 +03:00
Fire-Head
d9cb9583bf update glfw.cpp 2020-06-29 11:04:30 +03:00
Fire-Head
63fdcf7e64 menu fixes 2020-06-29 10:29:02 +03:00
Fire_Head
860f75d66c
Merge branch 'master' into ps2menu 2020-06-29 09:37:53 +03:00
Fire-Head
1c11a8081f mips overdose 2020-06-28 00:01:51 +03:00
eray orçunus
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
Filip Gawin
c2ac6b3759 Fix linux warnings 2020-05-12 23:18:54 +02:00
eray orçunus
36e2bc95d3 Fix Windows build and premake 2020-05-11 20:10:01 +03:00
eray orçunus
8a4fa58cd4 Linux build support 2020-05-11 21:00:55 +03:00
eray orçunus
f754da272f Menu map fixes and resizable window on GLFW 2020-05-09 13:43:08 +03:00
aap
edd9301d7f reverting fuckup 2020-05-06 09:59:04 +02:00
aap
bb0541404d updated librw 2020-05-06 09:24:12 +02:00
eray orçunus
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
804b022e67 implemented improved video modes for win.cpp 2020-04-29 18:24: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
Nikolay Korolev
68bf239868
Merge pull request #489 from Nick007J/master
1.1 patch stuff + flying controls
2020-04-27 00:53:54 +03:00
aap
41586c7cda fixes for glfw 2020-04-26 20:16:31 +02:00
Sergeanur
b7ee3792df Remove struct workaround in CControllerConfigManager 2020-04-26 20:11:19 +03:00
eray orçunus
6c1a1f7cd2 Initial GLFW support 2020-04-26 13:29:50 +03:00
Nikolay Korolev
34ef766c67 Merge remote-tracking branch 'upstream/master' 2020-04-25 12:15:29 +03:00
aap
f03b4eec4c implemented skinned peds, no cutscene hands yet 2020-04-24 11:42:38 +02:00
Nikolay Korolev
0b12cacf15 more 1.1 patch 2020-04-24 01:01:41 +03:00
eray orçunus
c80403a2e0 Crossplatform work continues 2020-04-22 05:24:02 +03:00
Sergeanur
599164006a Remove patches 2020-04-17 16:31:11 +03:00
Fire-Head
a4922d5cb7 rem refs 2020-04-17 08:54:14 +03:00
Sergeanur
d455cd8a62 Default native resolution mode and small camera fixes 2020-04-16 00:46:09 +03:00
Fire-Head
3769170113 (PS2) TheGame/main/GameInit/SystemInit, ProcessSlowMode 2020-04-09 02:52:38 +03:00
eray orçunus
a3b519ea64 CShotInfo, CWanted done, Frontend fix 2020-03-29 19:02:26 +03:00
eray orçunus
39c9a05827 Limit frontend FPS to 100 2020-03-28 23:28:36 +03:00
Fire-Head
3366cd0ff8 WaterCannon done, resource ico 2020-03-28 17:02:44 +03:00
Filip Gawin
8f01eab5ab Fixes for Serge's review 2020-03-22 17:30:54 +01:00
Sergeanur
a3e5ccde47 cMusicManager 2020-02-07 02:30:00 +02:00
Sergeanur
c202fc3b55 Implemented faststrcmp, faststricmp, strcasecmp 2019-10-30 01:35:31 +02:00
Sergeanur
d84033a710 Small CPad fixes 2019-10-29 17:21:02 +02:00
Fire_Head
6a46cc6c3b
Merge branch 'master' into master 2019-10-27 06:36:58 +03:00
Fire-Head
537aaca5c2 ControllerConfig done
Fix Cam enum
2019-10-27 06:17:30 +03:00
Sergeanur
d5a72fa597 Audio stuff moved around, removed MusicManager dependencies, eMusicMode used for ChangeMusicMode 2019-10-26 15:20:12 +03:00
Filip Gawin
2fabbc3b4c More more more audio 2019-08-27 21:18:47 +02:00
eray orçunus
5bea16c7cc AnimViewer! 2019-08-15 17:51:39 +03:00
Fire-Head
73e2a4b035 Merge branch 'master' of github.com:Fire-Head/re3 2019-08-02 23:23:05 +03:00
Fire-Head
6ba2b05443 sampman done 2019-08-02 23:20:12 +03:00
aap
60364f11da fixed dinput 2019-07-25 12:38:25 +02:00
aap
2d986b79d2
Merge pull request #153 from ThirteenAG/master
premake and appveyor update
2019-07-20 15:31:09 +02:00
ThirteenAG
a8dfcc25c7 premake and appveyor update 2019-07-20 16:13:16 +03:00
aap
60045ec6cd couple of fixes 2019-07-20 14:39:38 +02:00
aap
90e093cd47 and of course the last commit didnt fix everything 2019-07-10 17:34:11 +02:00
aap
4a36d64f15 added wrappers around math functions 2019-07-10 17:18:26 +02:00
_AG
69b5c9f1e0 Update Frontend. 2019-07-03 17:30:26 +02:00
aap
25865e68c4 cleaned up to be closer to original game 2019-07-03 13:13:55 +02:00
aap
e8215cf560
Revert "Implemented frontend inputs." 2019-07-02 22:05:11 +02:00
_AG
6c693e3bbf Implemented frontend inputs.
Fixed #66 and few other stuff.
2019-07-02 14:36:40 +02:00
Filip Gawin
2115faec38 Cleanup project a bit 2019-06-30 12:56:50 +02:00
aap
48cf8b6629 misc stuff, mostly collision 2019-06-28 19:23:28 +02:00
_AG
e765dfe90a Initial commit for Frontend.
Bug fixes:
fix #40, fix #39, fix #38, fix #37, fix #21.
Code organization and cleanup...
2019-06-25 02:36:26 +02:00
aap
b5fba778c4 first part of CFileLoader 2019-06-17 22:40:15 +02:00
aap
0add48abf5 got rid of upper case types 2019-06-17 00:23:19 +02:00
Fire_Head
9689def6a5
Merge branch 'master' into master 2019-06-13 03:47:13 +03:00
Fire-Head
75bca8e31e CPad done 2019-06-13 03:35:26 +03:00
aap
3472a614ae fixed CFileMgr somewhat; still issues when loading saves 2019-06-13 01:12:37 +02:00
Fire-Head
87655bc1cf tmp 2019-06-11 12:30:53 +03:00
Fire-Head
e952d3e624 VK_LEFT fix 2019-06-05 23:25:13 +03:00
Fire-Head
4fc80e7b73 win.cpp/skeleton.cpp done 2019-06-05 22:28:54 +03:00
Fire-Head
2a6349e200 input done, fixed cheats input 2019-06-05 22:18:06 +03:00
Fire-Head
0c495cb188 added NO_MOVIES 2019-06-03 01:25:46 +03:00
Fire-Head
31f349d9c2 gamestates fixed, mpeg now working 2019-06-03 00:42:51 +03:00
Fire-Head
caa61ad10b mouse fixed 2019-06-02 16:33:37 +03:00
aap
cb12ee03ca fixed merge 2019-06-02 10:31:40 +02:00
Fire-Head
b1f9e28cd1 skeleton updated, windows specific stuff added 2019-06-02 06:00:38 +03:00
Fire-Head
28fce310d5 rw skeleton 2019-05-31 20:02:26 +03:00