|
BWAPI
|
#include "WMode.h"#include "Resolution.h"#include "BW/Offsets.h"#include "BWAPI/GameImpl.h"#include "Config.h"#include "Recording.h"#include "../../Debug.h"
Functions | |
| BOOL (WINAPI *_GetCursorPosOld)(LPPOINT lpPoint) | |
| BOOL (STORMAPI *_SDrawLockSurfaceOld)(int surfacenumber | |
| void | InitializeWModeBitmap (int width, int height) |
| void | GetBorderRect (HWND hWnd, LPRECT lpRect) |
| void | GetBorderSize (HWND hWnd, LPSIZE lpSize) |
| LPARAM | FixPoints (LPARAM lParam) |
| bool | SendHotkey (BW::dlgEvent *pEvent) |
| void | ButtonEvent (DWORD dwEvent, LPARAM lParam) |
| void | CorrectWindowWidth (int type, SIZE *ws, RECT *rct, SIZE *border) |
| void | CorrectWindowHeight (int type, SIZE *ws, RECT *rct, SIZE *border) |
| LRESULT CALLBACK | WindowProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| BOOL WINAPI | _GetCursorPos (LPPOINT lpPoint) |
| BOOL WINAPI | _SetCursorPos (int X, int Y) |
| BOOL WINAPI | _ClipCursor (const RECT *lpRect) |
| BOOL __stdcall | _SDrawLockSurface (int surfacenumber, RECT *lpDestRect, void **lplpSurface, int *lpPitch, int arg_unused) |
| BOOL __stdcall | _SDrawUnlockSurface (int surfacenumber, void *lpSurface, int a3, RECT *lpRect) |
| BOOL __stdcall | _SDrawUpdatePalette (unsigned int firstentry, unsigned int numentries, PALETTEENTRY *pPalEntries, int a4) |
| BOOL __stdcall | _SDrawRealizePalette () |
| void | SetWMode (int width, int height, bool state) |
| void | SetCursorShowState (bool bShow) |
Variables | |
| WNDPROC | wOriginalProc |
| HWND | ghMainWnd |
| bool | wmode |
| HDC | hdcMem |
| void * | pBits |
| bool | gbWantUpdate = false |
| bool | gbIsCursorHidden = true |
| bool | gbHoldingAlt = false |
| bool | recordingUpdated |
| bool | switchToWMode = false |
| RECT | windowRect = { 0, 0, 640, 480 } |
| int | Y |
| RECT * | lpDestRect |
| RECT void ** | lplpSurface |
| RECT void int * | lpPitch |
| RECT void int int | arg_unused |
| void * | lpSurface |
| void int | a3 |
| void int RECT * | lpRect |
| unsigned int | numentries |
| unsigned int PALETTEENTRY * | pPalEntries |
| unsigned int PALETTEENTRY int | a4 |
| BITMAPINFO256 | wmodebmp |
| HBITMAP | hwmodeBmp |
| BOOL WINAPI _ClipCursor | ( | const RECT * | lpRect | ) |

| BOOL WINAPI _GetCursorPos | ( | LPPOINT | lpPoint | ) |


| BOOL __stdcall _SDrawLockSurface | ( | int | surfacenumber, |
| RECT * | lpDestRect, | ||
| void ** | lplpSurface, | ||
| int * | lpPitch, | ||
| int | arg_unused | ||
| ) |


| BOOL __stdcall _SDrawRealizePalette | ( | ) |


| BOOL __stdcall _SDrawUnlockSurface | ( | int | surfacenumber, |
| void * | lpSurface, | ||
| int | a3, | ||
| RECT * | lpRect | ||
| ) |


| BOOL __stdcall _SDrawUpdatePalette | ( | unsigned int | firstentry, |
| unsigned int | numentries, | ||
| PALETTEENTRY * | pPalEntries, | ||
| int | a4 | ||
| ) |


| BOOL WINAPI _SetCursorPos | ( | int | X, |
| int | Y | ||
| ) |

| BOOL | ( | WINAPI * | _GetCursorPosOld | ) |
| BOOL | ( | STORMAPI * | _SDrawLockSurfaceOld | ) |
| void ButtonEvent | ( | DWORD | dwEvent, |
| LPARAM | lParam | ||
| ) |


| void CorrectWindowHeight | ( | int | type, |
| SIZE * | ws, | ||
| RECT * | rct, | ||
| SIZE * | border | ||
| ) |

| void CorrectWindowWidth | ( | int | type, |
| SIZE * | ws, | ||
| RECT * | rct, | ||
| SIZE * | border | ||
| ) |

| LPARAM FixPoints | ( | LPARAM | lParam | ) |

| void GetBorderRect | ( | HWND | hWnd, |
| LPRECT | lpRect | ||
| ) |

| void GetBorderSize | ( | HWND | hWnd, |
| LPSIZE | lpSize | ||
| ) |


| void InitializeWModeBitmap | ( | int | width, |
| int | height | ||
| ) |

| bool SendHotkey | ( | BW::dlgEvent * | pEvent | ) |


| void SetCursorShowState | ( | bool | bShow | ) |



| LRESULT CALLBACK WindowProc | ( | HWND | hWnd, |
| UINT | uMsg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) |


| RECT void int int arg_unused |
| bool gbHoldingAlt = false |
| bool gbIsCursorHidden = true |
| bool gbWantUpdate = false |
| HDC hdcMem |
| HBITMAP hwmodeBmp |
| RECT* lpDestRect |
| RECT void** lplpSurface |
| void* lpSurface |
| unsigned int numentries |
| void* pBits |
| unsigned int PALETTEENTRY* pPalEntries |
| bool recordingUpdated |
| bool switchToWMode = false |
| RECT windowRect = { 0, 0, 640, 480 } |
| bool wmode |
| WNDPROC wOriginalProc |
1.7.6.1