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
fgsfds
3c020cad84
port: detect gl core and GLES3 at runtime; add hacks to make it work properly
2024-11-20 12:07:18 +01:00
fgsfds
140f6f24e8
ci: actually update osx builds to releases
2024-11-19 18:17:16 +01:00
fgsfds
c7895d937f
tools: fix the python warning about the \h
2024-11-19 18:15:05 +01:00
fgsfds
9f43c906db
ci: osx: don't install packages already in runner; enable releases and port-net
2024-11-19 18:08:41 +01:00
fgsfds
31dbb5e7c6
ci: osx: actually install SDL2
2024-11-19 18:02:03 +01:00
fgsfds
7d8e755fc7
ci: forgor to checkout source
2024-11-19 17:58:21 +01:00
fgsfds
103fb0e0e9
ci: what the fuck?
2024-11-19 17:56:48 +01:00
fgsfds
b220d73f2c
ci: add osx autobuilds
2024-11-19 17:50:10 +01:00
fgsfds
efda5a5f44
port: also try GL4.1 core; a little bit of cleanup
2024-11-19 17:37:19 +01:00
fgsfds
41d5630eec
Merge pull request #534 from cylonicboom/port-osx
...
osx build
2024-11-19 17:28:02 +01:00
Catherine Reprobate
cea20b6f31
osx build
2024-11-17 10:51:45 -08:00
fgsfds
06dcbcc1b1
port: rename random to rngRandom to avoid conflicts with libc
2024-11-17 11:03:57 +01:00
Matthew Coppola
d7a612302e
Discard player momentum during autowalk sequences
...
Prevents potential softlock during The Duel.
2024-11-17 03:56:20 -05:00