 |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
85 ascii source_filename;
86 ascii source_file_format;
87 ascii source_pixel_format;
88 ascii parsed_pixel_format;
103 {1,
"haloman30",
"Initial implementation."},
104 {2,
"haloman30",
"Add test datarefs and tagrefs"},
105 {3,
"haloman30",
"Remove all test fields, actual initial implementation"},
106 {4,
"haloman30",
"Add multiple filtering enums for min, mag, mip, and allow bitmap filter mode to override material filter mode"},
107 {5,
"haloman30",
"Add support for RGBA8_UNORM pixel formats, move format_temp to import info block as parsed_pixel_format"},
116 "The texture filtering mode adjusts how the bitmap is displayed in-game. Below is a list of all filtering modes and their ideal use cases.\n"
120 "* Point - Minimal filtering mode that preserves sharp edges. Ideal for pixel art or other similar cases.\n"
122 "* Linear - Balanced filtering mode that will attempt to blend pixels together to avoid a pixelated appearance, with a minimal performance impact. Ideal for most situations.\n"
124 "* Anisotropic - Best filtering mode. Performs the poorest but gives the best possible image quality.\n"
126 "* None - No filtering is applied. Will often be identical to Point filtering."),
127 new Enum32Field(
"filtering mode (min)",
"The texture filtering mode for minification. See comment above for details.",
134 new Enum32Field(
"filtering mode (mag)",
"The texture filtering mode for magnification. See comment above for details.",
141 new Enum32Field(
"filtering mode (mip)",
"The texture filtering mode for mip-mapping. See comment above for details.",
150 "force mip filtering mode",
151 "force min filtering mode",
152 "force mag filtering mode",
155 "***************************************************************************************************************************\n"
159 "The fields below contain the raw bitmap data. It is updated when you reimport the bitmap.\n"
163 "Any changes you make below will be lost in the next import, and may even cause 'bad things' to happen - such as invalid textures or crashes.\n"
167 "If you wish to make any changes to a bitmap, you should simply re-import the image from its source. If the source image filehas been lost, consult the documentation for methods to export a bitmap tag back into a source image file.\n"
171 "***************************************************************************************************************************"),
172 new Enum32Field(
"format",
"The pixel format of the bitmap data.",
178 new Vector2Field(
"size",
"The resolution of the bitmap."),
179 new Int16Field(
"bytes per line",
"The amount of bytes needed for a single line/row of pixels for this bitmap."),
183 "The fields listed below refer to data from the originally imported file, and are not used by the engine directly."),
184 new Int64Field(
"source filesize",
"The file size of the original image, in bytes."),
185 new AsciiField(
"source filename",
"The file name (or file path) of the original image."),
186 new AsciiField(
"source file format",
"The format of the original image."),
187 new AsciiField(
"source pixel format",
"The original pixel format of the source image."),
188 new AsciiField(
"parsed pixel format",
"The pixel format of the interpreted image data during import."),
Class representing an int16 tag field.
Definition: int.h:59
Namespace containing functions related to tag data.
Definition: bitmap.h:195
Class representing an ascii tag field.
Definition: ascii.h:18
Class representing a vector2 tag field.
Definition: vector.h:34
Class representing a data reference, or dataref for short.
Definition: dataref.h:19
BitmapTagClass()
Definition: bitmap.h:96
int16_t bytes_per_line
The amount of bytes needed for a single line/row of pixels for this bitmap.
Definition: bitmap.h:79
TAG_BLOCK(import_info, { int64_t source_filesize;ascii source_filename;ascii source_file_format;ascii source_pixel_format;ascii parsed_pixel_format;})
std::vector< BlamTagClassField * > fields
A series of tag fields that store the layout of the tag.
Definition: tags.h:195
Typedef for a bitfield8 field, used in tag data definitions.
Definition: tags.h:332
bitmap_filtering_mode filtering_mode_mag
Definition: bitmap.h:47
std::vector< BlamTagClassRevision > revisions
List of all tag class revisions. Does not get written to tags, but is included in plugin files.
Definition: tags.h:194
vector2 size
The resolution of the bitmap.
Definition: bitmap.h:78
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
std::string class_name_short
The short, 4-character name of the tag class.
Definition: tags.h:192
int version
The tag class version. Should be incremented any time a tag class is modified whatsoever.
Definition: tags.h:193
bitmap_filtering_mode filtering_mode_mip
Definition: bitmap.h:48
std::string class_name_long
The longer class name. Typically shown alongside short name for user-friendliness.
Definition: tags.h:191
long long int64_t
Definition: stdint.h:14
Class representing an int64 tag field.
Definition: int.h:33
unsigned int uint32_t
Definition: stdint.h:17
BLAM bitmap * GetBitmapTag(std::string tag_path)
Definition: bitmap.cpp:16
data_reference pixel_data
The raw pixel data for the bitmap.
Definition: bitmap.h:77
#define BLAM
Definition: bitmap.h:19
bitfield8 flags
Definition: bitmap.h:49
Structure representing a data reference.
Definition: tags.h:318
int tag_size
The size of the tag's data. Used on loading/writing tag files.
Definition: tags.h:196
bitmap_filtering_mode
Definition: bitmap.h:22
void * address
The address pointing to the start of the tag's data.
Definition: tags.h:128
short int16_t
Definition: stdint.h:12
Class used to contain and access tag data.
Definition: tags.h:125
bitmap_filtering_mode filtering_mode_min
Definition: bitmap.h:46
Class representing a tag block field, also sometimes referred to as a struct or reflexive in the modd...
Definition: block.h:19
Class representing a tag class.
Definition: tags.h:188
TAG_ENUM(format, { BF_RGBA8_UNORM, BF_UNUSED, })
The fields below contain the raw bitmap data.
Class representing a bitfield8 tag field.
Definition: bitfield.h:33