mirror of
https://github.com/pj64team/Project64-Legacy.git
synced 2026-04-02 04:36:25 +00:00
General code clean-up performed. Notably the message map for handling window messages on Cheat Search was reformatted. All references to JAL (jump and link) have been removed as this will never be implemented. A new option to preallocate memory for search results was added at some point, I forget if it was included in a previous build or not. The limit of 4096 search results for listview has been removed since it is now virtualized. The list view has two colors (Green for higher, red for lower) added for live update status of values. Clicking on the results list view and typing results in the listview showing the resulting address.
26 lines
670 B
C
26 lines
670 B
C
#ifndef CS_INPUT_H
|
|
#define CS_INPUT_H
|
|
|
|
typedef struct CUSTOM_PROC {
|
|
WNDPROC callBack;
|
|
HWND hWnd;
|
|
int max_value;
|
|
int value;
|
|
} CUSTOM_PROC;
|
|
|
|
struct CUSTOM_PROC VALUE_DEC;
|
|
struct CUSTOM_PROC VALUE_HEX;
|
|
struct CUSTOM_PROC ADDR_HEX;
|
|
struct CUSTOM_PROC VALUE_SEARCH;
|
|
|
|
LRESULT CALLBACK CheatSearch_Add_Proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
LRESULT CALLBACK HexEditControlProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
LRESULT CALLBACK DecEditControlProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
BOOL isDec(WPARAM wParam);
|
|
BOOL isHex(WPARAM wParam);
|
|
BOOL isSpecial(WPARAM wParam);
|
|
|
|
CUSTOM_PROC *getOriginalProc(HWND hWnd);
|
|
|
|
#endif |