(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

@@ -2,11 +2,13 @@
#define MXBITMAP_H
#include "mxcore.h"
#include "mxpalette.h"
#include "mxtypes.h"
#include <ddraw.h>
#include <stdlib.h>
class MxPalette;
// The stock BITMAPINFO struct from wingdi.h only makes room for one color
// in the palette. It seems like the expectation (if you use the struct)
// is to malloc as much as you actually need, and then index into the array