Mercurial > wgsdk
diff src/include/config.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 | 59bf702b2b21 |
children |
line wrap: on
line diff
--- a/src/include/config.h Fri Dec 16 21:55:37 2022 -0500 +++ b/src/include/config.h Sun Feb 11 19:43:31 2024 -0500 @@ -1,9 +1,8 @@ #ifndef __config_h #define __config_h -#ifndef WIN32_LEAN_AND_MEAN -# define WIN32_LEAN_AND_MEAN -#endif -#include <windows.h> + +#include <windef.h> + struct config { int display_title; int show_elapsed_time; @@ -12,4 +11,4 @@ int cfg_load(struct config* config); int cfg_save(struct config config); BOOL CALLBACK cfg_win_proc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); -#endif \ No newline at end of file +#endif