ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Oni/GameState.h
(Generate patch)

Comparing Daodan/src/Oni/GameState.h (file contents):
Revision 992 by alloc, Sat Apr 5 10:19:11 2014 UTC vs.
Revision 1161 by rossy, Sun Oct 24 02:50:22 2021 UTC

# Line 304 | Line 304 | enum { //action flags
304          Action_StopRecord                = 0x800,
305          Action_PlayRecord                = 0x1000,
306          Action_F12                       = 0x2000,
307        Action_Unknown1                  = 0x4000,
307          Action_LookMode                  = 0x8000,
308          Action_Screenshot                = 0x10000,
310        Action_Unknown2                  = 0x20000,
311        Action_Unknown3                  = 0x40000,
312        Action_Unknown4                  = 0x80000,
313        Action_Unknown5                  = 0x100000,
309          Action_Forward                   = 0x200000,
310          Action_Backward                  = 0x400000,
311          Action_TurnLeft                  = 0x800000,
# Line 322 | Line 317 | enum { //action flags
317          Action_Punch                     = 0x20000000,
318          Action_Kick                      = 0x40000000,
319          Action_Block                     = 0x80000000,
320 <        //used in second action field
321 <        Action2_Walk                     = 1,
322 <        Action2_Action                   = 2,
323 <        Action2_Hypo                     = 4,
324 <        Action2_Reload                   = 8,
325 <        Action2_Swap                     = 0x10,
326 <        Action2_Drop                     = 0x20,
327 <        Action2_Fire1                    = 0x40,
328 <        Action2_Fire2                    = 0x80,
334 <        Action2_Fire3                    = 0x100,
320 >        Action_Walk                      = 0x100000000ull,
321 >        Action_Action                    = 0x200000000ull,
322 >        Action_Hypo                      = 0x400000000ull,
323 >        Action_Reload                    = 0x800000000ull,
324 >        Action_Swap                      = 0x1000000000ull,
325 >        Action_Drop                      = 0x2000000000ull,
326 >        Action_Fire1                     = 0x4000000000ull,
327 >        Action_Fire2                     = 0x8000000000ull,
328 >        Action_Fire3                     = 0x10000000000ull,
329   };
330  
337
338 typedef struct {
339        int32_t Actions1;
340        int32_t Actions2;
341 } InputAction;
342
343
331   typedef struct {
332          float MouseDeltaX;
333          float MouseDeltaY;
334 <        float field_8;
335 <        float field_C;
336 <        InputAction Current;
337 <        InputAction Stopped;
338 <        InputAction Start;
339 <        InputAction Stop;
334 >        float unknown1;
335 >        int unknown2;
336 >        uint64_t ActionsDown;
337 >        uint64_t ActionsUp;
338 >        uint64_t ActionsPressed;
339 >        uint64_t ActionsReleased;
340   } GameInput;
341  
342   typedef struct {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)