Add back changes that were reverted by mistake

svn-id: r5707
This commit is contained in:
Travis Howell 2002-11-24 13:05:44 +00:00
parent 9098225910
commit f63dda7ecf
2 changed files with 18 additions and 3 deletions

View File

@ -4484,7 +4484,12 @@ void SimonState::go()
_mainscript_toggle = false;
_vgascript_toggle = false;
_vk_t_toggle = false;
if (!_voice) {
_vk_t_toggle = true;
} else {
_vk_t_toggle = false;
}
while (1) {
hitarea_stuff();

View File

@ -1789,12 +1789,14 @@ void SimonState::vc_62()
vc_29_stop_all_sounds();
// if (!_video_var_3) {
if (!_video_var_3) {
warning("vc_62: music stuff?");
}
_video_var_3 = true;
_video_num_pal_colors = 256;
if (_video_palette_mode == 4)
_video_num_pal_colors = 208;
// }
memcpy(_video_buf_1, _palette_backup, _video_num_pal_colors * sizeof(uint32));
for (i = NUM_PALETTE_FADEOUT; i != 0; --i) {
@ -1861,6 +1863,14 @@ void SimonState::vc_64()
void SimonState::vc_65()
{ // Simon2
warning("vc_65 unimplemented");
//_palette_color_count = 0x270;
//_video_num_pal_colors = 0x0D0;
//if (_video_palette_mode != 4) {
//_palette_color_count = 0x300;
//_video_num_pal_colors = 0x100;
//}
//_palette_color_count |= 0x8000;
//_video_var_3 = false;
}
void SimonState::vc_66()