 |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Ogre::TextureGpu * texture
The OGRE texture data.
Definition: textures.cpp:21
@ Screenshots
Directory used to store engine screenshots. Defaults to {DataRoot}/screenshots/.
BLAM BlamConfigurationFile * GetEngineConfiguration()
Retrieves the main engine configuration file.
Definition: config.cpp:58
BLAM Ogre::HlmsUnlitDatablock * CreateDefaultUnlitDatablockForPrimitives(std::string id)
Creates a default Unlit datablock for use with 2D and 3D primitives.
Definition: materials.cpp:966
Ogre::FilterOptions parse_ogre_filter_mode(material_filter_modes filter_mode)
Converts a material filtering mode enum value to the equivalent OGRE filtering mode value.
Definition: materials.cpp:107
Ogre::Window * getRenderWindow(void) const
Definition: GraphicsSystem.h:145
BlamMap< std::string, ogre_texture_info_data * > ogre_texture_map
Map containing information on all loaded textures.
Definition: textures.cpp:30
BLAM bool LoadUnlitDatablockFromMaterialTag(Ogre::HlmsUnlitDatablock *datablock, material *material_tag)
Loads an Unlit datablock from a material tag.
Definition: materials.cpp:230
material * tag_instance
Pointer to the tag that uses this material instance.
Definition: rendering.h:37
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:130
BLAM Ogre::HlmsUnlitDatablock * CreateDefaultUnlitDatablock(std::string id)
Creates a default Unlit datablock.
Definition: materials.cpp:955
BLAM void RebuildDatablocks()
Rebuilds ALL datablocks (including instances) from their original tags.
Definition: materials.cpp:669
Ogre::PbsTextureTypes get_ogre_texture_type_from_material_type(material::pbr_material_entry::textures_entry::texture_type_enum texture_type)
Converts a material tag texture type enum value to the equivalent OGRE texture type.
Definition: materials.cpp:32
bitmap * bitmap_tag
The bitmap tag that the texture originates from.
Definition: textures.cpp:19
material_wrap_modes
Definition: material.h:30
Ogre::HlmsTypes hlms_type
The HLMS type of this material.
Definition: rendering.h:55
std::string GetTagPath()
Retrieves the path of the tag that this tagref refers to.
Definition: tag_reference.cpp:45
Class used to store OGRE material information.
Definition: rendering.h:48
Namespace for animation data.
Definition: animation.h:12
BLAM Ogre::HlmsPbsDatablock * CreateDefaultPbsDatablockForPrimitives(std::string id)
Creates a default PBS datablock for use with 2D and 3D primitives.
Definition: materials.cpp:996
void set_pbs_datablock_texture(Ogre::HlmsPbsDatablock *datablock, Ogre::PbsTextureTypes texture_type, tag_reference tagref)
Assigns a bitmap tag's texture to a PBS datablock.
Definition: materials.cpp:213
bool flag2
Definition: tags.h:336
#define USER_DATA_PATH(path)
Macro to quickly access a user data folder.
Definition: config.h:41
std::string tag_path
The tag path of the bitmap tag that the texture originates from.
Definition: textures.cpp:20
Ogre::TextureAddressingMode parse_texture_addressing_mode(material_wrap_modes wrap_mode)
Converts a material texture wrapping mode enum value to the equivalent OGRE texture addressing mode.
Definition: materials.cpp:131
BLAM Ogre::HlmsPbsDatablock * CreateDefaultPbsDatablock(std::string id)
Creates a default PBS datablock.
Definition: materials.cpp:985
BLAM bool LoadPBSDatablockFromMaterialTag(Ogre::HlmsPbsDatablock *datablock, material *material_tag)
Loads a PBS (Physically-Based Shading) datablock from a material tag.
Definition: materials.cpp:372
int16_t bytes_per_line
The amount of bytes needed for a single line/row of pixels for this bitmap.
Definition: bitmap.h:79
unsigned long long uint64_t
Definition: stdint.h:18
BLAM Ogre::TextureGpu * LoadTexture2D(std::string id, void *pixel_data, int width, int height, Ogre::PixelFormatGpu format, int bytes_per_line)
Loads a 2D texture from data in memory.
Definition: textures.cpp:140
Data structure used to group together information about a texture.
Definition: textures.cpp:17
ogre_material_instance_data * CreateNewInstance(BlamTagData *referencing_tag)
Creates a new instance of this material.
Definition: ogre_material_info_data.cpp:5
#define ENGINE_VERSION
Definition: version_data.h:31
BLAM bool BuildDatablockFromTag(material *material_tag, std::string tag_path)
Creates an OGRE material datablock from a material tag.
Definition: materials.cpp:756
BLAM Ogre::TextureGpu * GetTextureFromTag(std::string tag_path)
Retrieves an OGRE texture from a tag path.
Definition: textures.cpp:93
bitmap_filtering_mode filtering_mode_mag
Definition: bitmap.h:47
vector2 size
The resolution of the bitmap.
Definition: bitmap.h:78
BlamMap< std::string, ogre_material_instance_data * > instances
A map containing all instances of this material.
Definition: rendering.h:63
BLAM void BuildTextureFromTag(bitmap *bitmap_tag, std::string tag_path)
Loads a texture into OGRE from a bitmap tag.
Definition: textures.cpp:81
BLAM uint64_t GetTotalRuntimeTicks()
Gets the total amount of ticks that have elapsed during program runtime.
Definition: tick.cpp:233
ARPHIC PUBLIC LICENSE Ltd Yung Chi Taiwan All rights reserved except as specified below Everyone is permitted to copy and distribute verbatim copies of this license but changing it is forbidden Preamble The licenses for most software are designed to take away your freedom to share and change it By the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software Legal Terms Font means the TrueType fonts AR PL Mingti2L AR PL KaitiM AR PL KaitiM and the derivatives of those fonts created through any modification including modifying reordering converting format
Definition: ARPHICPL.TXT:16
BLAM void WriteScreenshot()
Saves a screenshot of the current frame to a file.
Definition: utils.cpp:25
bitmap_filtering_mode filtering_mode_mip
Definition: bitmap.h:48
Structure representing a tag reference.
Definition: tags.h:272
Ogre::TextureGpu * build_ogre_texture_data(ogre_texture_info_data *texture_info)
Loads a texture into OGRE from a texture information structure.
Definition: textures.cpp:57
Definition: material.h:52
Ogre::CompareFunction parse_material_comparison_function(material_comparison_function comparison_function)
Converts a material comparison function enum value to the equivalent OGRE comparison function value.
Definition: materials.cpp:155
material_filter_modes
Definition: material.h:22
char class_name[4]
The tag class identifier. Will be the short class name.
Definition: tags.h:276
unsigned int uint32_t
Definition: stdint.h:17
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:16
bool needs_reload
Whether or not this material needs to be reloaded.
Definition: rendering.h:53
Ogre::HlmsDatablock * instance_datablock
The datablock used for this material instance.
Definition: rendering.h:36
ascii id
Definition: material.h:56
Data structure used to store OGRE material instance data.
Definition: rendering.h:32
BLAM Demo::GraphicsSystem * GetGraphicsSystem()
Retrieves the graphics system used by OGRE.
Definition: ogre.cpp:336
bool flag1
Definition: tags.h:335
void * data_address
The address of the referenced data.
Definition: tags.h:322
data_reference pixel_data
The raw pixel data for the bitmap.
Definition: bitmap.h:77
bitfield8 flags
Definition: bitmap.h:49
BLAM void ReloadPendingMaterials()
Reloads all datablocks which are flagged as requiring a reload.
Definition: materials.cpp:826
BLAM void ReloadPendingBitmaps()
Reloads all bitmaps that are currently pending a reload.
Definition: textures.cpp:112
Ogre::FilterOptions parse_ogre_bitmap_filter_mode(bitmap_filtering_mode filter_mode)
Converts a bitmap filtering mode enum value to the equivalent OGRE filtering mode value.
Definition: materials.cpp:83
Definition: GraphicsSystem.h:26
Ogre::PixelFormatGpu determine_gpu_pixel_format(bitmap::format_enum tag_format)
Converts a bitmap pixel format enum value to the equivalent OGRE pixel format.
Definition: textures.cpp:40
bool load_pending
Whether or not the texture is currently pending being loaded.
Definition: textures.cpp:22
BLAM ogre_material_instance_data * CreateDatablockInstance(std::string tag_path, std::string referencing_tag_path)
Creates a new datablock instance from a material tag path, and a referencing tag path.
Definition: materials.cpp:917
bitmap_filtering_mode
Definition: bitmap.h:22
bool flag0
Definition: tags.h:334
Class used to contain and access tag data.
Definition: tags.h:125
bool persistent_reload
Whether or not to continuously update this material (ie, live editing).
Definition: rendering.h:54
std::string tag_path
The tag path that this material was loaded from.
Definition: rendering.h:51
BLAM material * GetMaterialTag(std::string tag_path)
Definition: material.cpp:16
void set_unlit_datablock_texture(Ogre::HlmsUnlitDatablock *datablock, Ogre::UnlitTextureTypes texture_type, tag_reference tagref)
Assigns a bitmap tag's texture to an Unlit datablock.
Definition: materials.cpp:189
BLAM Ogre::HlmsDatablock * GetDatablockFromTag(std::string tag_path)
Retrieves an OGRE datablock from a material tag path.
Definition: materials.cpp:884
BlamMap< std::string, ogre_material_info_data * > ogre_material_map
The map containing all available OGRE materials.
Definition: materials.cpp:23
BLAM ogre_material_instance_data * GetDatablockInstanceFromTag(std::string tag_path, std::string referencing_tag_path)
Retrieves a datablock instance from a material tag path, and a referencing tag path.
Definition: materials.cpp:896
Ogre::Root * getRoot(void) const
Definition: GraphicsSystem.h:144
bitmap_filtering_mode filtering_mode_min
Definition: bitmap.h:46
material_comparison_function
Definition: material.h:37
Ogre::HlmsDatablock * datablock
The datablock used for this material.
Definition: rendering.h:52