|
libtonc
|
Modules | |
| Tertiary types | |
Data Structures | |
| struct | TILE |
| 4bpp tile type, for easy indexing and copying of 4-bit tiles More... | |
| struct | TILE8 |
| 8bpp tile type, for easy indexing and 8-bit tiles More... | |
| struct | AFF_SRC |
| Simple scale-rotation source struct. More... | |
| struct | AFF_SRC_EX |
| Extended scale-rotate source struct. More... | |
| struct | AFF_DST |
| Simple scale-rotation destination struct, BG version. More... | |
| struct | AFF_DST_EX |
| Extended scale-rotate destination struct. More... | |
Const types | |
Const types for const function aprameters | |
| typedef s32 | FIXED |
| Fixed point type. | |
| typedef u16 | COLOR |
| Type for colors. | |
| typedef u16 | SCR_ENTRY |
| Type for consting a string as well as the pointer than points to it. | |
| typedef u16 | SE |
| Type for screen entries. | |
| typedef u8 | SCR_AFF_ENTRY |
| Type for consting a string as well as the pointer than points to it. | |
| typedef u8 | SAE |
| Type for affine screen entries. | |
| typedef struct TILE | TILE4 |
| Type for consting a string as well as the pointer than points to it. | |
| typedef u8 | BOOL |
| Type for consting a string as well as the pointer than points to it. | |
| typedef void(* | fnptr) (void) |
| void foo() function pointer | |
| typedef void(* | fn_v_i) (int) |
| void foo(int x) function pointer | |
| typedef int(* | fn_i_i) (int) |
| int foo(int x) function pointer | |
| typedef const u8 | cu8 |
| Type for consting a string as well as the pointer than points to it. | |
| typedef const u16 | cu16 |
| Type for consting a string as well as the pointer than points to it. | |
| typedef const u32 | cu32 |
| Type for consting a string as well as the pointer than points to it. | |
| typedef const u64 | cu64 |
| Type for consting a string as well as the pointer than points to it. | |
| typedef const s8 | cs8 |
| Type for consting a string as well as the pointer than points to it. | |
| typedef const s16 | cs16 |
| Type for consting a string as well as the pointer than points to it. | |
| typedef const s32 | cs32 |
| Type for consting a string as well as the pointer than points to it. | |
| typedef const s64 | cs64 |
| Type for consting a string as well as the pointer than points to it. | |
| typedef const char *const | CSTR |
| Type for consting a string as well as the pointer than points to it. | |
| #define | TRUE 1 |
| Type for consting a string as well as the pointer than points to it. | |
| #define | FALSE 0 |
| Type for consting a string as well as the pointer than points to it. | |
affine structs | |
| typedef struct AFF_SRC | AFF_SRC |
| Simple scale-rotation source struct. | |
| typedef struct AFF_SRC | ObjAffineSource |
| Simple scale-rotation source struct. | |
| typedef struct AFF_SRC_EX | AFF_SRC_EX |
| Extended scale-rotate source struct. | |
| typedef struct AFF_SRC_EX | BgAffineSource |
| Simple scale-rotation source struct. | |
| typedef struct AFF_DST | AFF_DST |
| Simple scale-rotation destination struct, BG version. | |
| typedef struct AFF_DST | ObjAffineDest |
| Simple scale-rotation source struct. | |
| typedef struct AFF_DST_EX | AFF_DST_EX |
| Extended scale-rotate destination struct. | |
| typedef struct AFF_DST_EX | BgAffineDest |
| Simple scale-rotation source struct. | |
Simple scale-rotation destination struct, BG version.
This is a P-matrix with continuous elements, like the BG matrix. It can be used with ObjAffineSet.
| typedef struct AFF_DST_EX AFF_DST_EX |
Extended scale-rotate destination struct.
This contains the P-matrix and a fixed-point offset , the combination can be used to rotate around an arbitrary point. Mainly intended for BgAffineSet, but the struct cna be used for object transforms too.
Simple scale-rotation source struct.
This can be used with ObjAffineSet, and several of tonc's affine functions
| typedef struct AFF_SRC_EX AFF_SRC_EX |
Extended scale-rotate source struct.
This is used to scale/rotate around an arbitrary point. See tonc's main text for all the details.
| typedef struct AFF_DST_EX BgAffineDest |
Simple scale-rotation source struct.
This can be used with ObjAffineSet, and several of tonc's affine functions
| typedef struct AFF_SRC_EX BgAffineSource |
Simple scale-rotation source struct.
This can be used with ObjAffineSet, and several of tonc's affine functions
| typedef struct AFF_DST ObjAffineDest |
Simple scale-rotation source struct.
This can be used with ObjAffineSet, and several of tonc's affine functions
| typedef struct AFF_SRC ObjAffineSource |
Simple scale-rotation source struct.
This can be used with ObjAffineSet, and several of tonc's affine functions