Commit Graph
142 Commits
Author SHA1 Message Date
Phnod 2a5160c519 cleanup: move repetitive zoom fov logic to single multiplier value 2023-08-31 20:39:30 -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
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 24ced381de port: add separate mouse aim sensitivity
Game.MouseAimSpeedX and Game.MouseAimSpeedY
2023-08-31 01:21:33 +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 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 d39d7fb1f5 port: small cleanup 2023-08-30 12:02:24 +02:00
Raf 1a7458a290 fix whitespace issues 2023-08-29 16:26:33 +08:00
Raf 9a259acefa enable using mouse on the radial menu: removed unused constants 2023-08-29 02:41:11 +08:00
Raf 92392da6fe enable using mouse on the radial menu: reworked
mouse+kb and other input devices are no longer exclusive when using the radial menu
2023-08-29 02:39:16 +08:00
Raf 0f6920a3f1 Merge branch 'base-port' into port 2023-08-28 23:55:15 +08:00
fgsfds 0e5b4bde62 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-28 15:55:54 +02:00
fgsfds 916d147619 port: skip detail textures
this fixes the carpet in Defection and maybe other places, but means that detail textures are broken for now
2023-08-28 15:03:51 +02:00
Raf ab17a995a4 enable using mouse on the radial menu 2023-08-28 04:50:26 +08:00
squiddingme 3f562c3009 Add config option to control crosshair/gun sway 2023-08-28 02:40:50 +08:00
fgsfds 66443dd2c2 port: don't explode when EEPROM can't be saved or loaded 2023-08-27 17:49:27 +02:00
fgsfds 89849bc805 port: read keybinds from config file 2023-08-27 17:26:57 +02:00
fgsfds 4fef14f9fc port: rework config system
it is no longer required to specify all possible config keys in config.c, you can just use configGet/Set
2023-08-27 17:26:46 +02:00
fgsfds 9529a991ef Merge pull request #68 from NeonNyan/controller-buttons
Multiple input updates
2023-08-27 13:06:16 +02:00
fgsfds 1f49665c05 Merge pull request #103 from iamgreaser/gm/fix-choppy-audio-at-non-60fps
Fix choppy audio at sub-60fps framerates
2023-08-27 12:49:54 +02:00
fgsfds 558875c91c port: fix the RGBA4/8 hack
this fixes the door hinge thing textures in CI
2023-08-27 02:17:30 +02:00
GreaseMonkey 5b0874daef Fix choppy audio at sub-60fps framerates 2023-08-27 12:12:21 +12:00
Catherine Reprobate 10844e7a52 fixup controller use buttons 2023-08-26 16:14:43 -07:00
Catherine Reprobate 077a091f7d fixup camspy bindings 2023-08-26 16:14:43 -07:00
Catherine Reprobate f88493870a Address multiple extended input nits
- Q for radial menu
- mapped remaining xbla buttons, but the menus follow switch controller handfeel
- based on @Phnod's switch-weapons PR: https://github.com/fgsfdsfgs/perfect_dark/pull/57
2023-08-26 16:14:43 -07:00
Catherine Reprobate 3f6f0b3f9c map sensible xbox inputs
xbox A is mapped to n64 B for using items
n64 A is unmapped for controller.

When radial / weapon switching is mapped way from n64 A n64 A can be
remapped as a cancel button .
Trigger will need to be used for the menus until
2023-08-26 16:14:43 -07:00
Phnod 5a0580005f Added scrollwheel weapon swapping 2023-08-26 16:14:43 -07:00
MaikelChan 5710b2a7dd Fixed credits texts with wrong UVs. 2023-08-26 13:24:42 +02:00
fgsfds 844139b339 port: restart currently playing MP3 when needed
there's probably a way to determine reset condition without adding an extra field to g_Mp3Vars, but I can't be arsed to figure it out
2023-08-26 10:34:35 +02:00
fgsfds 4ab1e08129 port: make sun and light glares use LOS checks
this partially fixes them, but there are still problems to iron out
2023-08-25 17:18:02 +02:00
fgsfds 87529f37c8 port: use gettimeofday() as timing source; use smaller tick multiplier to avoid overflows 2023-08-24 18:11:14 +02:00
fgsfds a85a18774f port: implement NVG/IRG color modulation using the grayscale command
still missing the funky overlays
2023-08-22 23:21:55 +02:00
fgsfds 143d2a107a port: save config on exit 2023-08-22 20:37:18 +02:00
fgsfds 2533a844a7 port: fix use-after-free when invalidating texcache 2023-08-22 01:35:13 +02:00
fgsfds 62ea74f332 port: turns out rodata comes after texture data 2023-08-22 00:57:27 +02:00
fgsfds 3a10d47903 port: fix normals 2023-08-22 00:42:36 +02:00
fgsfds 12eeb97e71 port: don't go out of bounds when unswizzling textures
this might still break though, god knows what else is there in the texconfigs
2023-08-22 00:30:41 +02:00
fgsfds 2670db7ca1 port: add rstick fields to OSContPad 2023-08-21 00:29:51 +02:00
fgsfds b9944e8669 port: don't crash when swapping empty rooms 2023-08-20 22:20:12 +02:00
fgsfds 2b6b205a78 port: min supported SDL version should now be 2.0.12 2023-08-20 21:25:06 +02:00
fgsfds 8c6d6df5fc port: be a bit more standard compliant 2023-08-20 19:59:07 +02:00
fgsfds 4b0f2ea439 port: unswizzle pre-swizzled textures 2023-08-20 17:26:11 +02:00
fgsfds e0ced73d8a port: fix model lighting 2023-08-20 16:26:21 +02:00
fgsfds f1186a35d8 port: forgot this 2023-08-20 15:48:46 +02:00