Skip to content

Commit

Permalink
Various cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
intns committed Dec 27, 2024
1 parent a403b4e commit 30de477
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 36 deletions.
12 changes: 3 additions & 9 deletions src/plugPikiNishimura/BossCnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,21 @@
#include "Collision.h"
#include "Dolphin/os.h"
#include "sysNew.h"
#include "DebugLog.h"

/*
* --INFO--
* Address: ........
* Size: 00009C
*/
static void _Error(char* fmt, ...)
{
OSPanic(__FILE__, __LINE__, fmt);
// UNUSED FUNCTION
}
DEFINE_ERROR();

/*
* --INFO--
* Address: ........
* Size: 0000F0
*/
static void _Print(char*, ...)
{
// UNUSED FUNCTION
}
DEFINE_PRINT("");

/*
* --INFO--
Expand Down
12 changes: 3 additions & 9 deletions src/plugPikiNishimura/KingBack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,21 @@
#include "MapMgr.h"
#include "Graphics.h"
#include "Dolphin/os.h"
#include "DebugLog.h"

/*
* --INFO--
* Address: ........
* Size: 00009C
*/
static void _Error(char* fmt, ...)
{
OSPanic(__FILE__, __LINE__, "KingBack", fmt);
// UNUSED FUNCTION
}
DEFINE_ERROR();

/*
* --INFO--
* Address: ........
* Size: 0000F4
*/
static void _Print(char*, ...)
{
// UNUSED FUNCTION
}
DEFINE_PRINT("KingBack");

/*
* --INFO--
Expand Down
5 changes: 1 addition & 4 deletions src/plugPikiNishimura/Pom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
* Address: ........
* Size: 000098
*/
static void _Error(char*, ...)
{
// UNUSED FUNCTION
}
DEFINE_ERROR();

/*
* --INFO--
Expand Down
12 changes: 3 additions & 9 deletions src/plugPikiNishimura/SlimeCreature.cpp
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
#include "Slime.h"
#include "Dolphin/os.h"
#include "system.h"
#include "DebugLog.h"

/*
* --INFO--
* Address: ........
* Size: 00009C
*/
static void _Error(char* fmt, ...)
{
OSPanic(__FILE__, __LINE__, "SlimeCreature", fmt);
// UNUSED FUNCTION
}
DEFINE_ERROR();

/*
* --INFO--
* Address: ........
* Size: 0000F4
*/
static void _Print(char*, ...)
{
// UNUSED FUNCTION
}
DEFINE_PRINT("SlimeCreature");

/*
* --INFO--
Expand Down
7 changes: 2 additions & 5 deletions src/plugPikiNishimura/genBoss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ DEFINE_ERROR();
* Address: ........
* Size: 0000F0
*/
static void _Print(char*, ...)
{
// UNUSED FUNCTION
}
DEFINE_PRINT("");

/*
* --INFO--
Expand Down Expand Up @@ -122,7 +119,7 @@ void GenObjectBoss::readParameters(RandomAccessStream& input)
void GenObjectBoss::writeParameters(RandomAccessStream& output)
{
// this is too much compression, just write them as words goddamn it!
volatile union GenFlags {
union GenFlags {
u32 w;
u8 b[4];
} flags;
Expand Down

0 comments on commit 30de477

Please sign in to comment.