home *** CD-ROM | disk | FTP | other *** search
/ NEXT Generation 27 / NEXT27.iso / pc / demos / emperor / dx3.exe / SDK / SAMPLES / IKLOWNS / CGGLOBL.H < prev    next >
C/C++ Source or Header  |  1996-08-28  |  2KB  |  90 lines

  1. /*===========================================================================*\
  2. |
  3. |  File:        cgglobl.h
  4. |
  5. |  Description: 
  6. |       
  7. |-----------------------------------------------------------------------------
  8. |
  9. |  Copyright (C) 1995-1996 Microsoft Corporation.  All Rights Reserved.
  10. |
  11. |  Written by Moss Bay Engineering, Inc. under contract to Microsoft Corporation
  12. |
  13. \*===========================================================================*/
  14.  
  15. /**************************************************************************
  16.  
  17.     (C) Copyright 1995-1996 Microsoft Corp.  All rights reserved.
  18.  
  19.     You have a royalty-free right to use, modify, reproduce and 
  20.     distribute the Sample Files (and/or any modified version) in 
  21.     any way you find useful, provided that you agree that 
  22.     Microsoft has no warranty obligations or liability for any 
  23.     Sample Application Files which are modified. 
  24.  
  25.     we do not recomend you base your game on IKlowns, start with one of
  26.     the other simpler sample apps in the GDK
  27.  
  28.  **************************************************************************/
  29.  
  30. #ifndef CGGLOBL_H
  31. #define CGGLOBL_H
  32.  
  33. #include <windows.h>
  34.  
  35. // NOTE: these scalar values are used in iklowns.gam & cglevel.cpp
  36. typedef enum
  37. {
  38.     MCP_UNKNOWN = 0,
  39.     MCP_386 = 1,
  40.     MCP_486 = 2,
  41.     MCP_PENTIUM = 3
  42. } MC_PROCESSOR;
  43.  
  44. typedef enum
  45. {
  46.     MCB_UNKNOWN = 0,
  47.     MCB_ISA = 1,
  48.     MCB_EISA = 2,
  49.     MCB_PCI = 3
  50. } MC_BUSTYPE;
  51.  
  52. typedef enum
  53. {
  54.     MCV_UNKNOWN = 0,
  55.     MCV_DDRAW = 1
  56. } MC_VIDSYS;
  57.  
  58. typedef struct _MACHINE_CAPS
  59. {
  60.     MC_PROCESSOR processor;
  61.     MC_BUSTYPE bus;
  62.     DWORD sysMemory;
  63.     DWORD vidMemory;
  64.     MC_VIDSYS vidSystem;
  65. } MACHINE_CAPS;
  66.  
  67. #ifdef __cplusplus
  68. extern "C"
  69. {
  70. #endif
  71.  
  72. extern HINSTANCE ghInst;
  73. extern HWND ghMainWnd;
  74. extern BOOL gUse_DDraw;
  75. extern BOOL gDoubleBuffer;
  76.  
  77. extern int gSoundMode;
  78. extern BOOL gMusicOn;
  79. extern BOOL gActive;
  80.  
  81. extern char gDataPath[];
  82.  
  83. extern MACHINE_CAPS gMachineCaps;
  84.  
  85. #ifdef __cplusplus
  86. }
  87. #endif
  88.  
  89. #endif // CGGLOBL_H
  90.