mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
TITANIC: Implemented lots of CBackground descendent classes
This commit is contained in:
@@ -73,11 +73,23 @@
|
||||
#include "titanic/core/view_item.h"
|
||||
|
||||
#include "titanic/game/announce.h"
|
||||
#include "titanic/game/arb_background.h"
|
||||
#include "titanic/game/arboretum_gate.h"
|
||||
#include "titanic/game/auto_animate.h"
|
||||
#include "titanic/game/belbot_get_light.h"
|
||||
#include "titanic/game/bomb.h"
|
||||
#include "titanic/game/bowl_unlocker.h"
|
||||
#include "titanic/game/bridge_view.h"
|
||||
#include "titanic/game/broken_pell_base.h"
|
||||
#include "titanic/game/cage.h"
|
||||
#include "titanic/game/captains_wheel.h"
|
||||
#include "titanic/game/cdrom.h"
|
||||
#include "titanic/game/cdrom_computer.h"
|
||||
#include "titanic/game/cdrom_tray.h"
|
||||
#include "titanic/game/cell_point_button.h"
|
||||
#include "titanic/game/chicken_dispensor.h"
|
||||
#include "titanic/game/close_broken_pel.h"
|
||||
#include "titanic/game/computer.h"
|
||||
#include "titanic/game/computer_screen.h"
|
||||
#include "titanic/game/cookie.h"
|
||||
#include "titanic/game/credits.h"
|
||||
@@ -87,22 +99,45 @@
|
||||
#include "titanic/game/doorbot_home_handler.h"
|
||||
#include "titanic/game/drawer.h"
|
||||
#include "titanic/game/ear_sweet_bowl.h"
|
||||
#include "titanic/game/eject_phonograph_button.h"
|
||||
#include "titanic/game/emma_control.h"
|
||||
#include "titanic/game/empty_nut_bowl.h"
|
||||
#include "titanic/game/enter_exit_first_class_state.h"
|
||||
#include "titanic/game/games_console.h"
|
||||
#include "titanic/game/hammer_dispensor_button.h"
|
||||
#include "titanic/game/head_smash_event.h"
|
||||
#include "titanic/game/head_smash_lever.h"
|
||||
#include "titanic/game/lemon_dispensor.h"
|
||||
#include "titanic/game/light.h"
|
||||
#include "titanic/game/light_switch.h"
|
||||
#include "titanic/game/little_lift_button.h"
|
||||
#include "titanic/game/musical_instrument.h"
|
||||
#include "titanic/game/no_nut_bowl.h"
|
||||
#include "titanic/game/null_port_hole.h"
|
||||
#include "titanic/game/nut_replacer.h"
|
||||
#include "titanic/game/play_music_button.h"
|
||||
#include "titanic/game/play_on_act.h"
|
||||
#include "titanic/game/port_hole.h"
|
||||
#include "titanic/game/record_phonograph_button.h"
|
||||
#include "titanic/game/replacement_ear.h"
|
||||
#include "titanic/game/room_item.h"
|
||||
#include "titanic/game/sauce_dispensor.h"
|
||||
#include "titanic/game/season_background.h"
|
||||
#include "titanic/game/season_barrel.h"
|
||||
#include "titanic/game/seasonal_adjustment.h"
|
||||
#include "titanic/game/service_elevator_door.h"
|
||||
#include "titanic/game/service_elevator_window.h"
|
||||
#include "titanic/game/ship_setting.h"
|
||||
#include "titanic/game/speech_dispensor.h"
|
||||
#include "titanic/game/start_action.h"
|
||||
#include "titanic/game/stop_phonograph_button.h"
|
||||
#include "titanic/game/sub_glass.h"
|
||||
#include "titanic/game/sweet_bowl.h"
|
||||
#include "titanic/game/television.h"
|
||||
#include "titanic/game/third_class_canal.h"
|
||||
#include "titanic/game/wheel_button.h"
|
||||
#include "titanic/game/wheel_hotspot.h"
|
||||
#include "titanic/game/wheel_spin.h"
|
||||
#include "titanic/game/parrot/parrot_lobby_controller.h"
|
||||
#include "titanic/game/parrot/parrot_lobby_link_updater.h"
|
||||
#include "titanic/game/parrot/parrot_lobby_object.h"
|
||||
@@ -128,7 +163,6 @@
|
||||
#include "titanic/game/sgt/sgt_restaurant_doors.h"
|
||||
#include "titanic/game/sgt/sgt_state_room.h"
|
||||
#include "titanic/game/sgt/sgt_upper_doors_sound.h"
|
||||
|
||||
#include "titanic/gfx/act_button.h"
|
||||
#include "titanic/gfx/changes_season_button.h"
|
||||
#include "titanic/gfx/chev_left_off.h"
|
||||
@@ -148,6 +182,13 @@
|
||||
#include "titanic/gfx/icon_nav_up.h"
|
||||
#include "titanic/gfx/keybrd_butt.h"
|
||||
#include "titanic/gfx/move_object_button.h"
|
||||
#include "titanic/gfx/music_control.h"
|
||||
#include "titanic/gfx/music_slider_pitch.h"
|
||||
#include "titanic/gfx/music_slider_speed.h"
|
||||
#include "titanic/gfx/music_switch.h"
|
||||
#include "titanic/gfx/music_switch_inversion.h"
|
||||
#include "titanic/gfx/music_switch_reverse.h"
|
||||
#include "titanic/gfx/music_voice_mute.h"
|
||||
#include "titanic/gfx/pet_mode_off.h"
|
||||
#include "titanic/gfx/pet_mode_on.h"
|
||||
#include "titanic/gfx/pet_mode_panel.h"
|
||||
@@ -160,7 +201,6 @@
|
||||
#include "titanic/gfx/status_change_button.h"
|
||||
#include "titanic/gfx/st_button.h"
|
||||
#include "titanic/gfx/toggle_switch.h"
|
||||
|
||||
#include "titanic/messages/messages.h"
|
||||
#include "titanic/messages/mouse_messages.h"
|
||||
#include "titanic/messages/pet_messages.h"
|
||||
@@ -193,6 +233,13 @@
|
||||
#include "titanic/npcs/titania.h"
|
||||
|
||||
#include "titanic/sound/auto_music_player.h"
|
||||
#include "titanic/sound/auto_music_player_base.h"
|
||||
#include "titanic/sound/auto_sound_player.h"
|
||||
#include "titanic/sound/background_sound_maker.h"
|
||||
#include "titanic/sound/music_player.h"
|
||||
#include "titanic/sound/seasonal_music_player.h"
|
||||
#include "titanic/sound/titania_speech.h"
|
||||
#include "titanic/sound/trigger_auto_music_player.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
@@ -252,11 +299,23 @@ DEFFN(CTreeItem);
|
||||
DEFFN(CViewItem);
|
||||
|
||||
DEFFN(CAnnounce);
|
||||
DEFFN(CArbBackground);
|
||||
DEFFN(CArboretumGate);
|
||||
DEFFN(CAutoAnimate);
|
||||
DEFFN(CBelbotGetLight);
|
||||
DEFFN(CBowlUnlocker);
|
||||
DEFFN(CBomb);
|
||||
DEFFN(CBridgeView);
|
||||
DEFFN(CBrokenPellBase)
|
||||
DEFFN(CCage);
|
||||
DEFFN(CCaptainsWheel);
|
||||
DEFFN(CCDROM);
|
||||
DEFFN(CCDROMComputer);
|
||||
DEFFN(CCDROMTray);
|
||||
DEFFN(CCellPointButton);
|
||||
DEFFN(CChickenDispensor);
|
||||
DEFFN(CCloseBrokenPel);
|
||||
DEFFN(CComputer);
|
||||
DEFFN(CCookie);
|
||||
DEFFN(CComputerScreen);
|
||||
DEFFN(CCredits);
|
||||
@@ -265,22 +324,45 @@ DEFFN(CDeadArea);
|
||||
DEFFN(CDeskClickResponder);
|
||||
DEFFN(CDoorbotHomeHandler);
|
||||
DEFFN(CEarSweetBowl);
|
||||
DEFFN(CEjectPhonographButton);
|
||||
DEFFN(CEmmaControl);
|
||||
DEFFN(CEmptyNutBowl);
|
||||
DEFFN(CEnterExitFirstClassState);
|
||||
DEFFN(CGamesConsole);
|
||||
DEFFN(CHammerDispensorButton);
|
||||
DEFFN(CHeadSmashEvent);
|
||||
DEFFN(CHeadSmashLever);
|
||||
DEFFN(CLemonDispensor);
|
||||
DEFFN(CLight);
|
||||
DEFFN(CLightSwitch);
|
||||
DEFFN(CLittleLiftButton);
|
||||
DEFFN(CMusicalInstrument);
|
||||
DEFFN(CNoNutBowl);
|
||||
DEFFN(CNullPortHole);
|
||||
DEFFN(CNutReplacer);
|
||||
DEFFN(CPlayMusicButton);
|
||||
DEFFN(CPlayOnAct);
|
||||
DEFFN(CPortHole);
|
||||
DEFFN(CRecordPhonographButton);
|
||||
DEFFN(CReplacementEar);
|
||||
DEFFN(CRoomItem);
|
||||
DEFFN(CSauceDispensor);
|
||||
DEFFN(CSeasonBackground);
|
||||
DEFFN(CSeasonBarrel);
|
||||
DEFFN(CSeasonalAdjustment);
|
||||
DEFFN(CServiceElevatorDoor);
|
||||
DEFFN(CServiceElevatorWindow);
|
||||
DEFFN(CShipSetting);
|
||||
DEFFN(CSpeechDispensor);
|
||||
DEFFN(CStartAction);
|
||||
DEFFN(CStopPhonographButton);
|
||||
DEFFN(CSUBGlass);
|
||||
DEFFN(CSweetBowl);
|
||||
DEFFN(CTelevision);
|
||||
DEFFN(CThirdClassCanal);
|
||||
DEFFN(CWheelButton);
|
||||
DEFFN(CWheelHotSpot);
|
||||
DEFFN(CWheelSpin);
|
||||
DEFFN(CParrotLobbyController);
|
||||
DEFFN(CParrotLobbyLinkUpdater);
|
||||
DEFFN(CParrotLobbyObject);
|
||||
@@ -326,6 +408,14 @@ DEFFN(CIconNavRight);
|
||||
DEFFN(CIconNavUp);
|
||||
DEFFN(CKeybrdButt);
|
||||
DEFFN(CMoveObjectButton);
|
||||
DEFFN(CMusicControl);
|
||||
DEFFN(CMusicSlider);
|
||||
DEFFN(CMusicSliderPitch);
|
||||
DEFFN(CMusicSliderSpeed);
|
||||
DEFFN(CMusicSwitch);
|
||||
DEFFN(CMusicSwitchInversion);
|
||||
DEFFN(CMusicSwitchReverse);
|
||||
DEFFN(CMusicVoiceMute);
|
||||
DEFFN(CPetModeOff);
|
||||
DEFFN(CPetModeOn);
|
||||
DEFFN(CPetModePanel);
|
||||
@@ -539,8 +629,14 @@ DEFFN(CStarlings);
|
||||
DEFFN(CSummonBots);
|
||||
DEFFN(CSuccUBus);
|
||||
DEFFN(CTitania);
|
||||
|
||||
DEFFN(CAutoMusicPlayer);
|
||||
DEFFN(CAutoMusicPlayerBase);
|
||||
DEFFN(CAutoSoundPlayer);
|
||||
DEFFN(CBackgroundSoundMaker);
|
||||
DEFFN(CMusicPlayer);
|
||||
DEFFN(CSeasonalMusicPlayer);
|
||||
DEFFN(CTitaniaSpeech);
|
||||
DEFFN(CTriggerAutoMusicPlayer);
|
||||
|
||||
void CSaveableObject::initClassList() {
|
||||
_classList = new Common::HashMap<Common::String, CreateFunction>();
|
||||
@@ -594,12 +690,24 @@ void CSaveableObject::initClassList() {
|
||||
ADDFN(CViewItem);
|
||||
|
||||
ADDFN(CAnnounce);
|
||||
ADDFN(CArbBackground);
|
||||
ADDFN(CArboretumGate);
|
||||
ADDFN(CAutoAnimate);
|
||||
ADDFN(CBelbotGetLight);
|
||||
ADDFN(CBomb);
|
||||
ADDFN(CBowlUnlocker);
|
||||
ADDFN(CBridgeView);
|
||||
ADDFN(CBrokenPellBase);
|
||||
ADDFN(CCage);
|
||||
ADDFN(CCaptainsWheel);
|
||||
ADDFN(CCDROM);
|
||||
ADDFN(CCDROMComputer);
|
||||
ADDFN(CCDROMTray);
|
||||
ADDFN(CCellPointButton);
|
||||
ADDFN(CChickenDispensor);
|
||||
ADDFN(CComputerScreen);
|
||||
ADDFN(CCloseBrokenPel);
|
||||
ADDFN(CComputer);
|
||||
ADDFN(CCookie);
|
||||
ADDFN(CCredits);
|
||||
ADDFN(CCreditsButton);
|
||||
@@ -608,25 +716,46 @@ void CSaveableObject::initClassList() {
|
||||
ADDFN(CDoorbotHomeHandler);
|
||||
ADDFN(CDropTarget);
|
||||
ADDFN(CEarSweetBowl);
|
||||
ADDFN(CEjectPhonographButton);
|
||||
ADDFN(CEmmaControl);
|
||||
ADDFN(CEmptyNutBowl);
|
||||
ADDFN(CEnterExitFirstClassState);
|
||||
ADDFN(CGamesConsole);
|
||||
ADDFN(CHammerDispensorButton);
|
||||
ADDFN(CHeadSmashEvent);
|
||||
ADDFN(CHeadSmashLever);
|
||||
ADDFN(CLemonDispensor);
|
||||
ADDFN(CLight);
|
||||
ADDFN(CLightSwitch);
|
||||
ADDFN(CLittleLiftButton);
|
||||
ADDFN(CMusicalInstrument);
|
||||
ADDFN(CNoNutBowl);
|
||||
ADDFN(CNullPortHole);
|
||||
ADDFN(CNutReplacer);
|
||||
ADDFN(CPETPosition);
|
||||
ADDFN(CPlayMusicButton);
|
||||
ADDFN(CPlayOnAct);
|
||||
ADDFN(CPortHole);
|
||||
ADDFN(CRecordPhonographButton);
|
||||
ADDFN(CReplacementEar);
|
||||
ADDFN(CRoomItem);
|
||||
ADDFN(CSauceDispensor);
|
||||
ADDFN(CSeasonBackground);
|
||||
ADDFN(CSeasonBarrel);
|
||||
ADDFN(CSeasonalAdjustment);
|
||||
ADDFN(CServiceElevatorDoor);
|
||||
ADDFN(CSGTStateRoom);
|
||||
ADDFN(CSGTUpperDoorsSound);
|
||||
ADDFN(CServiceElevatorWindow);
|
||||
ADDFN(CShipSetting);
|
||||
ADDFN(CSpeechDispensor);
|
||||
ADDFN(CStartAction);
|
||||
ADDFN(CStopPhonographButton);
|
||||
ADDFN(CSUBGlass);
|
||||
ADDFN(CSweetBowl);
|
||||
ADDFN(CTelevision);
|
||||
ADDFN(CThirdClassCanal);
|
||||
ADDFN(CWheelButton);
|
||||
ADDFN(CWheelHotSpot);
|
||||
ADDFN(CWheelSpin);
|
||||
ADDFN(CParrotLobbyController);
|
||||
ADDFN(CParrotLobbyLinkUpdater);
|
||||
ADDFN(CParrotLobbyObject);
|
||||
@@ -672,6 +801,13 @@ void CSaveableObject::initClassList() {
|
||||
ADDFN(CIconNavUp);
|
||||
ADDFN(CKeybrdButt);
|
||||
ADDFN(CMoveObjectButton);
|
||||
ADDFN(CMusicControl);
|
||||
ADDFN(CMusicSlider);
|
||||
ADDFN(CMusicSliderPitch);
|
||||
ADDFN(CMusicSliderSpeed);
|
||||
ADDFN(CMusicSwitch);
|
||||
ADDFN(CMusicSwitchInversion);
|
||||
ADDFN(CMusicSwitchReverse);
|
||||
ADDFN(CPetModeOff);
|
||||
ADDFN(CPetModeOn);
|
||||
ADDFN(CPetModePanel);
|
||||
@@ -887,6 +1023,14 @@ void CSaveableObject::initClassList() {
|
||||
ADDFN(CTitania);
|
||||
|
||||
ADDFN(CAutoMusicPlayer);
|
||||
ADDFN(CAutoMusicPlayerBase);
|
||||
ADDFN(CAutoSoundPlayer);
|
||||
ADDFN(CBackgroundSoundMaker);
|
||||
ADDFN(CMusicPlayer);
|
||||
ADDFN(CSeasonalMusicPlayer);
|
||||
ADDFN(CAutoMusicPlayer);
|
||||
ADDFN(CTitaniaSpeech);
|
||||
ADDFN(CTriggerAutoMusicPlayer);
|
||||
}
|
||||
|
||||
void CSaveableObject::freeClassList() {
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/arb_background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CArbBackground::CArbBackground() : CBackground(),
|
||||
_fieldE0(0), _fieldE4(61), _fieldE8(62), _fieldEC(118) {
|
||||
}
|
||||
|
||||
void CArbBackground::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CArbBackground::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
_fieldEC = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,57 @@
|
||||
/* 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 TITANIC_ARB_BACKGROUND_H
|
||||
#define TITANIC_ARB_BACKGROUND_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CArbBackground : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
int _fieldEC;
|
||||
public:
|
||||
CArbBackground();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CArbBackground"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_ARB_BACKGROUND_H */
|
||||
@@ -0,0 +1,136 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/arboretum_gate.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
int CArboretumGate::_v1;
|
||||
int CArboretumGate::_v2;
|
||||
int CArboretumGate::_v3;
|
||||
|
||||
CArboretumGate::CArboretumGate() : CBackground() {
|
||||
_string1 = "NULL";
|
||||
_string2 = "NULL";
|
||||
_fieldE0 = 0;
|
||||
_fieldF0 = 0;
|
||||
_fieldF4 = 244;
|
||||
_fieldF8 = 304;
|
||||
_fieldFC = 122;
|
||||
_field100 = 182;
|
||||
_field104 = 183;
|
||||
_field108 = 243;
|
||||
_field10C = 665;
|
||||
_field110 = 724;
|
||||
_field114 = 61;
|
||||
_field118 = 121;
|
||||
_field11C = 0;
|
||||
_field120 = 60;
|
||||
_field124 = 485;
|
||||
_field128 = 544;
|
||||
_field12C = 425;
|
||||
_field130 = 484;
|
||||
_field134 = 545;
|
||||
_field138 = 604;
|
||||
_field13C = 605;
|
||||
_field140 = 664;
|
||||
_field144 = 305;
|
||||
_field148 = 364;
|
||||
_field14C = 365;
|
||||
_field150 = 424;
|
||||
}
|
||||
|
||||
void CArboretumGate::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_v1, indent);
|
||||
file->writeNumberLine(_v2, indent);
|
||||
file->writeNumberLine(_v3, indent);
|
||||
file->writeQuotedLine(_string1, indent);
|
||||
file->writeNumberLine(_fieldF0, indent);
|
||||
file->writeNumberLine(_fieldF4, indent);
|
||||
file->writeNumberLine(_fieldF8, indent);
|
||||
file->writeNumberLine(_fieldFC, indent);
|
||||
file->writeNumberLine(_field100, indent);
|
||||
file->writeNumberLine(_field104, indent);
|
||||
file->writeNumberLine(_field108, indent);
|
||||
file->writeNumberLine(_field10C, indent);
|
||||
file->writeNumberLine(_field110, indent);
|
||||
file->writeNumberLine(_field114, indent);
|
||||
file->writeNumberLine(_field118, indent);
|
||||
file->writeNumberLine(_field11C, indent);
|
||||
file->writeNumberLine(_field120, indent);
|
||||
file->writeNumberLine(_field124, indent);
|
||||
file->writeNumberLine(_field128, indent);
|
||||
file->writeNumberLine(_field12C, indent);
|
||||
file->writeNumberLine(_field130, indent);
|
||||
file->writeNumberLine(_field134, indent);
|
||||
file->writeNumberLine(_field138, indent);
|
||||
file->writeNumberLine(_field13C, indent);
|
||||
file->writeNumberLine(_field140, indent);
|
||||
file->writeNumberLine(_field144, indent);
|
||||
file->writeNumberLine(_field148, indent);
|
||||
file->writeNumberLine(_field14C, indent);
|
||||
file->writeNumberLine(_field150, indent);
|
||||
file->writeQuotedLine(_string2, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CArboretumGate::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_v1 = file->readNumber();
|
||||
_v2 = file->readNumber();
|
||||
_v3 = file->readNumber();
|
||||
_string1 = file->readString();
|
||||
_fieldF0 = file->readNumber();
|
||||
_fieldF4 = file->readNumber();
|
||||
_fieldF8 = file->readNumber();
|
||||
_fieldFC = file->readNumber();
|
||||
_field100 = file->readNumber();
|
||||
_field104 = file->readNumber();
|
||||
_field108 = file->readNumber();
|
||||
_field10C = file->readNumber();
|
||||
_field110 = file->readNumber();
|
||||
_field114 = file->readNumber();
|
||||
_field118 = file->readNumber();
|
||||
_field11C = file->readNumber();
|
||||
_field120 = file->readNumber();
|
||||
_field124 = file->readNumber();
|
||||
_field128 = file->readNumber();
|
||||
_field12C = file->readNumber();
|
||||
_field130 = file->readNumber();
|
||||
_field134 = file->readNumber();
|
||||
_field138 = file->readNumber();
|
||||
_field13C = file->readNumber();
|
||||
_field140 = file->readNumber();
|
||||
_field144 = file->readNumber();
|
||||
_field148 = file->readNumber();
|
||||
_field14C = file->readNumber();
|
||||
_field150 = file->readNumber();
|
||||
_string2 = file->readString();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,87 @@
|
||||
/* 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 TITANIC_ARBORETUM_GATE_H
|
||||
#define TITANIC_ARBORETUM_GATE_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CArboretumGate : public CBackground {
|
||||
public:
|
||||
static int _v1;
|
||||
static int _v2;
|
||||
static int _v3;
|
||||
public:
|
||||
int _fieldE0;
|
||||
CString _string1;
|
||||
int _fieldE8;
|
||||
int _fieldEC;
|
||||
int _fieldF0;
|
||||
int _fieldF4;
|
||||
int _fieldF8;
|
||||
int _fieldFC;
|
||||
int _field100;
|
||||
int _field104;
|
||||
int _field108;
|
||||
int _field10C;
|
||||
int _field110;
|
||||
int _field114;
|
||||
int _field118;
|
||||
int _field11C;
|
||||
int _field120;
|
||||
int _field124;
|
||||
int _field128;
|
||||
int _field12C;
|
||||
int _field130;
|
||||
int _field134;
|
||||
int _field138;
|
||||
int _field13C;
|
||||
int _field140;
|
||||
int _field144;
|
||||
int _field148;
|
||||
int _field14C;
|
||||
int _field150;
|
||||
CString _string2;
|
||||
public:
|
||||
CArboretumGate();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CArboretumGate"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_ARBORETUM_GATE_H */
|
||||
@@ -0,0 +1,43 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/auto_animate.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CAutoAnimate::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CAutoAnimate::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,55 @@
|
||||
/* 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 TITANIC_AUTO_ANIMATE_H
|
||||
#define TITANIC_AUTO_ANIMATE_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CAutoAnimate : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
public:
|
||||
CAutoAnimate() : CBackground(), _fieldE0(1), _fieldE4(1), _fieldE8(0) {}
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CAutoAnimate"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_AUTO_ANIMATE_H */
|
||||
@@ -0,0 +1,72 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/bomb.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CBomb::CBomb() : CBackground() {
|
||||
_fieldE0 = 0;
|
||||
_fieldE4 = 0;
|
||||
_fieldE8 = 17;
|
||||
_fieldEC = 9;
|
||||
_fieldF0 = 0;
|
||||
_fieldF4 = 999;
|
||||
_fieldF8 = 0;
|
||||
_fieldFC = 0;
|
||||
_field100 = 0;
|
||||
_field104 = 60;
|
||||
}
|
||||
|
||||
void CBomb::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
file->writeNumberLine(_fieldF0, indent);
|
||||
file->writeNumberLine(_fieldF4, indent);
|
||||
file->writeNumberLine(_fieldF8, indent);
|
||||
file->writeNumberLine(_fieldFC, indent);
|
||||
file->writeNumberLine(_field100, indent);
|
||||
file->writeNumberLine(_field104, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CBomb::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
_fieldEC = file->readNumber();
|
||||
_fieldF0 = file->readNumber();
|
||||
_fieldF4 = file->readNumber();
|
||||
_fieldF8 = file->readNumber();
|
||||
_fieldFC = file->readNumber();
|
||||
_field100 = file->readNumber();
|
||||
_field104 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,63 @@
|
||||
/* 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 TITANIC_BOMB_H
|
||||
#define TITANIC_BOMB_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CBomb : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
int _fieldEC;
|
||||
int _fieldF0;
|
||||
int _fieldF4;
|
||||
int _fieldF8;
|
||||
int _fieldFC;
|
||||
int _field100;
|
||||
int _field104;
|
||||
public:
|
||||
CBomb();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CBomb"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_BOMB_H */
|
||||
@@ -0,0 +1,39 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/bridge_view.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CBridgeView::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CBridgeView::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,54 @@
|
||||
/* 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 TITANIC_BRIDGE_VIEW_H
|
||||
#define TITANIC_BRIDGE_VIEW_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CBridgeView : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
public:
|
||||
CBridgeView() : CBackground(), _fieldE0(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CBridgeView"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_BRIDGE_VIEW_H */
|
||||
@@ -0,0 +1,39 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/broken_pell_base.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CBrokenPellBase::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CBrokenPellBase::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,54 @@
|
||||
/* 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 TITANIC_BROKEN_PELL_BASE_H
|
||||
#define TITANIC_BROKEN_PELL_BASE_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CBrokenPellBase : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
public:
|
||||
CBrokenPellBase() : CBackground(), _fieldE0(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CBrokenPellBase"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_BROKEN_PELL_BASE_H */
|
||||
@@ -0,0 +1,46 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/cage.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
int CCage::_v1;
|
||||
int CCage::_v2;
|
||||
|
||||
void CCage::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_v1, indent);
|
||||
file->writeNumberLine(_v2, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CCage::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_v1 = file->readNumber();
|
||||
_v2 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,53 @@
|
||||
/* 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 TITANIC_CAGE_H
|
||||
#define TITANIC_CAGE_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CCage : public CBackground {
|
||||
public:
|
||||
static int _v1;
|
||||
static int _v2;
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CCage"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_CAGE_H */
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/captains_wheel.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CCaptainsWheel::CCaptainsWheel() : CBackground(),
|
||||
_fieldE0(0), _fieldE4(0), _fieldE8(0), _fieldEC(0),
|
||||
_fieldF0(0), _fieldF4(0) {
|
||||
}
|
||||
|
||||
void CCaptainsWheel::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
file->writeNumberLine(_fieldF0, indent);
|
||||
file->writeNumberLine(_fieldF4, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CCaptainsWheel::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
_fieldEC = file->readNumber();
|
||||
_fieldF0 = file->readNumber();
|
||||
_fieldF4 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,59 @@
|
||||
/* 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 TITANIC_CAPTAINS_WHEEL_H
|
||||
#define TITANIC_CAPTAINS_WHEEL_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CCaptainsWheel : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
int _fieldEC;
|
||||
int _fieldF0;
|
||||
int _fieldF4;
|
||||
public:
|
||||
CCaptainsWheel();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CCaptainsWheel"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_CAPTAINS_WHEEL_H */
|
||||
@@ -0,0 +1,79 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/cell_point_button.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CCellPointButton::CCellPointButton() : CBackground() {
|
||||
_fieldE0 = 0;
|
||||
_fieldE4 = 0;
|
||||
_fieldE8 = 0;
|
||||
_fieldEC = 0;
|
||||
_fieldF0 = 0;
|
||||
_fieldF4 = 0;
|
||||
_fieldF8 = 0;
|
||||
_fieldFC = 0;
|
||||
_field100 = 0;
|
||||
_field104 = 0;
|
||||
_field108 = 1;
|
||||
}
|
||||
|
||||
void CCellPointButton::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
file->writeNumberLine(_fieldF0, indent);
|
||||
file->writeNumberLine(_fieldF4, indent);
|
||||
file->writeNumberLine(_fieldF8, indent);
|
||||
file->writeNumberLine(_fieldFC, indent);
|
||||
file->writeNumberLine(_field100, indent);
|
||||
file->writeNumberLine(_field104, indent);
|
||||
file->writeNumberLine(_field108, indent);
|
||||
file->writeQuotedLine(_string3, indent);
|
||||
file->writeNumberLine(_field118, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CCellPointButton::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
_fieldEC = file->readNumber();
|
||||
_fieldF0 = file->readNumber();
|
||||
_fieldF4 = file->readNumber();
|
||||
_fieldF8 = file->readNumber();
|
||||
_fieldFC = file->readNumber();
|
||||
_field100 = file->readNumber();
|
||||
_field104 = file->readNumber();
|
||||
_field108 = file->readNumber();
|
||||
_string3 = file->readString();
|
||||
_field118 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,66 @@
|
||||
/* 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 TITANIC_CELL_POINT_BUTTON_H
|
||||
#define TITANIC_CELL_POINT_BUTTON_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CCellPointButton : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
int _fieldEC;
|
||||
int _fieldF0;
|
||||
int _fieldF4;
|
||||
int _fieldF8;
|
||||
int _fieldFC;
|
||||
int _field100;
|
||||
int _field104;
|
||||
int _field108;
|
||||
CString _string3;
|
||||
int _field118;
|
||||
public:
|
||||
CCellPointButton();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CCellPointButton"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_CELL_POINT_BUTTON_H */
|
||||
@@ -0,0 +1,48 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/chicken_dispensor.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CChickenDispensor::CChickenDispensor() : CBackground(),
|
||||
_fieldE0(0), _fieldE4(0), _fieldE8(0) {
|
||||
}
|
||||
|
||||
void CChickenDispensor::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CChickenDispensor::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_CHICKEN_DISPENSOR_H
|
||||
#define TITANIC_CHICKEN_DISPENSOR_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CChickenDispensor : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
public:
|
||||
CChickenDispensor();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CNoNutBowl"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_CHICKEN_DISPENSOR_H */
|
||||
@@ -0,0 +1,39 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/close_broken_pel.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CCloseBrokenPel::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeQuotedLine(_string3, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CCloseBrokenPel::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_string3 = file->readString();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,52 @@
|
||||
/* 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 TITANIC_CLOSE_BROKEN_PEL_H
|
||||
#define TITANIC_CLOSE_BROKEN_PEL_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CCloseBrokenPel : public CBackground {
|
||||
public:
|
||||
CString _string3;
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CCloseBrokenPel"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_CLOSE_BROKEN_PEL_H */
|
||||
@@ -0,0 +1,41 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/computer.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CComputer::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeQuotedLine(_string3, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CComputer::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_string3 = file->readString();
|
||||
_fieldEC = file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,55 @@
|
||||
/* 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 TITANIC_COMPUTER_H
|
||||
#define TITANIC_COMPUTER_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CComputer : public CBackground {
|
||||
public:
|
||||
CString _string3;
|
||||
int _fieldEC;
|
||||
public:
|
||||
CComputer() : CBackground(), _string3("None"), _fieldEC(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CComputer"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_COMPUTER_H */
|
||||
@@ -0,0 +1,47 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/eject_phonograph_button.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CEjectPhonographButton::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeQuotedLine(_string3, indent);
|
||||
file->writeQuotedLine(_string4, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CEjectPhonographButton::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_string3 = file->readString();
|
||||
_string4 = file->readString();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,57 @@
|
||||
/* 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 TITANIC_EJECT_PHONOGRAPH_BUTTON_H
|
||||
#define TITANIC_EJECT_PHONOGRAPH_BUTTON_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CEjectPhonographButton : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
CString _string3;
|
||||
CString _string4;
|
||||
public:
|
||||
CEjectPhonographButton() : CBackground(), _fieldE0(0), _fieldE4(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CEjectPhonographButton"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_EJECT_PHONOGRAPH_BUTTON_H */
|
||||
@@ -0,0 +1,43 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/emma_control.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CEmmaControl::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeQuotedLine(_wavFile1, indent);
|
||||
file->writeQuotedLine(_wavFile2, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CEmmaControl::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_wavFile1 = file->readString();
|
||||
_wavFile2 = file->readString();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,54 @@
|
||||
/* 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 TITANIC_EMMA_CONTROL_H
|
||||
#define TITANIC_EMMA_CONTROL_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CEmmaControl : public CBackground {
|
||||
public:
|
||||
CString _wavFile1, _wavFile2;
|
||||
public:
|
||||
CEmmaControl() : CBackground(), _wavFile1("b#39.wav"), _wavFile2("b#38.wav") {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CEmmaControl"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_EMMA_CONTROL_H */
|
||||
@@ -51,4 +51,4 @@ public:
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_NO_NUT_BOWL_H */
|
||||
#endif /* TITANIC_EMPTY_NUT_BOWL_H */
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/games_console.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CGamesConsole::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CGamesConsole::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,54 @@
|
||||
/* 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 TITANIC_GAMES_CONSOLE_H
|
||||
#define TITANIC_GAMES_CONSOLE_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CGamesConsole : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
public:
|
||||
CGamesConsole() : CBackground(), _fieldE0(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CGamesConsole"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_GAMES_CONSOLE_H */
|
||||
@@ -0,0 +1,37 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/head_smash_event.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CHeadSmashEvent::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CHeadSmashEvent::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,50 @@
|
||||
/* 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 TITANIC_HEAD_SMASH_EVENT_H
|
||||
#define TITANIC_HEAD_SMASH_EVENT_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CHeadSmashEvent : public CBackground {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CHeadSmashEvent"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_HEAD_SMASH_EVENT_H */
|
||||
@@ -0,0 +1,48 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/head_smash_lever.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CHeadSmashLever::CHeadSmashLever() : CBackground(),
|
||||
_fieldE0(0), _fieldE4(0), _fieldE8(0) {}
|
||||
|
||||
void CHeadSmashLever::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CHeadSmashLever::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_HEAD_SMASH_LEVER_H
|
||||
#define TITANIC_HEAD_SMASH_LEVER_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CHeadSmashLever : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
public:
|
||||
CHeadSmashLever();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CHeadSmashLever"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_HEAD_SMASH_LEVER_H */
|
||||
@@ -0,0 +1,51 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/lemon_dispensor.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CLemonDispensor::CLemonDispensor() : CBackground(),
|
||||
_fieldE0(0), _fieldE4(9), _fieldE8(15), _fieldEC(0) {
|
||||
}
|
||||
|
||||
void CLemonDispensor::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CLemonDispensor::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
_fieldEC = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,57 @@
|
||||
/* 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 TITANIC_LEMON_DISPENSOR_H
|
||||
#define TITANIC_LEMON_DISPENSOR_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CLemonDispensor : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
int _fieldEC;
|
||||
public:
|
||||
CLemonDispensor();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CLemonDispensor"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_LEMON_DISPENSOR_H */
|
||||
@@ -0,0 +1,37 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/musical_instrument.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CMusicalInstrument::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CMusicalInstrument::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,50 @@
|
||||
/* 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 TITANIC_MUSICAL_INSTRUMENT_H
|
||||
#define TITANIC_MUSICAL_INSTRUMENT_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CMusicalInstrument : public CBackground {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CMusicalInstrument"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_MUSICAL_INSTRUMENT_H */
|
||||
@@ -0,0 +1,43 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/play_music_button.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CPlayMusicButton::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CPlayMusicButton::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,55 @@
|
||||
/* 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 TITANIC_PLAY_MUSIC_BUTTON_H
|
||||
#define TITANIC_PLAY_MUSIC_BUTTON_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CPlayMusicButton : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
public:
|
||||
CPlayMusicButton() : CBackground(), _fieldE0(0), _fieldE4(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CPlayMusicButton"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_PLAY_MUSIC_BUTTON_H */
|
||||
@@ -0,0 +1,37 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/play_on_act.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CPlayOnAct::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CPlayOnAct::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,50 @@
|
||||
/* 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 TITANIC_PLAY_ON_ACT_H
|
||||
#define TITANIC_PLAY_ON_ACT_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CPlayOnAct : public CBackground {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CPlayOnAct"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_PLAY_ON_ACT_H */
|
||||
@@ -0,0 +1,39 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/record_phonograph_button.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CRecordPhonographButton::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_value, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CRecordPhonographButton::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_value = file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,54 @@
|
||||
/* 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 TITANIC_RECORD_PHONOGRAPH_BUTTON_H
|
||||
#define TITANIC_RECORD_PHONOGRAPH_BUTTON_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CRecordPhonographButton : public CBackground {
|
||||
public:
|
||||
int _value;
|
||||
public:
|
||||
CRecordPhonographButton() : CBackground(), _value(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CRecordPhonographButton"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_RECORD_PHONOGRAPH_BUTTON_H */
|
||||
@@ -0,0 +1,37 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/replacement_ear.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CReplacementEar::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CReplacementEar::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,50 @@
|
||||
/* 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 TITANIC_REPLACEMENT_EAR_H
|
||||
#define TITANIC_REPLACEMENT_EAR_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CReplacementEar : public CBackground {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CNoNutBowl"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_REPLACEMENT_EAR_H */
|
||||
@@ -0,0 +1,66 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/sauce_dispensor.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CSauceDispensor::CSauceDispensor() : CBackground() {
|
||||
_fieldEC = 0;
|
||||
_fieldF0 = 0;
|
||||
_fieldF4 = 0;
|
||||
_fieldF8 = 0;
|
||||
_fieldFC = 0;
|
||||
_field100 = 0;
|
||||
_field104 = 0;
|
||||
_field108 = 0;
|
||||
}
|
||||
|
||||
void CSauceDispensor::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
file->writeNumberLine(_fieldF0, indent);
|
||||
file->writeNumberLine(_fieldF4, indent);
|
||||
file->writeNumberLine(_fieldF8, indent);
|
||||
file->writeNumberLine(_fieldFC, indent);
|
||||
file->writeNumberLine(_field100, indent);
|
||||
file->writeNumberLine(_field104, indent);
|
||||
file->writeNumberLine(_field108, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CSauceDispensor::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldEC = file->readNumber();
|
||||
_fieldF0 = file->readNumber();
|
||||
_fieldF4 = file->readNumber();
|
||||
_fieldF8 = file->readNumber();
|
||||
_fieldFC = file->readNumber();
|
||||
_field100 = file->readNumber();
|
||||
_field104 = file->readNumber();
|
||||
_field108 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,62 @@
|
||||
/* 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 TITANIC_SAUCE_DISPENSOR_H
|
||||
#define TITANIC_SAUCE_DISPENSOR_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CSauceDispensor : public CBackground {
|
||||
public:
|
||||
CString _string3;
|
||||
int _fieldEC;
|
||||
int _fieldF0;
|
||||
int _fieldF4;
|
||||
int _fieldF8;
|
||||
int _fieldFC;
|
||||
int _field100;
|
||||
int _field104;
|
||||
int _field108;
|
||||
public:
|
||||
CSauceDispensor();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CSauceDispensor"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_SAUCE_DISPENSOR_H */
|
||||
@@ -0,0 +1,51 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/season_background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CSeasonBackground::CSeasonBackground() : CBackground(),
|
||||
_fieldE0(0), _fieldE4(0), _fieldE8(46), _fieldEC(0) {
|
||||
}
|
||||
|
||||
void CSeasonBackground::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CSeasonBackground::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
_fieldEC = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,57 @@
|
||||
/* 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 TITANIC_SEASON_BACKGROUND_H
|
||||
#define TITANIC_SEASON_BACKGROUND_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CSeasonBackground : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
int _fieldEC;
|
||||
public:
|
||||
CSeasonBackground();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CSeasonBackground"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_SEASON_BACKGROUND_H */
|
||||
@@ -0,0 +1,42 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/season_barrel.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CSeasonBarrel::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CSeasonBarrel::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,55 @@
|
||||
/* 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 TITANIC_SEASON_BARREL_H
|
||||
#define TITANIC_SEASON_BARREL_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CSeasonBarrel : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
public:
|
||||
CSeasonBarrel() : CBackground(), _fieldE0(0), _fieldE4(7) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CSeasonBarrel"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_SEASON_BARREL_H */
|
||||
@@ -0,0 +1,43 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/seasonal_adjustment.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CSeasonalAdjustment::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CSeasonalAdjustment::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,55 @@
|
||||
/* 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 TITANIC_SEASONAL_ADJUSTMENT_H
|
||||
#define TITANIC_SEASONAL_ADJUSTMENT_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CSeasonalAdjustment : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
public:
|
||||
CSeasonalAdjustment() : CBackground(), _fieldE0(0), _fieldE4(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CSeasonalAdjustment"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_SEASONAL_ADJUSTMENT_H */
|
||||
@@ -0,0 +1,51 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/service_elevator_window.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CServiceElevatorWindow::CServiceElevatorWindow() : CBackground(),
|
||||
_fieldE0(0), _fieldE4(0), _fieldE8(0), _fieldEC(0) {
|
||||
}
|
||||
|
||||
void CServiceElevatorWindow::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CServiceElevatorWindow::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
_fieldEC = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,57 @@
|
||||
/* 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 TITANIC_SERVICE_ELEVATOR_WINDOW_H
|
||||
#define TITANIC_SERVICE_ELEVATOR_WINDOW_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CServiceElevatorWindow : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
int _fieldEC;
|
||||
public:
|
||||
CServiceElevatorWindow();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CServiceElevatorWindow"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_SERVICE_ELEVATOR_WINDOW_H */
|
||||
@@ -0,0 +1,51 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/ship_setting.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CShipSetting::CShipSetting() : CBackground(),
|
||||
_string4("NULL"), _string5("NULL") {
|
||||
}
|
||||
|
||||
void CShipSetting::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeQuotedLine(_string3, indent);
|
||||
file->writePoint(_pos1, indent);
|
||||
file->writeQuotedLine(_string4, indent);
|
||||
file->writeQuotedLine(_string5, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CShipSetting::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_string3 = file->readString();
|
||||
_pos1 = file->readPoint();
|
||||
_string4 = file->readString();
|
||||
_string5 = file->readString();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,57 @@
|
||||
/* 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 TITANIC_SHIP_SETTING_H
|
||||
#define TITANIC_SHIP_SETTING_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CShipSetting : public CBackground {
|
||||
public:
|
||||
CString _string3;
|
||||
Common::Point _pos1;
|
||||
CString _string4;
|
||||
CString _string5;
|
||||
public:
|
||||
CShipSetting();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CShipSetting"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_SHIP_SETTING_H */
|
||||
@@ -0,0 +1,37 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/speech_dispensor.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CSpeechDispensor::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CSpeechDispensor::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,50 @@
|
||||
/* 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 TITANIC_SPEECH_DISPENSOR_H
|
||||
#define TITANIC_SPEECH_DISPENSOR_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CSpeechDispensor : public CBackground {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CSpeechDispensor"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_SPEECH_DISPENSOR_H */
|
||||
@@ -0,0 +1,37 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/stop_phonograph_button.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CStopPhonographButton::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CStopPhonographButton::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,50 @@
|
||||
/* 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 TITANIC_STOP_PHONOGRAPH_BUTTON_H
|
||||
#define TITANIC_STOP_PHONOGRAPH_BUTTON_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CStopPhonographButton : public CBackground {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CStopPhonographButton"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_STOP_PHONOGRAPH_BUTTON_H */
|
||||
@@ -0,0 +1,37 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/third_class_canal.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CThirdClassCanal::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CThirdClassCanal::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,50 @@
|
||||
/* 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 TITANIC_THIRD_CLASS_CANAL_H
|
||||
#define TITANIC_THIRD_CLASS_CANAL_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CThirdClassCanal : public CBackground {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CThirdClassCanal"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_THIRD_CLASS_CANAL_H */
|
||||
@@ -0,0 +1,49 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/wheel_button.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CWheelButton::CWheelButton() : CBackground(),
|
||||
_fieldE0(0), _fieldE4(0), _fieldE8(0) {
|
||||
}
|
||||
|
||||
void CWheelButton::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CWheelButton::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_WHEEL_BUTTON_H
|
||||
#define TITANIC_WHEEL_BUTTON_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CWheelButton : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
public:
|
||||
CWheelButton();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CWheelButton"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_WHEEL_BUTTON_H */
|
||||
@@ -0,0 +1,43 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/wheel_hotspot.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CWheelHotSpot::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CWheelHotSpot::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,55 @@
|
||||
/* 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 TITANIC_WHEEL_HOTSPOT_H
|
||||
#define TITANIC_WHEEL_HOTSPOT_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CWheelHotSpot : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
public:
|
||||
CWheelHotSpot() : CBackground(), _fieldE0(0), _fieldE4(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CWheelHotSpot"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_WHEEL_HOTSPOT_H */
|
||||
@@ -0,0 +1,39 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/game/wheel_spin.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
void CWheelSpin::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_value, indent);
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CWheelSpin::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_value = file->readNumber();
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,54 @@
|
||||
/* 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 TITANIC_WHEEL_SPIN_H
|
||||
#define TITANIC_WHEEL_SPIN_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CWheelSpin : public CBackground {
|
||||
public:
|
||||
int _value;
|
||||
public:
|
||||
CWheelSpin() : CBackground(), _value(0) {}
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CWheelSpin"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_WHEEL_SPIN_H */
|
||||
@@ -0,0 +1,51 @@
|
||||
/* 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.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "titanic/gfx/music_control.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
CMusicControl::CMusicControl() : CBackground(),
|
||||
_fieldE0(0), _fieldE4(0), _fieldE8(1), _fieldEC(1) {
|
||||
}
|
||||
|
||||
void CMusicControl::save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
file->writeNumberLine(_fieldE0, indent);
|
||||
file->writeNumberLine(_fieldE4, indent);
|
||||
file->writeNumberLine(_fieldE8, indent);
|
||||
file->writeNumberLine(_fieldEC, indent);
|
||||
|
||||
CBackground::save(file, indent);
|
||||
}
|
||||
|
||||
void CMusicControl::load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
_fieldE0 = file->readNumber();
|
||||
_fieldE4 = file->readNumber();
|
||||
_fieldE8 = file->readNumber();
|
||||
_fieldEC = file->readNumber();
|
||||
|
||||
CBackground::load(file);
|
||||
}
|
||||
|
||||
} // End of namespace Titanic
|
||||
@@ -0,0 +1,57 @@
|
||||
/* 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 TITANIC_MUSIC_CONTROL_H
|
||||
#define TITANIC_MUSIC_CONTROL_H
|
||||
|
||||
#include "titanic/core/background.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CMusicControl : public CBackground {
|
||||
public:
|
||||
int _fieldE0;
|
||||
int _fieldE4;
|
||||
int _fieldE8;
|
||||
int _fieldEC;
|
||||
public:
|
||||
CMusicControl();
|
||||
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CMusicControl"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const;
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file);
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_MUSIC_CONTROL_H */
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_MUSIC_SLIDER_H
|
||||
#define TITANIC_MUSIC_SLIDER_H
|
||||
|
||||
#include "titanic/gfx/music_control.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CMusicSlider : public CMusicControl {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CMusicSlider"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CMusicControl::save(file, indent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CMusicControl::load(file);
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_MUSIC_SLIDER_H */
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_MUSIC_SLIDER_PITCH_H
|
||||
#define TITANIC_MUSIC_SLIDER_PITCH_H
|
||||
|
||||
#include "titanic/gfx/music_slider.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CMusicSliderPitch : public CMusicSlider {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CMusicSliderPitch"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CMusicSlider::save(file, indent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CMusicSlider::load(file);
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_MUSIC_SLIDER_PITCH_H */
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_MUSIC_SLIDER_SPEED_H
|
||||
#define TITANIC_MUSIC_SLIDER_SPEED_H
|
||||
|
||||
#include "titanic/gfx/music_slider.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CMusicSliderSpeed : public CMusicSlider {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CMusicSliderSpeed"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CMusicSlider::save(file, indent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CMusicSlider::load(file);
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_MUSIC_SLIDER_SPEED_H */
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_MUSIC_SWITCH_H
|
||||
#define TITANIC_MUSIC_SWITCH_H
|
||||
|
||||
#include "titanic/gfx/music_control.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CMusicSwitch : public CMusicControl {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CMusicSwitch"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CMusicControl::save(file, indent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CMusicControl::load(file);
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_MUSIC_SWITCH_H */
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_MUSIC_SWITCH_INVERSION_H
|
||||
#define TITANIC_MUSIC_SWITCH_INVERSION_H
|
||||
|
||||
#include "titanic/gfx/music_switch.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CMusicSwitchInversion : public CMusicSwitch {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CMusicSwitchInversion"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CMusicSwitch::save(file, indent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CMusicSwitch::load(file);
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_MUSIC_SWITCH_INVERSION_H */
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_MUSIC_SWITCH_REVERSE_H
|
||||
#define TITANIC_MUSIC_SWITCH_REVERSE_H
|
||||
|
||||
#include "titanic/gfx/music_switch.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CMusicSwitchReverse : public CMusicSwitch {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CMusicSwitchReverse"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CMusicSwitch::save(file, indent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CMusicSwitch::load(file);
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_MUSIC_SWITCH_REVERSE_H */
|
||||
@@ -0,0 +1,56 @@
|
||||
/* 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 TITANIC_MUSIC_VOICE_MUTE_H
|
||||
#define TITANIC_MUSIC_VOICE_MUTE_H
|
||||
|
||||
#include "titanic/gfx/music_control.h"
|
||||
|
||||
namespace Titanic {
|
||||
|
||||
class CMusicVoiceMute : public CMusicControl {
|
||||
public:
|
||||
/**
|
||||
* Return the class name
|
||||
*/
|
||||
virtual const char *getClassName() const { return "CMusicVoiceMute"; }
|
||||
|
||||
/**
|
||||
* Save the data for the class to file
|
||||
*/
|
||||
virtual void save(SimpleFile *file, int indent) const {
|
||||
file->writeNumberLine(1, indent);
|
||||
CMusicControl::save(file, indent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the data for the class from file
|
||||
*/
|
||||
virtual void load(SimpleFile *file) {
|
||||
file->readNumber();
|
||||
CMusicControl::load(file);
|
||||
}
|
||||
};
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_MUSIC_VOICE_MUTE_H */
|
||||
@@ -74,6 +74,10 @@ MODULE_OBJS := \
|
||||
core/view_item.o \
|
||||
game/announce.o \
|
||||
game/annoy_barbot.o \
|
||||
game/arb_background.o \
|
||||
game/arboretum_gate.o \
|
||||
game/auto_animate.o \
|
||||
game/bomb.o \
|
||||
game/bar_menu.o \
|
||||
game/bar_menu_button.o \
|
||||
game/bar_bell.o \
|
||||
@@ -82,14 +86,22 @@ MODULE_OBJS := \
|
||||
game/bowl_unlocker.o \
|
||||
game/brain_slot.o \
|
||||
game/bridge_door.o \
|
||||
game/bridge_view.o \
|
||||
game/broken_pell_base.o \
|
||||
game/call_pellerator.o \
|
||||
game/cage.o \
|
||||
game/captains_wheel.o \
|
||||
game/cdrom.o \
|
||||
game/cdrom_computer.o \
|
||||
game/cdrom_tray.o \
|
||||
game/cell_point_button.o \
|
||||
game/chev_code.o \
|
||||
game/chev_panel.o \
|
||||
game/chicken_cooler.o \
|
||||
game/chicken_dispensor.o \
|
||||
game/close_broken_pel.o \
|
||||
game/cookie.o \
|
||||
game/computer.o \
|
||||
game/computer_screen.o \
|
||||
game/credits.o \
|
||||
game/credits_button.o \
|
||||
@@ -99,7 +111,9 @@ MODULE_OBJS := \
|
||||
game/doorbot_home_handler.o \
|
||||
game/drawer.o \
|
||||
game/ear_sweet_bowl.o \
|
||||
game/eject_phonograph_button.o \
|
||||
game/elevator_action_area.o \
|
||||
game/emma_control.o \
|
||||
game/empty_nut_bowl.o \
|
||||
game/end_credit_text.o \
|
||||
game/end_credits.o \
|
||||
@@ -120,14 +134,18 @@ MODULE_OBJS := \
|
||||
game/fan_increase.o \
|
||||
game/fan_noises.o \
|
||||
game/floor_indicator.o \
|
||||
game/games_console.o \
|
||||
game/get_lift_eye2.o \
|
||||
game/glass_smasher.o \
|
||||
game/gondolier_base.o \
|
||||
game/hammer_clip.o \
|
||||
game/head_slot.o \
|
||||
game/head_smash_event.o \
|
||||
game/head_smash_lever.o \
|
||||
game/head_spinner.o \
|
||||
game/idle_summoner.o \
|
||||
game/leave_sec_class_state.o \
|
||||
game/lemon_dispensor.o \
|
||||
game/light.o \
|
||||
game/light_switch.o \
|
||||
game/little_lift_button.o \
|
||||
@@ -135,6 +153,7 @@ MODULE_OBJS := \
|
||||
game/mail_man.o \
|
||||
game/missiveomat.o \
|
||||
game/movie_tester.o \
|
||||
game/musical_instrument.o \
|
||||
game/navigation_computer.o \
|
||||
game/no_nut_bowl.o \
|
||||
game/null_port_hole.o \
|
||||
@@ -145,24 +164,40 @@ MODULE_OBJS := \
|
||||
game/pet_graphic.o \
|
||||
game/phonograph_lid.o \
|
||||
game/place_holder.o \
|
||||
game/play_music_button.o \
|
||||
game/play_on_act.o \
|
||||
game/port_hole.o \
|
||||
game/record_phonograph_button.o \
|
||||
game/replacement_ear.o \
|
||||
game/reserved_table.o \
|
||||
game/room_item.o \
|
||||
game/sauce_dispensor.o \
|
||||
game/search_point.o \
|
||||
game/season_background.o \
|
||||
game/season_barrel.o \
|
||||
game/seasonal_adjustment.o \
|
||||
game/service_elevator_door.o \
|
||||
game/service_elevator_window.o \
|
||||
game/ship_setting.o \
|
||||
game/ship_setting_button.o \
|
||||
game/show_cell_points.o \
|
||||
game/speech_dispensor.o \
|
||||
game/splash_animation.o \
|
||||
game/star_control.o \
|
||||
game/starling_puret.o \
|
||||
game/start_action.o \
|
||||
game/stop_phonograph_button.o \
|
||||
game/sub_glass.o \
|
||||
game/sub_wrapper.o \
|
||||
game/sweet_bowl.o \
|
||||
game/television.o \
|
||||
game/third_class_canal.o \
|
||||
game/tow_parrot_nav.o \
|
||||
game/throw_tv_down_well.o \
|
||||
game/titania_still_control.o \
|
||||
game/wheel_button.o \
|
||||
game/wheel_hotspot.o \
|
||||
game/wheel_spin.o \
|
||||
game/parrot/parrot_lobby_controller.o \
|
||||
game/parrot/parrot_lobby_link_updater.o \
|
||||
game/parrot/parrot_lobby_object.o \
|
||||
@@ -208,6 +243,7 @@ MODULE_OBJS := \
|
||||
gfx/icon_nav_up.o \
|
||||
gfx/keybrd_butt.o \
|
||||
gfx/move_object_button.o \
|
||||
gfx/music_control.o \
|
||||
gfx/pet_mode_off.o \
|
||||
gfx/pet_mode_on.o \
|
||||
gfx/pet_mode_panel.o \
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef TITANIC_AUTO_MUSIC_PLAYER_H
|
||||
#define TITANIC_AUTO_MUSIC_PLAYER_H
|
||||
#ifndef TITANIC_TRIGGER_AUTO_MUSIC_PLAYER_H
|
||||
#define TITANIC_TRIGGER_AUTO_MUSIC_PLAYER_H
|
||||
|
||||
#include "titanic/core/game_object.h"
|
||||
|
||||
@@ -47,4 +47,4 @@ public:
|
||||
|
||||
} // End of namespace Titanic
|
||||
|
||||
#endif /* TITANIC_AUTO_MUSIC_PLAYER_H */
|
||||
#endif /* TITANIC_TRIGGER_AUTO_MUSIC_PLAYER_H */
|
||||
|
||||
Reference in New Issue
Block a user