Ignore:
Timestamp:
Oct 24, 2021, 4:50:48 AM (3 years ago)
Author:
rossy
Message:

Daodan: Add new local input system based on Raw Input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Oni/Symbols_Func.h

    r1017 r1163  
    5757
    5858DefFunc(void, ONrGameState_Timer_Start, ONICALL, (char* function, int time), 0x004FD370);
    59 DefFunc(void, ONrGameState_HandleUtilityInput, ONICALL, (const void* inInput), 0x004f6200);
     59DefFunc(void, ONrGameState_HandleUtilityInput, ONICALL, (GameInput *input), 0x004f6200);
    6060DefFunc(uint8_t, ONrDebugKey_WentDown, ONICALL, (uint32_t inKey), 0x005050d0);
    6161
     
    177177DefFunc(void, LIrActionBuffer_Add, ONICALL, (void* unknown, LItDeviceInput* input), 0x00403b30);
    178178
     179// Called during the game loop to run the Windows message loop
     180DefFunc(UUtBool, LIiPlatform_InputEvent_GetEvent, ONICALL, (void), 0x004036d0);
     181
     182// Called by the game loop to get the latest input frames
     183DefFunc(void, LIrActionBuffer_Get, ONICALL, (short* count, LItActionBuffer **buffers), 0x00403be0);
     184
     185// Gets the mouse position
     186DefFunc(void, LIrPlatform_InputEvent_GetMouse, ONICALL, (int active, LItInputEvent *info), 0x00402ca0);
     187
     188// Checks if a keyboard key is pressed
     189DefFunc(UUtBool, LIrPlatform_TestKey, ONICALL, (int key, int active), 0x00403930);
     190
     191// Translates a key name (from key_config.txt) to a key code
     192DefFunc(int, LIrTranslate_InputName, ONICALL, (char *name), 0x00403a90);
     193
     194// Updates TargetGameTime in the game state
     195DefFunc(void, ONrGameState_UpdateServerTime, ONICALL, (GameState *game_state), 0x004fbeb0);
     196
     197// Basically stricmp, but it only ever does ASCII case folding
     198DefFunc(int, UUrString_Compare_NoCase, ONICALL, (const char *str1, const char *str2), 0x004266d0);
     199
     200// A safe strcpy which lets you specify the size of the target buffer and always
     201// NUL-terminates. Kind of like strlcpy. Just don't call it with dest_size = 0.
     202DefFunc(void, UUrString_Copy, ONICALL, (char *dest, const char *src, size_t dest_size), 0x004265f0);
    179203
    180204#undef DefFunc
Note: See TracChangeset for help on using the changeset viewer.