Add interpolation to almost every 2D element in the game. (#20)

* Add interpolation to almost every 2D element in the game.

* Add comments.

* Fix interpolation on life icon. Also fix text interpolation.

* Fix interpolation for more 2D elements and disable vertex interpolation on them.
This commit is contained in:
Darío
2025-12-25 19:47:03 -03:00
committed by GitHub
parent 0e1970a6cb
commit 8a307d7802
4 changed files with 1260 additions and 10 deletions
+38 -6
View File
@@ -38,13 +38,38 @@
// HUD Honeycomb: 0x00F34000 - 0x00F3400F
#define HUD_HONEYCOMB_TRANSFORM_ID_START 0x00F34000
#define HUD_HONEYCOMB_TRANSFORM_ID_COUNT 6
// HUD score item depth rects: 0x00F34010 - 0x00F340FF
#define HUD_SCORE3_DEPTH_RECT_TRANSFORM_ID_START 0x00F34010
// HUD Life Score: 0x00F34010 - 0x00F34017
#define HUD_LIFESCORE_TRANSFORM_PRINT_ID_START 0x00F34010
// HUD score items: 0x00F34100 - 0x00F3FFFF
#define HUD_SCORE3_TRANSFORM_ID_START 0x00F34100
// HUD Life Score: 0x00F34018 - 0x00F3401F
#define HUD_LIFESCORE_TRANSFORM_ID_START 0x00F34018
// HUD Health Score: 0x00F34020 - 0x00F3402F
#define HUD_HEALTHSCORE_TRANSFORM_ID_START 0x00F34020
// HUD Air Score: 0x00F34030 - 0x00F3403F
#define HUD_AIRSCORE_TRANSFORM_ID_START 0x00F34030
// HUD Jinjo Score: 0x00F34040 - 0x00F3404F
#define HUD_JINJOSCORE_TRANSFORM_ID_START 0x00F34040
// HUD Score 2 Print: 0x00F34050 - 0x00F3414F
#define HUD_SCORE2_TRANSFORM_PRINT_ID_START 0x00F34050
#define HUD_SCORE2_TRANSFORM_PRINT_ID_COUNT 4
// HUD Score 2: 0x00F34150 - 0x00F3424F
#define HUD_SCORE2_TRANSFORM_ID_START 0x00F34150
// HUD Score 3 Print: 0x00F34250 - 0x00F3434F
#define HUD_SCORE3_TRANSFORM_PRINT_ID_START 0x00F34250
#define HUD_SCORE3_TRANSFORM_PRINT_ID_COUNT 4
// HUD score item depth rects: 0x00F34350 - 0x00F343FF
#define HUD_SCORE3_DEPTH_RECT_TRANSFORM_ID_START 0x00F34350
// HUD Score 3: 0x00F34400 - 0x00F3FFFF
#define HUD_SCORE3_TRANSFORM_ID_START 0x00F34400
// Lens flare: 0x00F40000 - 0x00F40FFF
#define LENS_FLARE_TRANSFORM_ID_START 0x00F40000
@@ -53,9 +78,16 @@
// Snow: 0x00F41000 - 0x00F410FF
#define SNOW_TRANSFORM_ID_START 0x00F41000
// Snow: 0x00F42000 - 0x00F420FF
// Clanker: 0x00F42000 - 0x00F420FF
#define CLANKER_TRANSFORM_ID_START 0x00F42000
// HUD Totals Print: 0x00F42100 - 0x00F421FF
#define HUD_TOTALS_PRINT_TRANSFORM_ID_START 0x00F42100
// Zoombox Print: 0x00F42200 - 0x00F520FF
#define ZOOMBOX_PRINT_TRANSFORM_ID_START 0x00F42200
#define ZOOMBOX_PRINT_TRANSFORM_ID_COUNT 512
// Normal Particles: 0x01000000 - 0x01FFFFFF
#define NORMAL_PARTICLE_TRANSFORM_ID_START 0x01000000
#define NORMAL_PARTICLE_ID_MAX 0x01000000