d_kyeff, d_kyeff2, m_Do_printf, and m_Do_graphic (#109)

* Split d_kyeff

* Partially matched d_kyeff

* split d_kyeff2

* Match d_kyeff2

* split m_Do_printf

* m_Do_printf partially matched

* hotfix and clang-format

* split m_Do_graphic

* rename symbols in m_Do_graphic

* Match a few functions in m_Do_graphic

* Fix Merge Errors

* Delete sh.exe.stackdump

* Update OSReportInit
This commit is contained in:
jdflyer
2021-01-31 18:03:38 -07:00
committed by GitHub
parent 24d529f67b
commit f1924e91f4
108 changed files with 5134 additions and 4349 deletions
+27 -1
View File
@@ -1,6 +1,32 @@
#ifndef JSYSTEM_JUTILITY_TEXTURE_H
#define JSYSTEM_JUTILITY_TEXTURE_H
#include "global.h"
struct ResTIMG {};
struct ResTIMG { /* Acts as the header to image data. Usually texture data immediately follows it,
so any pointer arithmetic to go past the end of this structure is so that a
variable sized allocated buffer can be accessed. */
u8 texture_format;
bool is_alpha_enabled;
u16 texture_width;
u16 texture_height;
u8 wrap_s;
u8 wrap_t;
bool is_palettes_enabled;
u8 palette_format;
u16 palette_count;
u32 palette_offset;
bool is_mip_map_enabled;
bool do_edge_lod;
bool bias_clamp;
u8 max_anisotropy;
u8 min_filter;
u8 mag_filter;
u8 min_lod;
u8 max_lod;
u8 num_mipmaps;
u8 unknown;
u16 lod_bias;
u32 texture_data_offset;
};
#endif // JSYSTEM_JUTILITY_TEXTURE_H