From 475f167bb2803999c5116bc285601d1f9a05d7de Mon Sep 17 00:00:00 2001 From: MegaMech Date: Thu, 14 Nov 2024 23:32:55 -0700 Subject: [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> --- src/engine/Actor.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/engine/Actor.cpp') diff --git a/src/engine/Actor.cpp b/src/engine/Actor.cpp index 1749d4600..b6b2520d0 100644 --- a/src/engine/Actor.cpp +++ b/src/engine/Actor.cpp @@ -9,5 +9,9 @@ AActor::AActor() {} // Virtual functions to be overridden by derived classes void AActor::Tick() { } void AActor::Draw(Camera *camera) { } -void AActor::Collision() {} -void AActor::Destroy() { } \ No newline at end of file +void AActor::Collision(Player* player, AActor* actor) {} +void AActor::Destroy() { + // Set uuid to zero. + memset(uuid, 0, sizeof(uuid)); +} +bool AActor::IsMod() { return false; } \ No newline at end of file -- cgit v1.2.3