From 5ccc0a66da38d23520234e7060efaf966d3345b9 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 29 Jun 2016 19:53:16 -0400 Subject: TITANIC: Removed const modifier from all saveable objects Turns out that CGameObject::save regenerates the _movieRangeInfo list. So the const suffix can no longer be used for the entire hierarchy --- engines/titanic/game/announce.cpp | 2 +- engines/titanic/game/announce.h | 2 +- engines/titanic/game/annoy_barbot.cpp | 2 +- engines/titanic/game/annoy_barbot.h | 2 +- engines/titanic/game/arb_background.cpp | 2 +- engines/titanic/game/arb_background.h | 2 +- engines/titanic/game/arboretum_gate.cpp | 2 +- engines/titanic/game/arboretum_gate.h | 2 +- engines/titanic/game/auto_animate.cpp | 2 +- engines/titanic/game/auto_animate.h | 2 +- engines/titanic/game/bar_bell.cpp | 2 +- engines/titanic/game/bar_bell.h | 2 +- engines/titanic/game/bar_menu.cpp | 2 +- engines/titanic/game/bar_menu.h | 2 +- engines/titanic/game/bar_menu_button.cpp | 2 +- engines/titanic/game/bar_menu_button.h | 2 +- engines/titanic/game/belbot_get_light.cpp | 2 +- engines/titanic/game/belbot_get_light.h | 2 +- engines/titanic/game/bilge_succubus.cpp | 2 +- engines/titanic/game/bilge_succubus.h | 2 +- engines/titanic/game/bomb.cpp | 2 +- engines/titanic/game/bomb.h | 2 +- engines/titanic/game/bottom_of_well_monitor.cpp | 2 +- engines/titanic/game/bottom_of_well_monitor.h | 2 +- engines/titanic/game/bowl_unlocker.cpp | 2 +- engines/titanic/game/bowl_unlocker.h | 2 +- engines/titanic/game/brain_slot.cpp | 2 +- engines/titanic/game/brain_slot.h | 2 +- engines/titanic/game/bridge_door.cpp | 2 +- engines/titanic/game/bridge_door.h | 2 +- engines/titanic/game/bridge_view.cpp | 2 +- engines/titanic/game/bridge_view.h | 2 +- engines/titanic/game/broken_pell_base.cpp | 2 +- engines/titanic/game/broken_pell_base.h | 2 +- engines/titanic/game/broken_pellerator.cpp | 2 +- engines/titanic/game/broken_pellerator.h | 2 +- engines/titanic/game/broken_pellerator_froz.cpp | 2 +- engines/titanic/game/broken_pellerator_froz.h | 2 +- engines/titanic/game/cage.cpp | 2 +- engines/titanic/game/cage.h | 2 +- engines/titanic/game/call_pellerator.cpp | 2 +- engines/titanic/game/call_pellerator.h | 2 +- engines/titanic/game/captains_wheel.cpp | 2 +- engines/titanic/game/captains_wheel.h | 2 +- engines/titanic/game/cdrom.cpp | 2 +- engines/titanic/game/cdrom.h | 2 +- engines/titanic/game/cdrom_computer.cpp | 2 +- engines/titanic/game/cdrom_computer.h | 2 +- engines/titanic/game/cdrom_tray.cpp | 2 +- engines/titanic/game/cdrom_tray.h | 2 +- engines/titanic/game/cell_point_button.cpp | 2 +- engines/titanic/game/cell_point_button.h | 2 +- engines/titanic/game/chev_code.cpp | 2 +- engines/titanic/game/chev_code.h | 2 +- engines/titanic/game/chev_panel.cpp | 2 +- engines/titanic/game/chev_panel.h | 2 +- engines/titanic/game/chicken_cooler.cpp | 2 +- engines/titanic/game/chicken_cooler.h | 2 +- engines/titanic/game/chicken_dispensor.cpp | 2 +- engines/titanic/game/chicken_dispensor.h | 2 +- engines/titanic/game/close_broken_pel.cpp | 2 +- engines/titanic/game/close_broken_pel.h | 2 +- engines/titanic/game/code_wheel.cpp | 2 +- engines/titanic/game/code_wheel.h | 2 +- engines/titanic/game/computer.cpp | 2 +- engines/titanic/game/computer.h | 2 +- engines/titanic/game/computer_screen.cpp | 2 +- engines/titanic/game/computer_screen.h | 2 +- engines/titanic/game/cookie.cpp | 2 +- engines/titanic/game/cookie.h | 2 +- engines/titanic/game/credits.cpp | 2 +- engines/titanic/game/credits.h | 2 +- engines/titanic/game/credits_button.cpp | 2 +- engines/titanic/game/credits_button.h | 2 +- engines/titanic/game/dead_area.cpp | 2 +- engines/titanic/game/dead_area.h | 2 +- engines/titanic/game/desk_click_responder.cpp | 2 +- engines/titanic/game/desk_click_responder.h | 2 +- engines/titanic/game/doorbot_elevator_handler.cpp | 2 +- engines/titanic/game/doorbot_elevator_handler.h | 2 +- engines/titanic/game/doorbot_home_handler.cpp | 2 +- engines/titanic/game/doorbot_home_handler.h | 2 +- engines/titanic/game/ear_sweet_bowl.cpp | 2 +- engines/titanic/game/ear_sweet_bowl.h | 2 +- engines/titanic/game/eject_phonograph_button.cpp | 2 +- engines/titanic/game/eject_phonograph_button.h | 2 +- engines/titanic/game/elevator_action_area.cpp | 2 +- engines/titanic/game/elevator_action_area.h | 2 +- engines/titanic/game/emma_control.cpp | 2 +- engines/titanic/game/emma_control.h | 2 +- engines/titanic/game/empty_nut_bowl.cpp | 2 +- engines/titanic/game/empty_nut_bowl.h | 2 +- engines/titanic/game/end_credit_text.cpp | 2 +- engines/titanic/game/end_credit_text.h | 2 +- engines/titanic/game/end_credits.cpp | 2 +- engines/titanic/game/end_credits.h | 2 +- engines/titanic/game/end_explode_ship.cpp | 2 +- engines/titanic/game/end_explode_ship.h | 2 +- engines/titanic/game/end_game_credits.cpp | 2 +- engines/titanic/game/end_game_credits.h | 2 +- engines/titanic/game/end_sequence_control.cpp | 2 +- engines/titanic/game/end_sequence_control.h | 2 +- engines/titanic/game/fan.cpp | 2 +- engines/titanic/game/fan.h | 2 +- engines/titanic/game/fan_control.cpp | 2 +- engines/titanic/game/fan_control.h | 2 +- engines/titanic/game/fan_decrease.cpp | 2 +- engines/titanic/game/fan_decrease.h | 2 +- engines/titanic/game/fan_increase.cpp | 2 +- engines/titanic/game/fan_increase.h | 2 +- engines/titanic/game/fan_noises.cpp | 2 +- engines/titanic/game/fan_noises.h | 2 +- engines/titanic/game/floor_indicator.cpp | 2 +- engines/titanic/game/floor_indicator.h | 2 +- engines/titanic/game/games_console.cpp | 2 +- engines/titanic/game/games_console.h | 2 +- engines/titanic/game/get_lift_eye2.cpp | 2 +- engines/titanic/game/get_lift_eye2.h | 2 +- engines/titanic/game/glass_smasher.cpp | 2 +- engines/titanic/game/glass_smasher.h | 2 +- engines/titanic/game/gondolier/gondolier_base.cpp | 2 +- engines/titanic/game/gondolier/gondolier_base.h | 2 +- engines/titanic/game/gondolier/gondolier_chest.cpp | 2 +- engines/titanic/game/gondolier/gondolier_chest.h | 2 +- engines/titanic/game/gondolier/gondolier_face.cpp | 2 +- engines/titanic/game/gondolier/gondolier_face.h | 2 +- engines/titanic/game/gondolier/gondolier_mixer.cpp | 2 +- engines/titanic/game/gondolier/gondolier_mixer.h | 2 +- engines/titanic/game/gondolier/gondolier_slider.cpp | 2 +- engines/titanic/game/gondolier/gondolier_slider.h | 2 +- engines/titanic/game/hammer_clip.cpp | 2 +- engines/titanic/game/hammer_clip.h | 2 +- engines/titanic/game/hammer_dispensor.cpp | 2 +- engines/titanic/game/hammer_dispensor.h | 2 +- engines/titanic/game/hammer_dispensor_button.cpp | 2 +- engines/titanic/game/hammer_dispensor_button.h | 2 +- engines/titanic/game/head_slot.cpp | 2 +- engines/titanic/game/head_slot.h | 2 +- engines/titanic/game/head_smash_event.cpp | 2 +- engines/titanic/game/head_smash_event.h | 2 +- engines/titanic/game/head_smash_lever.cpp | 2 +- engines/titanic/game/head_smash_lever.h | 2 +- engines/titanic/game/head_spinner.cpp | 2 +- engines/titanic/game/head_spinner.h | 2 +- engines/titanic/game/idle_summoner.cpp | 2 +- engines/titanic/game/idle_summoner.h | 2 +- engines/titanic/game/leave_sec_class_state.cpp | 2 +- engines/titanic/game/leave_sec_class_state.h | 2 +- engines/titanic/game/lemon_dispensor.cpp | 2 +- engines/titanic/game/lemon_dispensor.h | 2 +- engines/titanic/game/light.cpp | 2 +- engines/titanic/game/light.h | 2 +- engines/titanic/game/light_switch.cpp | 2 +- engines/titanic/game/light_switch.h | 2 +- engines/titanic/game/little_lift_button.cpp | 2 +- engines/titanic/game/little_lift_button.h | 2 +- engines/titanic/game/long_stick_dispenser.cpp | 2 +- engines/titanic/game/long_stick_dispenser.h | 2 +- engines/titanic/game/maitred/maitred_arm_holder.cpp | 2 +- engines/titanic/game/maitred/maitred_arm_holder.h | 2 +- engines/titanic/game/maitred/maitred_body.cpp | 2 +- engines/titanic/game/maitred/maitred_body.h | 2 +- engines/titanic/game/maitred/maitred_legs.cpp | 2 +- engines/titanic/game/maitred/maitred_legs.h | 2 +- engines/titanic/game/maitred/maitred_prod_receptor.cpp | 2 +- engines/titanic/game/maitred/maitred_prod_receptor.h | 2 +- engines/titanic/game/missiveomat.cpp | 2 +- engines/titanic/game/missiveomat.h | 2 +- engines/titanic/game/missiveomat_button.cpp | 2 +- engines/titanic/game/missiveomat_button.h | 2 +- engines/titanic/game/movie_tester.cpp | 2 +- engines/titanic/game/movie_tester.h | 2 +- engines/titanic/game/music_console_button.cpp | 2 +- engines/titanic/game/music_console_button.h | 2 +- engines/titanic/game/music_room_phonograph.cpp | 2 +- engines/titanic/game/music_room_phonograph.h | 2 +- engines/titanic/game/music_room_stop_phonograph_button.cpp | 2 +- engines/titanic/game/music_room_stop_phonograph_button.h | 2 +- engines/titanic/game/music_system_lock.cpp | 2 +- engines/titanic/game/music_system_lock.h | 2 +- engines/titanic/game/musical_instrument.cpp | 2 +- engines/titanic/game/musical_instrument.h | 2 +- engines/titanic/game/nav_helmet.cpp | 2 +- engines/titanic/game/nav_helmet.h | 2 +- engines/titanic/game/navigation_computer.cpp | 2 +- engines/titanic/game/navigation_computer.h | 2 +- engines/titanic/game/no_nut_bowl.cpp | 2 +- engines/titanic/game/no_nut_bowl.h | 2 +- engines/titanic/game/nose_holder.cpp | 2 +- engines/titanic/game/nose_holder.h | 2 +- engines/titanic/game/null_port_hole.cpp | 2 +- engines/titanic/game/null_port_hole.h | 2 +- engines/titanic/game/nut_replacer.cpp | 2 +- engines/titanic/game/nut_replacer.h | 2 +- engines/titanic/game/parrot/parrot_lobby_controller.cpp | 2 +- engines/titanic/game/parrot/parrot_lobby_controller.h | 2 +- engines/titanic/game/parrot/parrot_lobby_link_updater.cpp | 2 +- engines/titanic/game/parrot/parrot_lobby_link_updater.h | 2 +- engines/titanic/game/parrot/parrot_lobby_object.cpp | 2 +- engines/titanic/game/parrot/parrot_lobby_object.h | 2 +- engines/titanic/game/parrot/parrot_lobby_view_object.cpp | 2 +- engines/titanic/game/parrot/parrot_lobby_view_object.h | 2 +- engines/titanic/game/parrot/parrot_loser.cpp | 2 +- engines/titanic/game/parrot/parrot_loser.h | 2 +- engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp | 2 +- engines/titanic/game/parrot/parrot_nut_bowl_actor.h | 2 +- engines/titanic/game/parrot/parrot_nut_eater.cpp | 2 +- engines/titanic/game/parrot/parrot_nut_eater.h | 2 +- engines/titanic/game/parrot/parrot_perch_holder.cpp | 2 +- engines/titanic/game/parrot/parrot_perch_holder.h | 2 +- engines/titanic/game/parrot/parrot_succubus.cpp | 2 +- engines/titanic/game/parrot/parrot_succubus.h | 2 +- engines/titanic/game/parrot/parrot_trigger.cpp | 2 +- engines/titanic/game/parrot/parrot_trigger.h | 2 +- engines/titanic/game/parrot/player_meets_parrot.cpp | 2 +- engines/titanic/game/parrot/player_meets_parrot.h | 2 +- engines/titanic/game/pet/pet.cpp | 2 +- engines/titanic/game/pet/pet.h | 2 +- engines/titanic/game/pet/pet_class1.cpp | 2 +- engines/titanic/game/pet/pet_class1.h | 2 +- engines/titanic/game/pet/pet_class2.cpp | 2 +- engines/titanic/game/pet/pet_class2.h | 2 +- engines/titanic/game/pet/pet_class3.cpp | 2 +- engines/titanic/game/pet/pet_class3.h | 2 +- engines/titanic/game/pet/pet_lift.cpp | 2 +- engines/titanic/game/pet/pet_lift.h | 2 +- engines/titanic/game/pet/pet_monitor.cpp | 2 +- engines/titanic/game/pet/pet_monitor.h | 2 +- engines/titanic/game/pet/pet_pellerator.cpp | 2 +- engines/titanic/game/pet/pet_pellerator.h | 2 +- engines/titanic/game/pet/pet_position.cpp | 2 +- engines/titanic/game/pet/pet_position.h | 2 +- engines/titanic/game/pet/pet_sentinal.cpp | 2 +- engines/titanic/game/pet/pet_sentinal.h | 2 +- engines/titanic/game/pet/pet_sounds.cpp | 2 +- engines/titanic/game/pet/pet_sounds.h | 2 +- engines/titanic/game/pet/pet_transition.cpp | 2 +- engines/titanic/game/pet/pet_transition.h | 2 +- engines/titanic/game/pet/pet_transport.cpp | 2 +- engines/titanic/game/pet/pet_transport.h | 2 +- engines/titanic/game/pet_disabler.cpp | 2 +- engines/titanic/game/pet_disabler.h | 2 +- engines/titanic/game/phonograph.cpp | 2 +- engines/titanic/game/phonograph.h | 2 +- engines/titanic/game/phonograph_lid.cpp | 2 +- engines/titanic/game/phonograph_lid.h | 2 +- engines/titanic/game/pickup/pick_up.cpp | 2 +- engines/titanic/game/pickup/pick_up.h | 2 +- engines/titanic/game/pickup/pick_up_bar_glass.cpp | 2 +- engines/titanic/game/pickup/pick_up_bar_glass.h | 2 +- engines/titanic/game/pickup/pick_up_hose.cpp | 2 +- engines/titanic/game/pickup/pick_up_hose.h | 2 +- engines/titanic/game/pickup/pick_up_lemon.cpp | 2 +- engines/titanic/game/pickup/pick_up_lemon.h | 2 +- engines/titanic/game/pickup/pick_up_speech_centre.cpp | 2 +- engines/titanic/game/pickup/pick_up_speech_centre.h | 2 +- engines/titanic/game/pickup/pick_up_vis_centre.cpp | 2 +- engines/titanic/game/pickup/pick_up_vis_centre.h | 2 +- engines/titanic/game/placeholder/bar_shelf_vis_centre.cpp | 2 +- engines/titanic/game/placeholder/bar_shelf_vis_centre.h | 2 +- engines/titanic/game/placeholder/lemon_on_bar.cpp | 2 +- engines/titanic/game/placeholder/lemon_on_bar.h | 2 +- engines/titanic/game/placeholder/place_holder_item.cpp | 2 +- engines/titanic/game/placeholder/place_holder_item.h | 2 +- engines/titanic/game/placeholder/tv_on_bar.cpp | 2 +- engines/titanic/game/placeholder/tv_on_bar.h | 2 +- engines/titanic/game/play_music_button.cpp | 2 +- engines/titanic/game/play_music_button.h | 2 +- engines/titanic/game/play_on_act.cpp | 2 +- engines/titanic/game/play_on_act.h | 2 +- engines/titanic/game/port_hole.cpp | 2 +- engines/titanic/game/port_hole.h | 2 +- engines/titanic/game/record_phonograph_button.cpp | 2 +- engines/titanic/game/record_phonograph_button.h | 2 +- engines/titanic/game/replacement_ear.cpp | 2 +- engines/titanic/game/replacement_ear.h | 2 +- engines/titanic/game/reserved_table.cpp | 2 +- engines/titanic/game/reserved_table.h | 2 +- engines/titanic/game/restaurant_cylinder_holder.cpp | 2 +- engines/titanic/game/restaurant_cylinder_holder.h | 2 +- engines/titanic/game/restaurant_phonograph.cpp | 2 +- engines/titanic/game/restaurant_phonograph.h | 2 +- engines/titanic/game/sauce_dispensor.cpp | 2 +- engines/titanic/game/sauce_dispensor.h | 2 +- engines/titanic/game/search_point.cpp | 2 +- engines/titanic/game/search_point.h | 2 +- engines/titanic/game/season_background.cpp | 2 +- engines/titanic/game/season_background.h | 2 +- engines/titanic/game/season_barrel.cpp | 2 +- engines/titanic/game/season_barrel.h | 2 +- engines/titanic/game/seasonal_adjustment.cpp | 2 +- engines/titanic/game/seasonal_adjustment.h | 2 +- engines/titanic/game/service_elevator_window.cpp | 2 +- engines/titanic/game/service_elevator_window.h | 2 +- engines/titanic/game/sgt/armchair.cpp | 2 +- engines/titanic/game/sgt/armchair.h | 2 +- engines/titanic/game/sgt/basin.cpp | 2 +- engines/titanic/game/sgt/basin.h | 2 +- engines/titanic/game/sgt/bedfoot.cpp | 2 +- engines/titanic/game/sgt/bedfoot.h | 2 +- engines/titanic/game/sgt/bedhead.cpp | 2 +- engines/titanic/game/sgt/bedhead.h | 2 +- engines/titanic/game/sgt/chest_of_drawers.cpp | 2 +- engines/titanic/game/sgt/chest_of_drawers.h | 2 +- engines/titanic/game/sgt/desk.cpp | 2 +- engines/titanic/game/sgt/desk.h | 2 +- engines/titanic/game/sgt/deskchair.cpp | 2 +- engines/titanic/game/sgt/deskchair.h | 2 +- engines/titanic/game/sgt/drawer.cpp | 2 +- engines/titanic/game/sgt/drawer.h | 2 +- engines/titanic/game/sgt/sgt_doors.cpp | 2 +- engines/titanic/game/sgt/sgt_doors.h | 2 +- engines/titanic/game/sgt/sgt_nav.cpp | 2 +- engines/titanic/game/sgt/sgt_nav.h | 2 +- engines/titanic/game/sgt/sgt_navigation.cpp | 2 +- engines/titanic/game/sgt/sgt_navigation.h | 2 +- engines/titanic/game/sgt/sgt_restaurant_doors.cpp | 2 +- engines/titanic/game/sgt/sgt_restaurant_doors.h | 2 +- engines/titanic/game/sgt/sgt_state_control.cpp | 2 +- engines/titanic/game/sgt/sgt_state_control.h | 2 +- engines/titanic/game/sgt/sgt_state_room.cpp | 2 +- engines/titanic/game/sgt/sgt_state_room.h | 2 +- engines/titanic/game/sgt/sgt_tv.cpp | 2 +- engines/titanic/game/sgt/sgt_tv.h | 2 +- engines/titanic/game/sgt/sgt_upper_doors_sound.cpp | 2 +- engines/titanic/game/sgt/sgt_upper_doors_sound.h | 2 +- engines/titanic/game/sgt/toilet.cpp | 2 +- engines/titanic/game/sgt/toilet.h | 2 +- engines/titanic/game/sgt/vase.cpp | 2 +- engines/titanic/game/sgt/vase.h | 2 +- engines/titanic/game/sgt/washstand.cpp | 2 +- engines/titanic/game/sgt/washstand.h | 2 +- engines/titanic/game/ship_setting.cpp | 2 +- engines/titanic/game/ship_setting.h | 2 +- engines/titanic/game/ship_setting_button.cpp | 2 +- engines/titanic/game/ship_setting_button.h | 2 +- engines/titanic/game/show_cell_points.cpp | 2 +- engines/titanic/game/show_cell_points.h | 2 +- engines/titanic/game/speech_dispensor.cpp | 2 +- engines/titanic/game/speech_dispensor.h | 2 +- engines/titanic/game/splash_animation.cpp | 2 +- engines/titanic/game/splash_animation.h | 2 +- engines/titanic/game/starling_puret.cpp | 2 +- engines/titanic/game/starling_puret.h | 2 +- engines/titanic/game/start_action.cpp | 2 +- engines/titanic/game/start_action.h | 2 +- engines/titanic/game/stop_phonograph_button.cpp | 2 +- engines/titanic/game/stop_phonograph_button.h | 2 +- engines/titanic/game/sub_glass.cpp | 2 +- engines/titanic/game/sub_glass.h | 2 +- engines/titanic/game/sub_wrapper.cpp | 2 +- engines/titanic/game/sub_wrapper.h | 2 +- engines/titanic/game/sweet_bowl.cpp | 2 +- engines/titanic/game/sweet_bowl.h | 2 +- engines/titanic/game/television.cpp | 2 +- engines/titanic/game/television.h | 2 +- engines/titanic/game/third_class_canal.cpp | 2 +- engines/titanic/game/third_class_canal.h | 2 +- engines/titanic/game/throw_tv_down_well.cpp | 2 +- engines/titanic/game/throw_tv_down_well.h | 2 +- engines/titanic/game/titania_still_control.cpp | 2 +- engines/titanic/game/titania_still_control.h | 2 +- engines/titanic/game/tow_parrot_nav.cpp | 2 +- engines/titanic/game/tow_parrot_nav.h | 2 +- engines/titanic/game/transport/exit_pellerator.h | 2 +- engines/titanic/game/transport/gondolier.cpp | 2 +- engines/titanic/game/transport/gondolier.h | 2 +- engines/titanic/game/transport/lift.cpp | 2 +- engines/titanic/game/transport/lift.h | 2 +- engines/titanic/game/transport/lift_indicator.cpp | 2 +- engines/titanic/game/transport/lift_indicator.h | 2 +- engines/titanic/game/transport/pellerator.cpp | 2 +- engines/titanic/game/transport/pellerator.h | 2 +- engines/titanic/game/transport/service_elevator.cpp | 2 +- engines/titanic/game/transport/service_elevator.h | 2 +- engines/titanic/game/transport/transport.cpp | 2 +- engines/titanic/game/transport/transport.h | 2 +- engines/titanic/game/up_lighter.cpp | 2 +- engines/titanic/game/up_lighter.h | 2 +- engines/titanic/game/useless_lever.cpp | 2 +- engines/titanic/game/useless_lever.h | 2 +- engines/titanic/game/volume_control.cpp | 2 +- engines/titanic/game/volume_control.h | 2 +- engines/titanic/game/wheel_button.cpp | 2 +- engines/titanic/game/wheel_button.h | 2 +- engines/titanic/game/wheel_hotspot.cpp | 2 +- engines/titanic/game/wheel_hotspot.h | 2 +- engines/titanic/game/wheel_spin.cpp | 2 +- engines/titanic/game/wheel_spin.h | 2 +- engines/titanic/game/wheel_spin_horn.cpp | 2 +- engines/titanic/game/wheel_spin_horn.h | 2 +- 391 files changed, 391 insertions(+), 391 deletions(-) (limited to 'engines/titanic/game') diff --git a/engines/titanic/game/announce.cpp b/engines/titanic/game/announce.cpp index 098ae70aa7..df6689d262 100644 --- a/engines/titanic/game/announce.cpp +++ b/engines/titanic/game/announce.cpp @@ -27,7 +27,7 @@ namespace Titanic { CAnnounce::CAnnounce() : _fieldBC(0), _fieldC0(0), _fieldC4(1), _fieldC8(0) { } -void CAnnounce::save(SimpleFile *file, int indent) const { +void CAnnounce::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/announce.h b/engines/titanic/game/announce.h index 18702c3baf..3845d96deb 100644 --- a/engines/titanic/game/announce.h +++ b/engines/titanic/game/announce.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/annoy_barbot.cpp b/engines/titanic/game/annoy_barbot.cpp index caea823105..d69d9fff3c 100644 --- a/engines/titanic/game/annoy_barbot.cpp +++ b/engines/titanic/game/annoy_barbot.cpp @@ -26,7 +26,7 @@ namespace Titanic { int CAnnoyBarbot::_v1; -void CAnnoyBarbot::save(SimpleFile *file, int indent) const { +void CAnnoyBarbot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/annoy_barbot.h b/engines/titanic/game/annoy_barbot.h index c15b41dc85..e29c0c4ca0 100644 --- a/engines/titanic/game/annoy_barbot.h +++ b/engines/titanic/game/annoy_barbot.h @@ -36,7 +36,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/arb_background.cpp b/engines/titanic/game/arb_background.cpp index 07558157f0..b86ecb1d85 100644 --- a/engines/titanic/game/arb_background.cpp +++ b/engines/titanic/game/arb_background.cpp @@ -30,7 +30,7 @@ CArbBackground::CArbBackground() : CBackground(), _fieldE0(0), _fieldE4(61), _fieldE8(62), _fieldEC(118) { } -void CArbBackground::save(SimpleFile *file, int indent) const { +void CArbBackground::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/arb_background.h b/engines/titanic/game/arb_background.h index a5850afc0f..42276678e7 100644 --- a/engines/titanic/game/arb_background.h +++ b/engines/titanic/game/arb_background.h @@ -41,7 +41,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/arboretum_gate.cpp b/engines/titanic/game/arboretum_gate.cpp index f3e3301136..9caa87c48d 100644 --- a/engines/titanic/game/arboretum_gate.cpp +++ b/engines/titanic/game/arboretum_gate.cpp @@ -69,7 +69,7 @@ CArboretumGate::CArboretumGate() : CBackground() { _field150 = 424; } -void CArboretumGate::save(SimpleFile *file, int indent) const { +void CArboretumGate::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_v1, indent); diff --git a/engines/titanic/game/arboretum_gate.h b/engines/titanic/game/arboretum_gate.h index 736f67bd7b..bd41dd13f0 100644 --- a/engines/titanic/game/arboretum_gate.h +++ b/engines/titanic/game/arboretum_gate.h @@ -80,7 +80,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/auto_animate.cpp b/engines/titanic/game/auto_animate.cpp index 8bd332a550..172b8c44df 100644 --- a/engines/titanic/game/auto_animate.cpp +++ b/engines/titanic/game/auto_animate.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CAutoAnimate::save(SimpleFile *file, int indent) const { +void CAutoAnimate::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/auto_animate.h b/engines/titanic/game/auto_animate.h index 7130d6a5cf..fe704004bb 100644 --- a/engines/titanic/game/auto_animate.h +++ b/engines/titanic/game/auto_animate.h @@ -41,7 +41,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/bar_bell.cpp b/engines/titanic/game/bar_bell.cpp index adb563cfde..b33ee1c26c 100644 --- a/engines/titanic/game/bar_bell.cpp +++ b/engines/titanic/game/bar_bell.cpp @@ -28,7 +28,7 @@ CBarBell::CBarBell() : CGameObject(), _fieldBC(0), _fieldC0(65), _fieldC4(0), _fieldC8(0), _fieldCC(0) { } -void CBarBell::save(SimpleFile *file, int indent) const { +void CBarBell::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/bar_bell.h b/engines/titanic/game/bar_bell.h index b17d8089bc..9010012887 100644 --- a/engines/titanic/game/bar_bell.h +++ b/engines/titanic/game/bar_bell.h @@ -43,7 +43,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/bar_menu.cpp b/engines/titanic/game/bar_menu.cpp index 25da001660..b24c429c9b 100644 --- a/engines/titanic/game/bar_menu.cpp +++ b/engines/titanic/game/bar_menu.cpp @@ -27,7 +27,7 @@ namespace Titanic { CBarMenu::CBarMenu() : CGameObject(), _fieldBC(0), _fieldC0(0), _fieldC4(6) { } -void CBarMenu::save(SimpleFile *file, int indent) const { +void CBarMenu::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/bar_menu.h b/engines/titanic/game/bar_menu.h index ac253fc747..db3c93799b 100644 --- a/engines/titanic/game/bar_menu.h +++ b/engines/titanic/game/bar_menu.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/bar_menu_button.cpp b/engines/titanic/game/bar_menu_button.cpp index 897c7a8e1e..f57d72c64a 100644 --- a/engines/titanic/game/bar_menu_button.cpp +++ b/engines/titanic/game/bar_menu_button.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBarMenuButton::save(SimpleFile *file, int indent) const { +void CBarMenuButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/bar_menu_button.h b/engines/titanic/game/bar_menu_button.h index 1a9d42c5d2..fe7d7d913f 100644 --- a/engines/titanic/game/bar_menu_button.h +++ b/engines/titanic/game/bar_menu_button.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/belbot_get_light.cpp b/engines/titanic/game/belbot_get_light.cpp index 4bbafcd31c..3e678a8a0c 100644 --- a/engines/titanic/game/belbot_get_light.cpp +++ b/engines/titanic/game/belbot_get_light.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBelbotGetLight::save(SimpleFile *file, int indent) const { +void CBelbotGetLight::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/belbot_get_light.h b/engines/titanic/game/belbot_get_light.h index 05c14f5b45..dd6f361384 100644 --- a/engines/titanic/game/belbot_get_light.h +++ b/engines/titanic/game/belbot_get_light.h @@ -36,7 +36,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/bilge_succubus.cpp b/engines/titanic/game/bilge_succubus.cpp index 9c19d81020..ceee3f7740 100644 --- a/engines/titanic/game/bilge_succubus.cpp +++ b/engines/titanic/game/bilge_succubus.cpp @@ -28,7 +28,7 @@ CBilgeSuccUBus::CBilgeSuccUBus() : CSuccUBus(), _field1DC(0), _field1E0(0), _field1E4(0), _field1E8(0) { } -void CBilgeSuccUBus::save(SimpleFile *file, int indent) const { +void CBilgeSuccUBus::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field1DC, indent); file->writeNumberLine(_field1E0, indent); diff --git a/engines/titanic/game/bilge_succubus.h b/engines/titanic/game/bilge_succubus.h index 4ff72a57c7..9546d00847 100644 --- a/engines/titanic/game/bilge_succubus.h +++ b/engines/titanic/game/bilge_succubus.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/bomb.cpp b/engines/titanic/game/bomb.cpp index a6086a2bca..9a08f26ece 100644 --- a/engines/titanic/game/bomb.cpp +++ b/engines/titanic/game/bomb.cpp @@ -38,7 +38,7 @@ CBomb::CBomb() : CBackground() { _field104 = 60; } -void CBomb::save(SimpleFile *file, int indent) const { +void CBomb::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/bomb.h b/engines/titanic/game/bomb.h index 76799da323..59351db27c 100644 --- a/engines/titanic/game/bomb.h +++ b/engines/titanic/game/bomb.h @@ -48,7 +48,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/bottom_of_well_monitor.cpp b/engines/titanic/game/bottom_of_well_monitor.cpp index b48b5ad291..beb2a80ce9 100644 --- a/engines/titanic/game/bottom_of_well_monitor.cpp +++ b/engines/titanic/game/bottom_of_well_monitor.cpp @@ -27,7 +27,7 @@ namespace Titanic { int CBottomOfWellMonitor::_v1; int CBottomOfWellMonitor::_v2; -void CBottomOfWellMonitor::save(SimpleFile *file, int indent) const { +void CBottomOfWellMonitor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/game/bottom_of_well_monitor.h b/engines/titanic/game/bottom_of_well_monitor.h index e063579056..cae02b9cb8 100644 --- a/engines/titanic/game/bottom_of_well_monitor.h +++ b/engines/titanic/game/bottom_of_well_monitor.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/bowl_unlocker.cpp b/engines/titanic/game/bowl_unlocker.cpp index 83ae9e35d5..c3c501dbd6 100644 --- a/engines/titanic/game/bowl_unlocker.cpp +++ b/engines/titanic/game/bowl_unlocker.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBowlUnlocker::save(SimpleFile *file, int indent) const { +void CBowlUnlocker::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/bowl_unlocker.h b/engines/titanic/game/bowl_unlocker.h index 7b886c406a..9ab9e63048 100644 --- a/engines/titanic/game/bowl_unlocker.h +++ b/engines/titanic/game/bowl_unlocker.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/brain_slot.cpp b/engines/titanic/game/brain_slot.cpp index f655a963d5..f1963142ac 100644 --- a/engines/titanic/game/brain_slot.cpp +++ b/engines/titanic/game/brain_slot.cpp @@ -27,7 +27,7 @@ namespace Titanic { int CBrainSlot::_v1; int CBrainSlot::_v2; -void CBrainSlot::save(SimpleFile *file, int indent) const { +void CBrainSlot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeQuotedLine(_value2, indent); diff --git a/engines/titanic/game/brain_slot.h b/engines/titanic/game/brain_slot.h index ae797ebb2f..f94ffc7eca 100644 --- a/engines/titanic/game/brain_slot.h +++ b/engines/titanic/game/brain_slot.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/bridge_door.cpp b/engines/titanic/game/bridge_door.cpp index b24f7a6b6a..57cdbd23ad 100644 --- a/engines/titanic/game/bridge_door.cpp +++ b/engines/titanic/game/bridge_door.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBridgeDoor::save(SimpleFile *file, int indent) const { +void CBridgeDoor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/bridge_door.h b/engines/titanic/game/bridge_door.h index 828562dfa3..f14d6010a4 100644 --- a/engines/titanic/game/bridge_door.h +++ b/engines/titanic/game/bridge_door.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/bridge_view.cpp b/engines/titanic/game/bridge_view.cpp index 8afca38cf1..9854969494 100644 --- a/engines/titanic/game/bridge_view.cpp +++ b/engines/titanic/game/bridge_view.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBridgeView::save(SimpleFile *file, int indent) const { +void CBridgeView::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); CBackground::save(file, indent); diff --git a/engines/titanic/game/bridge_view.h b/engines/titanic/game/bridge_view.h index 35de076573..be349f3a15 100644 --- a/engines/titanic/game/bridge_view.h +++ b/engines/titanic/game/bridge_view.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/broken_pell_base.cpp b/engines/titanic/game/broken_pell_base.cpp index 8b8e0b9db5..77d3aee625 100644 --- a/engines/titanic/game/broken_pell_base.cpp +++ b/engines/titanic/game/broken_pell_base.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CBrokenPellBase, CBackground) int CBrokenPellBase::_v1; int CBrokenPellBase::_v2; -void CBrokenPellBase::save(SimpleFile *file, int indent) const { +void CBrokenPellBase::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/game/broken_pell_base.h b/engines/titanic/game/broken_pell_base.h index 45b6594301..d3157fdcff 100644 --- a/engines/titanic/game/broken_pell_base.h +++ b/engines/titanic/game/broken_pell_base.h @@ -41,7 +41,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/broken_pellerator.cpp b/engines/titanic/game/broken_pellerator.cpp index ea167677bf..d3b204b1e5 100644 --- a/engines/titanic/game/broken_pellerator.cpp +++ b/engines/titanic/game/broken_pellerator.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBrokenPellerator::save(SimpleFile *file, int indent) const { +void CBrokenPellerator::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string2, indent); file->writeQuotedLine(_string3, indent); diff --git a/engines/titanic/game/broken_pellerator.h b/engines/titanic/game/broken_pellerator.h index 974d5d21b4..ebb31d58e1 100644 --- a/engines/titanic/game/broken_pellerator.h +++ b/engines/titanic/game/broken_pellerator.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/broken_pellerator_froz.cpp b/engines/titanic/game/broken_pellerator_froz.cpp index 6b077d27ec..4b21ea93d0 100644 --- a/engines/titanic/game/broken_pellerator_froz.cpp +++ b/engines/titanic/game/broken_pellerator_froz.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBrokenPelleratorFroz::save(SimpleFile *file, int indent) const { +void CBrokenPelleratorFroz::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string2, indent); file->writeQuotedLine(_string3, indent); diff --git a/engines/titanic/game/broken_pellerator_froz.h b/engines/titanic/game/broken_pellerator_froz.h index c3674f0af7..cc2ed317a4 100644 --- a/engines/titanic/game/broken_pellerator_froz.h +++ b/engines/titanic/game/broken_pellerator_froz.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/cage.cpp b/engines/titanic/game/cage.cpp index 480944fb47..7fbc052278 100644 --- a/engines/titanic/game/cage.cpp +++ b/engines/titanic/game/cage.cpp @@ -27,7 +27,7 @@ namespace Titanic { int CCage::_v1; int CCage::_v2; -void CCage::save(SimpleFile *file, int indent) const { +void CCage::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/game/cage.h b/engines/titanic/game/cage.h index 08fc8c8c43..72de9fba7b 100644 --- a/engines/titanic/game/cage.h +++ b/engines/titanic/game/cage.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/call_pellerator.cpp b/engines/titanic/game/call_pellerator.cpp index 85f2ab83b5..0ea48131b1 100644 --- a/engines/titanic/game/call_pellerator.cpp +++ b/engines/titanic/game/call_pellerator.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CCallPellerator::save(SimpleFile *file, int indent) const { +void CCallPellerator::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/call_pellerator.h b/engines/titanic/game/call_pellerator.h index dc9afe0a1a..fc8110afdb 100644 --- a/engines/titanic/game/call_pellerator.h +++ b/engines/titanic/game/call_pellerator.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/captains_wheel.cpp b/engines/titanic/game/captains_wheel.cpp index b4e31fdc40..c84c9194ce 100644 --- a/engines/titanic/game/captains_wheel.cpp +++ b/engines/titanic/game/captains_wheel.cpp @@ -29,7 +29,7 @@ CCaptainsWheel::CCaptainsWheel() : CBackground(), _fieldF0(0), _fieldF4(0) { } -void CCaptainsWheel::save(SimpleFile *file, int indent) const { +void CCaptainsWheel::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/captains_wheel.h b/engines/titanic/game/captains_wheel.h index bcfc5136e7..f817ee709e 100644 --- a/engines/titanic/game/captains_wheel.h +++ b/engines/titanic/game/captains_wheel.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/cdrom.cpp b/engines/titanic/game/cdrom.cpp index 0fd7eb5dbd..111b090920 100644 --- a/engines/titanic/game/cdrom.cpp +++ b/engines/titanic/game/cdrom.cpp @@ -36,7 +36,7 @@ END_MESSAGE_MAP() CCDROM::CCDROM() : CGameObject() { } -void CCDROM::save(SimpleFile *file, int indent) const { +void CCDROM::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writePoint(_tempPos, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/cdrom.h b/engines/titanic/game/cdrom.h index 44e1e82216..ece72428bc 100644 --- a/engines/titanic/game/cdrom.h +++ b/engines/titanic/game/cdrom.h @@ -44,7 +44,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/cdrom_computer.cpp b/engines/titanic/game/cdrom_computer.cpp index a25706a198..ceb0595188 100644 --- a/engines/titanic/game/cdrom_computer.cpp +++ b/engines/titanic/game/cdrom_computer.cpp @@ -33,7 +33,7 @@ CCDROMComputer::CCDROMComputer() : CGameObject(), _clickRect(0, 3, 55, 32) { } -void CCDROMComputer::save(SimpleFile *file, int indent) const { +void CCDROMComputer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_clickRect.left, indent); file->writeNumberLine(_clickRect.top, indent); diff --git a/engines/titanic/game/cdrom_computer.h b/engines/titanic/game/cdrom_computer.h index 4ea2f4d568..da6e0e778b 100644 --- a/engines/titanic/game/cdrom_computer.h +++ b/engines/titanic/game/cdrom_computer.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/cdrom_tray.cpp b/engines/titanic/game/cdrom_tray.cpp index 1b2d6baf07..118150bee9 100644 --- a/engines/titanic/game/cdrom_tray.cpp +++ b/engines/titanic/game/cdrom_tray.cpp @@ -36,7 +36,7 @@ END_MESSAGE_MAP() CCDROMTray::CCDROMTray() : CGameObject(), _state(0) { } -void CCDROMTray::save(SimpleFile *file, int indent) const { +void CCDROMTray::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_state, indent); file->writeQuotedLine(_insertedCD, indent); diff --git a/engines/titanic/game/cdrom_tray.h b/engines/titanic/game/cdrom_tray.h index 96faf64600..dbeec170d7 100644 --- a/engines/titanic/game/cdrom_tray.h +++ b/engines/titanic/game/cdrom_tray.h @@ -43,7 +43,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/cell_point_button.cpp b/engines/titanic/game/cell_point_button.cpp index 45ddad8164..18ece09cb0 100644 --- a/engines/titanic/game/cell_point_button.cpp +++ b/engines/titanic/game/cell_point_button.cpp @@ -38,7 +38,7 @@ CCellPointButton::CCellPointButton() : CBackground() { _field108 = 1; } -void CCellPointButton::save(SimpleFile *file, int indent) const { +void CCellPointButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/cell_point_button.h b/engines/titanic/game/cell_point_button.h index 02710f6ce5..0a04350838 100644 --- a/engines/titanic/game/cell_point_button.h +++ b/engines/titanic/game/cell_point_button.h @@ -49,7 +49,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/chev_code.cpp b/engines/titanic/game/chev_code.cpp index d2818f60a8..ebc20578b7 100644 --- a/engines/titanic/game/chev_code.cpp +++ b/engines/titanic/game/chev_code.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CChevCode::save(SimpleFile *file, int indent) const { +void CChevCode::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/chev_code.h b/engines/titanic/game/chev_code.h index 3d5347bd05..df7421e06f 100644 --- a/engines/titanic/game/chev_code.h +++ b/engines/titanic/game/chev_code.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/chev_panel.cpp b/engines/titanic/game/chev_panel.cpp index 665b91dca2..245968e356 100644 --- a/engines/titanic/game/chev_panel.cpp +++ b/engines/titanic/game/chev_panel.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CChevPanel::save(SimpleFile *file, int indent) const { +void CChevPanel::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/chev_panel.h b/engines/titanic/game/chev_panel.h index 9ddca37dc3..e53a94e69e 100644 --- a/engines/titanic/game/chev_panel.h +++ b/engines/titanic/game/chev_panel.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/chicken_cooler.cpp b/engines/titanic/game/chicken_cooler.cpp index aa39f041a4..29232e10bf 100644 --- a/engines/titanic/game/chicken_cooler.cpp +++ b/engines/titanic/game/chicken_cooler.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CChickenCooler::save(SimpleFile *file, int indent) const { +void CChickenCooler::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/chicken_cooler.h b/engines/titanic/game/chicken_cooler.h index 220dba081b..b735b0f9c9 100644 --- a/engines/titanic/game/chicken_cooler.h +++ b/engines/titanic/game/chicken_cooler.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/chicken_dispensor.cpp b/engines/titanic/game/chicken_dispensor.cpp index d3660bdf03..a9bf576765 100644 --- a/engines/titanic/game/chicken_dispensor.cpp +++ b/engines/titanic/game/chicken_dispensor.cpp @@ -28,7 +28,7 @@ CChickenDispensor::CChickenDispensor() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldE8(0) { } -void CChickenDispensor::save(SimpleFile *file, int indent) const { +void CChickenDispensor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/chicken_dispensor.h b/engines/titanic/game/chicken_dispensor.h index 97e5f864f6..21163c681c 100644 --- a/engines/titanic/game/chicken_dispensor.h +++ b/engines/titanic/game/chicken_dispensor.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/close_broken_pel.cpp b/engines/titanic/game/close_broken_pel.cpp index 9cc4eb6535..d27441ac96 100644 --- a/engines/titanic/game/close_broken_pel.cpp +++ b/engines/titanic/game/close_broken_pel.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CCloseBrokenPel::save(SimpleFile *file, int indent) const { +void CCloseBrokenPel::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string3, indent); CBackground::save(file, indent); diff --git a/engines/titanic/game/close_broken_pel.h b/engines/titanic/game/close_broken_pel.h index ecf38d904c..252d0895cf 100644 --- a/engines/titanic/game/close_broken_pel.h +++ b/engines/titanic/game/close_broken_pel.h @@ -36,7 +36,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/code_wheel.cpp b/engines/titanic/game/code_wheel.cpp index a10a70c974..d8ce48e390 100644 --- a/engines/titanic/game/code_wheel.cpp +++ b/engines/titanic/game/code_wheel.cpp @@ -27,7 +27,7 @@ namespace Titanic { CodeWheel::CodeWheel() : CBomb(), _field108(0), _field10C(4), _field110(0) { } -void CodeWheel::save(SimpleFile *file, int indent) const { +void CodeWheel::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field108, indent); file->writeNumberLine(_field10C, indent); diff --git a/engines/titanic/game/code_wheel.h b/engines/titanic/game/code_wheel.h index 6080e92041..1776ad6055 100644 --- a/engines/titanic/game/code_wheel.h +++ b/engines/titanic/game/code_wheel.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/computer.cpp b/engines/titanic/game/computer.cpp index d2a2cc1935..e3f9430f3e 100644 --- a/engines/titanic/game/computer.cpp +++ b/engines/titanic/game/computer.cpp @@ -30,7 +30,7 @@ BEGIN_MESSAGE_MAP(CComputer, CBackground) ON_MESSAGE(MovieEndMsg) END_MESSAGE_MAP() -void CComputer::save(SimpleFile *file, int indent) const { +void CComputer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_currentCD, indent); file->writeNumberLine(_state, indent); diff --git a/engines/titanic/game/computer.h b/engines/titanic/game/computer.h index 3db0ee1979..e9716aa08a 100644 --- a/engines/titanic/game/computer.h +++ b/engines/titanic/game/computer.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/computer_screen.cpp b/engines/titanic/game/computer_screen.cpp index 9d15ea903f..c73db4f879 100644 --- a/engines/titanic/game/computer_screen.cpp +++ b/engines/titanic/game/computer_screen.cpp @@ -35,7 +35,7 @@ END_MESSAGE_MAP() CComputerScreen::CComputerScreen() : CGameObject() { } -void CComputerScreen::save(SimpleFile *file, int indent) const { +void CComputerScreen::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/computer_screen.h b/engines/titanic/game/computer_screen.h index fa02ef5e1a..032c724ba6 100644 --- a/engines/titanic/game/computer_screen.h +++ b/engines/titanic/game/computer_screen.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/cookie.cpp b/engines/titanic/game/cookie.cpp index 98621d04ab..915bb93b4a 100644 --- a/engines/titanic/game/cookie.cpp +++ b/engines/titanic/game/cookie.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CCookie::save(SimpleFile *file, int indent) const { +void CCookie::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/game/cookie.h b/engines/titanic/game/cookie.h index bd9d1fff04..72b29dc078 100644 --- a/engines/titanic/game/cookie.h +++ b/engines/titanic/game/cookie.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/credits.cpp b/engines/titanic/game/credits.cpp index 178d268fb6..7078d41a17 100644 --- a/engines/titanic/game/credits.cpp +++ b/engines/titanic/game/credits.cpp @@ -27,7 +27,7 @@ namespace Titanic { CCredits::CCredits() : CGameObject(), _fieldBC(-1), _fieldC0(1) { } -void CCredits::save(SimpleFile *file, int indent) const { +void CCredits::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/credits.h b/engines/titanic/game/credits.h index dc229127c8..5b3fe290d6 100644 --- a/engines/titanic/game/credits.h +++ b/engines/titanic/game/credits.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/credits_button.cpp b/engines/titanic/game/credits_button.cpp index 0ab23c1efc..90bb1b5ebe 100644 --- a/engines/titanic/game/credits_button.cpp +++ b/engines/titanic/game/credits_button.cpp @@ -27,7 +27,7 @@ namespace Titanic { CCreditsButton::CCreditsButton() : CBackground(), _fieldE0(1) { } -void CCreditsButton::save(SimpleFile *file, int indent) const { +void CCreditsButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); CBackground::save(file, indent); diff --git a/engines/titanic/game/credits_button.h b/engines/titanic/game/credits_button.h index fd7a8ad0c2..74fcdc03b5 100644 --- a/engines/titanic/game/credits_button.h +++ b/engines/titanic/game/credits_button.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/dead_area.cpp b/engines/titanic/game/dead_area.cpp index 5d5b2d06aa..3c41ab34ba 100644 --- a/engines/titanic/game/dead_area.cpp +++ b/engines/titanic/game/dead_area.cpp @@ -32,7 +32,7 @@ END_MESSAGE_MAP() CDeadArea::CDeadArea() : CGameObject() { } -void CDeadArea::save(SimpleFile *file, int indent) const { +void CDeadArea::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/dead_area.h b/engines/titanic/game/dead_area.h index 367308e5b5..8bffed75ca 100644 --- a/engines/titanic/game/dead_area.h +++ b/engines/titanic/game/dead_area.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/desk_click_responder.cpp b/engines/titanic/game/desk_click_responder.cpp index 312fe564af..d9b2cb64b4 100644 --- a/engines/titanic/game/desk_click_responder.cpp +++ b/engines/titanic/game/desk_click_responder.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CDeskClickResponder::save(SimpleFile *file, int indent) const { +void CDeskClickResponder::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldD4, indent); file->writeNumberLine(_fieldD8, indent); diff --git a/engines/titanic/game/desk_click_responder.h b/engines/titanic/game/desk_click_responder.h index a11d7ae328..3967b687db 100644 --- a/engines/titanic/game/desk_click_responder.h +++ b/engines/titanic/game/desk_click_responder.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/doorbot_elevator_handler.cpp b/engines/titanic/game/doorbot_elevator_handler.cpp index ae1894da53..13fc368137 100644 --- a/engines/titanic/game/doorbot_elevator_handler.cpp +++ b/engines/titanic/game/doorbot_elevator_handler.cpp @@ -26,7 +26,7 @@ namespace Titanic { int CDoorbotElevatorHandler::_v1; -void CDoorbotElevatorHandler::save(SimpleFile *file, int indent) const { +void CDoorbotElevatorHandler::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); file->writeNumberLine(_v1, indent); diff --git a/engines/titanic/game/doorbot_elevator_handler.h b/engines/titanic/game/doorbot_elevator_handler.h index 2bbfab906b..57722c5448 100644 --- a/engines/titanic/game/doorbot_elevator_handler.h +++ b/engines/titanic/game/doorbot_elevator_handler.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/doorbot_home_handler.cpp b/engines/titanic/game/doorbot_home_handler.cpp index 5d250172b1..b848308845 100644 --- a/engines/titanic/game/doorbot_home_handler.cpp +++ b/engines/titanic/game/doorbot_home_handler.cpp @@ -27,7 +27,7 @@ namespace Titanic { CDoorbotHomeHandler::CDoorbotHomeHandler() { } -void CDoorbotHomeHandler::save(SimpleFile *file, int indent) const { +void CDoorbotHomeHandler::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/doorbot_home_handler.h b/engines/titanic/game/doorbot_home_handler.h index 1e5d128a7d..66cec70ee9 100644 --- a/engines/titanic/game/doorbot_home_handler.h +++ b/engines/titanic/game/doorbot_home_handler.h @@ -35,7 +35,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/ear_sweet_bowl.cpp b/engines/titanic/game/ear_sweet_bowl.cpp index dc4ca7af08..0f7069356d 100644 --- a/engines/titanic/game/ear_sweet_bowl.cpp +++ b/engines/titanic/game/ear_sweet_bowl.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEarSweetBowl::save(SimpleFile *file, int indent) const { +void CEarSweetBowl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSweetBowl::save(file, indent); } diff --git a/engines/titanic/game/ear_sweet_bowl.h b/engines/titanic/game/ear_sweet_bowl.h index aa276f82a7..a5386d4da0 100644 --- a/engines/titanic/game/ear_sweet_bowl.h +++ b/engines/titanic/game/ear_sweet_bowl.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/eject_phonograph_button.cpp b/engines/titanic/game/eject_phonograph_button.cpp index bd444f94e5..4657f04126 100644 --- a/engines/titanic/game/eject_phonograph_button.cpp +++ b/engines/titanic/game/eject_phonograph_button.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEjectPhonographButton::save(SimpleFile *file, int indent) const { +void CEjectPhonographButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/eject_phonograph_button.h b/engines/titanic/game/eject_phonograph_button.h index d3e8a50618..670670b56f 100644 --- a/engines/titanic/game/eject_phonograph_button.h +++ b/engines/titanic/game/eject_phonograph_button.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/elevator_action_area.cpp b/engines/titanic/game/elevator_action_area.cpp index c9916bfc73..1cbff8d64d 100644 --- a/engines/titanic/game/elevator_action_area.cpp +++ b/engines/titanic/game/elevator_action_area.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CElevatorActionArea::save(SimpleFile *file, int indent) const { +void CElevatorActionArea::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/elevator_action_area.h b/engines/titanic/game/elevator_action_area.h index 570ee808ed..361f19afb8 100644 --- a/engines/titanic/game/elevator_action_area.h +++ b/engines/titanic/game/elevator_action_area.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/emma_control.cpp b/engines/titanic/game/emma_control.cpp index fac429ccec..814cb44d79 100644 --- a/engines/titanic/game/emma_control.cpp +++ b/engines/titanic/game/emma_control.cpp @@ -26,7 +26,7 @@ namespace Titanic { int CEmmaControl::_v1; -void CEmmaControl::save(SimpleFile *file, int indent) const { +void CEmmaControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeQuotedLine(_wavFile1, indent); diff --git a/engines/titanic/game/emma_control.h b/engines/titanic/game/emma_control.h index ea30c52279..654d3c5237 100644 --- a/engines/titanic/game/emma_control.h +++ b/engines/titanic/game/emma_control.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/empty_nut_bowl.cpp b/engines/titanic/game/empty_nut_bowl.cpp index 217029be19..ae9cb35e4d 100644 --- a/engines/titanic/game/empty_nut_bowl.cpp +++ b/engines/titanic/game/empty_nut_bowl.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEmptyNutBowl::save(SimpleFile *file, int indent) const { +void CEmptyNutBowl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/empty_nut_bowl.h b/engines/titanic/game/empty_nut_bowl.h index 9645284e1b..31f31e2339 100644 --- a/engines/titanic/game/empty_nut_bowl.h +++ b/engines/titanic/game/empty_nut_bowl.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/end_credit_text.cpp b/engines/titanic/game/end_credit_text.cpp index 8ae83ac8d0..6e0c21bbe9 100644 --- a/engines/titanic/game/end_credit_text.cpp +++ b/engines/titanic/game/end_credit_text.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEndCreditText::save(SimpleFile *file, int indent) const { +void CEndCreditText::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/end_credit_text.h b/engines/titanic/game/end_credit_text.h index 0003a8b4e3..137e51094e 100644 --- a/engines/titanic/game/end_credit_text.h +++ b/engines/titanic/game/end_credit_text.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/end_credits.cpp b/engines/titanic/game/end_credits.cpp index 0f71cfc91a..61640b92ad 100644 --- a/engines/titanic/game/end_credits.cpp +++ b/engines/titanic/game/end_credits.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEndCredits::save(SimpleFile *file, int indent) const { +void CEndCredits::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/end_credits.h b/engines/titanic/game/end_credits.h index a259a215a4..9aad29769a 100644 --- a/engines/titanic/game/end_credits.h +++ b/engines/titanic/game/end_credits.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/end_explode_ship.cpp b/engines/titanic/game/end_explode_ship.cpp index e12e03e28d..f7ac36503f 100644 --- a/engines/titanic/game/end_explode_ship.cpp +++ b/engines/titanic/game/end_explode_ship.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEndExplodeShip::save(SimpleFile *file, int indent) const { +void CEndExplodeShip::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/game/end_explode_ship.h b/engines/titanic/game/end_explode_ship.h index a6b053fe55..48bbeca897 100644 --- a/engines/titanic/game/end_explode_ship.h +++ b/engines/titanic/game/end_explode_ship.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/end_game_credits.cpp b/engines/titanic/game/end_game_credits.cpp index 56b06e6ec0..2d1aa79b1d 100644 --- a/engines/titanic/game/end_game_credits.cpp +++ b/engines/titanic/game/end_game_credits.cpp @@ -27,7 +27,7 @@ namespace Titanic { CEndGameCredits::CEndGameCredits() : CGameObject(), _fieldBC(0) { } -void CEndGameCredits::save(SimpleFile *file, int indent) const { +void CEndGameCredits::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writePoint(_pos1, indent); diff --git a/engines/titanic/game/end_game_credits.h b/engines/titanic/game/end_game_credits.h index ab14f2680b..5eee5fc7c8 100644 --- a/engines/titanic/game/end_game_credits.h +++ b/engines/titanic/game/end_game_credits.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/end_sequence_control.cpp b/engines/titanic/game/end_sequence_control.cpp index 2417214f16..d32b3d1713 100644 --- a/engines/titanic/game/end_sequence_control.cpp +++ b/engines/titanic/game/end_sequence_control.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEndSequenceControl::save(SimpleFile *file, int indent) const { +void CEndSequenceControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/end_sequence_control.h b/engines/titanic/game/end_sequence_control.h index 64bafcbd0b..0a9d6f0717 100644 --- a/engines/titanic/game/end_sequence_control.h +++ b/engines/titanic/game/end_sequence_control.h @@ -36,7 +36,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/fan.cpp b/engines/titanic/game/fan.cpp index 4715aa76dd..eabaf63568 100644 --- a/engines/titanic/game/fan.cpp +++ b/engines/titanic/game/fan.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CFan::save(SimpleFile *file, int indent) const { +void CFan::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/game/fan.h b/engines/titanic/game/fan.h index 6f234074f5..d3cf527b08 100644 --- a/engines/titanic/game/fan.h +++ b/engines/titanic/game/fan.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/fan_control.cpp b/engines/titanic/game/fan_control.cpp index 44e36b2b6c..a42e4dd5c1 100644 --- a/engines/titanic/game/fan_control.cpp +++ b/engines/titanic/game/fan_control.cpp @@ -28,7 +28,7 @@ CFanControl::CFanControl() : CGameObject(), _fieldBC(0), _fieldC0(0), _fieldC4(0), _fieldC8(0), _fieldCC(0) { } -void CFanControl::save(SimpleFile *file, int indent) const { +void CFanControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/fan_control.h b/engines/titanic/game/fan_control.h index 54ebbe27f3..14b56db152 100644 --- a/engines/titanic/game/fan_control.h +++ b/engines/titanic/game/fan_control.h @@ -41,7 +41,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/fan_decrease.cpp b/engines/titanic/game/fan_decrease.cpp index 41e227e98b..2049b1ebc9 100644 --- a/engines/titanic/game/fan_decrease.cpp +++ b/engines/titanic/game/fan_decrease.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CFanDecrease::save(SimpleFile *file, int indent) const { +void CFanDecrease::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/fan_decrease.h b/engines/titanic/game/fan_decrease.h index bac102823d..7d0c4a3671 100644 --- a/engines/titanic/game/fan_decrease.h +++ b/engines/titanic/game/fan_decrease.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/fan_increase.cpp b/engines/titanic/game/fan_increase.cpp index 06fcf474b7..aa23dd9275 100644 --- a/engines/titanic/game/fan_increase.cpp +++ b/engines/titanic/game/fan_increase.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CFanIncrease::save(SimpleFile *file, int indent) const { +void CFanIncrease::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/fan_increase.h b/engines/titanic/game/fan_increase.h index 62561f1c54..e81ff4640f 100644 --- a/engines/titanic/game/fan_increase.h +++ b/engines/titanic/game/fan_increase.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/fan_noises.cpp b/engines/titanic/game/fan_noises.cpp index 18a6ef76ce..14177ab64e 100644 --- a/engines/titanic/game/fan_noises.cpp +++ b/engines/titanic/game/fan_noises.cpp @@ -29,7 +29,7 @@ CFanNoises::CFanNoises() : CGameObject(), _fieldBC(-1), _fieldD0(0), _fieldD4(-1) { } -void CFanNoises::save(SimpleFile *file, int indent) const { +void CFanNoises::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/fan_noises.h b/engines/titanic/game/fan_noises.h index a78b3ca897..f187853097 100644 --- a/engines/titanic/game/fan_noises.h +++ b/engines/titanic/game/fan_noises.h @@ -45,7 +45,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/floor_indicator.cpp b/engines/titanic/game/floor_indicator.cpp index b17bd4beeb..360232c38c 100644 --- a/engines/titanic/game/floor_indicator.cpp +++ b/engines/titanic/game/floor_indicator.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CFloorIndicator::save(SimpleFile *file, int indent) const { +void CFloorIndicator::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/floor_indicator.h b/engines/titanic/game/floor_indicator.h index a3511fb622..ccd6a8b797 100644 --- a/engines/titanic/game/floor_indicator.h +++ b/engines/titanic/game/floor_indicator.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/games_console.cpp b/engines/titanic/game/games_console.cpp index 13a726058a..b7500f9dd9 100644 --- a/engines/titanic/game/games_console.cpp +++ b/engines/titanic/game/games_console.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CGamesConsole::save(SimpleFile *file, int indent) const { +void CGamesConsole::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); CBackground::save(file, indent); diff --git a/engines/titanic/game/games_console.h b/engines/titanic/game/games_console.h index 67634d8d41..8d37186b6d 100644 --- a/engines/titanic/game/games_console.h +++ b/engines/titanic/game/games_console.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/get_lift_eye2.cpp b/engines/titanic/game/get_lift_eye2.cpp index 76e6d2aa64..7747f7b0c2 100644 --- a/engines/titanic/game/get_lift_eye2.cpp +++ b/engines/titanic/game/get_lift_eye2.cpp @@ -34,7 +34,7 @@ void CGetLiftEye2::deinit() { delete _v1; } -void CGetLiftEye2::save(SimpleFile *file, int indent) const { +void CGetLiftEye2::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(*_v1, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/get_lift_eye2.h b/engines/titanic/game/get_lift_eye2.h index d936559313..7a3caa1283 100644 --- a/engines/titanic/game/get_lift_eye2.h +++ b/engines/titanic/game/get_lift_eye2.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/glass_smasher.cpp b/engines/titanic/game/glass_smasher.cpp index 80b665d6d8..8c33124a47 100644 --- a/engines/titanic/game/glass_smasher.cpp +++ b/engines/titanic/game/glass_smasher.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CGlassSmasher::save(SimpleFile *file, int indent) const { +void CGlassSmasher::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/glass_smasher.h b/engines/titanic/game/glass_smasher.h index 9c25065ecf..1c4e703bea 100644 --- a/engines/titanic/game/glass_smasher.h +++ b/engines/titanic/game/glass_smasher.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/gondolier/gondolier_base.cpp b/engines/titanic/game/gondolier/gondolier_base.cpp index bf54ed4d8d..1f7339cf38 100644 --- a/engines/titanic/game/gondolier/gondolier_base.cpp +++ b/engines/titanic/game/gondolier/gondolier_base.cpp @@ -35,7 +35,7 @@ int CGondolierBase::_v8; int CGondolierBase::_v9; int CGondolierBase::_v10; -void CGondolierBase::save(SimpleFile *file, int indent) const { +void CGondolierBase::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/game/gondolier/gondolier_base.h b/engines/titanic/game/gondolier/gondolier_base.h index c45e3e2283..e5efaf8a35 100644 --- a/engines/titanic/game/gondolier/gondolier_base.h +++ b/engines/titanic/game/gondolier/gondolier_base.h @@ -45,7 +45,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/gondolier/gondolier_chest.cpp b/engines/titanic/game/gondolier/gondolier_chest.cpp index 441a8bac31..b3e7217502 100644 --- a/engines/titanic/game/gondolier/gondolier_chest.cpp +++ b/engines/titanic/game/gondolier/gondolier_chest.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CGondolierChest::save(SimpleFile *file, int indent) const { +void CGondolierChest::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGondolierBase::save(file, indent); } diff --git a/engines/titanic/game/gondolier/gondolier_chest.h b/engines/titanic/game/gondolier/gondolier_chest.h index d2c13812f4..55e5a2ba75 100644 --- a/engines/titanic/game/gondolier/gondolier_chest.h +++ b/engines/titanic/game/gondolier/gondolier_chest.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/gondolier/gondolier_face.cpp b/engines/titanic/game/gondolier/gondolier_face.cpp index 6db23d8a1a..bdab8491ed 100644 --- a/engines/titanic/game/gondolier/gondolier_face.cpp +++ b/engines/titanic/game/gondolier/gondolier_face.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CGondolierFace::save(SimpleFile *file, int indent) const { +void CGondolierFace::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); CGondolierBase::save(file, indent); diff --git a/engines/titanic/game/gondolier/gondolier_face.h b/engines/titanic/game/gondolier/gondolier_face.h index 334cab143f..03e221e030 100644 --- a/engines/titanic/game/gondolier/gondolier_face.h +++ b/engines/titanic/game/gondolier/gondolier_face.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/gondolier/gondolier_mixer.cpp b/engines/titanic/game/gondolier/gondolier_mixer.cpp index 76bf2597d9..9b7b72c11b 100644 --- a/engines/titanic/game/gondolier/gondolier_mixer.cpp +++ b/engines/titanic/game/gondolier/gondolier_mixer.cpp @@ -31,7 +31,7 @@ CGondolierMixer::CGondolierMixer() : CGondolierBase(), _fieldE4(0) { } -void CGondolierMixer::save(SimpleFile *file, int indent) const { +void CGondolierMixer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/gondolier/gondolier_mixer.h b/engines/titanic/game/gondolier/gondolier_mixer.h index 2202d24d5f..0276de16c8 100644 --- a/engines/titanic/game/gondolier/gondolier_mixer.h +++ b/engines/titanic/game/gondolier/gondolier_mixer.h @@ -45,7 +45,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/gondolier/gondolier_slider.cpp b/engines/titanic/game/gondolier/gondolier_slider.cpp index dff464ce64..eb6b1a9ad8 100644 --- a/engines/titanic/game/gondolier/gondolier_slider.cpp +++ b/engines/titanic/game/gondolier/gondolier_slider.cpp @@ -31,7 +31,7 @@ CGondolierSlider::CGondolierSlider() : CGondolierBase(), _fieldEC(0), _string1("NULL"), _fieldFC(0), _field118(0) { } -void CGondolierSlider::save(SimpleFile *file, int indent) const { +void CGondolierSlider::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/gondolier/gondolier_slider.h b/engines/titanic/game/gondolier/gondolier_slider.h index eef4a58089..c5fd08f8cf 100644 --- a/engines/titanic/game/gondolier/gondolier_slider.h +++ b/engines/titanic/game/gondolier/gondolier_slider.h @@ -54,7 +54,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/hammer_clip.cpp b/engines/titanic/game/hammer_clip.cpp index 60955a21ff..e3f3a09a90 100644 --- a/engines/titanic/game/hammer_clip.cpp +++ b/engines/titanic/game/hammer_clip.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CHammerClip::save(SimpleFile *file, int indent) const { +void CHammerClip::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/hammer_clip.h b/engines/titanic/game/hammer_clip.h index d1891d8c09..01f419c8e4 100644 --- a/engines/titanic/game/hammer_clip.h +++ b/engines/titanic/game/hammer_clip.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/hammer_dispensor.cpp b/engines/titanic/game/hammer_dispensor.cpp index d486910843..440fe1bc7b 100644 --- a/engines/titanic/game/hammer_dispensor.cpp +++ b/engines/titanic/game/hammer_dispensor.cpp @@ -28,7 +28,7 @@ CHammerDispensor::CHammerDispensor() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldE8(0) { } -void CHammerDispensor::save(SimpleFile *file, int indent) const { +void CHammerDispensor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/hammer_dispensor.h b/engines/titanic/game/hammer_dispensor.h index b99045dcb5..9a58850e66 100644 --- a/engines/titanic/game/hammer_dispensor.h +++ b/engines/titanic/game/hammer_dispensor.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/hammer_dispensor_button.cpp b/engines/titanic/game/hammer_dispensor_button.cpp index eb9fa3845b..3346498623 100644 --- a/engines/titanic/game/hammer_dispensor_button.cpp +++ b/engines/titanic/game/hammer_dispensor_button.cpp @@ -29,7 +29,7 @@ CHammerDispensorButton::CHammerDispensorButton() : CStartAction(), _field108(6), _field10C(0), _field110(0) { } -void CHammerDispensorButton::save(SimpleFile *file, int indent) const { +void CHammerDispensorButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldF8, indent); file->writeNumberLine(_fieldFC, indent); diff --git a/engines/titanic/game/hammer_dispensor_button.h b/engines/titanic/game/hammer_dispensor_button.h index 3f28360a8f..5b91bbd974 100644 --- a/engines/titanic/game/hammer_dispensor_button.h +++ b/engines/titanic/game/hammer_dispensor_button.h @@ -43,7 +43,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/head_slot.cpp b/engines/titanic/game/head_slot.cpp index 4cb15ccd1e..32650b75e4 100644 --- a/engines/titanic/game/head_slot.cpp +++ b/engines/titanic/game/head_slot.cpp @@ -31,7 +31,7 @@ CHeadSlot::CHeadSlot() : CGameObject(), _string1("NotWorking"), _string2("NULL") _fieldE4(82), _fieldE8(112), _fieldEC(0) { } -void CHeadSlot::save(SimpleFile *file, int indent) const { +void CHeadSlot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/game/head_slot.h b/engines/titanic/game/head_slot.h index 3ba94a6669..b09794774e 100644 --- a/engines/titanic/game/head_slot.h +++ b/engines/titanic/game/head_slot.h @@ -47,7 +47,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/head_smash_event.cpp b/engines/titanic/game/head_smash_event.cpp index a3d3395a6e..5b79acf7a5 100644 --- a/engines/titanic/game/head_smash_event.cpp +++ b/engines/titanic/game/head_smash_event.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CHeadSmashEvent::save(SimpleFile *file, int indent) const { +void CHeadSmashEvent::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBackground::save(file, indent); } diff --git a/engines/titanic/game/head_smash_event.h b/engines/titanic/game/head_smash_event.h index 847e86eeba..9e21080a93 100644 --- a/engines/titanic/game/head_smash_event.h +++ b/engines/titanic/game/head_smash_event.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/head_smash_lever.cpp b/engines/titanic/game/head_smash_lever.cpp index 23ca96d6f9..5a2fe1f4c2 100644 --- a/engines/titanic/game/head_smash_lever.cpp +++ b/engines/titanic/game/head_smash_lever.cpp @@ -27,7 +27,7 @@ namespace Titanic { CHeadSmashLever::CHeadSmashLever() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldE8(0) {} -void CHeadSmashLever::save(SimpleFile *file, int indent) const { +void CHeadSmashLever::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/head_smash_lever.h b/engines/titanic/game/head_smash_lever.h index 8a67f56c67..a35a18c0a6 100644 --- a/engines/titanic/game/head_smash_lever.h +++ b/engines/titanic/game/head_smash_lever.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/head_spinner.cpp b/engines/titanic/game/head_spinner.cpp index a01f4ea1f3..2fb3654c4a 100644 --- a/engines/titanic/game/head_spinner.cpp +++ b/engines/titanic/game/head_spinner.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CHeadSpinner::save(SimpleFile *file, int indent) const { +void CHeadSpinner::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/game/head_spinner.h b/engines/titanic/game/head_spinner.h index 3ed3e1f01a..8f1f8c2477 100644 --- a/engines/titanic/game/head_spinner.h +++ b/engines/titanic/game/head_spinner.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/idle_summoner.cpp b/engines/titanic/game/idle_summoner.cpp index 39327266e4..19d760a8db 100644 --- a/engines/titanic/game/idle_summoner.cpp +++ b/engines/titanic/game/idle_summoner.cpp @@ -30,7 +30,7 @@ CIdleSummoner::CIdleSummoner() : CGameObject(), _fieldBC(0x57E40), _fieldD8(0xEA60), _fieldDC(0xEA60) { } -void CIdleSummoner::save(SimpleFile *file, int indent) const { +void CIdleSummoner::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/idle_summoner.h b/engines/titanic/game/idle_summoner.h index a983684a15..ccee7bc8fd 100644 --- a/engines/titanic/game/idle_summoner.h +++ b/engines/titanic/game/idle_summoner.h @@ -45,7 +45,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/leave_sec_class_state.cpp b/engines/titanic/game/leave_sec_class_state.cpp index 922bd98c70..014306220c 100644 --- a/engines/titanic/game/leave_sec_class_state.cpp +++ b/engines/titanic/game/leave_sec_class_state.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CLeaveSecClassState, CGameObject) -void CLeaveSecClassState::save(SimpleFile *file, int indent) const { +void CLeaveSecClassState::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/leave_sec_class_state.h b/engines/titanic/game/leave_sec_class_state.h index 5f77436ed1..fe55b9439a 100644 --- a/engines/titanic/game/leave_sec_class_state.h +++ b/engines/titanic/game/leave_sec_class_state.h @@ -35,7 +35,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/lemon_dispensor.cpp b/engines/titanic/game/lemon_dispensor.cpp index b13b6d8f0b..8e1674cb2d 100644 --- a/engines/titanic/game/lemon_dispensor.cpp +++ b/engines/titanic/game/lemon_dispensor.cpp @@ -32,7 +32,7 @@ CLemonDispensor::CLemonDispensor() : CBackground(), _fieldE0(0), _fieldE4(9), _fieldE8(15), _fieldEC(0) { } -void CLemonDispensor::save(SimpleFile *file, int indent) const { +void CLemonDispensor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/game/lemon_dispensor.h b/engines/titanic/game/lemon_dispensor.h index 091c6d7b27..fe5ab529af 100644 --- a/engines/titanic/game/lemon_dispensor.h +++ b/engines/titanic/game/lemon_dispensor.h @@ -44,7 +44,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/light.cpp b/engines/titanic/game/light.cpp index 6b5ff51f28..fd3c446875 100644 --- a/engines/titanic/game/light.cpp +++ b/engines/titanic/game/light.cpp @@ -29,7 +29,7 @@ CLight::CLight() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldF8(0), _fieldFC(0) { } -void CLight::save(SimpleFile *file, int indent) const { +void CLight::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/light.h b/engines/titanic/game/light.h index 625e256b5c..b919c5f06c 100644 --- a/engines/titanic/game/light.h +++ b/engines/titanic/game/light.h @@ -46,7 +46,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/light_switch.cpp b/engines/titanic/game/light_switch.cpp index 78a0548f41..3f5c8d2084 100644 --- a/engines/titanic/game/light_switch.cpp +++ b/engines/titanic/game/light_switch.cpp @@ -30,7 +30,7 @@ CLightSwitch::CLightSwitch() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldE8(0) { } -void CLightSwitch::save(SimpleFile *file, int indent) const { +void CLightSwitch::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/light_switch.h b/engines/titanic/game/light_switch.h index 80adf81582..c8728e06ff 100644 --- a/engines/titanic/game/light_switch.h +++ b/engines/titanic/game/light_switch.h @@ -43,7 +43,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/little_lift_button.cpp b/engines/titanic/game/little_lift_button.cpp index 3e2fbdd6e8..5005cb1757 100644 --- a/engines/titanic/game/little_lift_button.cpp +++ b/engines/titanic/game/little_lift_button.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CLittleLiftButton::save(SimpleFile *file, int indent) const { +void CLittleLiftButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CBackground::save(file, indent); diff --git a/engines/titanic/game/little_lift_button.h b/engines/titanic/game/little_lift_button.h index 92f084aba1..451c6ced95 100644 --- a/engines/titanic/game/little_lift_button.h +++ b/engines/titanic/game/little_lift_button.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/long_stick_dispenser.cpp b/engines/titanic/game/long_stick_dispenser.cpp index cf1109604f..cb562ec3ca 100644 --- a/engines/titanic/game/long_stick_dispenser.cpp +++ b/engines/titanic/game/long_stick_dispenser.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CLongStickDispenser::save(SimpleFile *file, int indent) const { +void CLongStickDispenser::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/long_stick_dispenser.h b/engines/titanic/game/long_stick_dispenser.h index bf5db20e1d..63066866c7 100644 --- a/engines/titanic/game/long_stick_dispenser.h +++ b/engines/titanic/game/long_stick_dispenser.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/maitred/maitred_arm_holder.cpp b/engines/titanic/game/maitred/maitred_arm_holder.cpp index b6fc494441..4d35277a33 100644 --- a/engines/titanic/game/maitred/maitred_arm_holder.cpp +++ b/engines/titanic/game/maitred/maitred_arm_holder.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMaitreDArmHolder::save(SimpleFile *file, int indent) const { +void CMaitreDArmHolder::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CDropTarget::save(file, indent); } diff --git a/engines/titanic/game/maitred/maitred_arm_holder.h b/engines/titanic/game/maitred/maitred_arm_holder.h index e329157837..c823bd94cf 100644 --- a/engines/titanic/game/maitred/maitred_arm_holder.h +++ b/engines/titanic/game/maitred/maitred_arm_holder.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/maitred/maitred_body.cpp b/engines/titanic/game/maitred/maitred_body.cpp index 4cdd5899de..6b495e5a1c 100644 --- a/engines/titanic/game/maitred/maitred_body.cpp +++ b/engines/titanic/game/maitred/maitred_body.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMaitreDLegs::save(SimpleFile *file, int indent) const { +void CMaitreDLegs::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldC8, indent); CMaitreDProdReceptor::save(file, indent); diff --git a/engines/titanic/game/maitred/maitred_body.h b/engines/titanic/game/maitred/maitred_body.h index 9dcc2af4ea..52e2ac8fe6 100644 --- a/engines/titanic/game/maitred/maitred_body.h +++ b/engines/titanic/game/maitred/maitred_body.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/maitred/maitred_legs.cpp b/engines/titanic/game/maitred/maitred_legs.cpp index ce7054e057..5071805101 100644 --- a/engines/titanic/game/maitred/maitred_legs.cpp +++ b/engines/titanic/game/maitred/maitred_legs.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMaitreDBody::save(SimpleFile *file, int indent) const { +void CMaitreDBody::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldC8, indent); CMaitreDProdReceptor::save(file, indent); diff --git a/engines/titanic/game/maitred/maitred_legs.h b/engines/titanic/game/maitred/maitred_legs.h index 0dc1b34143..5ee9482d18 100644 --- a/engines/titanic/game/maitred/maitred_legs.h +++ b/engines/titanic/game/maitred/maitred_legs.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/maitred/maitred_prod_receptor.cpp b/engines/titanic/game/maitred/maitred_prod_receptor.cpp index 6e6143c510..4823f143b0 100644 --- a/engines/titanic/game/maitred/maitred_prod_receptor.cpp +++ b/engines/titanic/game/maitred/maitred_prod_receptor.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMaitreDProdReceptor::save(SimpleFile *file, int indent) const { +void CMaitreDProdReceptor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/maitred/maitred_prod_receptor.h b/engines/titanic/game/maitred/maitred_prod_receptor.h index b82c95b9b5..5138d46e6e 100644 --- a/engines/titanic/game/maitred/maitred_prod_receptor.h +++ b/engines/titanic/game/maitred/maitred_prod_receptor.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/missiveomat.cpp b/engines/titanic/game/missiveomat.cpp index fbe430fb13..931b146801 100644 --- a/engines/titanic/game/missiveomat.cpp +++ b/engines/titanic/game/missiveomat.cpp @@ -28,7 +28,7 @@ CMissiveOMat::CMissiveOMat() : CGameObject(), _fieldBC(1), _fieldC0(0), _fieldC4(0), _fieldE0(-1) { } -void CMissiveOMat::save(SimpleFile *file, int indent) const { +void CMissiveOMat::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/missiveomat.h b/engines/titanic/game/missiveomat.h index a58c928497..1b7850ff3d 100644 --- a/engines/titanic/game/missiveomat.h +++ b/engines/titanic/game/missiveomat.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/missiveomat_button.cpp b/engines/titanic/game/missiveomat_button.cpp index 8f0918a294..d5ae75dbc2 100644 --- a/engines/titanic/game/missiveomat_button.cpp +++ b/engines/titanic/game/missiveomat_button.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMissiveOMatButton::save(SimpleFile *file, int indent) const { +void CMissiveOMatButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldFC, indent); diff --git a/engines/titanic/game/missiveomat_button.h b/engines/titanic/game/missiveomat_button.h index 603d2f5955..eb00b7e2a2 100644 --- a/engines/titanic/game/missiveomat_button.h +++ b/engines/titanic/game/missiveomat_button.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/movie_tester.cpp b/engines/titanic/game/movie_tester.cpp index 0a4f4a9a9c..1b266d9c7e 100644 --- a/engines/titanic/game/movie_tester.cpp +++ b/engines/titanic/game/movie_tester.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMovieTester::save(SimpleFile *file, int indent) const { +void CMovieTester::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/game/movie_tester.h b/engines/titanic/game/movie_tester.h index 2fffd5d2c0..cf39ae3f61 100644 --- a/engines/titanic/game/movie_tester.h +++ b/engines/titanic/game/movie_tester.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/music_console_button.cpp b/engines/titanic/game/music_console_button.cpp index d92dd4d3bb..1bc78ffe23 100644 --- a/engines/titanic/game/music_console_button.cpp +++ b/engines/titanic/game/music_console_button.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMusicConsoleButton::save(SimpleFile *file, int indent) const { +void CMusicConsoleButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMusicPlayer::save(file, indent); } diff --git a/engines/titanic/game/music_console_button.h b/engines/titanic/game/music_console_button.h index f6c33a91c5..1a1861b36b 100644 --- a/engines/titanic/game/music_console_button.h +++ b/engines/titanic/game/music_console_button.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/music_room_phonograph.cpp b/engines/titanic/game/music_room_phonograph.cpp index c08b23006f..2fceca2e2f 100644 --- a/engines/titanic/game/music_room_phonograph.cpp +++ b/engines/titanic/game/music_room_phonograph.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CMusicRoomPhonograph, CRestaurantPhonograph) -void CMusicRoomPhonograph::save(SimpleFile *file, int indent) const { +void CMusicRoomPhonograph::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field118, indent); CRestaurantPhonograph::save(file, indent); diff --git a/engines/titanic/game/music_room_phonograph.h b/engines/titanic/game/music_room_phonograph.h index cad59f35b3..dcc7267cde 100644 --- a/engines/titanic/game/music_room_phonograph.h +++ b/engines/titanic/game/music_room_phonograph.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/music_room_stop_phonograph_button.cpp b/engines/titanic/game/music_room_stop_phonograph_button.cpp index 7e00bade35..44342fc2d6 100644 --- a/engines/titanic/game/music_room_stop_phonograph_button.cpp +++ b/engines/titanic/game/music_room_stop_phonograph_button.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMusicRoomStopPhonographButton::save(SimpleFile *file, int indent) const { +void CMusicRoomStopPhonographButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field100, indent); CEjectPhonographButton::save(file, indent); diff --git a/engines/titanic/game/music_room_stop_phonograph_button.h b/engines/titanic/game/music_room_stop_phonograph_button.h index c37065fde4..81cd755526 100644 --- a/engines/titanic/game/music_room_stop_phonograph_button.h +++ b/engines/titanic/game/music_room_stop_phonograph_button.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/music_system_lock.cpp b/engines/titanic/game/music_system_lock.cpp index 6bd83f6811..f1e062b3ee 100644 --- a/engines/titanic/game/music_system_lock.cpp +++ b/engines/titanic/game/music_system_lock.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMusicSystemLock::save(SimpleFile *file, int indent) const { +void CMusicSystemLock::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CDropTarget::save(file, indent); diff --git a/engines/titanic/game/music_system_lock.h b/engines/titanic/game/music_system_lock.h index b5f4da55d6..ad722caccf 100644 --- a/engines/titanic/game/music_system_lock.h +++ b/engines/titanic/game/music_system_lock.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/musical_instrument.cpp b/engines/titanic/game/musical_instrument.cpp index 6480f9f8d1..aea58b4472 100644 --- a/engines/titanic/game/musical_instrument.cpp +++ b/engines/titanic/game/musical_instrument.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CMusicalInstrument, CBackground) -void CMusicalInstrument::save(SimpleFile *file, int indent) const { +void CMusicalInstrument::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBackground::save(file, indent); } diff --git a/engines/titanic/game/musical_instrument.h b/engines/titanic/game/musical_instrument.h index 5bc7446f13..273770c2e6 100644 --- a/engines/titanic/game/musical_instrument.h +++ b/engines/titanic/game/musical_instrument.h @@ -35,7 +35,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/nav_helmet.cpp b/engines/titanic/game/nav_helmet.cpp index c1dbb115f5..770eb7375e 100644 --- a/engines/titanic/game/nav_helmet.cpp +++ b/engines/titanic/game/nav_helmet.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CNavHelmet::save(SimpleFile *file, int indent) const { +void CNavHelmet::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/nav_helmet.h b/engines/titanic/game/nav_helmet.h index ff39280e5b..5e17622b65 100644 --- a/engines/titanic/game/nav_helmet.h +++ b/engines/titanic/game/nav_helmet.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/navigation_computer.cpp b/engines/titanic/game/navigation_computer.cpp index 7e04f848fc..042901c07a 100644 --- a/engines/titanic/game/navigation_computer.cpp +++ b/engines/titanic/game/navigation_computer.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CNavigationComputer, CGameObject) -void CNavigationComputer::save(SimpleFile *file, int indent) const { +void CNavigationComputer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/navigation_computer.h b/engines/titanic/game/navigation_computer.h index 5315c882cf..f24cbada34 100644 --- a/engines/titanic/game/navigation_computer.h +++ b/engines/titanic/game/navigation_computer.h @@ -35,7 +35,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/no_nut_bowl.cpp b/engines/titanic/game/no_nut_bowl.cpp index 354dea3cd8..47f9d7901e 100644 --- a/engines/titanic/game/no_nut_bowl.cpp +++ b/engines/titanic/game/no_nut_bowl.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CNoNutBowl::save(SimpleFile *file, int indent) const { +void CNoNutBowl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBackground::save(file, indent); } diff --git a/engines/titanic/game/no_nut_bowl.h b/engines/titanic/game/no_nut_bowl.h index 7557491b68..5cb3aa2c43 100644 --- a/engines/titanic/game/no_nut_bowl.h +++ b/engines/titanic/game/no_nut_bowl.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/nose_holder.cpp b/engines/titanic/game/nose_holder.cpp index ba512d015a..cd9433ee9c 100644 --- a/engines/titanic/game/nose_holder.cpp +++ b/engines/titanic/game/nose_holder.cpp @@ -27,7 +27,7 @@ namespace Titanic { CNoseHolder::CNoseHolder() : CDropTarget(), _field118(0), _field11C(0) { } -void CNoseHolder::save(SimpleFile *file, int indent) const { +void CNoseHolder::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field11C, indent); diff --git a/engines/titanic/game/nose_holder.h b/engines/titanic/game/nose_holder.h index e26c70fa1d..6e25835465 100644 --- a/engines/titanic/game/nose_holder.h +++ b/engines/titanic/game/nose_holder.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/null_port_hole.cpp b/engines/titanic/game/null_port_hole.cpp index 93dd7eb64e..060e5f04ca 100644 --- a/engines/titanic/game/null_port_hole.cpp +++ b/engines/titanic/game/null_port_hole.cpp @@ -31,7 +31,7 @@ CNullPortHole::CNullPortHole() : CClickResponder() { _string2 = "b#48.wav"; } -void CNullPortHole::save(SimpleFile *file, int indent) const { +void CNullPortHole::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string2, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/game/null_port_hole.h b/engines/titanic/game/null_port_hole.h index be335ef47c..3170a84b39 100644 --- a/engines/titanic/game/null_port_hole.h +++ b/engines/titanic/game/null_port_hole.h @@ -36,7 +36,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/nut_replacer.cpp b/engines/titanic/game/nut_replacer.cpp index 36c0510b20..9a73355c91 100644 --- a/engines/titanic/game/nut_replacer.cpp +++ b/engines/titanic/game/nut_replacer.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CNutReplacer::save(SimpleFile *file, int indent) const { +void CNutReplacer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/nut_replacer.h b/engines/titanic/game/nut_replacer.h index 0917b40bd2..6a8e014751 100644 --- a/engines/titanic/game/nut_replacer.h +++ b/engines/titanic/game/nut_replacer.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_lobby_controller.cpp b/engines/titanic/game/parrot/parrot_lobby_controller.cpp index 2376cea25c..f1e054a8dd 100644 --- a/engines/titanic/game/parrot/parrot_lobby_controller.cpp +++ b/engines/titanic/game/parrot/parrot_lobby_controller.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CParrotLobbyController::save(SimpleFile *file, int indent) const { +void CParrotLobbyController::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CParrotLobbyObject::save(file, indent); } diff --git a/engines/titanic/game/parrot/parrot_lobby_controller.h b/engines/titanic/game/parrot/parrot_lobby_controller.h index 6515a23944..9f5ddcab75 100644 --- a/engines/titanic/game/parrot/parrot_lobby_controller.h +++ b/engines/titanic/game/parrot/parrot_lobby_controller.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp b/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp index e62e9dde48..25d5ec724b 100644 --- a/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp +++ b/engines/titanic/game/parrot/parrot_lobby_link_updater.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CParrotLobbyLinkUpdater::save(SimpleFile *file, int indent) const { +void CParrotLobbyLinkUpdater::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CParrotLobbyObject::save(file, indent); } diff --git a/engines/titanic/game/parrot/parrot_lobby_link_updater.h b/engines/titanic/game/parrot/parrot_lobby_link_updater.h index 2f3ce7bac4..a433f0be84 100644 --- a/engines/titanic/game/parrot/parrot_lobby_link_updater.h +++ b/engines/titanic/game/parrot/parrot_lobby_link_updater.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_lobby_object.cpp b/engines/titanic/game/parrot/parrot_lobby_object.cpp index 8090a1d46c..9d556b5b91 100644 --- a/engines/titanic/game/parrot/parrot_lobby_object.cpp +++ b/engines/titanic/game/parrot/parrot_lobby_object.cpp @@ -38,7 +38,7 @@ void CParrotLobbyObject::init() { _v4 = 7; } -void CParrotLobbyObject::save(SimpleFile *file, int indent) const { +void CParrotLobbyObject::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/game/parrot/parrot_lobby_object.h b/engines/titanic/game/parrot/parrot_lobby_object.h index 5b53276eb0..967ad23fd8 100644 --- a/engines/titanic/game/parrot/parrot_lobby_object.h +++ b/engines/titanic/game/parrot/parrot_lobby_object.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_lobby_view_object.cpp b/engines/titanic/game/parrot/parrot_lobby_view_object.cpp index 740eac83de..ae398036a8 100644 --- a/engines/titanic/game/parrot/parrot_lobby_view_object.cpp +++ b/engines/titanic/game/parrot/parrot_lobby_view_object.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CParrotLobbyViewObject::save(SimpleFile *file, int indent) const { +void CParrotLobbyViewObject::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); CParrotLobbyObject::save(file, indent); diff --git a/engines/titanic/game/parrot/parrot_lobby_view_object.h b/engines/titanic/game/parrot/parrot_lobby_view_object.h index 1e3e398c2c..656924ff9f 100644 --- a/engines/titanic/game/parrot/parrot_lobby_view_object.h +++ b/engines/titanic/game/parrot/parrot_lobby_view_object.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_loser.cpp b/engines/titanic/game/parrot/parrot_loser.cpp index e82506e137..6e23ef8314 100644 --- a/engines/titanic/game/parrot/parrot_loser.cpp +++ b/engines/titanic/game/parrot/parrot_loser.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CParrotLoser::save(SimpleFile *file, int indent) const { +void CParrotLoser::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/parrot/parrot_loser.h b/engines/titanic/game/parrot/parrot_loser.h index 806195db19..c1e6c9fddd 100644 --- a/engines/titanic/game/parrot/parrot_loser.h +++ b/engines/titanic/game/parrot/parrot_loser.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp b/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp index 0917319da0..c83d66cbdf 100644 --- a/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp +++ b/engines/titanic/game/parrot/parrot_nut_bowl_actor.cpp @@ -28,7 +28,7 @@ CParrotNutBowlActor::CParrotNutBowlActor() : CGameObject(), _value1(0), _value2(0) { } -void CParrotNutBowlActor::save(SimpleFile *file, int indent) const { +void CParrotNutBowlActor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/game/parrot/parrot_nut_bowl_actor.h b/engines/titanic/game/parrot/parrot_nut_bowl_actor.h index d1ccca6a71..34be83a918 100644 --- a/engines/titanic/game/parrot/parrot_nut_bowl_actor.h +++ b/engines/titanic/game/parrot/parrot_nut_bowl_actor.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_nut_eater.cpp b/engines/titanic/game/parrot/parrot_nut_eater.cpp index 9d58632c89..309b379ab8 100644 --- a/engines/titanic/game/parrot/parrot_nut_eater.cpp +++ b/engines/titanic/game/parrot/parrot_nut_eater.cpp @@ -28,7 +28,7 @@ CParrotNutEater::CParrotNutEater() : CGameObject(), _fieldBC(0), _fieldC0(69), _fieldC4(132), _fieldC8(0), _fieldCC(68) { } -void CParrotNutEater::save(SimpleFile *file, int indent) const { +void CParrotNutEater::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); diff --git a/engines/titanic/game/parrot/parrot_nut_eater.h b/engines/titanic/game/parrot/parrot_nut_eater.h index 6a7afd94cf..fe0a3aeb0f 100644 --- a/engines/titanic/game/parrot/parrot_nut_eater.h +++ b/engines/titanic/game/parrot/parrot_nut_eater.h @@ -41,7 +41,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_perch_holder.cpp b/engines/titanic/game/parrot/parrot_perch_holder.cpp index 00dfe4a1c9..dd8523990b 100644 --- a/engines/titanic/game/parrot/parrot_perch_holder.cpp +++ b/engines/titanic/game/parrot/parrot_perch_holder.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CParrotPerchHolder::save(SimpleFile *file, int indent) const { +void CParrotPerchHolder::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMultiDropTarget::save(file, indent); } diff --git a/engines/titanic/game/parrot/parrot_perch_holder.h b/engines/titanic/game/parrot/parrot_perch_holder.h index f355263846..8c7a441001 100644 --- a/engines/titanic/game/parrot/parrot_perch_holder.h +++ b/engines/titanic/game/parrot/parrot_perch_holder.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_succubus.cpp b/engines/titanic/game/parrot/parrot_succubus.cpp index e29c6a6781..02a29b748e 100644 --- a/engines/titanic/game/parrot/parrot_succubus.cpp +++ b/engines/titanic/game/parrot/parrot_succubus.cpp @@ -28,7 +28,7 @@ CParrotSuccUBus::CParrotSuccUBus() : CSuccUBus(), _field1DC(0), _field1EC(0), _field1F0(376), _field1F4(393) { } -void CParrotSuccUBus::save(SimpleFile *file, int indent) const { +void CParrotSuccUBus::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field1DC, indent); file->writeQuotedLine(_string3, indent); diff --git a/engines/titanic/game/parrot/parrot_succubus.h b/engines/titanic/game/parrot/parrot_succubus.h index e60d35cd6c..7984cc6a8c 100644 --- a/engines/titanic/game/parrot/parrot_succubus.h +++ b/engines/titanic/game/parrot/parrot_succubus.h @@ -41,7 +41,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/parrot_trigger.cpp b/engines/titanic/game/parrot/parrot_trigger.cpp index aeab3c1ea7..36e99ada33 100644 --- a/engines/titanic/game/parrot/parrot_trigger.cpp +++ b/engines/titanic/game/parrot/parrot_trigger.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CParrotTrigger::save(SimpleFile *file, int indent) const { +void CParrotTrigger::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/parrot/parrot_trigger.h b/engines/titanic/game/parrot/parrot_trigger.h index 33aea157ad..f2d1d7e904 100644 --- a/engines/titanic/game/parrot/parrot_trigger.h +++ b/engines/titanic/game/parrot/parrot_trigger.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/parrot/player_meets_parrot.cpp b/engines/titanic/game/parrot/player_meets_parrot.cpp index 15dd29009a..6db9345bc0 100644 --- a/engines/titanic/game/parrot/player_meets_parrot.cpp +++ b/engines/titanic/game/parrot/player_meets_parrot.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPlayerMeetsParrot::save(SimpleFile *file, int indent) const { +void CPlayerMeetsParrot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/parrot/player_meets_parrot.h b/engines/titanic/game/parrot/player_meets_parrot.h index 53fa63a95c..0a720993a5 100644 --- a/engines/titanic/game/parrot/player_meets_parrot.h +++ b/engines/titanic/game/parrot/player_meets_parrot.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet.cpp b/engines/titanic/game/pet/pet.cpp index 3e65755989..cd4e16d38c 100644 --- a/engines/titanic/game/pet/pet.cpp +++ b/engines/titanic/game/pet/pet.cpp @@ -28,7 +28,7 @@ CPET::CPET() : CGameObject(), _fieldBC(0), _fieldC0(3), _fieldC4(0), _fieldC8(0), _fieldD8(0), _fieldDC(0) { } -void CPET::save(SimpleFile *file, int indent) const { +void CPET::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/pet/pet.h b/engines/titanic/game/pet/pet.h index 58e3577235..de62294994 100644 --- a/engines/titanic/game/pet/pet.h +++ b/engines/titanic/game/pet/pet.h @@ -43,7 +43,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_class1.cpp b/engines/titanic/game/pet/pet_class1.cpp index b0407ef6e5..096977e26f 100644 --- a/engines/titanic/game/pet/pet_class1.cpp +++ b/engines/titanic/game/pet/pet_class1.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CPETClass1, CGameObject) -void CPETClass1::save(SimpleFile *file, int indent) const { +void CPETClass1::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_class1.h b/engines/titanic/game/pet/pet_class1.h index e22b2148b5..aeb01adc7c 100644 --- a/engines/titanic/game/pet/pet_class1.h +++ b/engines/titanic/game/pet/pet_class1.h @@ -35,7 +35,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_class2.cpp b/engines/titanic/game/pet/pet_class2.cpp index 8809f84214..d13ed66fbd 100644 --- a/engines/titanic/game/pet/pet_class2.cpp +++ b/engines/titanic/game/pet/pet_class2.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CPETClass2, CGameObject) -void CPETClass2::save(SimpleFile *file, int indent) const { +void CPETClass2::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_class2.h b/engines/titanic/game/pet/pet_class2.h index 529f9534e2..aa85397385 100644 --- a/engines/titanic/game/pet/pet_class2.h +++ b/engines/titanic/game/pet/pet_class2.h @@ -35,7 +35,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_class3.cpp b/engines/titanic/game/pet/pet_class3.cpp index 81ddf8adf8..0c0adf2090 100644 --- a/engines/titanic/game/pet/pet_class3.cpp +++ b/engines/titanic/game/pet/pet_class3.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CPETClass3, CGameObject) -void CPETClass3::save(SimpleFile *file, int indent) const { +void CPETClass3::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_class3.h b/engines/titanic/game/pet/pet_class3.h index d34c9d335e..733186a096 100644 --- a/engines/titanic/game/pet/pet_class3.h +++ b/engines/titanic/game/pet/pet_class3.h @@ -35,7 +35,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_lift.cpp b/engines/titanic/game/pet/pet_lift.cpp index 8a16c678d5..39b0d01540 100644 --- a/engines/titanic/game/pet/pet_lift.cpp +++ b/engines/titanic/game/pet/pet_lift.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPETLift::save(SimpleFile *file, int indent) const { +void CPETLift::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPETTransport::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_lift.h b/engines/titanic/game/pet/pet_lift.h index 1c56b0515a..9bdf5313d0 100644 --- a/engines/titanic/game/pet/pet_lift.h +++ b/engines/titanic/game/pet/pet_lift.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_monitor.cpp b/engines/titanic/game/pet/pet_monitor.cpp index ebbddd8587..6a0d207a55 100644 --- a/engines/titanic/game/pet/pet_monitor.cpp +++ b/engines/titanic/game/pet/pet_monitor.cpp @@ -28,7 +28,7 @@ BEGIN_MESSAGE_MAP(CPETMonitor, CGameObject) ON_MESSAGE(EnterRoomMsg) END_MESSAGE_MAP() -void CPETMonitor::save(SimpleFile *file, int indent) const { +void CPETMonitor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_monitor.h b/engines/titanic/game/pet/pet_monitor.h index a53f360ed1..140c17b825 100644 --- a/engines/titanic/game/pet/pet_monitor.h +++ b/engines/titanic/game/pet/pet_monitor.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_pellerator.cpp b/engines/titanic/game/pet/pet_pellerator.cpp index bcddc75919..a29942ca59 100644 --- a/engines/titanic/game/pet/pet_pellerator.cpp +++ b/engines/titanic/game/pet/pet_pellerator.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPETPellerator::save(SimpleFile *file, int indent) const { +void CPETPellerator::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPETTransport::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_pellerator.h b/engines/titanic/game/pet/pet_pellerator.h index 1036c93c66..31b44e337b 100644 --- a/engines/titanic/game/pet/pet_pellerator.h +++ b/engines/titanic/game/pet/pet_pellerator.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_position.cpp b/engines/titanic/game/pet/pet_position.cpp index 66e8e36231..9f58093ccc 100644 --- a/engines/titanic/game/pet/pet_position.cpp +++ b/engines/titanic/game/pet/pet_position.cpp @@ -28,7 +28,7 @@ BEGIN_MESSAGE_MAP(CPETPosition, CGameObject) ON_MESSAGE(EnterRoomMsg) END_MESSAGE_MAP() -void CPETPosition::save(SimpleFile *file, int indent) const { +void CPETPosition::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_position.h b/engines/titanic/game/pet/pet_position.h index f4f0fd5299..63c0bf215f 100644 --- a/engines/titanic/game/pet/pet_position.h +++ b/engines/titanic/game/pet/pet_position.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_sentinal.cpp b/engines/titanic/game/pet/pet_sentinal.cpp index 4ced872b00..1b647d7c62 100644 --- a/engines/titanic/game/pet/pet_sentinal.cpp +++ b/engines/titanic/game/pet/pet_sentinal.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPETSentinal::save(SimpleFile *file, int indent) const { +void CPETSentinal::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_sentinal.h b/engines/titanic/game/pet/pet_sentinal.h index 728ddbfe57..8b1e992ebf 100644 --- a/engines/titanic/game/pet/pet_sentinal.h +++ b/engines/titanic/game/pet/pet_sentinal.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_sounds.cpp b/engines/titanic/game/pet/pet_sounds.cpp index abf6ba3264..d612c745bb 100644 --- a/engines/titanic/game/pet/pet_sounds.cpp +++ b/engines/titanic/game/pet/pet_sounds.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPETSounds::save(SimpleFile *file, int indent) const { +void CPETSounds::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/pet/pet_sounds.h b/engines/titanic/game/pet/pet_sounds.h index f099d9efb5..3513da5535 100644 --- a/engines/titanic/game/pet/pet_sounds.h +++ b/engines/titanic/game/pet/pet_sounds.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_transition.cpp b/engines/titanic/game/pet/pet_transition.cpp index fed2d2c63a..33cc36ca11 100644 --- a/engines/titanic/game/pet/pet_transition.cpp +++ b/engines/titanic/game/pet/pet_transition.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPETTransition::save(SimpleFile *file, int indent) const { +void CPETTransition::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_transition.h b/engines/titanic/game/pet/pet_transition.h index c8dc153d53..9e4a62875d 100644 --- a/engines/titanic/game/pet/pet_transition.h +++ b/engines/titanic/game/pet/pet_transition.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet/pet_transport.cpp b/engines/titanic/game/pet/pet_transport.cpp index bcbf319fd0..9661cace2c 100644 --- a/engines/titanic/game/pet/pet_transport.cpp +++ b/engines/titanic/game/pet/pet_transport.cpp @@ -28,7 +28,7 @@ BEGIN_MESSAGE_MAP(CPETTransport, CGameObject) ON_MESSAGE(EnterRoomMsg) END_MESSAGE_MAP() -void CPETTransport::save(SimpleFile *file, int indent) const { +void CPETTransport::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/pet/pet_transport.h b/engines/titanic/game/pet/pet_transport.h index 052fd7bda0..e580ab8616 100644 --- a/engines/titanic/game/pet/pet_transport.h +++ b/engines/titanic/game/pet/pet_transport.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pet_disabler.cpp b/engines/titanic/game/pet_disabler.cpp index 94a4964ed2..2275156503 100644 --- a/engines/titanic/game/pet_disabler.cpp +++ b/engines/titanic/game/pet_disabler.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPetDisabler::save(SimpleFile *file, int indent) const { +void CPetDisabler::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/pet_disabler.h b/engines/titanic/game/pet_disabler.h index 5db5d7b533..5928d44921 100644 --- a/engines/titanic/game/pet_disabler.h +++ b/engines/titanic/game/pet_disabler.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/phonograph.cpp b/engines/titanic/game/phonograph.cpp index f086376651..9740e29273 100644 --- a/engines/titanic/game/phonograph.cpp +++ b/engines/titanic/game/phonograph.cpp @@ -29,7 +29,7 @@ CPhonograph::CPhonograph() : CMusicPlayer(), _fieldF0(0), _fieldF4(0) { } -void CPhonograph::save(SimpleFile *file, int indent) const { +void CPhonograph::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string2, indent); file->writeNumberLine(_fieldE0, indent); diff --git a/engines/titanic/game/phonograph.h b/engines/titanic/game/phonograph.h index c5f5a90c9c..e0f407b251 100644 --- a/engines/titanic/game/phonograph.h +++ b/engines/titanic/game/phonograph.h @@ -45,7 +45,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/phonograph_lid.cpp b/engines/titanic/game/phonograph_lid.cpp index a228af8c70..a0518420f7 100644 --- a/engines/titanic/game/phonograph_lid.cpp +++ b/engines/titanic/game/phonograph_lid.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPhonographLid::save(SimpleFile *file, int indent) const { +void CPhonographLid::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/phonograph_lid.h b/engines/titanic/game/phonograph_lid.h index 38c8924885..486a9b4b84 100644 --- a/engines/titanic/game/phonograph_lid.h +++ b/engines/titanic/game/phonograph_lid.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pickup/pick_up.cpp b/engines/titanic/game/pickup/pick_up.cpp index 58ffc5ad09..c660a36a32 100644 --- a/engines/titanic/game/pickup/pick_up.cpp +++ b/engines/titanic/game/pickup/pick_up.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPickUp::save(SimpleFile *file, int indent) const { +void CPickUp::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/pickup/pick_up.h b/engines/titanic/game/pickup/pick_up.h index d5a858017d..76537d1e74 100644 --- a/engines/titanic/game/pickup/pick_up.h +++ b/engines/titanic/game/pickup/pick_up.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pickup/pick_up_bar_glass.cpp b/engines/titanic/game/pickup/pick_up_bar_glass.cpp index 1d475c2a85..85b883281e 100644 --- a/engines/titanic/game/pickup/pick_up_bar_glass.cpp +++ b/engines/titanic/game/pickup/pick_up_bar_glass.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPickUpBarGlass::save(SimpleFile *file, int indent) const { +void CPickUpBarGlass::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPickUp::save(file, indent); } diff --git a/engines/titanic/game/pickup/pick_up_bar_glass.h b/engines/titanic/game/pickup/pick_up_bar_glass.h index f1c75555ad..f9bcb00192 100644 --- a/engines/titanic/game/pickup/pick_up_bar_glass.h +++ b/engines/titanic/game/pickup/pick_up_bar_glass.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pickup/pick_up_hose.cpp b/engines/titanic/game/pickup/pick_up_hose.cpp index e6902cb6b3..7375ddaa63 100644 --- a/engines/titanic/game/pickup/pick_up_hose.cpp +++ b/engines/titanic/game/pickup/pick_up_hose.cpp @@ -26,7 +26,7 @@ namespace Titanic { int CPickUpHose::_v1; -void CPickUpHose::save(SimpleFile *file, int indent) const { +void CPickUpHose::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeNumberLine(_v1, indent); diff --git a/engines/titanic/game/pickup/pick_up_hose.h b/engines/titanic/game/pickup/pick_up_hose.h index 9014934ba1..68bec367d4 100644 --- a/engines/titanic/game/pickup/pick_up_hose.h +++ b/engines/titanic/game/pickup/pick_up_hose.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pickup/pick_up_lemon.cpp b/engines/titanic/game/pickup/pick_up_lemon.cpp index 7364fee299..772114f76c 100644 --- a/engines/titanic/game/pickup/pick_up_lemon.cpp +++ b/engines/titanic/game/pickup/pick_up_lemon.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPickUpLemon::save(SimpleFile *file, int indent) const { +void CPickUpLemon::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPickUp::save(file, indent); } diff --git a/engines/titanic/game/pickup/pick_up_lemon.h b/engines/titanic/game/pickup/pick_up_lemon.h index dc2942f366..9bed9ceb73 100644 --- a/engines/titanic/game/pickup/pick_up_lemon.h +++ b/engines/titanic/game/pickup/pick_up_lemon.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pickup/pick_up_speech_centre.cpp b/engines/titanic/game/pickup/pick_up_speech_centre.cpp index 74c473943e..0b9a8d2c48 100644 --- a/engines/titanic/game/pickup/pick_up_speech_centre.cpp +++ b/engines/titanic/game/pickup/pick_up_speech_centre.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPickUpSpeechCentre::save(SimpleFile *file, int indent) const { +void CPickUpSpeechCentre::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPickUp::save(file, indent); } diff --git a/engines/titanic/game/pickup/pick_up_speech_centre.h b/engines/titanic/game/pickup/pick_up_speech_centre.h index 5d7d133ccc..a74566b4d5 100644 --- a/engines/titanic/game/pickup/pick_up_speech_centre.h +++ b/engines/titanic/game/pickup/pick_up_speech_centre.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/pickup/pick_up_vis_centre.cpp b/engines/titanic/game/pickup/pick_up_vis_centre.cpp index 8fda66fe3d..796e46778c 100644 --- a/engines/titanic/game/pickup/pick_up_vis_centre.cpp +++ b/engines/titanic/game/pickup/pick_up_vis_centre.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPickUpVisCentre::save(SimpleFile *file, int indent) const { +void CPickUpVisCentre::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPickUp::save(file, indent); } diff --git a/engines/titanic/game/pickup/pick_up_vis_centre.h b/engines/titanic/game/pickup/pick_up_vis_centre.h index 4345fceda9..059c4f85b0 100644 --- a/engines/titanic/game/pickup/pick_up_vis_centre.h +++ b/engines/titanic/game/pickup/pick_up_vis_centre.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/placeholder/bar_shelf_vis_centre.cpp b/engines/titanic/game/placeholder/bar_shelf_vis_centre.cpp index f3eda053f1..a8a33fe1b1 100644 --- a/engines/titanic/game/placeholder/bar_shelf_vis_centre.cpp +++ b/engines/titanic/game/placeholder/bar_shelf_vis_centre.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBarShelfVisCentre::save(SimpleFile *file, int indent) const { +void CBarShelfVisCentre::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CPlaceHolderItem::save(file, indent); diff --git a/engines/titanic/game/placeholder/bar_shelf_vis_centre.h b/engines/titanic/game/placeholder/bar_shelf_vis_centre.h index a5acff6a47..7cb4478d8a 100644 --- a/engines/titanic/game/placeholder/bar_shelf_vis_centre.h +++ b/engines/titanic/game/placeholder/bar_shelf_vis_centre.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/placeholder/lemon_on_bar.cpp b/engines/titanic/game/placeholder/lemon_on_bar.cpp index d51f4b8758..08d686e81a 100644 --- a/engines/titanic/game/placeholder/lemon_on_bar.cpp +++ b/engines/titanic/game/placeholder/lemon_on_bar.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CLemonOnBar::save(SimpleFile *file, int indent) const { +void CLemonOnBar::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writePoint(_pos1, indent); CPlaceHolderItem::save(file, indent); diff --git a/engines/titanic/game/placeholder/lemon_on_bar.h b/engines/titanic/game/placeholder/lemon_on_bar.h index d1654bfeb9..030481e9ea 100644 --- a/engines/titanic/game/placeholder/lemon_on_bar.h +++ b/engines/titanic/game/placeholder/lemon_on_bar.h @@ -36,7 +36,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/placeholder/place_holder_item.cpp b/engines/titanic/game/placeholder/place_holder_item.cpp index a3c26c8b7f..365e8cbe50 100644 --- a/engines/titanic/game/placeholder/place_holder_item.cpp +++ b/engines/titanic/game/placeholder/place_holder_item.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPlaceHolderItem::save(SimpleFile *file, int indent) const { +void CPlaceHolderItem::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/placeholder/place_holder_item.h b/engines/titanic/game/placeholder/place_holder_item.h index c665e0f626..72f49c0a8a 100644 --- a/engines/titanic/game/placeholder/place_holder_item.h +++ b/engines/titanic/game/placeholder/place_holder_item.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/placeholder/tv_on_bar.cpp b/engines/titanic/game/placeholder/tv_on_bar.cpp index 3b97658a86..efbbe50461 100644 --- a/engines/titanic/game/placeholder/tv_on_bar.cpp +++ b/engines/titanic/game/placeholder/tv_on_bar.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CTVOnBar::save(SimpleFile *file, int indent) const { +void CTVOnBar::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writePoint(_pos1, indent); CPlaceHolderItem::save(file, indent); diff --git a/engines/titanic/game/placeholder/tv_on_bar.h b/engines/titanic/game/placeholder/tv_on_bar.h index 2cc5494464..ffe8109a9b 100644 --- a/engines/titanic/game/placeholder/tv_on_bar.h +++ b/engines/titanic/game/placeholder/tv_on_bar.h @@ -36,7 +36,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/play_music_button.cpp b/engines/titanic/game/play_music_button.cpp index 49e128cb66..8066739f10 100644 --- a/engines/titanic/game/play_music_button.cpp +++ b/engines/titanic/game/play_music_button.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPlayMusicButton::save(SimpleFile *file, int indent) const { +void CPlayMusicButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/play_music_button.h b/engines/titanic/game/play_music_button.h index 9e0bb464b3..8ae32dc8c2 100644 --- a/engines/titanic/game/play_music_button.h +++ b/engines/titanic/game/play_music_button.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/play_on_act.cpp b/engines/titanic/game/play_on_act.cpp index b0236cda5a..e1ef1201c6 100644 --- a/engines/titanic/game/play_on_act.cpp +++ b/engines/titanic/game/play_on_act.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPlayOnAct::save(SimpleFile *file, int indent) const { +void CPlayOnAct::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBackground::save(file, indent); } diff --git a/engines/titanic/game/play_on_act.h b/engines/titanic/game/play_on_act.h index 22bb54de6a..bd6060077a 100644 --- a/engines/titanic/game/play_on_act.h +++ b/engines/titanic/game/play_on_act.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/port_hole.cpp b/engines/titanic/game/port_hole.cpp index 556473263b..f3c447f443 100644 --- a/engines/titanic/game/port_hole.cpp +++ b/engines/titanic/game/port_hole.cpp @@ -28,7 +28,7 @@ CPortHole::CPortHole() : CGameObject(), _fieldBC(0), _string1("b#47.wav"), _string2("b#46.wav") { } -void CPortHole::save(SimpleFile *file, int indent) const { +void CPortHole::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/game/port_hole.h b/engines/titanic/game/port_hole.h index 2672614d68..4e952cc369 100644 --- a/engines/titanic/game/port_hole.h +++ b/engines/titanic/game/port_hole.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/record_phonograph_button.cpp b/engines/titanic/game/record_phonograph_button.cpp index 896e9d2be6..f022957dbb 100644 --- a/engines/titanic/game/record_phonograph_button.cpp +++ b/engines/titanic/game/record_phonograph_button.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CRecordPhonographButton::save(SimpleFile *file, int indent) const { +void CRecordPhonographButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CBackground::save(file, indent); diff --git a/engines/titanic/game/record_phonograph_button.h b/engines/titanic/game/record_phonograph_button.h index 3ae7fb1dea..9750b7d42e 100644 --- a/engines/titanic/game/record_phonograph_button.h +++ b/engines/titanic/game/record_phonograph_button.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/replacement_ear.cpp b/engines/titanic/game/replacement_ear.cpp index 4926932c17..1f9960365d 100644 --- a/engines/titanic/game/replacement_ear.cpp +++ b/engines/titanic/game/replacement_ear.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CReplacementEar::save(SimpleFile *file, int indent) const { +void CReplacementEar::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBackground::save(file, indent); } diff --git a/engines/titanic/game/replacement_ear.h b/engines/titanic/game/replacement_ear.h index 0cff55d684..59d291f231 100644 --- a/engines/titanic/game/replacement_ear.h +++ b/engines/titanic/game/replacement_ear.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/reserved_table.cpp b/engines/titanic/game/reserved_table.cpp index 222712ac1c..a600190709 100644 --- a/engines/titanic/game/reserved_table.cpp +++ b/engines/titanic/game/reserved_table.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CReservedTable::save(SimpleFile *file, int indent) const { +void CReservedTable::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/game/reserved_table.h b/engines/titanic/game/reserved_table.h index 49cd5e8e39..a0927fafe1 100644 --- a/engines/titanic/game/reserved_table.h +++ b/engines/titanic/game/reserved_table.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/restaurant_cylinder_holder.cpp b/engines/titanic/game/restaurant_cylinder_holder.cpp index 1662064d17..d70009f151 100644 --- a/engines/titanic/game/restaurant_cylinder_holder.cpp +++ b/engines/titanic/game/restaurant_cylinder_holder.cpp @@ -29,7 +29,7 @@ CRestaurantCylinderHolder::CRestaurantCylinderHolder() : CDropTarget(), _string6("z#61.wav"), _field140(1) { } -void CRestaurantCylinderHolder::save(SimpleFile *file, int indent) const { +void CRestaurantCylinderHolder::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field118, indent); file->writeNumberLine(_field11C, indent); diff --git a/engines/titanic/game/restaurant_cylinder_holder.h b/engines/titanic/game/restaurant_cylinder_holder.h index 9f3911d850..d679dd1aa3 100644 --- a/engines/titanic/game/restaurant_cylinder_holder.h +++ b/engines/titanic/game/restaurant_cylinder_holder.h @@ -43,7 +43,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/restaurant_phonograph.cpp b/engines/titanic/game/restaurant_phonograph.cpp index c73bd51d34..83a4ac3e71 100644 --- a/engines/titanic/game/restaurant_phonograph.cpp +++ b/engines/titanic/game/restaurant_phonograph.cpp @@ -27,7 +27,7 @@ namespace Titanic { CRestaurantPhonograph::CRestaurantPhonograph() : CPhonograph(), _fieldF8(1), _field114(0) {} -void CRestaurantPhonograph::save(SimpleFile *file, int indent) const { +void CRestaurantPhonograph::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldF8, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/game/restaurant_phonograph.h b/engines/titanic/game/restaurant_phonograph.h index 40116f5d07..62434977be 100644 --- a/engines/titanic/game/restaurant_phonograph.h +++ b/engines/titanic/game/restaurant_phonograph.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sauce_dispensor.cpp b/engines/titanic/game/sauce_dispensor.cpp index 6365f6e57b..8dc818d917 100644 --- a/engines/titanic/game/sauce_dispensor.cpp +++ b/engines/titanic/game/sauce_dispensor.cpp @@ -28,7 +28,7 @@ CSauceDispensor::CSauceDispensor() : CBackground(), _fieldEC(0), _fieldF0(0), _field104(0), _field108(0) { } -void CSauceDispensor::save(SimpleFile *file, int indent) const { +void CSauceDispensor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string3, indent); file->writeNumberLine(_fieldEC, indent); diff --git a/engines/titanic/game/sauce_dispensor.h b/engines/titanic/game/sauce_dispensor.h index 8a5cc96eca..f87420b489 100644 --- a/engines/titanic/game/sauce_dispensor.h +++ b/engines/titanic/game/sauce_dispensor.h @@ -43,7 +43,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/search_point.cpp b/engines/titanic/game/search_point.cpp index c235e4765a..f60a3132b7 100644 --- a/engines/titanic/game/search_point.cpp +++ b/engines/titanic/game/search_point.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSearchPoint::save(SimpleFile *file, int indent) const { +void CSearchPoint::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/search_point.h b/engines/titanic/game/search_point.h index 7bd05d8d1e..057bb4d2aa 100644 --- a/engines/titanic/game/search_point.h +++ b/engines/titanic/game/search_point.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/season_background.cpp b/engines/titanic/game/season_background.cpp index a4de590ecd..1c63f3d892 100644 --- a/engines/titanic/game/season_background.cpp +++ b/engines/titanic/game/season_background.cpp @@ -28,7 +28,7 @@ CSeasonBackground::CSeasonBackground() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldE8(46), _fieldEC(0) { } -void CSeasonBackground::save(SimpleFile *file, int indent) const { +void CSeasonBackground::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/season_background.h b/engines/titanic/game/season_background.h index 709f1002c3..c89e6a6ba4 100644 --- a/engines/titanic/game/season_background.h +++ b/engines/titanic/game/season_background.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/season_barrel.cpp b/engines/titanic/game/season_barrel.cpp index 8aa7b22033..9594396885 100644 --- a/engines/titanic/game/season_barrel.cpp +++ b/engines/titanic/game/season_barrel.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSeasonBarrel::save(SimpleFile *file, int indent) const { +void CSeasonBarrel::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/season_barrel.h b/engines/titanic/game/season_barrel.h index d3f7b1a91e..145dfa02b2 100644 --- a/engines/titanic/game/season_barrel.h +++ b/engines/titanic/game/season_barrel.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/seasonal_adjustment.cpp b/engines/titanic/game/seasonal_adjustment.cpp index c0c7b2f1b4..33a0ae89c5 100644 --- a/engines/titanic/game/seasonal_adjustment.cpp +++ b/engines/titanic/game/seasonal_adjustment.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSeasonalAdjustment::save(SimpleFile *file, int indent) const { +void CSeasonalAdjustment::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/seasonal_adjustment.h b/engines/titanic/game/seasonal_adjustment.h index 4bfec1a47a..4f251ad764 100644 --- a/engines/titanic/game/seasonal_adjustment.h +++ b/engines/titanic/game/seasonal_adjustment.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/service_elevator_window.cpp b/engines/titanic/game/service_elevator_window.cpp index 1371fb7c48..95b2735b37 100644 --- a/engines/titanic/game/service_elevator_window.cpp +++ b/engines/titanic/game/service_elevator_window.cpp @@ -28,7 +28,7 @@ CServiceElevatorWindow::CServiceElevatorWindow() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldE8(0), _fieldEC(0) { } -void CServiceElevatorWindow::save(SimpleFile *file, int indent) const { +void CServiceElevatorWindow::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/service_elevator_window.h b/engines/titanic/game/service_elevator_window.h index 70c38753b2..08150238cc 100644 --- a/engines/titanic/game/service_elevator_window.h +++ b/engines/titanic/game/service_elevator_window.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/armchair.cpp b/engines/titanic/game/sgt/armchair.cpp index 3491452a8d..4c4ef44199 100644 --- a/engines/titanic/game/sgt/armchair.cpp +++ b/engines/titanic/game/sgt/armchair.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CArmchair::save(SimpleFile *file, int indent) const { +void CArmchair::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/armchair.h b/engines/titanic/game/sgt/armchair.h index 1ce6955c58..5dfd94d095 100644 --- a/engines/titanic/game/sgt/armchair.h +++ b/engines/titanic/game/sgt/armchair.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/basin.cpp b/engines/titanic/game/sgt/basin.cpp index 75c53bce72..1eb1d161c9 100644 --- a/engines/titanic/game/sgt/basin.cpp +++ b/engines/titanic/game/sgt/basin.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBasin::save(SimpleFile *file, int indent) const { +void CBasin::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/basin.h b/engines/titanic/game/sgt/basin.h index cc9739fd1d..950bdb8241 100644 --- a/engines/titanic/game/sgt/basin.h +++ b/engines/titanic/game/sgt/basin.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/bedfoot.cpp b/engines/titanic/game/sgt/bedfoot.cpp index b039f8a9d8..18ea07aca0 100644 --- a/engines/titanic/game/sgt/bedfoot.cpp +++ b/engines/titanic/game/sgt/bedfoot.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBedfoot::save(SimpleFile *file, int indent) const { +void CBedfoot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/bedfoot.h b/engines/titanic/game/sgt/bedfoot.h index 55be4fdadd..db1e1dd031 100644 --- a/engines/titanic/game/sgt/bedfoot.h +++ b/engines/titanic/game/sgt/bedfoot.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/bedhead.cpp b/engines/titanic/game/sgt/bedhead.cpp index 758c1ffe37..fad7272f3a 100644 --- a/engines/titanic/game/sgt/bedhead.cpp +++ b/engines/titanic/game/sgt/bedhead.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBedhead::save(SimpleFile *file, int indent) const { +void CBedhead::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/bedhead.h b/engines/titanic/game/sgt/bedhead.h index 317b7eb2a3..b938dcd795 100644 --- a/engines/titanic/game/sgt/bedhead.h +++ b/engines/titanic/game/sgt/bedhead.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/chest_of_drawers.cpp b/engines/titanic/game/sgt/chest_of_drawers.cpp index 5ec98e8d5a..be62e12c8e 100644 --- a/engines/titanic/game/sgt/chest_of_drawers.cpp +++ b/engines/titanic/game/sgt/chest_of_drawers.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CChestOfDrawers::save(SimpleFile *file, int indent) const { +void CChestOfDrawers::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/chest_of_drawers.h b/engines/titanic/game/sgt/chest_of_drawers.h index e0bdd7579e..5b72f3eef3 100644 --- a/engines/titanic/game/sgt/chest_of_drawers.h +++ b/engines/titanic/game/sgt/chest_of_drawers.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/desk.cpp b/engines/titanic/game/sgt/desk.cpp index ea00c24f46..4dd0fdab92 100644 --- a/engines/titanic/game/sgt/desk.cpp +++ b/engines/titanic/game/sgt/desk.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CDesk::save(SimpleFile *file, int indent) const { +void CDesk::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/desk.h b/engines/titanic/game/sgt/desk.h index 7fbb65ad5e..d35417c599 100644 --- a/engines/titanic/game/sgt/desk.h +++ b/engines/titanic/game/sgt/desk.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/deskchair.cpp b/engines/titanic/game/sgt/deskchair.cpp index 337b55a5d1..a4a2badeb0 100644 --- a/engines/titanic/game/sgt/deskchair.cpp +++ b/engines/titanic/game/sgt/deskchair.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CDeskchair::save(SimpleFile *file, int indent) const { +void CDeskchair::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/deskchair.h b/engines/titanic/game/sgt/deskchair.h index 205209c22c..38e4d6de5d 100644 --- a/engines/titanic/game/sgt/deskchair.h +++ b/engines/titanic/game/sgt/deskchair.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/drawer.cpp b/engines/titanic/game/sgt/drawer.cpp index 1d7fad275b..03aa1b5358 100644 --- a/engines/titanic/game/sgt/drawer.cpp +++ b/engines/titanic/game/sgt/drawer.cpp @@ -27,7 +27,7 @@ namespace Titanic { CDrawer::CDrawer() : CSGTStateRoom(), _fieldF4(0) { } -void CDrawer::save(SimpleFile *file, int indent) const { +void CDrawer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldF4, indent); CSGTStateRoom::save(file, indent); diff --git a/engines/titanic/game/sgt/drawer.h b/engines/titanic/game/sgt/drawer.h index 8436e5ccb7..4f68b1b5ad 100644 --- a/engines/titanic/game/sgt/drawer.h +++ b/engines/titanic/game/sgt/drawer.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/sgt_doors.cpp b/engines/titanic/game/sgt/sgt_doors.cpp index 587a961ac1..516b0f1351 100644 --- a/engines/titanic/game/sgt/sgt_doors.cpp +++ b/engines/titanic/game/sgt/sgt_doors.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSGTDoors::save(SimpleFile *file, int indent) const { +void CSGTDoors::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/game/sgt/sgt_doors.h b/engines/titanic/game/sgt/sgt_doors.h index 9828708377..11825c069b 100644 --- a/engines/titanic/game/sgt/sgt_doors.h +++ b/engines/titanic/game/sgt/sgt_doors.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/sgt_nav.cpp b/engines/titanic/game/sgt/sgt_nav.cpp index e40d34d446..f98e486fd0 100644 --- a/engines/titanic/game/sgt/sgt_nav.cpp +++ b/engines/titanic/game/sgt/sgt_nav.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void SGTNav::save(SimpleFile *file, int indent) const { +void SGTNav::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/sgt_nav.h b/engines/titanic/game/sgt/sgt_nav.h index 7d7f57f851..39b267fc9c 100644 --- a/engines/titanic/game/sgt/sgt_nav.h +++ b/engines/titanic/game/sgt/sgt_nav.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/sgt_navigation.cpp b/engines/titanic/game/sgt/sgt_navigation.cpp index 666459bbf1..d0c308457c 100644 --- a/engines/titanic/game/sgt/sgt_navigation.cpp +++ b/engines/titanic/game/sgt/sgt_navigation.cpp @@ -34,7 +34,7 @@ void CSGTNavigation::deinit() { delete _statics; } -void CSGTNavigation::save(SimpleFile *file, int indent) const { +void CSGTNavigation::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_statics->_v1, indent); file->writeQuotedLine(_statics->_v2, indent); diff --git a/engines/titanic/game/sgt/sgt_navigation.h b/engines/titanic/game/sgt/sgt_navigation.h index 083efa8cfa..ac8c475cce 100644 --- a/engines/titanic/game/sgt/sgt_navigation.h +++ b/engines/titanic/game/sgt/sgt_navigation.h @@ -44,7 +44,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/sgt_restaurant_doors.cpp b/engines/titanic/game/sgt/sgt_restaurant_doors.cpp index 1e4a167357..74a71e75b2 100644 --- a/engines/titanic/game/sgt/sgt_restaurant_doors.cpp +++ b/engines/titanic/game/sgt/sgt_restaurant_doors.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSGTRestaurantDoors::save(SimpleFile *file, int indent) const { +void CSGTRestaurantDoors::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/sgt/sgt_restaurant_doors.h b/engines/titanic/game/sgt/sgt_restaurant_doors.h index 14677ea5f9..e740db6246 100644 --- a/engines/titanic/game/sgt/sgt_restaurant_doors.h +++ b/engines/titanic/game/sgt/sgt_restaurant_doors.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/sgt_state_control.cpp b/engines/titanic/game/sgt/sgt_state_control.cpp index 113bd0dd2a..07c1f5efc0 100644 --- a/engines/titanic/game/sgt/sgt_state_control.cpp +++ b/engines/titanic/game/sgt/sgt_state_control.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSGTStateControl::save(SimpleFile *file, int indent) const { +void CSGTStateControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); CBackground::save(file, indent); diff --git a/engines/titanic/game/sgt/sgt_state_control.h b/engines/titanic/game/sgt/sgt_state_control.h index 05d8fde7d1..af51274355 100644 --- a/engines/titanic/game/sgt/sgt_state_control.h +++ b/engines/titanic/game/sgt/sgt_state_control.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/sgt_state_room.cpp b/engines/titanic/game/sgt/sgt_state_room.cpp index 1a68131589..55f08de8b4 100644 --- a/engines/titanic/game/sgt/sgt_state_room.cpp +++ b/engines/titanic/game/sgt/sgt_state_room.cpp @@ -42,7 +42,7 @@ CSGTStateRoom::CSGTStateRoom() : CBackground(), _fieldE0(1), _fieldE4(1), _fieldE8(0), _fieldEC(1), _fieldF0(1) { } -void CSGTStateRoom::save(SimpleFile *file, int indent) const { +void CSGTStateRoom::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_statics->_v1, indent); file->writeQuotedLine(_statics->_v2, indent); diff --git a/engines/titanic/game/sgt/sgt_state_room.h b/engines/titanic/game/sgt/sgt_state_room.h index 7b2b5a81f0..1809ec8ee2 100644 --- a/engines/titanic/game/sgt/sgt_state_room.h +++ b/engines/titanic/game/sgt/sgt_state_room.h @@ -65,7 +65,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/sgt_tv.cpp b/engines/titanic/game/sgt/sgt_tv.cpp index 316545860e..ae4c59e2f9 100644 --- a/engines/titanic/game/sgt/sgt_tv.cpp +++ b/engines/titanic/game/sgt/sgt_tv.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSGTTV::save(SimpleFile *file, int indent) const { +void CSGTTV::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/sgt_tv.h b/engines/titanic/game/sgt/sgt_tv.h index 347d2c74ab..e97f97427a 100644 --- a/engines/titanic/game/sgt/sgt_tv.h +++ b/engines/titanic/game/sgt/sgt_tv.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/sgt_upper_doors_sound.cpp b/engines/titanic/game/sgt/sgt_upper_doors_sound.cpp index 83a500e022..ed37b0a5c7 100644 --- a/engines/titanic/game/sgt/sgt_upper_doors_sound.cpp +++ b/engines/titanic/game/sgt/sgt_upper_doors_sound.cpp @@ -28,7 +28,7 @@ CSGTUpperDoorsSound::CSGTUpperDoorsSound() { _string2 = "b#53.wav"; } -void CSGTUpperDoorsSound::save(SimpleFile *file, int indent) const { +void CSGTUpperDoorsSound::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/game/sgt/sgt_upper_doors_sound.h b/engines/titanic/game/sgt/sgt_upper_doors_sound.h index cd62aa5cf6..3289b88f43 100644 --- a/engines/titanic/game/sgt/sgt_upper_doors_sound.h +++ b/engines/titanic/game/sgt/sgt_upper_doors_sound.h @@ -35,7 +35,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/toilet.cpp b/engines/titanic/game/sgt/toilet.cpp index ed4ac52412..799abd6c76 100644 --- a/engines/titanic/game/sgt/toilet.cpp +++ b/engines/titanic/game/sgt/toilet.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CToilet::save(SimpleFile *file, int indent) const { +void CToilet::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/toilet.h b/engines/titanic/game/sgt/toilet.h index 08926516ee..d0d2851367 100644 --- a/engines/titanic/game/sgt/toilet.h +++ b/engines/titanic/game/sgt/toilet.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/vase.cpp b/engines/titanic/game/sgt/vase.cpp index 04c5165795..3e04b5db9e 100644 --- a/engines/titanic/game/sgt/vase.cpp +++ b/engines/titanic/game/sgt/vase.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CVase::save(SimpleFile *file, int indent) const { +void CVase::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/vase.h b/engines/titanic/game/sgt/vase.h index 1b2a89f17b..ec3662b9ee 100644 --- a/engines/titanic/game/sgt/vase.h +++ b/engines/titanic/game/sgt/vase.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sgt/washstand.cpp b/engines/titanic/game/sgt/washstand.cpp index f361b14e1d..8127a59a59 100644 --- a/engines/titanic/game/sgt/washstand.cpp +++ b/engines/titanic/game/sgt/washstand.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CWashstand::save(SimpleFile *file, int indent) const { +void CWashstand::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSGTStateRoom::save(file, indent); } diff --git a/engines/titanic/game/sgt/washstand.h b/engines/titanic/game/sgt/washstand.h index 975a4d57c9..ea7636c485 100644 --- a/engines/titanic/game/sgt/washstand.h +++ b/engines/titanic/game/sgt/washstand.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/ship_setting.cpp b/engines/titanic/game/ship_setting.cpp index 037a199816..462f396501 100644 --- a/engines/titanic/game/ship_setting.cpp +++ b/engines/titanic/game/ship_setting.cpp @@ -28,7 +28,7 @@ CShipSetting::CShipSetting() : CBackground(), _string4("NULL"), _string5("NULL") { } -void CShipSetting::save(SimpleFile *file, int indent) const { +void CShipSetting::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string3, indent); file->writePoint(_pos1, indent); diff --git a/engines/titanic/game/ship_setting.h b/engines/titanic/game/ship_setting.h index acc06d171f..e0a52dd4c7 100644 --- a/engines/titanic/game/ship_setting.h +++ b/engines/titanic/game/ship_setting.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/ship_setting_button.cpp b/engines/titanic/game/ship_setting_button.cpp index 95507f3c90..7dc2cabac0 100644 --- a/engines/titanic/game/ship_setting_button.cpp +++ b/engines/titanic/game/ship_setting_button.cpp @@ -27,7 +27,7 @@ namespace Titanic { CShipSettingButton::CShipSettingButton() : CGameObject(), _fieldC8(0), _fieldCC(0) { } -void CShipSettingButton::save(SimpleFile *file, int indent) const { +void CShipSettingButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeNumberLine(_fieldC8, indent); diff --git a/engines/titanic/game/ship_setting_button.h b/engines/titanic/game/ship_setting_button.h index e6a6822854..e5a889bcc3 100644 --- a/engines/titanic/game/ship_setting_button.h +++ b/engines/titanic/game/ship_setting_button.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/show_cell_points.cpp b/engines/titanic/game/show_cell_points.cpp index e23d588b76..7d54401a02 100644 --- a/engines/titanic/game/show_cell_points.cpp +++ b/engines/titanic/game/show_cell_points.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CShowCellpoints::save(SimpleFile *file, int indent) const { +void CShowCellpoints::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_strValue, indent); file->writeNumberLine(_numValue, indent); diff --git a/engines/titanic/game/show_cell_points.h b/engines/titanic/game/show_cell_points.h index a3d7ba2e5a..83592210e5 100644 --- a/engines/titanic/game/show_cell_points.h +++ b/engines/titanic/game/show_cell_points.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/speech_dispensor.cpp b/engines/titanic/game/speech_dispensor.cpp index 72873391db..f9cc019672 100644 --- a/engines/titanic/game/speech_dispensor.cpp +++ b/engines/titanic/game/speech_dispensor.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSpeechDispensor::save(SimpleFile *file, int indent) const { +void CSpeechDispensor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/speech_dispensor.h b/engines/titanic/game/speech_dispensor.h index 440746e5c2..6302ca3d88 100644 --- a/engines/titanic/game/speech_dispensor.h +++ b/engines/titanic/game/speech_dispensor.h @@ -43,7 +43,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/splash_animation.cpp b/engines/titanic/game/splash_animation.cpp index 3d35929e2d..cfaf697d25 100644 --- a/engines/titanic/game/splash_animation.cpp +++ b/engines/titanic/game/splash_animation.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CSplashAnimation, CGameObject) -void CSplashAnimation::save(SimpleFile *file, int indent) const { +void CSplashAnimation::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/splash_animation.h b/engines/titanic/game/splash_animation.h index 9b6322e175..4b70b38f10 100644 --- a/engines/titanic/game/splash_animation.h +++ b/engines/titanic/game/splash_animation.h @@ -35,7 +35,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/starling_puret.cpp b/engines/titanic/game/starling_puret.cpp index 1fa0dc82ea..359ad774df 100644 --- a/engines/titanic/game/starling_puret.cpp +++ b/engines/titanic/game/starling_puret.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CStarlingPuret::save(SimpleFile *file, int indent) const { +void CStarlingPuret::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/starling_puret.h b/engines/titanic/game/starling_puret.h index 7299c68449..36cd23e54d 100644 --- a/engines/titanic/game/starling_puret.h +++ b/engines/titanic/game/starling_puret.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/start_action.cpp b/engines/titanic/game/start_action.cpp index e41b7df4bf..ab356ea1f4 100644 --- a/engines/titanic/game/start_action.cpp +++ b/engines/titanic/game/start_action.cpp @@ -33,7 +33,7 @@ END_MESSAGE_MAP() CStartAction::CStartAction() : CBackground() { } -void CStartAction::save(SimpleFile *file, int indent) const { +void CStartAction::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_msgTarget, indent); file->writeQuotedLine(_msgAction, indent); diff --git a/engines/titanic/game/start_action.h b/engines/titanic/game/start_action.h index de3c488c14..6b6860e265 100644 --- a/engines/titanic/game/start_action.h +++ b/engines/titanic/game/start_action.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/stop_phonograph_button.cpp b/engines/titanic/game/stop_phonograph_button.cpp index 7c4367a9c7..d18f4713ac 100644 --- a/engines/titanic/game/stop_phonograph_button.cpp +++ b/engines/titanic/game/stop_phonograph_button.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CStopPhonographButton::save(SimpleFile *file, int indent) const { +void CStopPhonographButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBackground::save(file, indent); } diff --git a/engines/titanic/game/stop_phonograph_button.h b/engines/titanic/game/stop_phonograph_button.h index b1accfe1e1..1109f81475 100644 --- a/engines/titanic/game/stop_phonograph_button.h +++ b/engines/titanic/game/stop_phonograph_button.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sub_glass.cpp b/engines/titanic/game/sub_glass.cpp index b16199deed..f1349f06ea 100644 --- a/engines/titanic/game/sub_glass.cpp +++ b/engines/titanic/game/sub_glass.cpp @@ -27,7 +27,7 @@ namespace Titanic { CSUBGlass::CSUBGlass() : _fieldBC(0), _fieldC0(0), _fieldC4(1), _fieldC8(0) { } -void CSUBGlass::save(SimpleFile *file, int indent) const { +void CSUBGlass::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/game/sub_glass.h b/engines/titanic/game/sub_glass.h index b7ba51379e..1aa73d21ff 100644 --- a/engines/titanic/game/sub_glass.h +++ b/engines/titanic/game/sub_glass.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sub_wrapper.cpp b/engines/titanic/game/sub_wrapper.cpp index be6b3e275f..dcc489316b 100644 --- a/engines/titanic/game/sub_wrapper.cpp +++ b/engines/titanic/game/sub_wrapper.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSUBWrapper::save(SimpleFile *file, int indent) const { +void CSUBWrapper::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/game/sub_wrapper.h b/engines/titanic/game/sub_wrapper.h index 6b724f8000..d2fc914a08 100644 --- a/engines/titanic/game/sub_wrapper.h +++ b/engines/titanic/game/sub_wrapper.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/sweet_bowl.cpp b/engines/titanic/game/sweet_bowl.cpp index f6bbb2c89c..e14f900e77 100644 --- a/engines/titanic/game/sweet_bowl.cpp +++ b/engines/titanic/game/sweet_bowl.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSweetBowl::save(SimpleFile *file, int indent) const { +void CSweetBowl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/sweet_bowl.h b/engines/titanic/game/sweet_bowl.h index fa607bb67b..5beb9605f0 100644 --- a/engines/titanic/game/sweet_bowl.h +++ b/engines/titanic/game/sweet_bowl.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/television.cpp b/engines/titanic/game/television.cpp index 57b2b7f453..f5a7e5f63a 100644 --- a/engines/titanic/game/television.cpp +++ b/engines/titanic/game/television.cpp @@ -66,7 +66,7 @@ void CTelevision::init() { void CTelevision::deinit() { } -void CTelevision::save(SimpleFile *file, int indent) const { +void CTelevision::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_v1, indent); diff --git a/engines/titanic/game/television.h b/engines/titanic/game/television.h index 64202c7917..27dd3d65a8 100644 --- a/engines/titanic/game/television.h +++ b/engines/titanic/game/television.h @@ -66,7 +66,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/third_class_canal.cpp b/engines/titanic/game/third_class_canal.cpp index a25d5f20ef..6b0a101f7b 100644 --- a/engines/titanic/game/third_class_canal.cpp +++ b/engines/titanic/game/third_class_canal.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CThirdClassCanal::save(SimpleFile *file, int indent) const { +void CThirdClassCanal::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBackground::save(file, indent); } diff --git a/engines/titanic/game/third_class_canal.h b/engines/titanic/game/third_class_canal.h index 7a2c3d4f77..1cc53948d3 100644 --- a/engines/titanic/game/third_class_canal.h +++ b/engines/titanic/game/third_class_canal.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/throw_tv_down_well.cpp b/engines/titanic/game/throw_tv_down_well.cpp index d77d7760c5..c8a9fc7c9e 100644 --- a/engines/titanic/game/throw_tv_down_well.cpp +++ b/engines/titanic/game/throw_tv_down_well.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CThrowTVDownWell::save(SimpleFile *file, int indent) const { +void CThrowTVDownWell::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_strValue, indent); file->writeNumberLine(_numValue, indent); diff --git a/engines/titanic/game/throw_tv_down_well.h b/engines/titanic/game/throw_tv_down_well.h index dee145014b..ce10264230 100644 --- a/engines/titanic/game/throw_tv_down_well.h +++ b/engines/titanic/game/throw_tv_down_well.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/titania_still_control.cpp b/engines/titanic/game/titania_still_control.cpp index 96c003defe..67866ecdcb 100644 --- a/engines/titanic/game/titania_still_control.cpp +++ b/engines/titanic/game/titania_still_control.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CTitaniaStillControl::save(SimpleFile *file, int indent) const { +void CTitaniaStillControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/titania_still_control.h b/engines/titanic/game/titania_still_control.h index a0f739db01..dbff0c73bb 100644 --- a/engines/titanic/game/titania_still_control.h +++ b/engines/titanic/game/titania_still_control.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/tow_parrot_nav.cpp b/engines/titanic/game/tow_parrot_nav.cpp index d476681ad4..9361808870 100644 --- a/engines/titanic/game/tow_parrot_nav.cpp +++ b/engines/titanic/game/tow_parrot_nav.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CTOWParrotNav::save(SimpleFile *file, int indent) const { +void CTOWParrotNav::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/game/tow_parrot_nav.h b/engines/titanic/game/tow_parrot_nav.h index 420c29bfab..651b8bea56 100644 --- a/engines/titanic/game/tow_parrot_nav.h +++ b/engines/titanic/game/tow_parrot_nav.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/transport/exit_pellerator.h b/engines/titanic/game/transport/exit_pellerator.h index e72cbb4b9d..e55a8fbf04 100644 --- a/engines/titanic/game/transport/exit_pellerator.h +++ b/engines/titanic/game/transport/exit_pellerator.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/transport/gondolier.cpp b/engines/titanic/game/transport/gondolier.cpp index f67a3b68d9..f731e45bde 100644 --- a/engines/titanic/game/transport/gondolier.cpp +++ b/engines/titanic/game/transport/gondolier.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CGondolier::save(SimpleFile *file, int indent) const { +void CGondolier::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CTransport::save(file, indent); } diff --git a/engines/titanic/game/transport/gondolier.h b/engines/titanic/game/transport/gondolier.h index bdfb3e7156..4f4c57081b 100644 --- a/engines/titanic/game/transport/gondolier.h +++ b/engines/titanic/game/transport/gondolier.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/transport/lift.cpp b/engines/titanic/game/transport/lift.cpp index e978762528..72f832bf76 100644 --- a/engines/titanic/game/transport/lift.cpp +++ b/engines/titanic/game/transport/lift.cpp @@ -35,7 +35,7 @@ int CLift::_v4; int CLift::_v5; int CLift::_v6; -void CLift::save(SimpleFile *file, int indent) const { +void CLift::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/game/transport/lift.h b/engines/titanic/game/transport/lift.h index 161061c042..4b39d34008 100644 --- a/engines/titanic/game/transport/lift.h +++ b/engines/titanic/game/transport/lift.h @@ -47,7 +47,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/transport/lift_indicator.cpp b/engines/titanic/game/transport/lift_indicator.cpp index eb7f6bfa1c..582de8ad3b 100644 --- a/engines/titanic/game/transport/lift_indicator.cpp +++ b/engines/titanic/game/transport/lift_indicator.cpp @@ -32,7 +32,7 @@ CLiftindicator::CLiftindicator() : CLift(), _fieldFC(0), _field108(0), _field10C(0) { } -void CLiftindicator::save(SimpleFile *file, int indent) const { +void CLiftindicator::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldFC, indent); file->writePoint(_pos2, indent); diff --git a/engines/titanic/game/transport/lift_indicator.h b/engines/titanic/game/transport/lift_indicator.h index c73d1f46d4..2b08da5975 100644 --- a/engines/titanic/game/transport/lift_indicator.h +++ b/engines/titanic/game/transport/lift_indicator.h @@ -43,7 +43,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/transport/pellerator.cpp b/engines/titanic/game/transport/pellerator.cpp index ed82aa9c3d..e789c20a3d 100644 --- a/engines/titanic/game/transport/pellerator.cpp +++ b/engines/titanic/game/transport/pellerator.cpp @@ -31,7 +31,7 @@ END_MESSAGE_MAP() int CPellerator::_v1; int CPellerator::_v2; -void CPellerator::save(SimpleFile *file, int indent) const { +void CPellerator::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/game/transport/pellerator.h b/engines/titanic/game/transport/pellerator.h index 0539b5ceac..ac1486de3a 100644 --- a/engines/titanic/game/transport/pellerator.h +++ b/engines/titanic/game/transport/pellerator.h @@ -40,7 +40,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/transport/service_elevator.cpp b/engines/titanic/game/transport/service_elevator.cpp index ba68bc8c2b..1ea8d14e36 100644 --- a/engines/titanic/game/transport/service_elevator.cpp +++ b/engines/titanic/game/transport/service_elevator.cpp @@ -32,7 +32,7 @@ CServiceElevator::CServiceElevator() : CTransport(), _fieldF8(0), _fieldFC(0), _field100(0), _field104(0) { } -void CServiceElevator::save(SimpleFile *file, int indent) const { +void CServiceElevator::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/game/transport/service_elevator.h b/engines/titanic/game/transport/service_elevator.h index 9edc1f9100..472f4580ad 100644 --- a/engines/titanic/game/transport/service_elevator.h +++ b/engines/titanic/game/transport/service_elevator.h @@ -44,7 +44,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/transport/transport.cpp b/engines/titanic/game/transport/transport.cpp index e00375975b..f9598c7b7b 100644 --- a/engines/titanic/game/transport/transport.cpp +++ b/engines/titanic/game/transport/transport.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CTransport, CMobile) CTransport::CTransport() : CMobile(), _string1("*.*.*") { } -void CTransport::save(SimpleFile *file, int indent) const { +void CTransport::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/game/transport/transport.h b/engines/titanic/game/transport/transport.h index b7540add0e..66906888a0 100644 --- a/engines/titanic/game/transport/transport.h +++ b/engines/titanic/game/transport/transport.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/up_lighter.cpp b/engines/titanic/game/up_lighter.cpp index 50cd1d426f..f03b8f37a0 100644 --- a/engines/titanic/game/up_lighter.cpp +++ b/engines/titanic/game/up_lighter.cpp @@ -28,7 +28,7 @@ CUpLighter::CUpLighter() : CDropTarget(), _field118(0), _field11C(0), _field120(0), _field124(0) { } -void CUpLighter::save(SimpleFile *file, int indent) const { +void CUpLighter::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field118, indent); file->writeNumberLine(_field11C, indent); diff --git a/engines/titanic/game/up_lighter.h b/engines/titanic/game/up_lighter.h index a3f8b2a7f2..be76f576de 100644 --- a/engines/titanic/game/up_lighter.h +++ b/engines/titanic/game/up_lighter.h @@ -42,7 +42,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/useless_lever.cpp b/engines/titanic/game/useless_lever.cpp index afc025b58f..e48ad55a71 100644 --- a/engines/titanic/game/useless_lever.cpp +++ b/engines/titanic/game/useless_lever.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CUselessLever::save(SimpleFile *file, int indent) const { +void CUselessLever::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleButton::save(file, indent); } diff --git a/engines/titanic/game/useless_lever.h b/engines/titanic/game/useless_lever.h index f582bdee63..d6c54802f9 100644 --- a/engines/titanic/game/useless_lever.h +++ b/engines/titanic/game/useless_lever.h @@ -34,7 +34,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/volume_control.cpp b/engines/titanic/game/volume_control.cpp index e9b66c769e..c6b0e414ae 100644 --- a/engines/titanic/game/volume_control.cpp +++ b/engines/titanic/game/volume_control.cpp @@ -27,7 +27,7 @@ namespace Titanic { CVolumeControl::CVolumeControl() : CGameObject() { } -void CVolumeControl::save(SimpleFile *file, int indent) const { +void CVolumeControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/game/volume_control.h b/engines/titanic/game/volume_control.h index cef5ac492f..77e33463e4 100644 --- a/engines/titanic/game/volume_control.h +++ b/engines/titanic/game/volume_control.h @@ -41,7 +41,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/wheel_button.cpp b/engines/titanic/game/wheel_button.cpp index 0fad6848fd..19c42a8807 100644 --- a/engines/titanic/game/wheel_button.cpp +++ b/engines/titanic/game/wheel_button.cpp @@ -28,7 +28,7 @@ CWheelButton::CWheelButton() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldE8(0) { } -void CWheelButton::save(SimpleFile *file, int indent) const { +void CWheelButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/wheel_button.h b/engines/titanic/game/wheel_button.h index 75e1268585..78ea7085c2 100644 --- a/engines/titanic/game/wheel_button.h +++ b/engines/titanic/game/wheel_button.h @@ -39,7 +39,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/wheel_hotspot.cpp b/engines/titanic/game/wheel_hotspot.cpp index 8b05f45642..f9af594cd5 100644 --- a/engines/titanic/game/wheel_hotspot.cpp +++ b/engines/titanic/game/wheel_hotspot.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CWheelHotSpot::save(SimpleFile *file, int indent) const { +void CWheelHotSpot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/game/wheel_hotspot.h b/engines/titanic/game/wheel_hotspot.h index 7164b88b71..75b597c425 100644 --- a/engines/titanic/game/wheel_hotspot.h +++ b/engines/titanic/game/wheel_hotspot.h @@ -38,7 +38,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/wheel_spin.cpp b/engines/titanic/game/wheel_spin.cpp index 7f16a4c559..daa9918e29 100644 --- a/engines/titanic/game/wheel_spin.cpp +++ b/engines/titanic/game/wheel_spin.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CWheelSpin::save(SimpleFile *file, int indent) const { +void CWheelSpin::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CBackground::save(file, indent); diff --git a/engines/titanic/game/wheel_spin.h b/engines/titanic/game/wheel_spin.h index 2e21da4984..9e584a1e48 100644 --- a/engines/titanic/game/wheel_spin.h +++ b/engines/titanic/game/wheel_spin.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/game/wheel_spin_horn.cpp b/engines/titanic/game/wheel_spin_horn.cpp index 3bc705dddb..b01cc678df 100644 --- a/engines/titanic/game/wheel_spin_horn.cpp +++ b/engines/titanic/game/wheel_spin_horn.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CWheelSpinHorn::save(SimpleFile *file, int indent) const { +void CWheelSpinHorn::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/game/wheel_spin_horn.h b/engines/titanic/game/wheel_spin_horn.h index e4c0bd738c..ac4021f3a7 100644 --- a/engines/titanic/game/wheel_spin_horn.h +++ b/engines/titanic/game/wheel_spin_horn.h @@ -37,7 +37,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file -- cgit v1.2.3