|
| MOCK_METHOD (absl::Status, WriteHelper,(const WriteAction &),(override)) |
|
| MOCK_METHOD2 (ReadHelper, absl::Status(uint8_t &, int)) |
|
| MOCK_METHOD2 (ReadHelper, absl::Status(uint16_t &, int)) |
|
| MOCK_METHOD2 (ReadHelper, absl::Status(std::vector< uint8_t > &, int)) |
|
| MOCK_METHOD (absl::StatusOr< uint8_t >, ReadByte,(int)) |
|
| MOCK_METHOD (absl::StatusOr< uint16_t >, ReadWord,(int)) |
|
| MOCK_METHOD (absl::StatusOr< uint32_t >, ReadLong,(int)) |
|
absl::StatusOr< std::vector< uint8_t > > | Load2BppGraphics () |
| Loads 2bpp graphics from Rom data.
|
|
absl::Status | LoadLinkGraphics () |
| Loads the players 4bpp graphics sheet from Rom data.
|
|
absl::Status | LoadAllGraphicsData (bool defer_render=false) |
| This function iterates over all graphics sheets in the Rom and loads them into memory. Depending on the sheet's index, it may be uncompressed or compressed using the LC-LZ2 algorithm. The uncompressed sheets are 3 bits per pixel (BPP), while the compressed sheets are 4 BPP. The loaded graphics data is converted to 8 BPP and stored in a bitmap.
|
|
absl::Status | LoadFromFile (const std::string &filename, bool z3_load=true) |
|
absl::Status | LoadFromPointer (uchar *data, size_t length, bool z3_load=true) |
|
absl::Status | LoadFromBytes (const std::vector< uint8_t > &data) |
|
absl::Status | SaveToFile (bool backup, bool save_new=false, std::string filename="") |
| Saves the Rom data to a file.
|
|
absl::Status | SaveAllGraphicsData () |
|
absl::Status | SavePalette (int index, const std::string &group_name, gfx::SnesPalette &palette) |
|
absl::Status | SaveAllPalettes () |
| Saves all palettes in the Rom.
|
|
void | Expand (int size) |
| Expand the Rom data to a specified size.
|
|
absl::Status | Close () |
| Close the Rom file.
|
|
absl::Status | ReadWritePreconditions () |
| Precondition check for reading and writing to the Rom.
|
|
absl::StatusOr< uint8_t > | ReadByte (int offset) |
|
absl::StatusOr< uint16_t > | ReadWord (int offset) |
|
uint16_t | toint16 (int offset) |
|
absl::StatusOr< uint32_t > | ReadLong (int offset) |
|
absl::StatusOr< std::vector< uint8_t > > | ReadByteVector (uint32_t offset, uint32_t length) |
|
absl::StatusOr< gfx::Tile16 > | ReadTile16 (uint32_t tile16_id) |
|
absl::Status | WriteTile16 (int tile16_id, const gfx::Tile16 &tile) |
|
absl::Status | Write (int addr, int value) |
|
absl::Status | WriteByte (int addr, uint8_t value) |
|
absl::Status | WriteWord (int addr, uint16_t value) |
|
absl::Status | WriteShort (int addr, uint16_t value) |
|
absl::Status | WriteLong (uint32_t addr, uint32_t value) |
|
absl::Status | WriteVector (int addr, std::vector< uint8_t > data) |
|
absl::Status | WriteColor (uint32_t address, const gfx::SnesColor &color) |
|
template<typename... Args> |
absl::Status | WriteTransaction (Args... args) |
|
template<typename T , typename... Args> |
absl::Status | ReadTransaction (T &var, int address, Args &&... args) |
|
uint8_t & | operator[] (unsigned long i) |
|
bool | is_loaded () const |
|
std::vector< uint8_t > | graphics_buffer () const |
|
auto | title () const |
|
auto | size () const |
|
auto | begin () |
|
auto | end () |
|
auto | data () |
|
auto | vector () const |
|
auto | version () const |
|
auto | filename () const |
|
auto | set_filename (std::string name) |
|
auto | link_graphics () |
|
auto | mutable_link_graphics () |
|
auto | gfx_sheets () |
|
auto | mutable_gfx_sheets () |
|
auto | palette_group () |
|
auto | mutable_palette_group () |
|
auto | dungeon_palette (int i) |
|
auto | mutable_dungeon_palette (int i) |
|
ResourceLabelManager * | resource_label () |
|
VersionConstants | version_constants () const |
|
| ExperimentFlags ()=default |
|
virtual | ~ExperimentFlags ()=default |
|
auto | flags () const |
|
Flags * | mutable_flags () |
|
std::string | Serialize () const |
|
Definition at line 24 of file rom_test.cc.