forked from Ports/perfect_dark
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.
This commit is contained in:
1 parent
12571746d7
commit
68c00af44e
4 files changed
+25
-3
No files matched your search
@@ -4615,3 +4615,6 @@ enum weaponnum {
|
||||
#define BODY_DARK_NEGOTIATOR 0x96
|
||||
|
||||
#endif
|
||||
|
||||
#define JO_ACTION_ACTIVATE 0x0001
|
||||
#define JO_ACTION_RELOAD 0x0002
|
||||
@@ -5302,6 +5302,7 @@ struct movedata {
|
||||
/* */ f32 freelookdx; // how much the mouse moved ...
|
||||
/* */ f32 freelookdy; // ... in normalized window coordinates
|
||||
#endif
|
||||
/*0xac*/ s32 alt1tapcount;
|
||||
};
|
||||
|
||||
struct attackanimgroup {
|
||||
|
||||
Reference in new issue
Block a user