Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
cui_screen.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../tagclass.h"
4 
5 #ifndef BLAM
6 #define BLAM
7 #endif
8 
9 namespace Blam::Content::Tags
10 {
12  {
14  };
15 
17  {
20  };
21 
22  namespace Classes
23  {
28  {
29  public:
31  {
32  class_name_long = "cui_screen";
33  class_name_short = "cusc";
34  version = 1;
35 
36  revisions = {
37  {1, "haloman30", "Initial implementation."}
38  };
39 
40  tag_size = sizeof(client_ui_screen);
41 
42  fields =
43  {
44  new TagReference("String reference", "", { "unic" }),
45  new Block(sizeof(client_ui_screen__templates), "Templates", "",
46  {
47  new TagReference("Template", "", { "bitm" })
48  })
49  };
50  }
51  };
52  }
53 
54  BLAM client_ui_screen* ClientUIScreenTag(std::string tag_path);
55 }
Blam::Content::Tags::TagReference
Class representing a tag reference, or tagref for short.
Definition: fields.h:717
Blam::Content::Tags
Namespace containing things related to tag data.
Definition: bitmap.h:9
tag_block
Structure representing a tag block.
Definition: tags.h:79
Blam::Content::Tags::Classes::ClientUIScreenTagClass
Tag class information for Color Table tags.
Definition: cui_screen.h:27
Blam::Content::Tags::BlamTagClass::tag_size
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tagclass.h:53
Blam::Content::Tags::Block
Class representing a tag block, also referred to as a struct or reflexive in the modding community.
Definition: fields.h:745
Blam::Content::Tags::BlamTagClass
Class representing a tag class.
Definition: tagclass.h:43
tag_reference
Structure representing a tag reference.
Definition: tags.h:112
Blam::Content::Tags::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::Classes::ClientUIScreenTagClass::ClientUIScreenTagClass
ClientUIScreenTagClass()
Definition: cui_screen.h:30
Blam::Content::Tags::client_ui_screen__templates::template_tag
tag_reference template_tag
Definition: cui_screen.h:13
BLAM
#define BLAM
Definition: discord_rpc.h:8
Blam::Content::Tags::client_ui_screen::string_reference
tag_reference string_reference
Definition: cui_screen.h:18
Blam::Content::Tags::BlamTagClass::version
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tagclass.h:48
Blam::Content::Tags::client_ui_screen__templates
Definition: cui_screen.h:11
Blam::Content::Tags::ClientUIScreenTag
BLAM client_ui_screen * ClientUIScreenTag(std::string tag_path)
Blam::Content::Tags::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
Blam::Content::Tags::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
Blam::Content::Tags::BlamTagClass::fields
std::vector< TagField * > fields
A series of tag fields that store the layout of the tag.
Definition: tagclass.h:51
Blam::Content::Tags::client_ui_screen
Definition: cui_screen.h:16
Blam::Content::Tags::client_ui_screen::templates
tag_block< client_ui_screen__templates > templates
Definition: cui_screen.h:19