From aba3ba634cbadd6f245580171322fa5debc6ffd3 Mon Sep 17 00:00:00 2001 From: richiesams Date: Tue, 20 Aug 2013 20:29:28 -0500 Subject: ZVISION: Add TODO's of what is left for the engine to be complete --- engines/zvision/control.h | 10 +++++ engines/zvision/inventory_manager.h | 28 ++++++++++++ engines/zvision/menu.h | 28 ++++++++++++ engines/zvision/save_manager.h | 28 ++++++++++++ engines/zvision/scr_file_handling.cpp | 84 ++++++++++++----------------------- engines/zvision/subtitles.h | 29 ++++++++++++ 6 files changed, 151 insertions(+), 56 deletions(-) create mode 100644 engines/zvision/inventory_manager.h create mode 100644 engines/zvision/menu.h create mode 100644 engines/zvision/save_manager.h create mode 100644 engines/zvision/subtitles.h (limited to 'engines') diff --git a/engines/zvision/control.h b/engines/zvision/control.h index f17ee7750d..e3cb0d4afa 100644 --- a/engines/zvision/control.h +++ b/engines/zvision/control.h @@ -66,6 +66,16 @@ private: MouseEvent _event; }; +// TODO: Implement InputControl +// TODO: Implement SaveControl +// TODO: Implement SlotControl +// TODO: Implement LeverControl +// TODO: Implement SafeControl +// TODO: Implement FistControl +// TODO: Implement HotMovieControl +// TODO: Implement PaintControl +// TODO: Implement TilterControl + } // End of namespace ZVision #endif diff --git a/engines/zvision/inventory_manager.h b/engines/zvision/inventory_manager.h new file mode 100644 index 0000000000..ae6d116b18 --- /dev/null +++ b/engines/zvision/inventory_manager.h @@ -0,0 +1,28 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef ZVISION_INVENTORY_MANAGER_H +#define ZVISION_INVENTORY_MANAGER_H + +// TODO: Implement InventoryManager + +#endif diff --git a/engines/zvision/menu.h b/engines/zvision/menu.h new file mode 100644 index 0000000000..affc69abd5 --- /dev/null +++ b/engines/zvision/menu.h @@ -0,0 +1,28 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef ZVISION_MENU_H +#define ZVISION_MENU_H + +// TODO: Implement MenuHandler + +#endif diff --git a/engines/zvision/save_manager.h b/engines/zvision/save_manager.h new file mode 100644 index 0000000000..487cf203fb --- /dev/null +++ b/engines/zvision/save_manager.h @@ -0,0 +1,28 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef ZVISION_SAVE_MANAGER_H +#define ZVISION_SAVE_MANAGER_H + +// TODO: Implement SaveManager + +#endif diff --git a/engines/zvision/scr_file_handling.cpp b/engines/zvision/scr_file_handling.cpp index eb15d04070..f4d4563c63 100644 --- a/engines/zvision/scr_file_handling.cpp +++ b/engines/zvision/scr_file_handling.cpp @@ -164,103 +164,75 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis } else if (line.matchString("*:animunload*", true)) { //actionList.push_back(new ActionUnloadAnimation(line)); } else if (line.matchString("*:attenuate*", true)) { - - + // TODO: Implement ActionAttenuate } else if (line.matchString("*:assign*", true)) { - - + // TODO: Implement ActionAssign } else if (line.matchString("*:change_location*", true)) { actionList.push_back(new ActionChangeLocation(line)); } else if (line.matchString("*:crossfade*", true)) { - - + // TODO: Implement ActionCrossfade } else if (line.matchString("*:debug*", true)) { - - + // TODO: Implement ActionDebug } else if (line.matchString("*:delay_render*", true)) { - - + // TODO: Implement ActionDelayRender } else if (line.matchString("*:disable_control*", true)) { actionList.push_back(new ActionDisableControl(line)); } else if (line.matchString("*:disable_venus*", true)) { - - + // TODO: Implement ActionDisableVenus } else if (line.matchString("*:display_message*", true)) { - - + // TODO: Implement ActionDisplayMessage } else if (line.matchString("*:dissolve*", true)) { - - + // TODO: Implement ActionDissolve } else if (line.matchString("*:distort*", true)) { - - + // TODO: Implement ActionDistort } else if (line.matchString("*:enable_control*", true)) { actionList.push_back(new ActionEnableControl(line)); } else if (line.matchString("*:flush_mouse_events*", true)) { - - + // TODO: Implement ActionFlushMouseEvents } else if (line.matchString("*:inventory*", true)) { - - + // TODO: Implement ActionInventory } else if (line.matchString("*:kill*", true)) { - - + // TODO: Implement ActionKill } else if (line.matchString("*:menu_bar_enable*", true)) { - - + // TODO: Implement ActionMenuBarEnable } else if (line.matchString("*:music*", true)) { actionList.push_back(new ActionMusic(line)); } else if (line.matchString("*:pan_track*", true)) { - - + // TODO: Implement ActionPanTrack } else if (line.matchString("*:playpreload*", true)) { - - + // TODO: Implement ActionPlayPreload } else if (line.matchString("*:preferences*", true)) { - - + // TODO: Implement ActionPreferences } else if (line.matchString("*:quit*", true)) { actionList.push_back(new ActionQuit()); } else if (line.matchString("*:random*", true)) { - - + // TODO: Implement ActionRandom } else if (line.matchString("*:region*", true)) { - - + // TODO: Implement ActionRegion } else if (line.matchString("*:restore_game*", true)) { - - + // TODO: Implement ActionRestoreGame } else if (line.matchString("*:rotate_to*", true)) { - - + // TODO: Implement ActionRotateTo } else if (line.matchString("*:save_game*", true)) { - - + // TODO: Implement ActionSaveGame } else if (line.matchString("*:set_partial_screen*", true)) { - - + actionList.push_back(new ActionSetPartialScreen(line)); } else if (line.matchString("*:set_screen*", true)) { actionList.push_back(new ActionSetScreen(line)); } else if (line.matchString("*:set_venus*", true)) { - - + // TODO: Implement ActionSetVenus } else if (line.matchString("*:stop*", true)) { - - + // TODO: Implement ActionStop } else if (line.matchString("*:streamvideo*", true)) { actionList.push_back(new ActionStreamVideo(line)); } else if (line.matchString("*:syncsound*", true)) { - - + // TODO: Implement ActionSyncSound } else if (line.matchString("*:timer*", true)) { - - + // TODO: Implement ActionTimer } else if (line.matchString("*:ttytext*", true)) { - - + // TODO: Implement ActionTTYText } else if (line.matchString("*:universe_music*", true)) { - - + // TODO: Implement ActionUniverseMusic } else if (line.matchString("*:copy_file*", true)) { // Not used. Purposely left empty } else { diff --git a/engines/zvision/subtitles.h b/engines/zvision/subtitles.h new file mode 100644 index 0000000000..00eeef2a8a --- /dev/null +++ b/engines/zvision/subtitles.h @@ -0,0 +1,29 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * + */ + +#ifndef ZVISION_SUBTITLES_H +#define ZVISION_SUBTITLES_H + +// Implement Subtitles + +#endif \ No newline at end of file -- cgit v1.2.3