Public Member Functions | |
Resources (TwinEEngine *engine) | |
const Common::Array< int32 > & | getMovieInfo (const Common::String &name) const |
void | initResources () |
const Trajectory * | giveTrajPtr (int index) const |
const TrajectoryData & | getTrajectories () const |
void | loadEntityData (EntityData &entityData, int32 &index) |
const TextEntry * | getText (TextBankId textBankId, TextId index) const |
const T_ANIM_3DS * | getAnim (int index) const |
int | findSmkMovieIndex (const char *name) const |
TwineImage | adelineLogo () const |
TwineImage | lbaLogo () const |
TwineImage | eaLogo () const |
TwineImage | activisionLogo () const |
TwineImage | virginLogo () const |
TwineImage | relentLogo () const |
TwineImage | menuBackground () const |
Public Attributes | |
BodyData | _inventoryTable [NUM_INVENTORY_ITEMS] |
uint8 * | _spriteTable [NUM_SPRITES] {nullptr} |
uint32 | _spriteSizeTable [NUM_SPRITES] {0} |
SpriteData | _spriteData [NUM_SPRITES] |
AnimData | _animData [2083] |
uint8 * | _samplesTable [895] {nullptr} |
uint32 | _samplesSizeTable [895] {0} |
int32 | _fontBufSize = 0 |
uint8 * | _fontPtr = nullptr |
uint8 * | _sjisFontPtr = nullptr |
SpriteData | _spriteShadowPtr |
SpriteBoundingBoxData | _spriteBoundingBox |
BodyData | _holomapPointModelPtr |
BodyData | _holomapTwinsenModelPtr |
BodyData | _holomapTwinsenArrowPtr |
BodyData | _holomapArrowPtr |
Static Public Attributes | |
static constexpr const char * | HQR_RESS_FILE = "ress.hqr" |
static constexpr const char * | HQR_TEXT_FILE = "text.hqr" |
static constexpr const char * | HQR_SAMPLES_FILE = "samples.hqr" |
static constexpr const char * | HQR_LBA_GRI_FILE = "lba_gri.hqr" |
static constexpr const char * | HQR_LBA_BLL_FILE = "lba_bll.hqr" |
static constexpr const char * | HQR_LBA_BRK_FILE = "lba_brk.hqr" |
static constexpr const char * | HQR_SCENE_FILE = "scene.hqr" |
static constexpr const char * | HQR_SCREEN_FILE = "screen.hqr" |
static constexpr const char * | HQR_SPRITES_FILE = "sprites.hqr" |
static constexpr const char * | HQR_FILE3D_FILE = "file3d.hqr" |
static constexpr const char * | HQR_BODY_FILE = "body.hqr" |
static constexpr const char * | HQR_ANIM_FILE = "anim.hqr" |
static constexpr const char * | HQR_ANIM3DS_FILE = "anim3ds.hqr" |
static constexpr const char * | HQR_INVOBJ_FILE = "invobj.hqr" |
static constexpr const char * | HQR_HOLOMAP_FILE = "holomap.hqr" |
static constexpr const char * | HQR_FLAGIF_FILE = "fla_gif.hqr" |
Floppy version of the game uses gifs for replacing the videos. | |
static constexpr const char * | HQR_FLASAMP_FILE = "flasamp.hqr" |
static constexpr const char * | HQR_MIDI_MI_DOS_FILE = "midi_mi.hqr" |
static constexpr const char * | HQR_MIDI_MI_WIN_FILE = "midi_mi_win.hqr" |
static constexpr const char * | HQR_VIDEO_FILE = "video.hqr" |
const Common::Array<int32>& TwinE::Resources::getMovieInfo | ( | const Common::String & | name | ) | const |
For lba1 this is returning the gif images that are used as a placeholder for the fla movies For lba2 this is the list of videos that are mapped by their entry index
void TwinE::Resources::initResources | ( | ) |
Initialize resource pointers
uint8* TwinE::Resources::_spriteTable[NUM_SPRITES] {nullptr} |
Table with all loaded sprites
uint32 TwinE::Resources::_spriteSizeTable[NUM_SPRITES] {0} |
Table with all loaded sprite sizes
uint8* TwinE::Resources::_samplesTable[895] {nullptr} |
Table with all loaded samples
uint32 TwinE::Resources::_samplesSizeTable[895] {0} |
Table with all loaded samples sizes
int32 TwinE::Resources::_fontBufSize = 0 |
Font buffer pointer
|
static |
This file contains isometric grids that are used to display area backgrounds and define 3D shape of the surface. Each of the entries is associated with the entry of lba_bll.hqr with the same index. lba_bll entries define block sets for use with the grids. Each grid may use only one set of blocks (one entry of lba_bll.hqr).
|
static |
isometric bricks, which are some kind of tiles, that are used for building the terrains in LBA 1 isometric scenes. One brick is the tiniest piece of a grid, which has 64 x 64 x 25 cells. Bricks cannot be used directly on a grid, but instead they are grouped into blocks by block libraries, which are then referenced by grids Bricks are images or sprites in a special format.
|
static |
model/animation entities contains data associating 3D models (Body.hqr) with animations (Anim.hqr) for the game characters.