Commit Graph
802 Commits
Author SHA1 Message Date
Jonaeru edd58c8925 Fix offset in weapon set by adding IR Scanner and Night Vision 2025-03-30 22:31:51 +09:00
Catherine Reprobate 4f55a41d99 add NVGs and IRGs to CS
- fixes n64-bug: NVGs and IR goggles should not be dual-wieldable
2025-03-23 12:48:16 -07: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
fgsfds 06dcbcc1b1 port: rename random to rngRandom to avoid conflicts with libc 2024-11-17 11:03:57 +01:00
Raf b44dbb16b5 Merge remote-tracking branch 'fgs/port' into port-x64 2024-08-08 17:17:20 +08:00
Raf 8b1e81f32a portx64: pd-extract,preprocess: renamed "_x64" functions, removed now unused preprocess functions, increased snd heap size (x86) 2024-08-08 17:15:33 +08:00
Raf 06c01208d3 portx64: integrate pd-extract functions with romdata 2024-08-02 16:43:21 +08:00
Raf 8a94af6a1c portx64: and more s32 -> uintptr_t 2024-07-30 16:46:02 +08:00
Jonaeru b6b7133e76 port: add no radar on player mp option 2024-07-22 22:44:00 +09:00
fgsfds dce96a4a3d port: add separate extra buttons for accept/cancel 2024-05-18 19:32:34 +02:00
fgsfds 3199f99fbd Merge branch 'port' into port-friendly-fire 2024-05-14 11:32:21 +02:00
fgsfds 4e7e61c207 Merge branch 'port' into port-autorandom 2024-05-14 11:20:29 +02:00
fgsfds 1a3f36f626 Merge pull request #420 from throwaway29292/port
Add an option in Combat Simulator to disable the blur effect from melee damage
2024-05-14 11:02:28 +02:00
Not actually throwaway 798fbf7b90 Add a cheat to allow dual-wielding all guns. The cheat's name is "Gameplay/(Two-Handed)" 2024-05-01 17:55:22 +02:00
Not actually throwaway 5b1d03cbbb Add an option in Combat Simulator to disable the blur effect from melee damage
This effect might be annoyning or eye straining for some people so i believe it's a good idea to implement this option. There is still some free space in the MP Options bitfield for future expansion.
2024-04-24 22:54:15 +02:00
Jonaeru 7580ebcaf9 port: rename constants 2024-03-26 23:45:55 +09:00
Jonaeru c9a14f090b port: add constants 2024-03-26 23:41:57 +09:00
Jonaeru 2483d4fc35 port: add auto random mp weapon option 2024-03-26 00:53:57 +09:00
Jonaeru 0b61ec9641 port: add friendly fire mp option 2024-03-20 01:53:50 +09:00
fgsfds c9f880e427 port: fix #224, allow combat knife in jpn 2024-03-09 22:38:11 +01:00
fgsfds 4baae8de0b port: add extra sleep calls to busy loops; separate sleep into system.c 2024-03-09 17:39:41 +01:00
Hugo Locurcio 02d7efb87f Add an option to color crosshair according to player health + shield
Shield is taken into account and is added to health for the calculation,
as the vast majority of damage types are fully blocked by a shield.

3 modes are available:

- Off (default)
- On (Green): Goes through a red-yellow-green-cyan gradient,
  closer to vanilla.
- On (White): Goes through a red-yellow-white-green gradient,
  closer to games like Xonotic.

When set to either of the On modes, the crosshair color setting
is ignored but the crosshair alpha setting is still used.
2024-01-27 19:21:05 +01:00
fgsfds 474a6df3d4 port: add spawn with weapon mp option
unfortunately it does not fit in the save buffer and won't save
2024-01-16 01:56:30 +01:00
Bobby Lovell 79fb976bcf Implement a simple colored box menu item type and use that for the preview. 2023-12-14 16:03:29 -05:00
fgsfds ef83f23200 port: fix sun aspect ratio 2023-12-01 19:35:04 +01:00
fgsfds 1aea68b89a Revert "port: unsquish the aspect ratio"
This reverts commit af34015562.

I'll have to come up with a better way to do this
2023-12-01 17:21:27 +01:00
fgsfds af34015562 port: unsquish the aspect ratio
this might break something but I haven't noticed anything bad yet
2023-11-30 10:51:21 +01:00
fgsfds 7cd3dafaa4 port: add wide HUD centering option for ultrawide displays 2023-11-27 11:52:53 +01:00
fgsfds 600dae58e2 port: allow using N64 control schemes
change from Ext to another control scheme to activate

note that this will require rebinding keys, as the default config is for the Ext scheme
2023-11-26 18:07:35 +01:00
fgsfds e43d29f357 port: add hold crouch 2023-11-24 22:30:52 +01:00
fgsfds cea9527936 port: add controller axis settings
also make sliders look nicer and save some input settings on quit
2023-10-28 14:36:00 +02:00
fgsfds 015817f204 port: add extended options menu
as well as support for string literals in the menu system
2023-10-28 05:33:09 +02:00
Catherine Reprobate 80d787caf9 Support for two-sticks, one controller
port: implements analog movement for pc controllers

port: Implement menu movement with the C stick

port: Implement analog leaning

port: Implement 1.2 + 1 analog zooming

port: pd input lib now handles 32 buttons

port: modern crouch implementation

port: implement analog slayer airbraking

port: xbla farsight strafing

Map crouch buttons

- map cycle crouch to L3
- sensible 1964-style crouch bindings
2023-10-17 18:28:18 -07:00
fgsfds 704015deac port: modconfig: add user defined extended weather config
includes a way to specify weatherproof rooms and other hardcoded stuff

this might break something, as it removes some hardcoded checks
2023-09-27 19:44:51 +02:00
Jonaeru e606a58515 Add the combat knife in jpn-final, fix #if 2023-09-24 21:58:08 +09:00
Jonaeru 99337e8157 Add the combat knife in jpn-final 2023-09-24 01:30:11 +09:00
fgsfds f8ef6939b0 port: roll back to old variant of #76 2023-09-08 22:28:19 +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 0e5b4bde62 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-28 15:55:54 +02:00
Ryan Dwyer 0b1aabf345 Set names for a heap of shotdata symbols 2023-08-27 21:27:53 +10:00
Catherine Reprobate 0d7bd746ac move abstracted n64 buttons to contants.h 2023-08-26 16:17:54 -07:00
tmyqlfpir d03617d682 Add classic weapons to multiplayer 2023-08-26 11:09:58 +10:00
Ryan Dwyer 38345c1672 Set names for menumodel symbols 2023-08-22 08:48:32 +10:00
Catherine Reprobate 68c00af44e Mapped reload to X_BUTTON.
Introduce `JO_ACTION*` constants to use `player.bondreloadoractivate` as a bit
field.

Deviation from vanilla Mouse Injector behavior: hard seperation between
reload and activate. `B` will not reload just as `ALT1` will not
activate.
2023-08-18 14:09:45 -07:00
Ryan Dwyer f1e1e6b204 Set names for headanim symbols 2023-08-05 18:16:16 +10:00
Ryan Dwyer a780b5f179 Identify hov and hovtype properties 2023-06-28 23:37:39 +10:00
Ryan Dwyer 3b4451a2d1 Name more pak symbols 2023-06-25 22:33:57 +10:00
Ryan Dwyer 38c478259f Name and document pathfinding functions 2023-06-13 21:44:29 +10:00
Ryan Dwyer 154153b605 Discover remaining pad flags 2023-06-12 22:16:28 +10:00
Ryan Dwyer 7c1c377db0 Decompile titleRenderPdLogo 2023-06-07 17:57:00 +10:00