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.cpp | |
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.cpp')
-rw-r--r-- | simon/simon.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 4af4fe5963..61dddac788 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -361,6 +361,28 @@ SimonState::SimonState(GameDetector *detector, OSystem *syst) _next_vga_timer_to_process = 0; + memset(_vc_item_array, 0, sizeof(_vc_item_array)); + memset(_item_array_6, 0, sizeof(_item_array_6)); + + memset(_stringid_array_2, 0, sizeof(_stringid_array_2)); + memset(_stringid_array_3, 0, sizeof(_stringid_array_3)); + memset(_array_4, 0, sizeof(_array_4)); + + memset(_bit_array, 0, sizeof(_bit_array)); + memset(_variableArray, 0, sizeof(_variableArray)); + + memset(_fcs_ptr_array_3, 0, sizeof(_fcs_ptr_array_3)); + + memset(_fcs_data_1, 0, sizeof(_fcs_data_1)); + memset(_fcs_data_2, 0, sizeof(_fcs_data_2)); + + memset(_pathfind_array, 0, sizeof(_pathfind_array)); + + memset(_palette_backup, 0, sizeof(_palette_backup)); + memset(_palette, 0, sizeof(_palette)); + + memset(_video_buf_1, 0, sizeof(_video_buf_1)); + //... TODO: init more member vars _fcs_list = new FillOrCopyStruct[16]; |