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

Comparing Daodan/src/Oni/Symbols_Func.h (file contents):
Revision 1017 by alloc, Mon Mar 23 23:29:19 2015 UTC vs.
Revision 1163 by rossy, Sun Oct 24 02:50:48 2021 UTC

# Line 56 | Line 56 | DefFunc(int16_t, ONrGameState_NewCharact
56   DefFunc(void, ONrGameState_DeleteCharacter, ONICALL, (Character *inCharacter), 0x004DC480);
57  
58   DefFunc(void, ONrGameState_Timer_Start, ONICALL, (char* function, int time), 0x004FD370);
59 < DefFunc(void, ONrGameState_HandleUtilityInput, ONICALL, (const void* inInput), 0x004f6200);
59 > DefFunc(void, ONrGameState_HandleUtilityInput, ONICALL, (GameInput *input), 0x004f6200);
60   DefFunc(uint8_t, ONrDebugKey_WentDown, ONICALL, (uint32_t inKey), 0x005050d0);
61  
62   // Get active (player?) character
# Line 176 | Line 176 | DefFunc(uint16_t, LIrBinding_Add, ONICAL
176   // Called when processing key input
177   DefFunc(void, LIrActionBuffer_Add, ONICALL, (void* unknown, LItDeviceInput* input), 0x00403b30);
178  
179 + // Called during the game loop to run the Windows message loop
180 + DefFunc(UUtBool, LIiPlatform_InputEvent_GetEvent, ONICALL, (void), 0x004036d0);
181 +
182 + // Called by the game loop to get the latest input frames
183 + DefFunc(void, LIrActionBuffer_Get, ONICALL, (short* count, LItActionBuffer **buffers), 0x00403be0);
184 +
185 + // Gets the mouse position
186 + DefFunc(void, LIrPlatform_InputEvent_GetMouse, ONICALL, (int active, LItInputEvent *info), 0x00402ca0);
187 +
188 + // Checks if a keyboard key is pressed
189 + DefFunc(UUtBool, LIrPlatform_TestKey, ONICALL, (int key, int active), 0x00403930);
190 +
191 + // Translates a key name (from key_config.txt) to a key code
192 + DefFunc(int, LIrTranslate_InputName, ONICALL, (char *name), 0x00403a90);
193 +
194 + // Updates TargetGameTime in the game state
195 + DefFunc(void, ONrGameState_UpdateServerTime, ONICALL, (GameState *game_state), 0x004fbeb0);
196 +
197 + // Basically stricmp, but it only ever does ASCII case folding
198 + DefFunc(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.
202 + DefFunc(void, UUrString_Copy, ONICALL, (char *dest, const char *src, size_t dest_size), 0x004265f0);
203  
204   #undef DefFunc
205  

Diff Legend

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