BWAPI
|
Go to the source code of this file.
Namespaces | |
namespace | BWAPI |
Defines | |
#define | WIN32_LEAN_AND_MEAN |
Functions | |
BOOL APIENTRY | DllMain (HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) |
__declspec (dllexport) BWAPI |
#define WIN32_LEAN_AND_MEAN |
__declspec | ( | dllexport | ) |
Definition at line 24 of file DLL.cpp.
References BWAPI::Broodwar.
{ BWAPI::Broodwar = game; return new Skynet; }
BOOL APIENTRY DllMain | ( | HANDLE | hModule, |
DWORD | ul_reason_for_call, | ||
LPVOID | lpReserved | ||
) |
Definition at line 10 of file DLL.cpp.
References BWAPI::BWAPI_init().
{ switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: BWAPI::BWAPI_init(); break; case DLL_PROCESS_DETACH: break; } return TRUE; }