diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/GlobalFunc.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/T2DLL/GlobalFunc.h b/src/T2DLL/GlobalFunc.h new file mode 100644 index 0000000..9375677 --- /dev/null +++ b/src/T2DLL/GlobalFunc.h @@ -0,0 +1,40 @@ +#pragma once +#include "common.h" + +struct ACTPALETTEENTRY; +struct SUBPLUGINFSENTRY { + int spfse_m0; + int spfse_m4; + int spfse_m8; + int spfse_mC; // size? +}; + +char *strtokEx(char *, const char *, char **); +void InsetRect(RECT *, int, int); +void SetPt(POINT *, int, int); +HBITMAP Create256DIBitmap(HDC, int, int); +LOGPALETTE *ConvACTPalette(ACTPALETTEENTRY *); +LOGPALETTE *LoadACTPaletteEntries(HINSTANCE, int); +void FFSetStaticForce(int, int); +CString GetInstallSource(); +CString GetInstallSourceDrive(); +T2TowerDoc *GetCurrentT2TowerDoc(); +HINSTANCE GetWorldModuleHandle(); +CString GetModuleName(HINSTANCE); +unsigned int TickCount(); +int DispatchOptionEvent(OPTIONEVENTTYPE, void *); +CFile *OpenSubPluginFS(const char *, int, int, SUBPLUGINFSENTRY *); +void __Rep0(const char *, int, const char *); +void __Rep1(const char *, int, const char *, unsigned long); +void __Rep2(const char *, int, const char *, unsigned long, unsigned long); +void GetTowerDirectory(char *); +CString GetTowerDirectory(); +CString LoadStringA(HINSTANCE, int, int); +CString LoadStringTable(HINSTANCE, int, int); +void CopyPalette(LOGPALETTE *, LOGPALETTE *, int, int, int); +void WriteMachineProfileString(const char *, const char *, const char *); +void WriteMachineProfileInt(const char *, const char *, int); +CString GetMachineProfileString(const char *, const char *, const char *); +int GetMachineProfileInt(const char *, const char *, int); + +DLL_EXPORT CT2App *gT2App; |