Commit Graph
7008 Commits
Author SHA1 Message Date
Phnod 7d96cd8fbd Merge branch 'port' of https://github.com/Phnod/perfect_dark into zoom-hud-fov
# Conflicts:
#	port/src/main.c
#	src/include/data.h
2023-09-03 15:39:46 -04:00
fgsfds 840a2e73a5 port: implement screen shake 2023-09-03 19:12:29 +02:00
Phnod d033a7fa02 Merge branch 'port' of https://github.com/Phnod/perfect_dark into zoom-hud-fov
# Conflicts:
#	src/include/data.h
2023-09-02 19:05:12 -04:00
fgsfds 07c3a513ef port: generalize the texture font filter a bit
now called TextureFilter2D; although for now I couldn't find anything other than fonts to use it on
2023-09-03 00:36:27 +02:00
fgsfds 18b467a4d8 Merge pull request #127 from Phnod/font-filtering
port: add a config option to disable texture filtering on fonts
2023-09-03 00:22:06 +02:00
fgsfds ff8505c013 Merge pull request #130 from Phnod/rotated-text-cutoff-fix
fix: remove height trim on rotated text
2023-09-03 00:19:06 +02:00
fgsfds 7207bb6293 Merge pull request #137 from NeonNyan/pc-ab
Use XBox / PC Menu A/B semantics
2023-09-02 23:21:30 +02:00
Catherine Reprobate 0d6a62ada0 Use XBox / PC Menu A/B semantics
Fixes #110
2023-09-02 13:28:21 -07:00
fgsfds 721c27c329 port: add exit option to 4mb menu 2023-09-02 22:05:33 +02:00
fgsfds 702db43590 port: workarounds for some sky issues 2023-09-02 19:35:04 +02:00
fgsfds 0942f61aff port: possibly fix skyboxes
by just rendering them with normal triangles
2023-09-02 16:18:06 +02:00
fgsfds 56df5b4054 port: ignore invert pitch setting when mouse aiming 2023-09-01 23:08:52 +02:00
fgsfds cc079e842b port: small crashhandler fix 2 2023-09-01 22:58:45 +02:00
fgsfds 37907dccfc port: small crashhandler fix 2023-09-01 22:49:45 +02:00
fgsfds 701193e71a port: add crash handler
you probably won't get symbol names, but you can still use addr2line
2023-09-01 22:42:44 +02:00
Phnod eff475c498 fix: nudge menu left side text a pixel to the left to counteract extra pixel column 2023-09-01 14:38:17 -04:00
Phnod 5235581e33 fix: remove height trim on rotated text 2023-09-01 13:49:50 -04:00
fgsfds e5e685902c port: don't use G_RM_NOOP2 with non-noop 1cyc modes
this ALMOST fixes sparks and blood splatter
2023-09-01 17:56:00 +02:00
fgsfds b0d97bde89 port: possibly fixed a bunch of textures
at the cost of about 22kb extra memory, how horrifying
2023-09-01 17:55:07 +02:00
Phnod 810db26bf4 fix: undo regression with previous cleanup, horizon scanner previously showed the wrong zoom level relative to FOV change 2023-09-01 10:07:15 -04:00
Phnod 5033c096a2 cleanup: move PLATFORM_N64 preprocessor checks for fov zoom into a separate macro to reduce clutter 2023-09-01 09:48:53 -04:00
fgsfds 29dae044cc port: also disable hi-res and aspect options in 2p pause menu 2023-09-01 12:45:05 +02:00
fgsfds 9744b2266f port: dummy out hi-res and screen ratio options 2023-09-01 09:22:09 +02:00
Phnod 9eb3ffcc30 port: add a config option to disable texture filtering on fonts 2023-09-01 00:02:47 -04:00
Phnod 917209cb65 fix: remove +1 from horizon scanner's displayed zoom level to show the accurate zoom level
Previously the display would instantly jump from 1.00x to 2.01x, and show 31.00x instead of 30.00 at the max zoom level
2023-08-31 21:31:31 -04:00
Phnod 0bf57ddd48 fix: apply FovAffectsZoom to horizon scanner zoom 2023-08-31 21:26:00 -04:00
Phnod fb009ae52f fix: allow dynamic zoom weapons to fully zoom out to 1x zoom 2023-08-31 20:58:33 -04:00
Phnod 2a5160c519 cleanup: move repetitive zoom fov logic to single multiplier value 2023-08-31 20:39:30 -04:00
Phnod 349b502149 port: apply FovAffectsZoom to Farsight's secondary fire mode 2023-08-31 20:39:30 -04:00
Phnod 1c1164d9e8 port: apply FovAffectsZoom changes to max zoom level for sniper, farsight and horizon scanner 2023-08-31 20:39:29 -04:00
Phnod 35386bbd2c port: modify default zoom level for dynamic zoom weapons if fovzoom ini option is enabled
This affects the Sniper Rifle, Farsight, and Horizon Scanner
2023-08-31 20:39:29 -04:00
Phnod 96bd8e05aa port: add ini config parameter to control whether ini FOV change should affect the max zoom of weapons 2023-08-31 20:39:29 -04:00
Phnod 85c1adb258 port: adjust max zoom range by FOV ini value 2023-08-31 20:39:29 -04:00
Phnod e540a42c9c port: modify zoom range hud to use player FOV 2023-08-31 20:39:29 -04:00
fgsfds 60e2118001 Merge pull request #114 from iamgreaser/gm/ubfix-0001
Fix a few cases of UB incl. OoB
2023-08-31 18:29:38 +02:00
fgsfds e883144a76 port: fix texformat errors 2023-08-31 13:00:04 +02:00
fgsfds b6a3aef345 port: add logging and some command line args
--log: logs messages to pd.log

--boot-stage N: sets initial stage number to N (MP stages will crash or hang if booted like this)

--no-sound: disable sound

--rom-file S: set ROM filename
2023-08-31 12:54:18 +02:00
fgsfds 2e49ba10dd port: aspect correct radial menu 2023-08-31 10:36:21 +02:00
fgsfds 24ced381de port: add separate mouse aim sensitivity
Game.MouseAimSpeedX and Game.MouseAimSpeedY
2023-08-31 01:21:33 +02:00
fgsfds e265482cb4 port: more widescreen HUD hacks 2023-08-31 00:55:17 +02:00
fgsfds ba8346edb7 port: experimental hack for proper 16:9 HUD
might or might not be more convenient than editing all offsets
2023-08-31 00:45:18 +02:00
fgsfds 600f261dcb port: don't crash silently on GL errors 2023-08-30 18:19:54 +02:00
fgsfds 14efaee388 port: add wide rect commands; fix crosshair spazzing out on screen borders
if you're building manually, this change requires a clean rebuild
2023-08-30 17:21:13 +02:00
fgsfds 687682cab0 port: fix gamepad aiming with MOUSEAIM_CLASSIC
also uninvert Y when moving the camera with it
2023-08-30 16:10:42 +02:00
fgsfds c3b4d59168 port: add 1964GEPD-like mouse aim mode
you can switch to the old variant by setting Game.MouseAimMode to 1 in pd.ini
2023-08-30 15:28:33 +02:00
fgsfds 970e13773d port: remove unused fileSlots array 2023-08-30 12:45:39 +02:00
fgsfds af1422a1de port: move CrosshairSway and FovY to the [Game] ini section
fov doesn't really belong in the video functions either
2023-08-30 12:31:27 +02:00
fgsfds 4947350230 Merge pull request #70 from squiddingme/crosshair
Config option to control crosshair/gun sway
2023-08-30 12:15:57 +02:00
fgsfds e29e20e779 port: small cleanup; decrease bigfont height to 26
this avoids scrolling in the main menu; will probably also help with the extended options later
2023-08-30 12:14:18 +02:00
fgsfds 3490f1d7ae Merge pull request #104 from kronflux/port
Add an exit option to main menu
2023-08-30 12:03:20 +02:00