Elaztek Developer Hub
Blamite Game Engine - blam!  00368.02.12.23.1347.blamite
The core library for the Blamite Game Engine.
cache_file_resource_data.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 #ifndef BLAM
7 #define BLAM
8 #endif
9 
10 namespace Blam::Content::Tags
11 {
12 #pragma pack(push, 1)
13 
19  {
20  TAG_ENUM(cache_type,
21  {
22  solo,
23  multi,
24  singleplayer_shared,
25  multiplayer_shared
26  });
27 
28 
29  };
30 #pragma pack(pop)
31 
32  namespace Classes
33  {
35  {
36  public:
38  {
39  class_name_long = "cache_file_resource_data";
40  class_name_short = "zone";
41  version = 2;
42 
43  revisions = {
44  {1, "haloman30", "Initial implementation."},
45  };
46 
48 
49  fields =
50  {
51  new CommentField("Bitmap", "im gonna shove a bitmap up your ass"),
52  };
53  }
54  };
55  }
56 
57  BLAM cache_file_resource_data* GetCacheFileResourceDataTag(std::string tag_path);
58 }
Blam::Content::Tags
Namespace containing functions related to tag data.
Definition: bitmap.h:151
Blam::Content::Tags::cache_file_resource_data::TAG_ENUM
TAG_ENUM(cache_type, { solo, multi, singleplayer_shared, multiplayer_shared })
Blam::Content::Tags::Classes::CacheFileResourceDataTagClass
Definition: cache_file_resource_data.h:34
BLAM
#define BLAM
Definition: cache_file_resource_data.h:7
BlamTagClass::revisions
std::vector< BlamTagClassRevision > revisions
List of all tag class revisions. Does not get written to tags, but is included in plugin files.
Definition: tagclass.h:49
BlamTagClass::class_name_short
std::string class_name_short
The short, 4-character name of the tag class.
Definition: tagclass.h:47
Blam::Content::Tags::GetCacheFileResourceDataTag
BLAM cache_file_resource_data * GetCacheFileResourceDataTag(std::string tag_path)
Definition: cache_file_resource_data.cpp:5
BlamTagClass::version
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tagclass.h:48
BlamTagClass::class_name_long
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tagclass.h:46
fields.h
Blam::Content::Tags::cache_file_resource_data
Structure representing a Cache File Resource Data tag.
Definition: cache_file_resource_data.h:18
BlamTagClass::tag_size
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tagclass.h:53
tagclass.h
Blam::Content::Tags::Classes::CacheFileResourceDataTagClass::CacheFileResourceDataTagClass
CacheFileResourceDataTagClass()
Definition: cache_file_resource_data.h:37
CommentField
Class representing a comment field.
Definition: comment.h:23
BlamTagClass
Class representing a tag class.
Definition: tagclass.h:43
BlamTagClass::fields
std::vector< BlamPluginField * > fields
A series of tag fields that store the layout of the tag.
Definition: tagclass.h:51