[modding] Big Update PR (#118)

* Implement kart vehicle

* Fix menu CC

* Actors

* variable framerate

* Implement Actors vector

* Fix water & scrolling textures

* Finish ACoin

* Refactor finishline

* Refactor mtx to vector

* Fix refactored screen code bugs

* Fix playlist bug

* Switching courses working now

* Fix podium ceremony

* Mostly Fix Demo and Credits

* Credits Load Actors and Textures

* Fix credits

* Formatting

* Update lus and torch

* Fix water features

* Fix crabs

* Combine function

* Fix wheels

* Add Moon Jump Cheat

* Wheel Change

* Fix smoke due to wheel change

* Fix screens for wheels

* Fix transparency

* Fix staff ghost

* Fix lakitu transition widescreen

* Rename and export credits text

* Fixes

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
This commit is contained in:
MegaMech
2024-11-14 23:32:55 -07:00
committed by GitHub
parent 4fbb031dd9
commit 475f167bb2
137 changed files with 4173 additions and 2961 deletions
+9
View File
@@ -21,6 +21,7 @@
#include "code_80005FD0.h"
#include "sounds.h"
#include "port/Game.h"
#include "src/enhancements/moon_jump.h"
extern s32 D_8018D168;
@@ -635,6 +636,7 @@ UNUSED void func_80028F5C(UNUSED s32 arg0, UNUSED s32 arg1, UNUSED s32 arg2, UNU
}
void func_80028F70(void) {
ClearEffectsMatrixPool();
gMatrixEffectCount = 0;
func_80028E70(gPlayerOneCopy, camera1, 0, 0);
func_80028E70(gPlayerTwo, camera1, 1, 0);
@@ -647,6 +649,7 @@ void func_80028F70(void) {
}
void func_80029060(void) {
ClearEffectsMatrixPool();
gMatrixEffectCount = 0;
func_80028E70(gPlayerOneCopy, camera1, 0, 0);
func_80028E70(gPlayerTwo, camera1, 1, 0);
@@ -662,6 +665,7 @@ void func_80029150(void) {
}
void func_80029158(void) {
ClearEffectsMatrixPool();
gMatrixEffectCount = 0;
func_80028E70(gPlayerOneCopy, camera1, 0, 0);
func_80028E70(gPlayerTwo, camera1, 1, 0);
@@ -4478,6 +4482,11 @@ void func_80037BB4(Player* player, Vec3f arg1) {
}
void func_80037CFC(Player* player, struct Controller* controller, s8 arg2) {
if (CVarGetInteger("gEnableMoonJump", 0)) {
moon_jump(player, controller);
}
if (((player->effects & 0x80) != 0x80) && ((player->effects & 0x40) != 0x40) &&
((player->effects & 0x400) != 0x400) && ((player->effects & 0x4000) != 0x4000) &&
((player->effects & 0x01000000) != 0x01000000) &&