#include "scad_format.h"
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <vector>
#include "absl/status/status.h"
#include "app/gfx/types/snes_tile.h"
#include "util/macro.h"
Go to the source code of this file.
|
| namespace | yaze |
| | Main namespace for the application.
|
| |
| namespace | yaze::gfx |
| | Contains classes for handling graphical data.
|
| |
|
| void | yaze::gfx::FindMetastamp () |
| | Find metastamp in CGX file.
|
| |
| absl::Status | yaze::gfx::LoadCgx (uint8_t bpp, std::string_view filename, std::vector< uint8_t > &cgx_data, std::vector< uint8_t > &cgx_loaded, std::vector< uint8_t > &cgx_header) |
| | Load Cgx file (graphical content)
|
| |
| absl::Status | yaze::gfx::LoadScr (std::string_view filename, uint8_t input_value, std::vector< uint8_t > &map_data) |
| | Load Scr file (screen data)
|
| |
| absl::Status | yaze::gfx::DrawScrWithCgx (uint8_t bpp, std::vector< uint8_t > &map_bitmap_data, std::vector< uint8_t > &map_data, std::vector< uint8_t > &cgx_loaded) |
| | Draw screen tilemap with graphical data.
|
| |
| absl::Status | yaze::gfx::SaveCgx (uint8_t bpp, std::string_view filename, const std::vector< uint8_t > &cgx_data, const std::vector< uint8_t > &cgx_header) |
| | Save Cgx file (graphical content)
|
| |
| std::vector< SDL_Color > | yaze::gfx::DecodeColFile (const std::string_view filename) |
| | Decode color file.
|
| |
| absl::Status | yaze::gfx::SaveCol (std::string_view filename, const std::vector< SDL_Color > &palette) |
| | Save Col file (palette data)
|
| |
| absl::Status | yaze::gfx::DecodeObjFile (std::string_view filename, std::vector< uint8_t > &obj_data, std::vector< uint8_t > actual_obj_data, std::unordered_map< std::string, std::vector< uint8_t > > decoded_obj, std::vector< uint8_t > &decoded_extra_obj, int &obj_loaded) |
| | Decode obj file.
|
| |