Add decomp size asserts

This commit is contained in:
Joshua Peisach 2023-08-22 12:20:42 -04:00
parent e3458b8419
commit e378ad4224
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
7 changed files with 28 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#include "ambulance.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(Ambulance, 0x184);
// OFFSET: LEGO1 0x10035ee0
Ambulance::Ambulance()
{

View File

@ -1,5 +1,9 @@
#include "bike.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(Bike, 0x164);
// OFFSET: LEGO1 0x10076670
Bike::Bike()
{

View File

@ -1,5 +1,9 @@
#include "dunebuggy.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(DuneBuggy, 0x16c);
// OFFSET: LEGO1 0x10067bb0
DuneBuggy::DuneBuggy()
{

View File

@ -1,5 +1,9 @@
#include "jetski.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(Jetski, 0x164);
// OFFSET: LEGO1 0x1007e3b0
Jetski::Jetski()
{

View File

@ -1,5 +1,9 @@
#include "racecar.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(RaceCar, 0x164);
// OFFSET: LEGO1 0x10028200
RaceCar::RaceCar()
{

View File

@ -1,5 +1,9 @@
#include "skateboard.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(SkateBoard, 0x168);
// OFFSET: LEGO1 0x1000fd40
SkateBoard::SkateBoard()
{

View File

@ -1,5 +1,9 @@
#include "towtrack.h"
#include "decomp.h"
DECOMP_SIZE_ASSERT(TowTrack, 0x180);
// OFFSET: LEGO1 0x1004c720
TowTrack::TowTrack()
{