ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Patches/Utility.c
(Generate patch)

Comparing Daodan/src/Patches/Utility.c (file contents):
Revision 994 by alloc, Mon Apr 7 10:33:27 2014 UTC vs.
Revision 1163 by rossy, Sun Oct 24 02:50:48 2021 UTC

# Line 101 | Line 101 | void ONICALL DDrMake_Weapon_Message(char
101          else {
102                  memcpy(output_ptr, default_msg, sizeof(default_msg));
103          }
104        
105 }
104  
105 < typedef struct
108 < {
109 <        uint16_t x;
110 <        uint16_t y;
105 > }
106  
107 < } IMtPoint2D;
113 < IMtPoint2D Point = {256, 250};
107 > IMtPoint Point = {256, 250};
108   extern void* TSrTest;
109   extern void* TSrScores;
110   unsigned int lastPasteTime;
# Line 121 | Line 115 | void DDrPasteHack()
115   {
116          COtTextArea* cons = *(COtTextArea**)0x00571B74;
117          char* clipboardText = 0;
118 <        if(ONgGameState->Input.Current.Actions1 & Action_Console && GetKeyState(0x56) & 0x80 && GetKeyState(VK_CONTROL) & 0x80 )
118 >        if(ONgGameState->Input.ActionsDown & Action_Console && GetKeyState(0x56) & 0x80 && GetKeyState(VK_CONTROL) & 0x80 )
119          {
120                  if(cons && cons->text_entries && cons->num_text_entries)
121                  {

Diff Legend

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