mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-07 12:03:27 -04:00
Implement & link ac_gyo_test, ac_gyo_kaseki, link few others & fixes
This commit is contained in:
@@ -90,6 +90,8 @@ enum fish_type {
|
||||
|
||||
#define aGYO_TYPE_INVALID -1
|
||||
|
||||
#define aGYO_IS_FISH_TRASH(type) ((type) >= aGYO_TYPE_EMPTY_CAN && (type) <= aGYO_TYPE_OLD_TIRE)
|
||||
|
||||
enum {
|
||||
aGYO_SIZE_XXS,
|
||||
aGYO_SIZE_XS,
|
||||
|
||||
@@ -51,6 +51,7 @@ typedef enum audio_sound_effects {
|
||||
NA_SE_LIGHT_ON,
|
||||
NA_SE_LIGHT_OFF,
|
||||
|
||||
NA_SE_24 = 0x24,
|
||||
NA_SE_25 = 0x25,
|
||||
NA_SE_26 = 0x26,
|
||||
NA_SE_27 = 0x27,
|
||||
@@ -153,6 +154,7 @@ typedef enum audio_sound_effects {
|
||||
NA_SE_114 = 0x114,
|
||||
NA_SE_SEMI_ESCAPE = 0x115,
|
||||
|
||||
NA_SE_11A = 0x11A,
|
||||
NA_SE_11B = 0x11B,
|
||||
NA_SE_WEAR = 0x11C,
|
||||
|
||||
|
||||
@@ -106,6 +106,8 @@ typedef u32 unknown;
|
||||
|
||||
#define F32_IS_ZERO(v) (fabsf(v) < 0.008f)
|
||||
|
||||
#define DECREMENT_TIMER(timer) ((timer) == 0 ? 0 : --(timer))
|
||||
|
||||
/* ARGB8 color format (32 bits) to RGB5A3 color format (16 bits) */
|
||||
#define ARGB8_to_RGB5A3(argb8) \
|
||||
((u16)(((argb8) & 0xFF000000) >= 0xE0000000 \
|
||||
|
||||
Reference in New Issue
Block a user