fgsfds
1e76f6af69
port: actually parse allocation strings; double gfx buffer size on 64-bit
2024-12-17 10:44:33 +01:00
fgsfds
a14e9ed97e
port: retry creating SDL window when trying different GL versions
2024-12-11 14:06:44 +01:00
Matthew Coppola
615e9267d8
Make mouse aim speed resolution-independent
2024-12-10 17:36:57 -05:00
fgsfds
4f2b911802
Merge pull request #555 from ZenithMDC/fix-crash-on-copy
...
Prevent crash when copying player data
2024-12-09 23:34:30 +01:00
Matthew Coppola
c43f550a7e
Prevent crash when copying player data
2024-12-09 16:20:56 -05:00
fgsfds
2439eb6e8d
Merge pull request #551 from ZenithMDC/increase-mouse-speed-precision
...
Increase precision for mouse speed options
2024-12-08 13:40:23 +01:00
fgsfds
903dd82ebf
port: alternate fix for #548
2024-12-08 13:39:21 +01:00
Matthew Coppola
cb449bf7ce
Increase precision for mouse speed options
2024-12-06 22:40:57 -05:00
Matthew Coppola
e2e5bc352d
Call text_end (text0f153780) for correctness sake
2024-12-06 17:20:24 -05:00
Matthew Coppola
687b966c5e
Allow overriding g_TickRateDiv at runtime
2024-12-06 17:20:24 -05:00
Matthew Coppola
0b8a333e2b
Rearrange the menu, clean up, and change some things
2024-12-06 17:20:23 -05:00
Matthew Coppola
b34bb01240
Actually sync fullscreen and maximized states with the backend
2024-12-06 17:20:23 -05:00
Matthew Coppola
1e2f6dcb91
Fix mouse input not updating deferred slider while in dimmed mode
2024-12-06 17:20:23 -05:00
Matthew Coppola
210b299bd4
Add Display FPS options to Extended Video Options
...
Also changed how the window title FPS works, which is now derived from
the difference in time between subsequent video frames.
2024-12-06 17:20:23 -05:00
Matthew Coppola
6de98cfcd4
Update GUI texture filtering setting immediately
2024-12-06 17:20:23 -05:00
Matthew Coppola
d43c4c0cba
Allow changing MSAA at runtime
2024-12-06 17:20:23 -05:00
Matthew Coppola
1d14877bec
Allow changing vsync and framerate limit at runtime
...
Also implements a new menu item flag: MENUITEMFLAG_SLIDER_DEFERRED,
which only calls the MENUOP_GETSLIDER callback on entering dimmed mode,
storing its value for later ticks, and only calls the MENUOP_SET
callback on leaving dimmed mode. This was necessary to prevent the
framerate limit slider from immediately affecting the framerate, leading
to an annoying slow down as the value was decremented to 0.
2024-12-06 17:20:22 -05:00
Matthew Coppola
5aa1cc6117
Cache ints instead of strings for video modes
2024-12-06 17:20:22 -05:00
Matthew Coppola
1be0e3680b
Add video option to center the window
2024-12-06 17:20:22 -05:00
Matthew Coppola
09b0a12b0a
Allow changing video resolution at runtime + more
...
Fullscreen exclusive mode is togglable at runtime, as well, as a
dropdown menu with "borderless" and "exclusive" options. All variables
pertaining to video resolution, exclusive mode, and maximized state are
now synchronized. For instance, Alt+Enter will affect the state of the
fullscreen video option and maximizing the window via the title bar will
update the maximize window option accordingly.
2024-12-06 17:20:15 -05:00
fgsfds
05e462b680
Merge pull request #549 from ZenithMDC/fix-dialog-mousescroll
...
Forbid mousescroll if dialog is dimmed
2024-12-05 09:40:32 +01:00
Matthew Coppola
a2e362caea
Forbid mousescroll if dialog is dimmed
2024-12-04 21:23:21 -05:00
fgsfds
49ee5b7efb
Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port
2024-12-04 16:28:15 +01:00
fgsfds
a1ca69d9ee
port: fix issues mentioned in #530 and #532
2024-12-04 16:27:53 +01:00
fgsfds
424d4de9ac
Merge pull request #535 from ZenithMDC/fix-duel-momentum
...
Discard player momentum during autowalk sequences
2024-12-04 11:30:57 +01:00
fgsfds
0e1a7e136a
port: fix uninitialized var in aiIfPresetsTargetIsNotMyTarget ( fixes #542 )
2024-12-04 10:42:48 +01:00
fgsfds
2386494030
port: 64-bit: fix mema end marker ( fixes #545 )
2024-12-02 13:43:28 +01:00
fgsfds
67675d8980
port: fix #541
2024-11-29 09:46:46 +01:00
fgsfds
9c4aded403
port: osx: restore 10.9 target version
2024-11-24 01:05:18 +01:00
fgsfds
92e1c4aa0b
port: osx: temporarily bump target version to 10.13 to test something
2024-11-24 00:31:31 +01:00
fgsfds
f53fb8e952
Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port
2024-11-24 00:25:42 +01:00
fgsfds
0ad4492ff6
port: default to home directory for saves on OSX as well
2024-11-24 00:25:19 +01:00
fgsfds
33efd36278
readme: add note about save folder
2024-11-23 21:11:38 +01:00
fgsfds
37e69cb83d
readme: add osx build instructions
2024-11-23 21:07:21 +01:00
fgsfds
5c5c33c116
readme: small style edit
2024-11-23 20:46:59 +01:00
fgsfds
13a3e0a0ea
readme: specify OS versions
2024-11-23 20:46:17 +01:00
fgsfds
ccb50c6021
readme: update supported platforms
2024-11-23 20:45:16 +01:00
fgsfds
563e8f9f64
port: osx: set minimum OS version to 11 for arm64 builds
2024-11-23 19:36:38 +01:00
fgsfds
df3e0359b9
port: osx: bump OS target to 10.9, since some things in SDL2 won't work with lower
2024-11-23 19:21:25 +01:00
fgsfds
460cc25ef5
port: osx: bump OS target to 10.7, as current SDL2 does not support any lower
2024-11-23 19:13:41 +01:00
fgsfds
596dd7dd40
port: osx: build for MacOS 10.14
2024-11-23 19:05:51 +01:00
fgsfds
b2338179d6
port: don't uncrouch in spaces where we don't fit when using extended controls
2024-11-23 12:14:03 +01:00
fgsfds
683d083fab
port: don't round crosspos itself, round a copy instead
2024-11-23 09:54:43 +01:00
fgsfds
f75a569075
Merge pull request #522 from ZenithMDC/centered-crosshairs
...
Center-align crosshairs, zoom range, and radar
2024-11-23 09:20:48 +01:00
fgsfds
b97eaa9e12
port: simplify night vision check for prop flickering fix
2024-11-22 10:40:20 +01:00
fgsfds
3cadaecf96
Merge pull request #525 from cylonicboom/fix-mp-nvg
...
Fixes MP NVG flashing bug
2024-11-22 10:28:18 +01:00
fgsfds
4bc1a16d36
build: osx: set RPATH to executable path
2024-11-21 19:31:14 +01:00
fgsfds
bc1f1c26db
ci: osx: build with CMAKE_MACOSX_RPATH enabled
2024-11-20 13:59:06 +01:00
fgsfds
d2d35263a4
port: sanitize controller names
...
because apparently some of them can't fucking resist putting a funny R or TM in there
2024-11-20 13:00:41 +01:00
fgsfds
ba1b6c3232
port: turns out depth_clamp is in core GL since 3.2
2024-11-20 12:51:35 +01:00