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

Comparing Daodan/src/Daodan_WindowHack.c (file contents):
Revision 354 by rossy, Thu Jun 18 12:30:27 2009 UTC vs.
Revision 427 by gumby, Thu Jul 16 06:10:18 2009 UTC

# Line 6 | Line 6
6   #include "BFW_Motoko_Draw.h"
7   #include "oni_gl.h"
8  
9 + #include "Oni_Character.h"
10 +
11   volatile HWND onihwnd, boxhwnd = NULL;
12   int inclient = 0;
13   int dragging = 0;
# Line 128 | Line 130 | BOOL WINAPI LIiP_GetCursorPosHook(LPPOIN
130                  lpPoint->x = gl->DisplayMode.Width / 2;
131                  lpPoint->y = gl->DisplayMode.Height / 2;
132          }
133 +        if (GetAsyncKeyState(VK_F12))
134 +        {
135 +                CHARTest();
136 +        }
137          else
138          {
139                  if (!GetCursorPos(lpPoint))

Diff Legend

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