summaryrefslogtreecommitdiff
path: root/include/JSystem/JUtility
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2021-05-23 03:09:59 -0700
committerGitHub <noreply@github.com>2021-05-23 12:09:59 +0200
commite915df66c806bdff65aa243649f7abfe6cc19227 (patch)
tree226e708c0546c45f65420446382ba597ad773651 /include/JSystem/JUtility
parent462d71cbef02ef119fc2aa480b98cfeedde46441 (diff)
move d_a_alink and some related stuff (#130)
* clean up d_a_player * move some of daalink * more daalink / daplayer * setup some daalink members * rest of daalink members setup * remove comment * few more matches * remove asm * more matches * more matches + move e_wb_class * fix some d_save classes Co-authored-by: lepelog <lepelog@users.noreply.github.com>
Diffstat (limited to 'include/JSystem/JUtility')
-rw-r--r--include/JSystem/JUtility/JUTTexture.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/JSystem/JUtility/JUTTexture.h b/include/JSystem/JUtility/JUTTexture.h
index 16ce279d94..ad657caffb 100644
--- a/include/JSystem/JUtility/JUTTexture.h
+++ b/include/JSystem/JUtility/JUTTexture.h
@@ -3,4 +3,31 @@
#include "dolphin/types.h"
+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 /* JUTTEXTURE_H */