Changeset 1161 for Daodan/src/Oni
- Timestamp:
- Oct 24, 2021, 4:50:22 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/Oni/GameState.h
r992 r1161 305 305 Action_PlayRecord = 0x1000, 306 306 Action_F12 = 0x2000, 307 Action_Unknown1 = 0x4000,308 307 Action_LookMode = 0x8000, 309 308 Action_Screenshot = 0x10000, 310 Action_Unknown2 = 0x20000,311 Action_Unknown3 = 0x40000,312 Action_Unknown4 = 0x80000,313 Action_Unknown5 = 0x100000,314 309 Action_Forward = 0x200000, 315 310 Action_Backward = 0x400000, … … 323 318 Action_Kick = 0x40000000, 324 319 Action_Block = 0x80000000, 325 //used in second action field 326 Action2_Walk = 1, 327 Action2_Action = 2, 328 Action2_Hypo = 4, 329 Action2_Reload = 8, 330 Action2_Swap = 0x10, 331 Action2_Drop = 0x20, 332 Action2_Fire1 = 0x40, 333 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, 335 329 }; 336 337 338 typedef struct {339 int32_t Actions1;340 int32_t Actions2;341 } InputAction;342 343 330 344 331 typedef struct { 345 332 float MouseDeltaX; 346 333 float MouseDeltaY; 347 float field_8;348 float field_C;349 InputAction Current;350 InputAction Stopped;351 InputAction Start;352 InputAction Stop;334 float unknown1; 335 int unknown2; 336 uint64_t ActionsDown; 337 uint64_t ActionsUp; 338 uint64_t ActionsPressed; 339 uint64_t ActionsReleased; 353 340 } GameInput; 354 341
Note:
See TracChangeset
for help on using the changeset viewer.