Clone of PhatAC @ https://github.com/floaterxk/PhatAC

StdAfx.h 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #pragma once
  2. #pragma warning(disable: 4503)
  3. #define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
  4. #define _CRT_SECURE_NO_WARNINGS
  5. #pragma warning( disable : 4503 ) //4503 can safely be ignored
  6. #ifdef _DEBUG
  7. #define CRTDBG_MAP_ALLOC
  8. #include <stdlib.h>
  9. #include <crtdbg.h>
  10. #endif
  11. #include <windows.h>
  12. #include <commctrl.h>
  13. #include <time.h>
  14. #include "zlib/zlib.h"
  15. #include "mysql/mysql.h"
  16. //STL
  17. #include <vector>
  18. #include <list>
  19. #include <map>
  20. #include <hash_map>
  21. #include <string>
  22. #include <iterator>
  23. #include <algorithm>
  24. #include <stdint.h>
  25. #include <stdio.h>
  26. #include <set>
  27. #include "resource.h"
  28. #define stricmp _stricmp
  29. #define strlwr _strlwr
  30. class CPhysicsObj;
  31. class CBasePlayer;
  32. #include "Common.h"
  33. #include "Util.h"
  34. #include "Globals.h"
  35. extern class CDatabase *g_pDB;
  36. extern class CMYSQLDatabase *g_pDB2;
  37. extern class CGameDatabase *g_pGameDatabase;
  38. extern class CWorld *g_pWorld;
  39. extern class CNetwork *g_pNetwork;
  40. #include "DATDisk.h"
  41. #include "TurbineData.h"
  42. #include "TurbinePortal.h"
  43. #include "TurbineCell.h"
  44. #include "Rules.h"
  45. extern TURBINEPORTAL* g_pPortal;
  46. extern TURBINECELL* g_pCell;
  47. extern GAMERULES* g_pGameRules;
  48. extern bool g_bDebugToggle;