 |
Blamite Game Engine - blam!
00388.06.24.23.2301.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
6 #include <Strings/components/utils/io/io.h>
BLAM void TagPostprocess(BlamTagData tag_data)
Performs any required post-processing for a given tag.
Definition: tag_postprocess.cpp:27
BLAM void RegisterTagClass(BlamTagClass *data)
Registers a new tag class within the engine.
Definition: tagclass.cpp:79
Namespace containing functions related to tag data.
Definition: bitmap.h:151
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:142
BLAM void LoadDefaultClasses()
Loads all built-in tag classes available to the engine.
Definition: tagclass.cpp:118
Tag class information for Color Table tags.
Definition: cui_screen.h:30
std::string GetTagPath()
Retrieves the path of the tag that this tagref refers to.
Definition: tag_reference.cpp:63
#define BLAM_EXT_API
Definition: api.h:9
char path[256]
The tag's path.
Definition: tags.h:46
BLAM BlamResult LoadTagFromFile(std::string tag_path, bool reload_if_already_loaded=true)
Loads a tag from the engine's tag directory (default is '.
Definition: tag_io.cpp:194
int data_size
The size of tagref_address.
Definition: tags.h:190
BLAM_EXT_API BlamTagClass * GetTagClass(std::string id)
Retrieves a tag class that matches the given string.
Definition: tagclass.cpp:66
Definition: scenario.h:54
BLAM_EXT_API std::vector< BlamTagClass * > * GetRegisteredTagClasses()
Retrieves the list of all registered tag classes.
Definition: tagclass.cpp:84
Add a fourth parameter to bake specific font ranges NULL
Definition: README.txt:57
#define ENGINE_DATA_PATH(path)
Macro to quickly access a game engine data folder.
Definition: config.h:36
#define BLAM
Definition: tagclass.h:10
Structure representing a Material tag.
Definition: material.h:46
BLAM bool BuildDatablockFromTag(material *material_tag, std::string tag_path)
Definition: materials.cpp:551
char class_name[4]
The tag class identifier. Will be the short class name.
Definition: tags.h:185
BLAM BlamTagData * GetTagData(std::string tag_path)
Retrieves information for a given tag.
Definition: tags.cpp:80
BLAM bitmap * GetBitmapTag(std::string tag_path)
Definition: bitmap.cpp:5
Definition: material.h:200
BLAM std::vector< BlamTagData > * GetLoadedTags()
Retrieves the list of loaded tag data.
Definition: tags.cpp:142
BLAM void GenerateAllPlugins(bool require_switch)
Instructs the engine to generate Assembly/Guerilla plugins at startup.
Definition: tagclass.cpp:89
bool data_is_tag
Whether or not tagref_address points to tag data, or the tag's path.
Definition: tags.h:188
std::vector< BlamTagClass * > registered_classes
List of all registered tag classes.
Definition: tagclass.cpp:64
char identifier[8]
The tag reference identifier. Will always be trfd followed by 4 NULL bytes.
Definition: tags.h:184
bool HasReference()
Checks if a tag reference has a tag specified or not.
Definition: tag_reference.cpp:87
Legacy namespace for tag class data.
Definition: tagclass.h:56
BLAM bool TagNeedsPostprocess(BlamTagData tag_data)
Checks if a given tag requires additional post-processing.
Definition: tag_postprocess.cpp:8
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tags.h:96
@ Plugins
Directory used to store built-in plugin files for use with the Editing Kit. Defaults to ....
Definition: test_tag.h:97
Structure representing a Bitmap tag.
Definition: bitmap.h:27
void * address
The address pointing to the start of the tag's data.
Definition: tags.h:33
Definition: wasd_shit.h:43
Class used to contain and access tag data.
Definition: tags.h:30
BLAM material * GetMaterialTag(std::string tag_path)
Definition: material.cpp:5
void * tagref_address
The address of the tagref data.
Definition: tags.h:187
bool ResolveReference()
Attempts to resolve a tag reference.
Definition: tag_reference.cpp:25
tag_reference()
Initializes a new tag_reference.
Definition: tag_reference.cpp:6
Tag class information for Color Table tags.
Definition: color_table.h:35
Class representing a tag class.
Definition: tags.h:86
BLAM void scenario_structure_bsp()
Legacy function made before I had any idea what I was doing.
Definition: tagclass.cpp:31
BLAM void BuildTextureFromTag(bitmap *bitmap_tag, std::string tag_path)
Definition: textures.cpp:84
std::string tag_class
The tag's short class name.
Definition: tags.h:47
Definition: compile_test_1.h:31