Commit Graph
32 Commits
Author SHA1 Message Date
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
Catherine Reprobate 355f0ed0ee IR Goggle support for 4player and 1-2p draw fixes
- allocate memory for 4player's IR goggle scanlines
- fixes IR goggle alignment
- fixes IR lens for players 2 and 4
- fixes off-by-one rendering error for top two players (bottom of screen)
- fixes off-by-one rendering error for right-side players (right side of semicircle thing)
- fixes dark area flickering; use resolved shading for props if not wearing goggles
- port: fix IR goggle off-by-one draw issues
2025-03-23 12:47:06 -07:00
Catherine Reprobate 701c854ced func0f0d5484 -> savebufferWriteData 2024-12-19 12:51:17 -08:00
Catherine Reprobate afd432444b add editorconfig 2024-12-19 10:14:50 -08:00
Catherine Reprobate cea20b6f31 osx build 2024-11-17 10:51:45 -08:00
Catherine Reprobate 8fe95d7d52 Fixes N64 MP NVG flashing bug 2024-11-09 00:10:09 -08:00
Catherine Reprobate 68aee1d2f2 fix for rcp120 alt button behavior 2024-04-14 14:49:32 -07:00
Catherine Reprobate 8d99ac92a0 fixup: PC controls camspy instant abort
only consider first controller for camspy input
2023-11-26 14:54:12 -08:00
Catherine Reprobate 0e043f24b5 Remote mine fixes
- N64 fix: fixes issue where selecting the remote mine from the active menu
  or the inventory menu when Jo already has a remote mine equipped
  causes the player to unequip the detonator

Confirmed this issue presents on ntsc-final on 1964GEPD.

- port fix: fixes issue with remote mine input handler where the
  previous active menu slotnum would be activeated. The slotnum is
  unconditionally set to 4 (the "resting no-op" slotnum) to prevent this
2023-11-06 22:09:48 -08:00
Catherine Reprobate 3feddd8c64 port: fixes #205 radial movement issue 2023-10-29 16:13:04 -07:00
Catherine Reprobate 9b65199d3d fix: port: xbla-style quick detonate fix
- adds A + X to list of quick-detonate keybinds: correct xbla behavior for quick detonating per the xbox
implementation
2023-10-29 15:48:50 -07:00
Catherine Reprobate 0ea3bea096 port: put instant detonate flow in own function 2023-10-22 16:35:30 -07:00
Catherine Reprobate 05c108a950 fixup: quick detonate 2023-10-22 16:23:25 -07:00
Catherine Reprobate 940ba8c4c0 fixup: Use the float abs function 2023-09-29 17:29:08 -07:00
Catherine Reprobate 0d6a62ada0 Use XBox / PC Menu A/B semantics
Fixes #110
2023-09-02 13:28:21 -07:00
Catherine Reprobate aa8e08e4d0 Update readme 2023-08-26 18:35:07 -07:00
Catherine Reprobate 2a78f6902d handle b button differently if N64 platform 2023-08-26 17:56:36 -07:00
Catherine Reprobate 8ec0feb49b fix: grabbable 2023-08-26 17:16:41 -07:00
Catherine Reprobate df8c1139a1 fix: sniper crouching 2023-08-26 16:27:41 -07:00
Catherine Reprobate 0d7bd746ac move abstracted n64 buttons to contants.h 2023-08-26 16:17:54 -07:00
Catherine Reprobate e95c7f144e fixes AB remote detonation 2023-08-26 16:14:43 -07: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
Catherine Reprobate 93679e62e8 tested with xbox one controller
map implemented buttons to xbla positions

map radial menu to middle the mouse button
2023-08-20 00:00:00 -07:00
Catherine Reprobate c3dc838acb F to crouch w/ sniper
F to crouch with sniper
F + Z to crouch with sniper
2023-08-19 14:47:43 -07:00
Catherine Reprobate 781fbcddd4 fixup bindings:
F and G will switch modes and bringup the radial menu
2023-08-18 16:37:41 -07:00
Catherine Reprobate ffae4540f9 dedicated radial menu mapped to D_JPAD 2023-08-18 14:34:58 -07:00
Catherine Reprobate 25b5f66e6b map L_TRIG to alt button
- switches immediately when releases L
- or whenevever L+Z is pressed. Will switch back when L is released.
2023-08-18 14:32:08 -07: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
Catherine Reprobate 12571746d7 Unmap L_TRIG and *_JPAD 2023-08-18 13:59:13 -07:00