(Refactor) Use more forward declarations (#881)

* Use more forward declarations

* Use more forward declarations

* Add more forward declarations

* Fix
This commit is contained in:
Christian Semmler
2024-05-03 12:19:12 -04:00
committed by GitHub
parent 01b861bc09
commit 51adf75b9b
165 changed files with 377 additions and 136 deletions

View File

@@ -1,6 +1,7 @@
#include "mxbitmap.h"
#include "decomp.h"
#include "mxpalette.h"
#include "mxutilities.h"
DECOMP_SIZE_ASSERT(MxBitmap, 0x20);

View File

@@ -1,7 +1,9 @@
#include "mxdisplaysurface.h"
#include "mxbitmap.h"
#include "mxmisc.h"
#include "mxomni.h"
#include "mxpalette.h"
#include "mxutilities.h"
#include "mxvideomanager.h"

View File

@@ -1,6 +1,8 @@
#include "mxloopingflcpresenter.h"
#include "decomp.h"
#include "mxdsaction.h"
#include "mxdssubscriber.h"
DECOMP_SIZE_ASSERT(MxLoopingFlcPresenter, 0x6c);

View File

@@ -2,6 +2,7 @@
#include "mxautolock.h"
#include "mxdsmediaaction.h"
#include "mxdssubscriber.h"
DECOMP_SIZE_ASSERT(MxLoopingSmkPresenter, 0x724);

View File

@@ -1,5 +1,7 @@
#include "mxsmack.h"
#include "mxbitmap.h"
#include <string.h>
DECOMP_SIZE_ASSERT(SmackTag, 0x390);

View File

@@ -3,6 +3,7 @@
#include "decomp.h"
#include "mxdsmediaaction.h"
#include "mxmisc.h"
#include "mxpalette.h"
#include "mxvideomanager.h"
DECOMP_SIZE_ASSERT(MxSmkPresenter, 0x720);

View File

@@ -3,9 +3,12 @@
#include "decomp.h"
#include "define.h"
#include "mxcompositepresenter.h"
#include "mxdisplaysurface.h"
#include "mxdsmediaaction.h"
#include "mxdssubscriber.h"
#include "mxmisc.h"
#include "mxomni.h"
#include "mxpalette.h"
#include "mxutilities.h"
#include "mxvideomanager.h"

View File

@@ -1,9 +1,13 @@
#include "mxvideomanager.h"
#include "mxautolock.h"
#include "mxdisplaysurface.h"
#include "mxmisc.h"
#include "mxomni.h"
#include "mxpalette.h"
#include "mxpresenter.h"
#include "mxregion.h"
#include "mxthread.h"
#include "mxticklemanager.h"
DECOMP_SIZE_ASSERT(MxVideoManager, 0x64)

View File

@@ -1,7 +1,9 @@
#include "mxvideopresenter.h"
#include "mxautolock.h"
#include "mxdisplaysurface.h"
#include "mxdsmediaaction.h"
#include "mxdssubscriber.h"
#include "mxmisc.h"
#include "mxregioncursor.h"
#include "mxvideomanager.h"