BVB Source Codes

CRYENGINE Show RichSaveGameTypes.h Source code

Return Download CRYENGINE: download RichSaveGameTypes.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef __RICH_SAVE_GAME_TYPES_H__
  4. #define __RICH_SAVE_GAME_TYPES_H__
  5.  
  6. #pragma pack(push)
  7. #pragma pack(1)
  8.  
  9. struct CryBitmapFileHeader         /**** BMP file header structure ****/
  10. {
  11.         uint16 bfType;           /* Magic number for file */
  12.         uint32 bfSize;           /* Size of file */
  13.         uint16 bfReserved1;      /* Reserved */
  14.         uint16 bfReserved2;      /* ... */
  15.         uint32 bfOffBits;        /* Offset to bitmap data */
  16.  
  17.         AUTO_STRUCT_INFO;
  18. };
  19.  
  20. struct CryBitmapInfoHeader         /**** BMP file info structure ****/
  21. {
  22.         uint32 biSize;           /* Size of info header */
  23.         int32  biWidth;          /* Width of image */
  24.         int32  biHeight;         /* Height of image */
  25.         uint16 biPlanes;         /* Number of color planes */
  26.         uint16 biBitCount;       /* Number of bits per pixel */
  27.         uint32 biCompression;    /* Type of compression to use */
  28.         uint32 biSizeImage;      /* Size of image data */
  29.         int32  biXPelsPerMeter;  /* X pixels per meter */
  30.         int32  biYPelsPerMeter;  /* Y pixels per meter */
  31.         uint32 biClrUsed;        /* Number of colors used */
  32.         uint32 biClrImportant;   /* Number of important colors */
  33.  
  34.         AUTO_STRUCT_INFO;
  35. };
  36.  
  37. #pragma pack(pop)
  38.  
  39. namespace RichSaveGames
  40. {
  41. static const int RM_MAXLENGTH = 1024;
  42.  
  43. struct GUID
  44. {
  45.         uint32        Data1;
  46.         uint16        Data2;
  47.         uint16        Data3;
  48.         unsigned char Data4[8];
  49.  
  50.         AUTO_STRUCT_INFO;
  51. };
  52.  
  53. #pragma pack(push)
  54. #pragma pack(1)
  55. struct RICH_GAME_MEDIA_HEADER
  56. {
  57.         uint32  dwMagicNumber;
  58.         uint32  dwHeaderVersion;
  59.         uint32  dwHeaderSize;
  60.         int64   liThumbnailOffset;
  61.         uint32  dwThumbnailSize;
  62.         GUID    guidGameId;
  63.         wchar_t szGameName[RM_MAXLENGTH];
  64.         wchar_t szSaveName[RM_MAXLENGTH];
  65.         wchar_t szLevelName[RM_MAXLENGTH];
  66.         wchar_t szComments[RM_MAXLENGTH];
  67.  
  68.         AUTO_STRUCT_INFO;
  69. };
  70. #pragma pack(pop)
  71. }
  72. #endif
  73.  
downloadRichSaveGameTypes.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top