.DBD + .DBX archive pair (PICS, SITES, ANI, BALLOON, BUTTON). More...
#include <resource.h>
Public Member Functions | |
| bool | open (const Common::Path &dbdName, const Common::Path &dbxName, bool bigEndian=false) |
| Open both halves; returns false if either file is missing/malformed. | |
| void | close () |
| uint32 | size () const |
| bool | loadEntry (uint num, Picture &out) |
| bool | getPicture (uint num, Picture &out) |
| 1-based wrapper matching the engine's _GetPicture(num) -> _GetFromDB(num - 1). | |
| bool | loadAnimation (uint num, Animation &out) |
.DBD + .DBX archive pair (PICS, SITES, ANI, BALLOON, BUTTON).
| bool EEM::DBDArchive::loadEntry | ( | uint | num, |
| Picture & | out | ||
| ) |
Load entry num (0-based), decompressing if needed. _GetFromDB @ 172b:105d.
| bool EEM::DBDArchive::loadAnimation | ( | uint | num, |
| Animation & | out | ||
| ) |
Multi-frame entry. _GetAnimation @ 172b:163a: u16 frameCount, then per frame a 12-byte header + payload.