From eb71aa0d04d91d3463981e6ff304282c6f482087 Mon Sep 17 00:00:00 2001 From: scarab Date: Mon, 28 Jul 2008 21:54:04 +0000 Subject: - nove nastaveni pro klavesy (not yet complete), smazte keyconfig - par uprav pro win32 (ve stejnem stavu jako predchozi) git-svn-id: http://opensvn.csie.org/tuxanci_ng@177 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/base/modules.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/base/modules.h') diff --git a/src/base/modules.h b/src/base/modules.h index 8036a6a..5ad0287 100644 --- a/src/base/modules.h +++ b/src/base/modules.h @@ -31,7 +31,11 @@ typedef struct export_fce_s int (*fce_getNetTypeGame)(); int (*fce_loadDepModule)(void *name); +#ifndef __WIN32__ void (*fce_addToExportFce)(char *name, void *function); +#else + void (*fce_addToExportFce)(char *name, HINSTANCE *function); +#endif void* (*fce_getExportFce)(char *name); void (*fce_getTuxProportion)(tux_t *tux, int *x,int *y, int *w, int *h); @@ -56,7 +60,11 @@ typedef struct export_fce_s typedef struct module_s { char *name; +#ifndef __WIN32__ void *image; +#else + HINSTANCE *image; +#endif int (*fce_init)(export_fce_t *p); #ifndef PUBLIC_SERVER -- cgit v1.2.3