// The following ifdef block is the standard way of creating macros which make exporting // from a DLL simpler. All files within this DLL are compiled with the CTCLS_EXPORTS // symbol defined on the command line. this symbol should not be defined on any project // that uses this DLL. This way any other project whose source files include this file see // CTCLS_API functions as being imported from a DLL, wheras this DLL sees symbols // defined with this macro as being exported. #ifdef CTCLS_EXPORTS #define CTCLS_API __declspec(dllexport) #else #define CTCLS_API __declspec(dllimport) #endif #include "ctcl_params.h" CTCLS_API DWORD CTCL_GetVersion(); CTCLS_API int CTCL_GetApplType(); CTCLS_API void CTCL_SetApplType(int nApplType); CTCLS_API int CTCL_GetApplState(); CTCLS_API void CTCL_SetApplState(int nApplState); CTCLS_API int CTCL_GetGameState(); CTCLS_API void CTCL_SetGameState(int nGameState); CTCLS_API int CTCL_GetGameTime(); CTCLS_API void CTCL_SetGameTime(int nGameTime); CTCLS_API int CTCL_GetGameIsServer(); CTCLS_API void CTCL_SetGameIsServer(int nGameIsServer);