home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Source / Chapter 12 / Game / Main.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-10-01  |  1.4 KB  |  39 lines

  1. //-----------------------------------------------------------------------------
  2. // The main entry point. This file links the game to the engine.
  3. //
  4. // Programming a Multiplayer First Person Shooter in DirectX
  5. // Copyright (c) 2004 Vaughan Young
  6. //-----------------------------------------------------------------------------
  7. #ifndef MAIN_H
  8. #define MAIN_H
  9.  
  10. //-----------------------------------------------------------------------------
  11. // System Includes
  12. //-----------------------------------------------------------------------------
  13. #include <windows.h>
  14.  
  15. //-----------------------------------------------------------------------------
  16. // Engine Includes
  17. //-----------------------------------------------------------------------------
  18. #include "..\Engine\Engine.h"
  19. #pragma comment( lib, "../Engine/Engine.lib" )
  20.  
  21. //-----------------------------------------------------------------------------
  22. // Game Includes
  23. //-----------------------------------------------------------------------------
  24. #include "GameMaterial.h"
  25. #include "PlayerObject.h"
  26. #include "PlayerManager.h"
  27. #include "Menu.h"
  28. #include "Game.h"
  29.  
  30. //-----------------------------------------------------------------------------
  31. // Player Data Structure
  32. //-----------------------------------------------------------------------------
  33. struct PlayerData
  34. {
  35.     char character[MAX_PATH];
  36.     char map[MAX_PATH];
  37. };
  38.  
  39. #endif