Mercurial > wgsdk
comparison src/include/main.h @ 10:42ac054c0231
*: huge refactoring
dirtools now uses wchar (wayyy overdue)
the timer doesn't have a stupid design anymore
we don't use windows.h at all now
...
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 11 Feb 2024 19:43:31 -0500 |
parents | 7abb5d8b20ea |
children |
comparison
equal
deleted
inserted
replaced
9:07f0e2f43204 | 10:42ac054c0231 |
---|---|
1 #ifndef __main_h | 1 #ifndef __main_h |
2 #define __main_h | 2 #define __main_h |
3 #ifndef WIN32_LEAN_AND_MEAN | 3 |
4 # define WIN32_LEAN_AND_MEAN | 4 #include <windef.h> |
5 #endif | |
6 #include <windows.h> | |
7 | 5 |
8 typedef struct { | 6 typedef struct { |
9 int version; // version of the plugin structure | 7 int version; // version of the plugin structure |
10 char *description; // name/title of the plugin | 8 char *description; // name/title of the plugin |
11 int(*init)(); // function which will be executed on init event | 9 int(*init)(); // function which will be executed on init event |
24 void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD); | 22 void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD); |
25 int init(); | 23 int init(); |
26 void conf(); | 24 void conf(); |
27 void quit(); | 25 void quit(); |
28 void update_rich_presence_details(void); | 26 void update_rich_presence_details(void); |
27 | |
29 #endif | 28 #endif |