diff --git a/gba/cartest/src/cartest.cpp b/gba/cartest/src/cartest.cpp index 998e3f3..4c3297f 100644 --- a/gba/cartest/src/cartest.cpp +++ b/gba/cartest/src/cartest.cpp @@ -46,9 +46,10 @@ void VblankInterrupt() class Smoke { OBJATTR* oam; int num_entries; -public: s8* smoke_frame; u8 next_smoke; + +public: Smoke(int num_entries, OBJATTR* start) { oam = start; smoke_frame = new s8[num_entries]; @@ -93,6 +94,7 @@ class Car { OBJAFFINE* aff_matrix; OBJATTR* oam; int index; + public: Car(int x, int y, OBJAFFINE* aff, OBJATTR* entry, int aff_index, int sprite_index) {