tangstad/helds
tangstad
/
helds
Archived
1
0
Fork 0

Made some more attributes private.

This commit is contained in:
Truls Alexander Tangstad 2005-12-05 21:37:32 +00:00
parent 60cb1dbbc9
commit 714de2aaef
1 changed files with 3 additions and 1 deletions

View File

@ -46,9 +46,10 @@ void VblankInterrupt()
class Smoke { class Smoke {
OBJATTR* oam; OBJATTR* oam;
int num_entries; int num_entries;
public:
s8* smoke_frame; s8* smoke_frame;
u8 next_smoke; u8 next_smoke;
public:
Smoke(int num_entries, OBJATTR* start) { Smoke(int num_entries, OBJATTR* start) {
oam = start; oam = start;
smoke_frame = new s8[num_entries]; smoke_frame = new s8[num_entries];
@ -93,6 +94,7 @@ class Car {
OBJAFFINE* aff_matrix; OBJAFFINE* aff_matrix;
OBJATTR* oam; OBJATTR* oam;
int index; int index;
public: public:
Car(int x, int y, OBJAFFINE* aff, OBJATTR* entry, int aff_index, Car(int x, int y, OBJAFFINE* aff, OBJATTR* entry, int aff_index,
int sprite_index) { int sprite_index) {