diff options
author | Max Horn | 2003-05-20 14:34:07 +0000 |
---|---|---|
committer | Max Horn | 2003-05-20 14:34:07 +0000 |
commit | 5f068688e92d3429e7a824e29f29fa4f4b67a0ee (patch) | |
tree | b0531d7db7f870faef3ea478370237a1854a5858 /simon/simon.h | |
parent | 7d4442fca5378bc4c813d85f7114885ebe1c8352 (diff) | |
download | scummvm-rg350-5f068688e92d3429e7a824e29f29fa4f4b67a0ee.tar.gz scummvm-rg350-5f068688e92d3429e7a824e29f29fa4f4b67a0ee.tar.bz2 scummvm-rg350-5f068688e92d3429e7a824e29f29fa4f4b67a0ee.zip |
init even more simon member vars
svn-id: r7728
Diffstat (limited to 'simon/simon.h')
-rw-r--r-- | simon/simon.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/simon/simon.h b/simon/simon.h index 3080798b8a..80b7288254 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -50,6 +50,7 @@ struct TimeEvent; struct ThreeValues { int16 a, b, c; + ThreeValues() { memset(this, 0, sizeof(*this)); } }; struct HitArea { @@ -61,12 +62,14 @@ struct HitArea { Item *item_ptr; uint16 unk3; uint16 layer; + HitArea() { memset(this, 0, sizeof(*this)); } }; struct VgaPointersEntry { byte *vgaFile1; byte *vgaFile2; uint32 dd; + VgaPointersEntry() { memset(this, 0, sizeof(*this)); } }; struct VgaSprite { @@ -77,6 +80,7 @@ struct VgaSprite { uint16 unk4; uint16 priority; uint16 unk6, unk7; + VgaSprite() { memset(this, 0, sizeof(*this)); } }; struct VgaSleepStruct { @@ -84,6 +88,7 @@ struct VgaSleepStruct { byte *code_ptr; uint16 sprite_id; uint16 cur_vga_file; + VgaSleepStruct() { memset(this, 0, sizeof(*this)); } }; struct VgaTimerEntry { @@ -91,6 +96,7 @@ struct VgaTimerEntry { byte *script_pointer; uint16 sprite_id; uint16 cur_vga_file; + VgaTimerEntry() { memset(this, 0, sizeof(*this)); } }; struct GameSpecificSettings; |