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/carry/arm.cpp | 2 +- engines/titanic/carry/arm.h | 2 +- engines/titanic/carry/auditory_centre.cpp | 2 +- engines/titanic/carry/auditory_centre.h | 2 +- engines/titanic/carry/bowl_ear.cpp | 2 +- engines/titanic/carry/bowl_ear.h | 2 +- engines/titanic/carry/brain.cpp | 2 +- engines/titanic/carry/brain.h | 2 +- engines/titanic/carry/bridge_piece.cpp | 2 +- engines/titanic/carry/bridge_piece.h | 2 +- engines/titanic/carry/carry.cpp | 2 +- engines/titanic/carry/carry.h | 2 +- engines/titanic/carry/carry_parrot.cpp | 2 +- engines/titanic/carry/carry_parrot.h | 2 +- engines/titanic/carry/central_core.cpp | 2 +- engines/titanic/carry/central_core.h | 2 +- engines/titanic/carry/chicken.cpp | 2 +- engines/titanic/carry/chicken.h | 2 +- engines/titanic/carry/crushed_tv.cpp | 2 +- engines/titanic/carry/crushed_tv.h | 2 +- engines/titanic/carry/ear.cpp | 2 +- engines/titanic/carry/ear.h | 2 +- engines/titanic/carry/eye.cpp | 2 +- engines/titanic/carry/eye.h | 2 +- engines/titanic/carry/feathers.cpp | 2 +- engines/titanic/carry/feathers.h | 2 +- engines/titanic/carry/fruit.cpp | 2 +- engines/titanic/carry/fruit.h | 2 +- engines/titanic/carry/glass.cpp | 2 +- engines/titanic/carry/glass.h | 2 +- engines/titanic/carry/hammer.cpp | 2 +- engines/titanic/carry/hammer.h | 2 +- engines/titanic/carry/head_piece.cpp | 2 +- engines/titanic/carry/head_piece.h | 2 +- engines/titanic/carry/hose.cpp | 2 +- engines/titanic/carry/hose.h | 2 +- engines/titanic/carry/hose_end.cpp | 2 +- engines/titanic/carry/hose_end.h | 2 +- engines/titanic/carry/key.cpp | 2 +- engines/titanic/carry/key.h | 2 +- engines/titanic/carry/liftbot_head.cpp | 2 +- engines/titanic/carry/liftbot_head.h | 2 +- engines/titanic/carry/long_stick.cpp | 2 +- engines/titanic/carry/long_stick.h | 2 +- engines/titanic/carry/magazine.cpp | 2 +- engines/titanic/carry/magazine.h | 2 +- engines/titanic/carry/maitred_left_arm.cpp | 2 +- engines/titanic/carry/maitred_left_arm.h | 2 +- engines/titanic/carry/maitred_right_arm.cpp | 2 +- engines/titanic/carry/maitred_right_arm.h | 2 +- engines/titanic/carry/mouth.cpp | 2 +- engines/titanic/carry/mouth.h | 2 +- engines/titanic/carry/napkin.cpp | 2 +- engines/titanic/carry/napkin.h | 2 +- engines/titanic/carry/nose.cpp | 2 +- engines/titanic/carry/nose.h | 2 +- engines/titanic/carry/note.cpp | 2 +- engines/titanic/carry/note.h | 2 +- engines/titanic/carry/parcel.cpp | 2 +- engines/titanic/carry/parcel.h | 2 +- engines/titanic/carry/perch.cpp | 2 +- engines/titanic/carry/perch.h | 2 +- engines/titanic/carry/phonograph_cylinder.cpp | 2 +- engines/titanic/carry/phonograph_cylinder.h | 2 +- engines/titanic/carry/phonograph_ear.cpp | 2 +- engines/titanic/carry/phonograph_ear.h | 2 +- engines/titanic/carry/photograph.cpp | 2 +- engines/titanic/carry/photograph.h | 2 +- engines/titanic/carry/plug_in.cpp | 2 +- engines/titanic/carry/plug_in.h | 2 +- engines/titanic/carry/speech_centre.cpp | 2 +- engines/titanic/carry/speech_centre.h | 2 +- engines/titanic/carry/sweets.cpp | 2 +- engines/titanic/carry/sweets.h | 2 +- engines/titanic/carry/test_carry.cpp | 2 +- engines/titanic/carry/test_carry.h | 2 +- engines/titanic/carry/vision_centre.cpp | 2 +- engines/titanic/carry/vision_centre.h | 2 +- engines/titanic/core/background.cpp | 2 +- engines/titanic/core/background.h | 2 +- engines/titanic/core/click_responder.cpp | 2 +- engines/titanic/core/click_responder.h | 2 +- engines/titanic/core/dont_save_file_item.cpp | 2 +- engines/titanic/core/dont_save_file_item.h | 2 +- engines/titanic/core/drop_target.cpp | 2 +- engines/titanic/core/drop_target.h | 2 +- engines/titanic/core/file_item.cpp | 2 +- engines/titanic/core/file_item.h | 2 +- engines/titanic/core/game_object.cpp | 2 +- engines/titanic/core/game_object.h | 2 +- engines/titanic/core/game_object_desc_item.cpp | 2 +- engines/titanic/core/game_object_desc_item.h | 2 +- engines/titanic/core/link_item.cpp | 2 +- engines/titanic/core/link_item.h | 2 +- engines/titanic/core/list.cpp | 2 +- engines/titanic/core/list.h | 8 ++++---- engines/titanic/core/mail_man.cpp | 2 +- engines/titanic/core/mail_man.h | 2 +- engines/titanic/core/message_target.cpp | 2 +- engines/titanic/core/message_target.h | 2 +- engines/titanic/core/multi_drop_target.cpp | 2 +- engines/titanic/core/multi_drop_target.h | 2 +- engines/titanic/core/named_item.cpp | 2 +- engines/titanic/core/named_item.h | 2 +- engines/titanic/core/node_item.cpp | 2 +- engines/titanic/core/node_item.h | 2 +- engines/titanic/core/project_item.cpp | 4 ++-- engines/titanic/core/project_item.h | 4 ++-- engines/titanic/core/resource_key.cpp | 2 +- engines/titanic/core/resource_key.h | 2 +- engines/titanic/core/room_item.cpp | 2 +- engines/titanic/core/room_item.h | 2 +- engines/titanic/core/saveable_object.cpp | 6 +++--- engines/titanic/core/saveable_object.h | 6 +++--- engines/titanic/core/static_image.cpp | 2 +- engines/titanic/core/static_image.h | 2 +- engines/titanic/core/tree_item.cpp | 2 +- engines/titanic/core/tree_item.h | 2 +- engines/titanic/core/turn_on_object.cpp | 2 +- engines/titanic/core/turn_on_object.h | 2 +- engines/titanic/core/turn_on_play_sound.cpp | 2 +- engines/titanic/core/turn_on_play_sound.h | 2 +- engines/titanic/core/turn_on_turn_off.cpp | 2 +- engines/titanic/core/turn_on_turn_off.h | 2 +- engines/titanic/core/view_item.cpp | 2 +- engines/titanic/core/view_item.h | 2 +- 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 +- engines/titanic/gfx/act_button.cpp | 2 +- engines/titanic/gfx/act_button.h | 2 +- engines/titanic/gfx/changes_season_button.cpp | 2 +- engines/titanic/gfx/changes_season_button.h | 2 +- engines/titanic/gfx/chev_left_off.cpp | 2 +- engines/titanic/gfx/chev_left_off.h | 2 +- engines/titanic/gfx/chev_left_on.cpp | 2 +- engines/titanic/gfx/chev_left_on.h | 2 +- engines/titanic/gfx/chev_right_off.cpp | 2 +- engines/titanic/gfx/chev_right_off.h | 2 +- engines/titanic/gfx/chev_right_on.cpp | 2 +- engines/titanic/gfx/chev_right_on.h | 2 +- engines/titanic/gfx/chev_send_rec_switch.cpp | 2 +- engines/titanic/gfx/chev_send_rec_switch.h | 2 +- engines/titanic/gfx/chev_switch.cpp | 2 +- engines/titanic/gfx/chev_switch.h | 2 +- engines/titanic/gfx/edit_control.cpp | 2 +- engines/titanic/gfx/edit_control.h | 2 +- engines/titanic/gfx/elevator_button.cpp | 2 +- engines/titanic/gfx/elevator_button.h | 2 +- engines/titanic/gfx/get_from_succ.cpp | 2 +- engines/titanic/gfx/get_from_succ.h | 2 +- engines/titanic/gfx/helmet_on_off.cpp | 2 +- engines/titanic/gfx/helmet_on_off.h | 2 +- engines/titanic/gfx/home_photo.cpp | 2 +- engines/titanic/gfx/home_photo.h | 2 +- engines/titanic/gfx/icon_nav_action.cpp | 2 +- engines/titanic/gfx/icon_nav_action.h | 2 +- engines/titanic/gfx/icon_nav_butt.cpp | 2 +- engines/titanic/gfx/icon_nav_butt.h | 2 +- engines/titanic/gfx/icon_nav_down.cpp | 2 +- engines/titanic/gfx/icon_nav_down.h | 2 +- engines/titanic/gfx/icon_nav_image.cpp | 2 +- engines/titanic/gfx/icon_nav_image.h | 2 +- engines/titanic/gfx/icon_nav_left.cpp | 2 +- engines/titanic/gfx/icon_nav_left.h | 2 +- engines/titanic/gfx/icon_nav_receive.cpp | 2 +- engines/titanic/gfx/icon_nav_receive.h | 2 +- engines/titanic/gfx/icon_nav_right.cpp | 2 +- engines/titanic/gfx/icon_nav_right.h | 2 +- engines/titanic/gfx/icon_nav_send.cpp | 2 +- engines/titanic/gfx/icon_nav_send.h | 2 +- engines/titanic/gfx/icon_nav_up.cpp | 2 +- engines/titanic/gfx/icon_nav_up.h | 2 +- engines/titanic/gfx/keybrd_butt.cpp | 2 +- engines/titanic/gfx/keybrd_butt.h | 2 +- engines/titanic/gfx/move_object_button.cpp | 2 +- engines/titanic/gfx/move_object_button.h | 2 +- engines/titanic/gfx/music_control.cpp | 2 +- engines/titanic/gfx/music_control.h | 2 +- engines/titanic/gfx/music_slider.cpp | 2 +- engines/titanic/gfx/music_slider.h | 2 +- engines/titanic/gfx/music_slider_pitch.h | 2 +- engines/titanic/gfx/music_slider_speed.h | 2 +- engines/titanic/gfx/music_switch.cpp | 2 +- engines/titanic/gfx/music_switch.h | 2 +- engines/titanic/gfx/music_switch_inversion.h | 2 +- engines/titanic/gfx/music_switch_reverse.h | 2 +- engines/titanic/gfx/music_voice_mute.h | 2 +- engines/titanic/gfx/send_to_succ.cpp | 2 +- engines/titanic/gfx/send_to_succ.h | 2 +- engines/titanic/gfx/sgt_selector.cpp | 2 +- engines/titanic/gfx/sgt_selector.h | 2 +- engines/titanic/gfx/slider_button.cpp | 2 +- engines/titanic/gfx/slider_button.h | 2 +- engines/titanic/gfx/small_chev_left_off.cpp | 2 +- engines/titanic/gfx/small_chev_left_off.h | 2 +- engines/titanic/gfx/small_chev_left_on.cpp | 2 +- engines/titanic/gfx/small_chev_left_on.h | 2 +- engines/titanic/gfx/small_chev_right_off.cpp | 2 +- engines/titanic/gfx/small_chev_right_off.h | 2 +- engines/titanic/gfx/small_chev_right_on.cpp | 2 +- engines/titanic/gfx/small_chev_right_on.h | 2 +- engines/titanic/gfx/st_button.cpp | 2 +- engines/titanic/gfx/st_button.h | 2 +- engines/titanic/gfx/status_change_button.cpp | 2 +- engines/titanic/gfx/status_change_button.h | 2 +- engines/titanic/gfx/text_down.cpp | 2 +- engines/titanic/gfx/text_down.h | 2 +- engines/titanic/gfx/text_skrew.cpp | 2 +- engines/titanic/gfx/text_skrew.h | 2 +- engines/titanic/gfx/text_up.cpp | 2 +- engines/titanic/gfx/text_up.h | 2 +- engines/titanic/gfx/toggle_button.cpp | 2 +- engines/titanic/gfx/toggle_button.h | 2 +- engines/titanic/gfx/toggle_switch.cpp | 2 +- engines/titanic/gfx/toggle_switch.h | 2 +- engines/titanic/messages/auto_sound_event.cpp | 2 +- engines/titanic/messages/auto_sound_event.h | 2 +- engines/titanic/messages/bilge_auto_sound_event.cpp | 2 +- engines/titanic/messages/bilge_auto_sound_event.h | 2 +- engines/titanic/messages/bilge_dispensor_event.cpp | 2 +- engines/titanic/messages/bilge_dispensor_event.h | 2 +- engines/titanic/messages/door_auto_sound_event.cpp | 2 +- engines/titanic/messages/door_auto_sound_event.h | 2 +- engines/titanic/messages/messages.cpp | 2 +- engines/titanic/messages/messages.h | 2 +- engines/titanic/messages/service_elevator_door.cpp | 2 +- engines/titanic/messages/service_elevator_door.h | 2 +- engines/titanic/moves/enter_bomb_room.cpp | 2 +- engines/titanic/moves/enter_bomb_room.h | 2 +- engines/titanic/moves/enter_bridge.cpp | 2 +- engines/titanic/moves/enter_bridge.h | 2 +- engines/titanic/moves/enter_exit_first_class_state.cpp | 2 +- engines/titanic/moves/enter_exit_first_class_state.h | 2 +- engines/titanic/moves/enter_exit_mini_lift.cpp | 2 +- engines/titanic/moves/enter_exit_mini_lift.h | 2 +- engines/titanic/moves/enter_exit_sec_class_mini_lift.cpp | 2 +- engines/titanic/moves/enter_exit_sec_class_mini_lift.h | 2 +- engines/titanic/moves/enter_exit_view.cpp | 2 +- engines/titanic/moves/enter_exit_view.h | 2 +- engines/titanic/moves/enter_sec_class_state.cpp | 2 +- engines/titanic/moves/enter_sec_class_state.h | 2 +- engines/titanic/moves/exit_arboretum.cpp | 2 +- engines/titanic/moves/exit_arboretum.h | 2 +- engines/titanic/moves/exit_bridge.cpp | 2 +- engines/titanic/moves/exit_bridge.h | 2 +- engines/titanic/moves/exit_lift.cpp | 2 +- engines/titanic/moves/exit_lift.h | 2 +- engines/titanic/moves/exit_pellerator.cpp | 2 +- engines/titanic/moves/exit_pellerator.h | 2 +- engines/titanic/moves/exit_state_room.cpp | 2 +- engines/titanic/moves/exit_state_room.h | 2 +- engines/titanic/moves/exit_tiania.cpp | 2 +- engines/titanic/moves/exit_tiania.h | 2 +- engines/titanic/moves/move_player_in_parrot_room.cpp | 2 +- engines/titanic/moves/move_player_in_parrot_room.h | 2 +- engines/titanic/moves/move_player_to.cpp | 2 +- engines/titanic/moves/move_player_to.h | 2 +- engines/titanic/moves/move_player_to_from.cpp | 2 +- engines/titanic/moves/move_player_to_from.h | 2 +- engines/titanic/moves/multi_move.cpp | 2 +- engines/titanic/moves/multi_move.h | 2 +- engines/titanic/moves/pan_from_pel.cpp | 2 +- engines/titanic/moves/pan_from_pel.h | 2 +- engines/titanic/moves/restaurant_pan_handler.cpp | 2 +- engines/titanic/moves/restaurant_pan_handler.h | 2 +- engines/titanic/moves/restricted_move.cpp | 2 +- engines/titanic/moves/restricted_move.h | 2 +- engines/titanic/moves/scraliontis_table.cpp | 2 +- engines/titanic/moves/scraliontis_table.h | 2 +- engines/titanic/moves/trip_down_canal.cpp | 2 +- engines/titanic/moves/trip_down_canal.h | 2 +- engines/titanic/npcs/barbot.cpp | 2 +- engines/titanic/npcs/barbot.h | 2 +- engines/titanic/npcs/bellbot.cpp | 2 +- engines/titanic/npcs/bellbot.h | 2 +- engines/titanic/npcs/callbot.cpp | 2 +- engines/titanic/npcs/callbot.h | 2 +- engines/titanic/npcs/character.cpp | 2 +- engines/titanic/npcs/character.h | 2 +- engines/titanic/npcs/deskbot.cpp | 2 +- engines/titanic/npcs/deskbot.h | 2 +- engines/titanic/npcs/doorbot.cpp | 2 +- engines/titanic/npcs/doorbot.h | 2 +- engines/titanic/npcs/liftbot.cpp | 2 +- engines/titanic/npcs/liftbot.h | 2 +- engines/titanic/npcs/maitre_d.cpp | 2 +- engines/titanic/npcs/maitre_d.h | 2 +- engines/titanic/npcs/mobile.cpp | 2 +- engines/titanic/npcs/mobile.h | 2 +- engines/titanic/npcs/parrot.cpp | 2 +- engines/titanic/npcs/parrot.h | 2 +- engines/titanic/npcs/robot_controller.cpp | 2 +- engines/titanic/npcs/robot_controller.h | 2 +- engines/titanic/npcs/starlings.cpp | 2 +- engines/titanic/npcs/starlings.h | 2 +- engines/titanic/npcs/succubus.cpp | 2 +- engines/titanic/npcs/succubus.h | 2 +- engines/titanic/npcs/summon_bots.cpp | 2 +- engines/titanic/npcs/summon_bots.h | 2 +- engines/titanic/npcs/titania.cpp | 2 +- engines/titanic/npcs/titania.h | 2 +- engines/titanic/npcs/true_talk_npc.cpp | 2 +- engines/titanic/npcs/true_talk_npc.h | 2 +- engines/titanic/pet_control/pet_control.cpp | 4 ++-- engines/titanic/pet_control/pet_control.h | 4 ++-- engines/titanic/pet_control/pet_conversations.cpp | 2 +- engines/titanic/pet_control/pet_conversations.h | 2 +- engines/titanic/pet_control/pet_drag_chev.cpp | 2 +- engines/titanic/pet_control/pet_drag_chev.h | 2 +- engines/titanic/pet_control/pet_graphic.cpp | 2 +- engines/titanic/pet_control/pet_graphic.h | 2 +- engines/titanic/pet_control/pet_graphic2.cpp | 2 +- engines/titanic/pet_control/pet_graphic2.h | 2 +- engines/titanic/pet_control/pet_inventory.cpp | 2 +- engines/titanic/pet_control/pet_inventory.h | 2 +- engines/titanic/pet_control/pet_leaf.cpp | 2 +- engines/titanic/pet_control/pet_leaf.h | 2 +- engines/titanic/pet_control/pet_message.h | 2 +- engines/titanic/pet_control/pet_mode_off.cpp | 2 +- engines/titanic/pet_control/pet_mode_off.h | 2 +- engines/titanic/pet_control/pet_mode_on.cpp | 2 +- engines/titanic/pet_control/pet_mode_on.h | 2 +- engines/titanic/pet_control/pet_mode_panel.cpp | 2 +- engines/titanic/pet_control/pet_mode_panel.h | 2 +- engines/titanic/pet_control/pet_pannel1.cpp | 2 +- engines/titanic/pet_control/pet_pannel1.h | 2 +- engines/titanic/pet_control/pet_pannel2.cpp | 2 +- engines/titanic/pet_control/pet_pannel2.h | 2 +- engines/titanic/pet_control/pet_pannel3.cpp | 2 +- engines/titanic/pet_control/pet_pannel3.h | 2 +- engines/titanic/pet_control/pet_real_life.h | 2 +- engines/titanic/pet_control/pet_rooms.cpp | 2 +- engines/titanic/pet_control/pet_rooms.h | 2 +- engines/titanic/pet_control/pet_rooms_glyphs.cpp | 4 ++-- engines/titanic/pet_control/pet_rooms_glyphs.h | 4 ++-- engines/titanic/pet_control/pet_section.h | 2 +- engines/titanic/pet_control/pet_starfield.cpp | 2 +- engines/titanic/pet_control/pet_starfield.h | 2 +- engines/titanic/pet_control/pet_text.cpp | 2 +- engines/titanic/pet_control/pet_text.h | 2 +- engines/titanic/sound/auto_music_player.cpp | 2 +- engines/titanic/sound/auto_music_player.h | 2 +- engines/titanic/sound/auto_music_player_base.cpp | 2 +- engines/titanic/sound/auto_music_player_base.h | 2 +- engines/titanic/sound/auto_sound_player.cpp | 2 +- engines/titanic/sound/auto_sound_player.h | 2 +- engines/titanic/sound/auto_sound_player_adsr.cpp | 2 +- engines/titanic/sound/auto_sound_player_adsr.h | 2 +- engines/titanic/sound/background_sound_maker.cpp | 2 +- engines/titanic/sound/background_sound_maker.h | 2 +- engines/titanic/sound/bird_song.cpp | 2 +- engines/titanic/sound/bird_song.h | 2 +- engines/titanic/sound/dome_from_top_of_well.cpp | 2 +- engines/titanic/sound/dome_from_top_of_well.h | 2 +- engines/titanic/sound/enter_view_toggles_other_music.cpp | 2 +- engines/titanic/sound/enter_view_toggles_other_music.h | 2 +- engines/titanic/sound/gondolier_song.cpp | 2 +- engines/titanic/sound/gondolier_song.h | 2 +- engines/titanic/sound/music_player.cpp | 2 +- engines/titanic/sound/music_player.h | 2 +- engines/titanic/sound/node_auto_sound_player.cpp | 2 +- engines/titanic/sound/node_auto_sound_player.h | 2 +- engines/titanic/sound/restricted_auto_music_player.cpp | 2 +- engines/titanic/sound/restricted_auto_music_player.h | 2 +- engines/titanic/sound/room_auto_sound_player.cpp | 2 +- engines/titanic/sound/room_auto_sound_player.h | 2 +- engines/titanic/sound/room_trigger_auto_music_player.cpp | 2 +- engines/titanic/sound/room_trigger_auto_music_player.h | 2 +- engines/titanic/sound/season_noises.cpp | 2 +- engines/titanic/sound/season_noises.h | 2 +- engines/titanic/sound/seasonal_music_player.cpp | 2 +- engines/titanic/sound/seasonal_music_player.h | 2 +- engines/titanic/sound/titania_speech.cpp | 2 +- engines/titanic/sound/titania_speech.h | 2 +- engines/titanic/sound/trigger_auto_music_player.cpp | 2 +- engines/titanic/sound/trigger_auto_music_player.h | 2 +- engines/titanic/sound/view_auto_sound_player.cpp | 2 +- engines/titanic/sound/view_auto_sound_player.h | 2 +- engines/titanic/sound/view_toggles_other_music.cpp | 2 +- engines/titanic/sound/view_toggles_other_music.h | 2 +- engines/titanic/sound/water_lapping_sounds.cpp | 2 +- engines/titanic/sound/water_lapping_sounds.h | 2 +- engines/titanic/star_control/star_control.cpp | 2 +- engines/titanic/star_control/star_control.h | 2 +- engines/titanic/star_control/star_control_sub11.cpp | 2 +- engines/titanic/star_control/star_control_sub11.h | 2 +- engines/titanic/star_control/star_control_sub12.cpp | 2 +- engines/titanic/star_control/star_control_sub12.h | 2 +- engines/titanic/star_control/star_control_sub13.cpp | 2 +- engines/titanic/star_control/star_control_sub13.h | 2 +- engines/titanic/star_control/star_control_sub14.cpp | 2 +- engines/titanic/star_control/star_control_sub14.h | 2 +- engines/titanic/star_control/star_control_sub8.h | 2 +- engines/titanic/support/movie_clip.cpp | 2 +- engines/titanic/support/movie_clip.h | 2 +- engines/titanic/support/movie_event.cpp | 2 +- engines/titanic/support/movie_event.h | 2 +- engines/titanic/support/movie_range_info.cpp | 2 +- engines/titanic/support/movie_range_info.h | 2 +- engines/titanic/support/time_event_info.cpp | 2 +- engines/titanic/support/time_event_info.h | 2 +- 790 files changed, 803 insertions(+), 803 deletions(-) (limited to 'engines/titanic') diff --git a/engines/titanic/carry/arm.cpp b/engines/titanic/carry/arm.cpp index ee58aea445..880c93d309 100644 --- a/engines/titanic/carry/arm.cpp +++ b/engines/titanic/carry/arm.cpp @@ -40,7 +40,7 @@ CArm::CArm() : CCarry(), _string6("Key"), _armRect(220, 208, 409, 350) { } -void CArm::save(SimpleFile *file, int indent) const { +void CArm::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string6, indent); file->writeNumberLine(_field138, indent); diff --git a/engines/titanic/carry/arm.h b/engines/titanic/carry/arm.h index f19943de51..afef22ba49 100644 --- a/engines/titanic/carry/arm.h +++ b/engines/titanic/carry/arm.h @@ -55,7 +55,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/carry/auditory_centre.cpp b/engines/titanic/carry/auditory_centre.cpp index e5dedcd654..d88989a801 100644 --- a/engines/titanic/carry/auditory_centre.cpp +++ b/engines/titanic/carry/auditory_centre.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CAuditoryCentre::save(SimpleFile *file, int indent) const { +void CAuditoryCentre::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBrain::save(file, indent); } diff --git a/engines/titanic/carry/auditory_centre.h b/engines/titanic/carry/auditory_centre.h index c429fd78cd..d4b9beedc7 100644 --- a/engines/titanic/carry/auditory_centre.h +++ b/engines/titanic/carry/auditory_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/carry/bowl_ear.cpp b/engines/titanic/carry/bowl_ear.cpp index 70d2409a05..bb5172e580 100644 --- a/engines/titanic/carry/bowl_ear.cpp +++ b/engines/titanic/carry/bowl_ear.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBowlEar::save(SimpleFile *file, int indent) const { +void CBowlEar::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CEar::save(file, indent); } diff --git a/engines/titanic/carry/bowl_ear.h b/engines/titanic/carry/bowl_ear.h index 1617ceda8d..39d5dc9ff8 100644 --- a/engines/titanic/carry/bowl_ear.h +++ b/engines/titanic/carry/bowl_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/carry/brain.cpp b/engines/titanic/carry/brain.cpp index 1fe0c1b5d8..8df0de9961 100644 --- a/engines/titanic/carry/brain.cpp +++ b/engines/titanic/carry/brain.cpp @@ -36,7 +36,7 @@ END_MESSAGE_MAP() CBrain::CBrain() : CCarry(), _field134(0), _field138(0) { } -void CBrain::save(SimpleFile *file, int indent) const { +void CBrain::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writePoint(_pos1, indent); file->writeNumberLine(_field134, indent); diff --git a/engines/titanic/carry/brain.h b/engines/titanic/carry/brain.h index 3e24f5215b..fd70a7e0c9 100644 --- a/engines/titanic/carry/brain.h +++ b/engines/titanic/carry/brain.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/carry/bridge_piece.cpp b/engines/titanic/carry/bridge_piece.cpp index 1fe5e048ed..fc845feff0 100644 --- a/engines/titanic/carry/bridge_piece.cpp +++ b/engines/titanic/carry/bridge_piece.cpp @@ -33,7 +33,7 @@ END_MESSAGE_MAP() CBridgePiece::CBridgePiece() : CCarry(), _field140(0) { } -void CBridgePiece::save(SimpleFile *file, int indent) const { +void CBridgePiece::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string6, indent); file->writePoint(_pos3, indent); diff --git a/engines/titanic/carry/bridge_piece.h b/engines/titanic/carry/bridge_piece.h index 5041cbc049..04bc7b9181 100644 --- a/engines/titanic/carry/bridge_piece.h +++ b/engines/titanic/carry/bridge_piece.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/carry/carry.cpp b/engines/titanic/carry/carry.cpp index ca022a6c8f..75b3b6f35b 100644 --- a/engines/titanic/carry/carry.cpp +++ b/engines/titanic/carry/carry.cpp @@ -52,7 +52,7 @@ CCarry::CCarry() : CGameObject(), _fieldDC(0), _fieldE0(1), _string4("It doesn't seem to want this.") { } -void CCarry::save(SimpleFile *file, int indent) const { +void CCarry::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writePoint(_origPos, indent); diff --git a/engines/titanic/carry/carry.h b/engines/titanic/carry/carry.h index f4476721cc..36589635f7 100644 --- a/engines/titanic/carry/carry.h +++ b/engines/titanic/carry/carry.h @@ -68,7 +68,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/carry/carry_parrot.cpp b/engines/titanic/carry/carry_parrot.cpp index b0916bb4c4..cf96204122 100644 --- a/engines/titanic/carry/carry_parrot.cpp +++ b/engines/titanic/carry/carry_parrot.cpp @@ -47,7 +47,7 @@ CCarryParrot::CCarryParrot() : CCarry(), _string6("PerchedParrot"), _field148(25), _field14C(0), _field150(8) { } -void CCarryParrot::save(SimpleFile *file, int indent) const { +void CCarryParrot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string6, indent); file->writeNumberLine(_timerId, indent); diff --git a/engines/titanic/carry/carry_parrot.h b/engines/titanic/carry/carry_parrot.h index 1c5cc2e890..84c656ce8e 100644 --- a/engines/titanic/carry/carry_parrot.h +++ b/engines/titanic/carry/carry_parrot.h @@ -57,7 +57,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/carry/central_core.cpp b/engines/titanic/carry/central_core.cpp index 97309e0a86..a50c95abbc 100644 --- a/engines/titanic/carry/central_core.cpp +++ b/engines/titanic/carry/central_core.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CCentralCore::save(SimpleFile *file, int indent) const { +void CCentralCore::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBrain::save(file, indent); } diff --git a/engines/titanic/carry/central_core.h b/engines/titanic/carry/central_core.h index b397046088..852d2b63e1 100644 --- a/engines/titanic/carry/central_core.h +++ b/engines/titanic/carry/central_core.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/carry/chicken.cpp b/engines/titanic/carry/chicken.cpp index 60627bdb7e..65404dc65d 100644 --- a/engines/titanic/carry/chicken.cpp +++ b/engines/titanic/carry/chicken.cpp @@ -45,7 +45,7 @@ CChicken::CChicken() : CCarry(), _string6("None"), _field12C(1), _field13C(0), _timerId(0) { } -void CChicken::save(SimpleFile *file, int indent) const { +void CChicken::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field12C, indent); file->writeQuotedLine(_string6, indent); diff --git a/engines/titanic/carry/chicken.h b/engines/titanic/carry/chicken.h index 946c102c48..e9e8f00000 100644 --- a/engines/titanic/carry/chicken.h +++ b/engines/titanic/carry/chicken.h @@ -55,7 +55,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/carry/crushed_tv.cpp b/engines/titanic/carry/crushed_tv.cpp index 5abc8fac98..a265b611a9 100644 --- a/engines/titanic/carry/crushed_tv.cpp +++ b/engines/titanic/carry/crushed_tv.cpp @@ -34,7 +34,7 @@ END_MESSAGE_MAP() CCrushedTV::CCrushedTV() : CCarry() { } -void CCrushedTV::save(SimpleFile *file, int indent) const { +void CCrushedTV::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCarry::save(file, indent); } diff --git a/engines/titanic/carry/crushed_tv.h b/engines/titanic/carry/crushed_tv.h index 3e7753499d..d141589ec8 100644 --- a/engines/titanic/carry/crushed_tv.h +++ b/engines/titanic/carry/crushed_tv.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/carry/ear.cpp b/engines/titanic/carry/ear.cpp index d87b09d9b4..8d85e247f7 100644 --- a/engines/titanic/carry/ear.cpp +++ b/engines/titanic/carry/ear.cpp @@ -27,7 +27,7 @@ namespace Titanic { CEar::CEar() : CHeadPiece() { } -void CEar::save(SimpleFile *file, int indent) const { +void CEar::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CHeadPiece::save(file, indent); } diff --git a/engines/titanic/carry/ear.h b/engines/titanic/carry/ear.h index 2a20620342..bdffdc2678 100644 --- a/engines/titanic/carry/ear.h +++ b/engines/titanic/carry/ear.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/carry/eye.cpp b/engines/titanic/carry/eye.cpp index 21fc3faa7e..5de1789e54 100644 --- a/engines/titanic/carry/eye.cpp +++ b/engines/titanic/carry/eye.cpp @@ -27,7 +27,7 @@ namespace Titanic { CEye::CEye() : CHeadPiece(), _eyeNum(0) { } -void CEye::save(SimpleFile *file, int indent) const { +void CEye::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_eyeNum, indent); CHeadPiece::save(file, indent); diff --git a/engines/titanic/carry/eye.h b/engines/titanic/carry/eye.h index f7e17fa81f..2531666037 100644 --- a/engines/titanic/carry/eye.h +++ b/engines/titanic/carry/eye.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/carry/feathers.cpp b/engines/titanic/carry/feathers.cpp index e89f33564b..c2cf369bd8 100644 --- a/engines/titanic/carry/feathers.cpp +++ b/engines/titanic/carry/feathers.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CFeathers, CCarry) CFeathers::CFeathers() : CCarry() { } -void CFeathers::save(SimpleFile *file, int indent) const { +void CFeathers::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCarry::save(file, indent); } diff --git a/engines/titanic/carry/feathers.h b/engines/titanic/carry/feathers.h index f90de11abd..e2c8ab77db 100644 --- a/engines/titanic/carry/feathers.h +++ b/engines/titanic/carry/feathers.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/carry/fruit.cpp b/engines/titanic/carry/fruit.cpp index 3355d6e006..832dccf45a 100644 --- a/engines/titanic/carry/fruit.cpp +++ b/engines/titanic/carry/fruit.cpp @@ -28,7 +28,7 @@ CFruit::CFruit() : CCarry(), _field12C(0), _field130(0), _field134(0), _field138(0) { } -void CFruit::save(SimpleFile *file, int indent) const { +void CFruit::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field12C, indent); file->writeNumberLine(_field130, indent); diff --git a/engines/titanic/carry/fruit.h b/engines/titanic/carry/fruit.h index 3d23afd389..595f27d56c 100644 --- a/engines/titanic/carry/fruit.h +++ b/engines/titanic/carry/fruit.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/carry/glass.cpp b/engines/titanic/carry/glass.cpp index 1f0e059f54..051457af03 100644 --- a/engines/titanic/carry/glass.cpp +++ b/engines/titanic/carry/glass.cpp @@ -27,7 +27,7 @@ namespace Titanic { CGlass::CGlass() : CCarry(), _string6("None") { } -void CGlass::save(SimpleFile *file, int indent) const { +void CGlass::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string6, indent); CCarry::save(file, indent); diff --git a/engines/titanic/carry/glass.h b/engines/titanic/carry/glass.h index 55c032269a..4e540152fa 100644 --- a/engines/titanic/carry/glass.h +++ b/engines/titanic/carry/glass.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/carry/hammer.cpp b/engines/titanic/carry/hammer.cpp index f1dc3b2aa0..d3b912184c 100644 --- a/engines/titanic/carry/hammer.cpp +++ b/engines/titanic/carry/hammer.cpp @@ -27,7 +27,7 @@ namespace Titanic { CHammer::CHammer() : CCarry() { } -void CHammer::save(SimpleFile *file, int indent) const { +void CHammer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCarry::save(file, indent); } diff --git a/engines/titanic/carry/hammer.h b/engines/titanic/carry/hammer.h index e3180e76a0..e35fdd1d85 100644 --- a/engines/titanic/carry/hammer.h +++ b/engines/titanic/carry/hammer.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/carry/head_piece.cpp b/engines/titanic/carry/head_piece.cpp index 1eab585462..ae709644a0 100644 --- a/engines/titanic/carry/head_piece.cpp +++ b/engines/titanic/carry/head_piece.cpp @@ -28,7 +28,7 @@ CHeadPiece::CHeadPiece() : CCarry(), _string6("Not Working"), _field12C(0), _field13C(0) { } -void CHeadPiece::save(SimpleFile *file, int indent) const { +void CHeadPiece::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field12C, indent); file->writeQuotedLine(_string6, indent); diff --git a/engines/titanic/carry/head_piece.h b/engines/titanic/carry/head_piece.h index daa5925530..1989b0ef2d 100644 --- a/engines/titanic/carry/head_piece.h +++ b/engines/titanic/carry/head_piece.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/carry/hose.cpp b/engines/titanic/carry/hose.cpp index 1617feffc1..747d58c339 100644 --- a/engines/titanic/carry/hose.cpp +++ b/engines/titanic/carry/hose.cpp @@ -38,7 +38,7 @@ CHose::CHose() : CCarry(), _string6("Succ-U-Bus auxiliary hose attachment incompatible with sliding glass cover.") { } -void CHose::save(SimpleFile *file, int indent) const { +void CHose::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_statics->_v1, indent); file->writeQuotedLine(_statics->_v2, indent); diff --git a/engines/titanic/carry/hose.h b/engines/titanic/carry/hose.h index c16351b937..d45fc08bc4 100644 --- a/engines/titanic/carry/hose.h +++ b/engines/titanic/carry/hose.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/carry/hose_end.cpp b/engines/titanic/carry/hose_end.cpp index 6f15d5be1b..f6097c4db7 100644 --- a/engines/titanic/carry/hose_end.cpp +++ b/engines/titanic/carry/hose_end.cpp @@ -30,7 +30,7 @@ CHoseEnd::CHoseEnd() : CHose() { _string6 = "Connection refused by remote hose."; } -void CHoseEnd::save(SimpleFile *file, int indent) const { +void CHoseEnd::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string6, indent); CHose::save(file, indent); diff --git a/engines/titanic/carry/hose_end.h b/engines/titanic/carry/hose_end.h index 796191e12f..8a82ec5363 100644 --- a/engines/titanic/carry/hose_end.h +++ b/engines/titanic/carry/hose_end.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/carry/key.cpp b/engines/titanic/carry/key.cpp index 2c559bb6c9..6e947464f1 100644 --- a/engines/titanic/carry/key.cpp +++ b/engines/titanic/carry/key.cpp @@ -27,7 +27,7 @@ namespace Titanic { CKey::CKey() : CCarry() { } -void CKey::save(SimpleFile *file, int indent) const { +void CKey::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCarry::save(file, indent); } diff --git a/engines/titanic/carry/key.h b/engines/titanic/carry/key.h index e6973b5c7c..6b7a134991 100644 --- a/engines/titanic/carry/key.h +++ b/engines/titanic/carry/key.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/carry/liftbot_head.cpp b/engines/titanic/carry/liftbot_head.cpp index 422d88ad0f..bcab8e8574 100644 --- a/engines/titanic/carry/liftbot_head.cpp +++ b/engines/titanic/carry/liftbot_head.cpp @@ -27,7 +27,7 @@ namespace Titanic { CLiftbotHead::CLiftbotHead() : CCarry(), _field12C(0) { } -void CLiftbotHead::save(SimpleFile *file, int indent) const { +void CLiftbotHead::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field12C, indent); CCarry::save(file, indent); diff --git a/engines/titanic/carry/liftbot_head.h b/engines/titanic/carry/liftbot_head.h index f2b60c1d7e..9dc625014b 100644 --- a/engines/titanic/carry/liftbot_head.h +++ b/engines/titanic/carry/liftbot_head.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/carry/long_stick.cpp b/engines/titanic/carry/long_stick.cpp index d5bf73b9b0..ab1e42b81f 100644 --- a/engines/titanic/carry/long_stick.cpp +++ b/engines/titanic/carry/long_stick.cpp @@ -27,7 +27,7 @@ namespace Titanic { CLongStick::CLongStick() : CCarry() { } -void CLongStick::save(SimpleFile *file, int indent) const { +void CLongStick::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCarry::save(file, indent); } diff --git a/engines/titanic/carry/long_stick.h b/engines/titanic/carry/long_stick.h index e2718a3d2b..60bff0d6f7 100644 --- a/engines/titanic/carry/long_stick.h +++ b/engines/titanic/carry/long_stick.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/carry/magazine.cpp b/engines/titanic/carry/magazine.cpp index 68d898c399..cdf92fc707 100644 --- a/engines/titanic/carry/magazine.cpp +++ b/engines/titanic/carry/magazine.cpp @@ -35,7 +35,7 @@ END_MESSAGE_MAP() CMagazine::CMagazine() : CCarry() { } -void CMagazine::save(SimpleFile *file, int indent) const { +void CMagazine::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field12C, indent); file->writeNumberLine(_field130, indent); diff --git a/engines/titanic/carry/magazine.h b/engines/titanic/carry/magazine.h index 16ef4bb2b0..afe9598d3b 100644 --- a/engines/titanic/carry/magazine.h +++ b/engines/titanic/carry/magazine.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/carry/maitred_left_arm.cpp b/engines/titanic/carry/maitred_left_arm.cpp index 6fb93ecc63..b31c2a6f6d 100644 --- a/engines/titanic/carry/maitred_left_arm.cpp +++ b/engines/titanic/carry/maitred_left_arm.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMaitreDLeftArm::save(SimpleFile *file, int indent) const { +void CMaitreDLeftArm::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field174, indent); CArm::save(file, indent); diff --git a/engines/titanic/carry/maitred_left_arm.h b/engines/titanic/carry/maitred_left_arm.h index e46485cdac..e59d84e2b7 100644 --- a/engines/titanic/carry/maitred_left_arm.h +++ b/engines/titanic/carry/maitred_left_arm.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/carry/maitred_right_arm.cpp b/engines/titanic/carry/maitred_right_arm.cpp index 15767a2fc2..7030e83c9d 100644 --- a/engines/titanic/carry/maitred_right_arm.cpp +++ b/engines/titanic/carry/maitred_right_arm.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMaitreDRightArm::save(SimpleFile *file, int indent) const { +void CMaitreDRightArm::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CArm::save(file, indent); } diff --git a/engines/titanic/carry/maitred_right_arm.h b/engines/titanic/carry/maitred_right_arm.h index c89b7e82a3..f8a7861640 100644 --- a/engines/titanic/carry/maitred_right_arm.h +++ b/engines/titanic/carry/maitred_right_arm.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/carry/mouth.cpp b/engines/titanic/carry/mouth.cpp index 058ffc42d7..8c3791fa9c 100644 --- a/engines/titanic/carry/mouth.cpp +++ b/engines/titanic/carry/mouth.cpp @@ -27,7 +27,7 @@ namespace Titanic { CMouth::CMouth() : CHeadPiece() { } -void CMouth::save(SimpleFile *file, int indent) const { +void CMouth::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CHeadPiece::save(file, indent); } diff --git a/engines/titanic/carry/mouth.h b/engines/titanic/carry/mouth.h index 1c446b2296..0efaf73bbb 100644 --- a/engines/titanic/carry/mouth.h +++ b/engines/titanic/carry/mouth.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/carry/napkin.cpp b/engines/titanic/carry/napkin.cpp index cba2b4a560..ace5a389a0 100644 --- a/engines/titanic/carry/napkin.cpp +++ b/engines/titanic/carry/napkin.cpp @@ -32,7 +32,7 @@ END_MESSAGE_MAP() CNapkin::CNapkin() : CCarry() { } -void CNapkin::save(SimpleFile *file, int indent) const { +void CNapkin::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCarry::save(file, indent); } diff --git a/engines/titanic/carry/napkin.h b/engines/titanic/carry/napkin.h index ac14b70efa..b94a61837d 100644 --- a/engines/titanic/carry/napkin.h +++ b/engines/titanic/carry/napkin.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/carry/nose.cpp b/engines/titanic/carry/nose.cpp index cd5085db44..4f3afe24ac 100644 --- a/engines/titanic/carry/nose.cpp +++ b/engines/titanic/carry/nose.cpp @@ -27,7 +27,7 @@ namespace Titanic { CNose::CNose() : CHeadPiece() { } -void CNose::save(SimpleFile *file, int indent) const { +void CNose::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CHeadPiece::save(file, indent); } diff --git a/engines/titanic/carry/nose.h b/engines/titanic/carry/nose.h index 717b639e82..337617c1c7 100644 --- a/engines/titanic/carry/nose.h +++ b/engines/titanic/carry/nose.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/carry/note.cpp b/engines/titanic/carry/note.cpp index 78286d71bd..388f87e638 100644 --- a/engines/titanic/carry/note.cpp +++ b/engines/titanic/carry/note.cpp @@ -31,7 +31,7 @@ END_MESSAGE_MAP() CNote::CNote() : CCarry(), _field138(1) { } -void CNote::save(SimpleFile *file, int indent) const { +void CNote::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string6, indent); file->writeNumberLine(_field138, indent); diff --git a/engines/titanic/carry/note.h b/engines/titanic/carry/note.h index 22a95b0bd3..f0563f57da 100644 --- a/engines/titanic/carry/note.h +++ b/engines/titanic/carry/note.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/carry/parcel.cpp b/engines/titanic/carry/parcel.cpp index d532bac92b..13e2f6dec4 100644 --- a/engines/titanic/carry/parcel.cpp +++ b/engines/titanic/carry/parcel.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CParcel, CCarry) CParcel::CParcel() : CCarry() { } -void CParcel::save(SimpleFile *file, int indent) const { +void CParcel::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCarry::save(file, indent); } diff --git a/engines/titanic/carry/parcel.h b/engines/titanic/carry/parcel.h index cb36bed23d..7209bd31cd 100644 --- a/engines/titanic/carry/parcel.h +++ b/engines/titanic/carry/parcel.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/carry/perch.cpp b/engines/titanic/carry/perch.cpp index 976921beb0..281b3fce53 100644 --- a/engines/titanic/carry/perch.cpp +++ b/engines/titanic/carry/perch.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPerch::save(SimpleFile *file, int indent) const { +void CPerch::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCentralCore::save(file, indent); } diff --git a/engines/titanic/carry/perch.h b/engines/titanic/carry/perch.h index 1ed2ccaa9f..ef04d1130f 100644 --- a/engines/titanic/carry/perch.h +++ b/engines/titanic/carry/perch.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/carry/phonograph_cylinder.cpp b/engines/titanic/carry/phonograph_cylinder.cpp index d7b9fe6c96..0684c56611 100644 --- a/engines/titanic/carry/phonograph_cylinder.cpp +++ b/engines/titanic/carry/phonograph_cylinder.cpp @@ -46,7 +46,7 @@ CPhonographCylinder::CPhonographCylinder() : CCarry(), _bassInversionControl(false) { } -void CPhonographCylinder::save(SimpleFile *file, int indent) const { +void CPhonographCylinder::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_itemName, indent); file->writeNumberLine(_bellsMuteControl, indent); diff --git a/engines/titanic/carry/phonograph_cylinder.h b/engines/titanic/carry/phonograph_cylinder.h index 8c4ca6489e..2f950d175c 100644 --- a/engines/titanic/carry/phonograph_cylinder.h +++ b/engines/titanic/carry/phonograph_cylinder.h @@ -63,7 +63,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/carry/phonograph_ear.cpp b/engines/titanic/carry/phonograph_ear.cpp index 0b4142ca37..ceb71babd2 100644 --- a/engines/titanic/carry/phonograph_ear.cpp +++ b/engines/titanic/carry/phonograph_ear.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CPhonographEar::save(SimpleFile *file, int indent) const { +void CPhonographEar::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field140, indent); CEar::save(file, indent); diff --git a/engines/titanic/carry/phonograph_ear.h b/engines/titanic/carry/phonograph_ear.h index 71ef38f926..d450f2868e 100644 --- a/engines/titanic/carry/phonograph_ear.h +++ b/engines/titanic/carry/phonograph_ear.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/carry/photograph.cpp b/engines/titanic/carry/photograph.cpp index 7f76f394bd..7f32a0623d 100644 --- a/engines/titanic/carry/photograph.cpp +++ b/engines/titanic/carry/photograph.cpp @@ -37,7 +37,7 @@ int CPhotograph::_v1; CPhotograph::CPhotograph() : CCarry(), _field12C(0), _field130(0) { } -void CPhotograph::save(SimpleFile *file, int indent) const { +void CPhotograph::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field12C, indent); file->writeNumberLine(_v1, indent); diff --git a/engines/titanic/carry/photograph.h b/engines/titanic/carry/photograph.h index b7ce488d09..3161e4861e 100644 --- a/engines/titanic/carry/photograph.h +++ b/engines/titanic/carry/photograph.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/carry/plug_in.cpp b/engines/titanic/carry/plug_in.cpp index e4fe54dd27..c82a4cc422 100644 --- a/engines/titanic/carry/plug_in.cpp +++ b/engines/titanic/carry/plug_in.cpp @@ -31,7 +31,7 @@ END_MESSAGE_MAP() CPlugIn::CPlugIn() : CCarry(), _field12C(0) { } -void CPlugIn::save(SimpleFile *file, int indent) const { +void CPlugIn::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCarry::save(file, indent); } diff --git a/engines/titanic/carry/plug_in.h b/engines/titanic/carry/plug_in.h index f48a74bd2b..e788d15869 100644 --- a/engines/titanic/carry/plug_in.h +++ b/engines/titanic/carry/plug_in.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/carry/speech_centre.cpp b/engines/titanic/carry/speech_centre.cpp index 86ed730284..b8076aee76 100644 --- a/engines/titanic/carry/speech_centre.cpp +++ b/engines/titanic/carry/speech_centre.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CSpeechCentre::save(SimpleFile *file, int indent) const { +void CSpeechCentre::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field13C, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/carry/speech_centre.h b/engines/titanic/carry/speech_centre.h index 8f6fdfdcd0..e16556e60f 100644 --- a/engines/titanic/carry/speech_centre.h +++ b/engines/titanic/carry/speech_centre.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/carry/sweets.cpp b/engines/titanic/carry/sweets.cpp index 71295a3441..f19a8287b7 100644 --- a/engines/titanic/carry/sweets.cpp +++ b/engines/titanic/carry/sweets.cpp @@ -31,7 +31,7 @@ END_MESSAGE_MAP() CSweets::CSweets() : CCarry() { } -void CSweets::save(SimpleFile *file, int indent) const { +void CSweets::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CCarry::save(file, indent); } diff --git a/engines/titanic/carry/sweets.h b/engines/titanic/carry/sweets.h index 7fc0787f76..8eb0a1623a 100644 --- a/engines/titanic/carry/sweets.h +++ b/engines/titanic/carry/sweets.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/carry/test_carry.cpp b/engines/titanic/carry/test_carry.cpp index 26b4f566e9..0e86c51d0a 100644 --- a/engines/titanic/carry/test_carry.cpp +++ b/engines/titanic/carry/test_carry.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CTestArray::save(SimpleFile *file, int indent) const { +void CTestArray::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/carry/test_carry.h b/engines/titanic/carry/test_carry.h index 56526b424e..b9591a7842 100644 --- a/engines/titanic/carry/test_carry.h +++ b/engines/titanic/carry/test_carry.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/carry/vision_centre.cpp b/engines/titanic/carry/vision_centre.cpp index b85f99fbf1..8c8bab15f8 100644 --- a/engines/titanic/carry/vision_centre.cpp +++ b/engines/titanic/carry/vision_centre.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CVisionCentre::save(SimpleFile *file, int indent) const { +void CVisionCentre::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CBrain::save(file, indent); } diff --git a/engines/titanic/carry/vision_centre.h b/engines/titanic/carry/vision_centre.h index ce1d9599a2..6cf2d9d49e 100644 --- a/engines/titanic/carry/vision_centre.h +++ b/engines/titanic/carry/vision_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/core/background.cpp b/engines/titanic/core/background.cpp index 52ff4c4ac2..f180df8867 100644 --- a/engines/titanic/core/background.cpp +++ b/engines/titanic/core/background.cpp @@ -33,7 +33,7 @@ END_MESSAGE_MAP() CBackground::CBackground() : CGameObject(), _fieldBC(0), _fieldC0(0), _fieldDC(0) { } -void CBackground::save(SimpleFile *file, int indent) const { +void CBackground::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/core/background.h b/engines/titanic/core/background.h index f4969d4454..ef9a6c3e7b 100644 --- a/engines/titanic/core/background.h +++ b/engines/titanic/core/background.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/core/click_responder.cpp b/engines/titanic/core/click_responder.cpp index 9e8564b6d5..f9694557df 100644 --- a/engines/titanic/core/click_responder.cpp +++ b/engines/titanic/core/click_responder.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CClickResponder::save(SimpleFile *file, int indent) const { +void CClickResponder::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/core/click_responder.h b/engines/titanic/core/click_responder.h index 68d3e34cdd..c682530f76 100644 --- a/engines/titanic/core/click_responder.h +++ b/engines/titanic/core/click_responder.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/core/dont_save_file_item.cpp b/engines/titanic/core/dont_save_file_item.cpp index 00b7dd22ce..87ab77e78b 100644 --- a/engines/titanic/core/dont_save_file_item.cpp +++ b/engines/titanic/core/dont_save_file_item.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CDontSaveFileItem, CFileItem) -void CDontSaveFileItem::save(SimpleFile *file, int indent) const { +void CDontSaveFileItem::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); } diff --git a/engines/titanic/core/dont_save_file_item.h b/engines/titanic/core/dont_save_file_item.h index 7517976825..242e37372a 100644 --- a/engines/titanic/core/dont_save_file_item.h +++ b/engines/titanic/core/dont_save_file_item.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/core/drop_target.cpp b/engines/titanic/core/drop_target.cpp index 9782967105..05ea6445c3 100644 --- a/engines/titanic/core/drop_target.cpp +++ b/engines/titanic/core/drop_target.cpp @@ -29,7 +29,7 @@ CDropTarget::CDropTarget() : CGameObject(), _fieldC4(0), _fieldFC(0), _field10C(1), _field110(8), _field114(20) { } -void CDropTarget::save(SimpleFile *file, int indent) const { +void CDropTarget::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writePoint(_pos1, indent); file->writeNumberLine(_fieldC4, indent); diff --git a/engines/titanic/core/drop_target.h b/engines/titanic/core/drop_target.h index 6c1cdcfe38..99734d71f4 100644 --- a/engines/titanic/core/drop_target.h +++ b/engines/titanic/core/drop_target.h @@ -50,7 +50,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/core/file_item.cpp b/engines/titanic/core/file_item.cpp index 566f9104a9..824195d97c 100644 --- a/engines/titanic/core/file_item.cpp +++ b/engines/titanic/core/file_item.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CFileItem, CTreeItem) -void CFileItem::save(SimpleFile *file, int indent) const { +void CFileItem::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); CTreeItem::save(file, indent); } diff --git a/engines/titanic/core/file_item.h b/engines/titanic/core/file_item.h index e8e4935de0..4210251af0 100644 --- a/engines/titanic/core/file_item.h +++ b/engines/titanic/core/file_item.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/core/game_object.cpp b/engines/titanic/core/game_object.cpp index af866ddac4..29ad735a66 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -80,7 +80,7 @@ CGameObject::~CGameObject() { delete _text; } -void CGameObject::save(SimpleFile *file, int indent) const { +void CGameObject::save(SimpleFile *file, int indent) { file->writeNumberLine(7, indent); error("TODO: CGameObject::save"); diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h index 98d6d6099e..1afe834876 100644 --- a/engines/titanic/core/game_object.h +++ b/engines/titanic/core/game_object.h @@ -523,7 +523,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/core/game_object_desc_item.cpp b/engines/titanic/core/game_object_desc_item.cpp index 77174e5d06..409334c9d7 100644 --- a/engines/titanic/core/game_object_desc_item.cpp +++ b/engines/titanic/core/game_object_desc_item.cpp @@ -27,7 +27,7 @@ namespace Titanic { CGameObjectDescItem::CGameObjectDescItem(): CTreeItem() { } -void CGameObjectDescItem::save(SimpleFile *file, int indent) const { +void CGameObjectDescItem::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); _clipList.save(file, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/core/game_object_desc_item.h b/engines/titanic/core/game_object_desc_item.h index 5bfc483b44..df9ef7bdd1 100644 --- a/engines/titanic/core/game_object_desc_item.h +++ b/engines/titanic/core/game_object_desc_item.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/core/link_item.cpp b/engines/titanic/core/link_item.cpp index a0460bd2c6..a56122fa43 100644 --- a/engines/titanic/core/link_item.cpp +++ b/engines/titanic/core/link_item.cpp @@ -43,7 +43,7 @@ CString CLinkItem::formName() { return ""; } -void CLinkItem::save(SimpleFile *file, int indent) const { +void CLinkItem::save(SimpleFile *file, int indent) { file->writeNumberLine(2, indent); file->writeQuotedLine("L", indent); file->writeNumberLine(_cursorId, indent + 1); diff --git a/engines/titanic/core/link_item.h b/engines/titanic/core/link_item.h index 328d5bcc06..09f3a7ab48 100644 --- a/engines/titanic/core/link_item.h +++ b/engines/titanic/core/link_item.h @@ -56,7 +56,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/core/list.cpp b/engines/titanic/core/list.cpp index d733ce25c5..8e90e9ff40 100644 --- a/engines/titanic/core/list.cpp +++ b/engines/titanic/core/list.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void ListItem::save(SimpleFile *file, int indent) const { +void ListItem::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); } diff --git a/engines/titanic/core/list.h b/engines/titanic/core/list.h index 4052a018c7..eb87d7fe1c 100644 --- a/engines/titanic/core/list.h +++ b/engines/titanic/core/list.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 @@ -76,7 +76,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) { file->writeNumberLine(0, indent); // Write out number of items @@ -84,9 +84,9 @@ public: file->writeNumberLine(Common::List::size(), indent); // Iterate through writing entries - typename Common::List::const_iterator i; + typename Common::List::iterator i; for (i = Common::List::begin(); i != Common::List::end(); ++i) { - const ListItem *item = *i; + ListItem *item = *i; item->saveHeader(file, indent); item->save(file, indent + 1); item->saveFooter(file, indent); diff --git a/engines/titanic/core/mail_man.cpp b/engines/titanic/core/mail_man.cpp index 8226ebfc80..afe13bebad 100644 --- a/engines/titanic/core/mail_man.cpp +++ b/engines/titanic/core/mail_man.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMailMan::save(SimpleFile *file, int indent) const { +void CMailMan::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/core/mail_man.h b/engines/titanic/core/mail_man.h index 982aae4cc0..27a6cd11c0 100644 --- a/engines/titanic/core/mail_man.h +++ b/engines/titanic/core/mail_man.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/core/message_target.cpp b/engines/titanic/core/message_target.cpp index b99fa5c606..4815d03973 100644 --- a/engines/titanic/core/message_target.cpp +++ b/engines/titanic/core/message_target.cpp @@ -37,7 +37,7 @@ const MSGMAP *CMessageTarget::getThisMessageMap() { return &messageMap; } -void CMessageTarget::save(SimpleFile *file, int indent) const { +void CMessageTarget::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); CSaveableObject::save(file, indent); } diff --git a/engines/titanic/core/message_target.h b/engines/titanic/core/message_target.h index 42e9e5a3c4..5508c47c95 100644 --- a/engines/titanic/core/message_target.h +++ b/engines/titanic/core/message_target.h @@ -90,7 +90,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/core/multi_drop_target.cpp b/engines/titanic/core/multi_drop_target.cpp index 1f6e6cf210..f2998199b1 100644 --- a/engines/titanic/core/multi_drop_target.cpp +++ b/engines/titanic/core/multi_drop_target.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMultiDropTarget::save(SimpleFile *file, int indent) const { +void CMultiDropTarget::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string5, indent); file->writeQuotedLine(_string6, indent); diff --git a/engines/titanic/core/multi_drop_target.h b/engines/titanic/core/multi_drop_target.h index ddf20e441e..22cc0941a3 100644 --- a/engines/titanic/core/multi_drop_target.h +++ b/engines/titanic/core/multi_drop_target.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/core/named_item.cpp b/engines/titanic/core/named_item.cpp index 981627a280..2b741f7657 100644 --- a/engines/titanic/core/named_item.cpp +++ b/engines/titanic/core/named_item.cpp @@ -36,7 +36,7 @@ CString CNamedItem::dumpItem(int indent) const { return result; } -void CNamedItem::save(SimpleFile *file, int indent) const { +void CNamedItem::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); file->writeQuotedLine(_name, indent); diff --git a/engines/titanic/core/named_item.h b/engines/titanic/core/named_item.h index 9763e1b332..889a847e9d 100644 --- a/engines/titanic/core/named_item.h +++ b/engines/titanic/core/named_item.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/core/node_item.cpp b/engines/titanic/core/node_item.cpp index 57acbdb3b8..79188dd385 100644 --- a/engines/titanic/core/node_item.cpp +++ b/engines/titanic/core/node_item.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CNodeItem, CNamedItem) CNodeItem::CNodeItem() : CNamedItem(), _nodeNumber(0) { } -void CNodeItem::save(SimpleFile *file, int indent) const { +void CNodeItem::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); file->writeQuotedLine("N", indent); file->writeNumberLine(_nodePos.x, indent + 1); diff --git a/engines/titanic/core/node_item.h b/engines/titanic/core/node_item.h index 85003bf97c..ff57448c7f 100644 --- a/engines/titanic/core/node_item.h +++ b/engines/titanic/core/node_item.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/core/project_item.cpp b/engines/titanic/core/project_item.cpp index 586301b9f4..a768d0e955 100644 --- a/engines/titanic/core/project_item.cpp +++ b/engines/titanic/core/project_item.cpp @@ -43,7 +43,7 @@ static const char *const SAVEGAME_STR = "TNIC"; EMPTY_MESSAGE_MAP(CProjectItem, CFileItem) -void CFileListItem::save(SimpleFile *file, int indent) const { +void CFileListItem::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); file->writeQuotedLine(_name, indent); @@ -63,7 +63,7 @@ CProjectItem::CProjectItem() : _nextRoomNumber(0), _nextMessageNumber(0), _nextObjectNumber(0), _gameManager(nullptr) { } -void CProjectItem::save(SimpleFile *file, int indent) const { +void CProjectItem::save(SimpleFile *file, int indent) { file->writeNumberLine(6, indent); file->writeQuotedLine("Next Avail. Object Number", indent); file->writeNumberLine(_nextObjectNumber, indent); diff --git a/engines/titanic/core/project_item.h b/engines/titanic/core/project_item.h index d0b8d77598..9270bdf6d1 100644 --- a/engines/titanic/core/project_item.h +++ b/engines/titanic/core/project_item.h @@ -61,7 +61,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 @@ -156,7 +156,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/core/resource_key.cpp b/engines/titanic/core/resource_key.cpp index a6a06153de..3b390af2d4 100644 --- a/engines/titanic/core/resource_key.cpp +++ b/engines/titanic/core/resource_key.cpp @@ -27,7 +27,7 @@ namespace Titanic { -void CResourceKey::save(SimpleFile *file, int indent) const { +void CResourceKey::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine("Resource Key...", indent); file->writeQuotedLine(_key, indent); diff --git a/engines/titanic/core/resource_key.h b/engines/titanic/core/resource_key.h index 8a6f86f193..eb08334de7 100644 --- a/engines/titanic/core/resource_key.h +++ b/engines/titanic/core/resource_key.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/core/room_item.cpp b/engines/titanic/core/room_item.cpp index b3a3fe41cc..78bd678138 100644 --- a/engines/titanic/core/room_item.cpp +++ b/engines/titanic/core/room_item.cpp @@ -30,7 +30,7 @@ CRoomItem::CRoomItem() : CNamedItem(), _roomNumber(0), _roomDimensionX(0.0), _roomDimensionY(0.0) { } -void CRoomItem::save(SimpleFile *file, int indent) const { +void CRoomItem::save(SimpleFile *file, int indent) { file->writeNumberLine(3, indent); file->writeQuotedLine("Exit Movies", indent); _exitMovieKey.save(file, indent); diff --git a/engines/titanic/core/room_item.h b/engines/titanic/core/room_item.h index eb7f4c43bf..bcdc95ebe0 100644 --- a/engines/titanic/core/room_item.h +++ b/engines/titanic/core/room_item.h @@ -52,7 +52,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/core/saveable_object.cpp b/engines/titanic/core/saveable_object.cpp index ad98ac4dfd..d3c64a13ec 100644 --- a/engines/titanic/core/saveable_object.cpp +++ b/engines/titanic/core/saveable_object.cpp @@ -1614,7 +1614,7 @@ CSaveableObject *CSaveableObject::createInstance(const Common::String &name) { return (*_classList)[name](); } -void CSaveableObject::save(SimpleFile *file, int indent) const { +void CSaveableObject::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); } @@ -1622,11 +1622,11 @@ void CSaveableObject::load(SimpleFile *file) { file->readNumber(); } -void CSaveableObject::saveHeader(SimpleFile *file, int indent) const { +void CSaveableObject::saveHeader(SimpleFile *file, int indent) { file->writeClassStart(getType()->_className, indent); } -void CSaveableObject::saveFooter(SimpleFile *file, int indent) const { +void CSaveableObject::saveFooter(SimpleFile *file, int indent) { file->writeClassEnd(indent); } diff --git a/engines/titanic/core/saveable_object.h b/engines/titanic/core/saveable_object.h index e067df2b99..6d80ad121d 100644 --- a/engines/titanic/core/saveable_object.h +++ b/engines/titanic/core/saveable_object.h @@ -85,7 +85,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 @@ -96,13 +96,13 @@ public: * Write out a header definition for the class to file * prior to saving the actual data for the class */ - virtual void saveHeader(SimpleFile *file, int indent) const; + virtual void saveHeader(SimpleFile *file, int indent); /** * Writes out a footer for the class after it's data has * been written to file */ - virtual void saveFooter(SimpleFile *file, int indent) const; + virtual void saveFooter(SimpleFile *file, int indent); }; } // End of namespace Titanic diff --git a/engines/titanic/core/static_image.cpp b/engines/titanic/core/static_image.cpp index cc8e1ddc1a..67286108d8 100644 --- a/engines/titanic/core/static_image.cpp +++ b/engines/titanic/core/static_image.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CStaticImage, CGameObject) -void CStaticImage::save(SimpleFile *file, int indent) const { +void CStaticImage::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/core/static_image.h b/engines/titanic/core/static_image.h index 953cf4d6bf..27f861ef55 100644 --- a/engines/titanic/core/static_image.h +++ b/engines/titanic/core/static_image.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/core/tree_item.cpp b/engines/titanic/core/tree_item.cpp index 21496ee8a5..de3d87e0d3 100644 --- a/engines/titanic/core/tree_item.cpp +++ b/engines/titanic/core/tree_item.cpp @@ -65,7 +65,7 @@ CString CTreeItem::dumpItem(int indent) const { return result; } -void CTreeItem::save(SimpleFile *file, int indent) const { +void CTreeItem::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); CMessageTarget::save(file, indent); } diff --git a/engines/titanic/core/tree_item.h b/engines/titanic/core/tree_item.h index 77d7aa59b5..a15a5ae52f 100644 --- a/engines/titanic/core/tree_item.h +++ b/engines/titanic/core/tree_item.h @@ -62,7 +62,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/core/turn_on_object.cpp b/engines/titanic/core/turn_on_object.cpp index a24843b3bb..221602bb7b 100644 --- a/engines/titanic/core/turn_on_object.cpp +++ b/engines/titanic/core/turn_on_object.cpp @@ -32,7 +32,7 @@ END_MESSAGE_MAP() CTurnOnObject::CTurnOnObject() : CBackground(), _msgName("NULL") { } -void CTurnOnObject::save(SimpleFile *file, int indent) const { +void CTurnOnObject::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_msgName, indent); diff --git a/engines/titanic/core/turn_on_object.h b/engines/titanic/core/turn_on_object.h index 3ac5a897f1..7150069909 100644 --- a/engines/titanic/core/turn_on_object.h +++ b/engines/titanic/core/turn_on_object.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/core/turn_on_play_sound.cpp b/engines/titanic/core/turn_on_play_sound.cpp index d56aef8bb7..2f9dba24a6 100644 --- a/engines/titanic/core/turn_on_play_sound.cpp +++ b/engines/titanic/core/turn_on_play_sound.cpp @@ -28,7 +28,7 @@ CTurnOnPlaySound::CTurnOnPlaySound() : CTurnOnObject(), _string3("NULL"), _fieldF8(80), _fieldFC(0) { } -void CTurnOnPlaySound::save(SimpleFile *file, int indent) const { +void CTurnOnPlaySound::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string3, indent); file->writeNumberLine(_fieldF8, indent); diff --git a/engines/titanic/core/turn_on_play_sound.h b/engines/titanic/core/turn_on_play_sound.h index 263709b844..58d33ab78b 100644 --- a/engines/titanic/core/turn_on_play_sound.h +++ b/engines/titanic/core/turn_on_play_sound.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/core/turn_on_turn_off.cpp b/engines/titanic/core/turn_on_turn_off.cpp index a6a65e30f2..d43ddf7038 100644 --- a/engines/titanic/core/turn_on_turn_off.cpp +++ b/engines/titanic/core/turn_on_turn_off.cpp @@ -28,7 +28,7 @@ CTurnOnTurnOff::CTurnOnTurnOff() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldE8(0), _fieldEC(0), _fieldF0(0) { } -void CTurnOnTurnOff::save(SimpleFile *file, int indent) const { +void CTurnOnTurnOff::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/core/turn_on_turn_off.h b/engines/titanic/core/turn_on_turn_off.h index 5683a0db0e..2df8830b0f 100644 --- a/engines/titanic/core/turn_on_turn_off.h +++ b/engines/titanic/core/turn_on_turn_off.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/core/view_item.cpp b/engines/titanic/core/view_item.cpp index 8faf100238..56069a9799 100644 --- a/engines/titanic/core/view_item.cpp +++ b/engines/titanic/core/view_item.cpp @@ -53,7 +53,7 @@ void CViewItem::setData(double v) { _field54 = sin(_field28) * -30.0; } -void CViewItem::save(SimpleFile *file, int indent) const { +void CViewItem::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); _resourceKey.save(file, indent); file->writeQuotedLine("V", indent); diff --git a/engines/titanic/core/view_item.h b/engines/titanic/core/view_item.h index d85117a0ec..4e25c007d9 100644 --- a/engines/titanic/core/view_item.h +++ b/engines/titanic/core/view_item.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/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 diff --git a/engines/titanic/gfx/act_button.cpp b/engines/titanic/gfx/act_button.cpp index 3e79a171c1..c84f358ca9 100644 --- a/engines/titanic/gfx/act_button.cpp +++ b/engines/titanic/gfx/act_button.cpp @@ -27,7 +27,7 @@ namespace Titanic { CActButton::CActButton() : CSTButton() { } -void CActButton::save(SimpleFile *file, int indent) const { +void CActButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSTButton::save(file, indent); } diff --git a/engines/titanic/gfx/act_button.h b/engines/titanic/gfx/act_button.h index b8f8f21173..3b78e0c3af 100644 --- a/engines/titanic/gfx/act_button.h +++ b/engines/titanic/gfx/act_button.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/gfx/changes_season_button.cpp b/engines/titanic/gfx/changes_season_button.cpp index a5f6778815..d5242ad890 100644 --- a/engines/titanic/gfx/changes_season_button.cpp +++ b/engines/titanic/gfx/changes_season_button.cpp @@ -27,7 +27,7 @@ namespace Titanic { CChangesSeasonButton::CChangesSeasonButton() : CSTButton() { } -void CChangesSeasonButton::save(SimpleFile *file, int indent) const { +void CChangesSeasonButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSTButton::save(file, indent); } diff --git a/engines/titanic/gfx/changes_season_button.h b/engines/titanic/gfx/changes_season_button.h index f39cfdc647..2fe4672c1f 100644 --- a/engines/titanic/gfx/changes_season_button.h +++ b/engines/titanic/gfx/changes_season_button.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/gfx/chev_left_off.cpp b/engines/titanic/gfx/chev_left_off.cpp index 0ce2d62af3..51583992c2 100644 --- a/engines/titanic/gfx/chev_left_off.cpp +++ b/engines/titanic/gfx/chev_left_off.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CChevLeftOff, CToggleSwitch) CChevLeftOff::CChevLeftOff() : CToggleSwitch() { } -void CChevLeftOff::save(SimpleFile *file, int indent) const { +void CChevLeftOff::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/chev_left_off.h b/engines/titanic/gfx/chev_left_off.h index 36a9d2c3ad..572f58abf3 100644 --- a/engines/titanic/gfx/chev_left_off.h +++ b/engines/titanic/gfx/chev_left_off.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/gfx/chev_left_on.cpp b/engines/titanic/gfx/chev_left_on.cpp index c3264b794b..5b3f6a8dcf 100644 --- a/engines/titanic/gfx/chev_left_on.cpp +++ b/engines/titanic/gfx/chev_left_on.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CChevLeftOn, CToggleSwitch) CChevLeftOn::CChevLeftOn() : CToggleSwitch() { } -void CChevLeftOn::save(SimpleFile *file, int indent) const { +void CChevLeftOn::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/chev_left_on.h b/engines/titanic/gfx/chev_left_on.h index 0de814bfcc..c015eef7c1 100644 --- a/engines/titanic/gfx/chev_left_on.h +++ b/engines/titanic/gfx/chev_left_on.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/gfx/chev_right_off.cpp b/engines/titanic/gfx/chev_right_off.cpp index 60ed2de30c..4cab0708b3 100644 --- a/engines/titanic/gfx/chev_right_off.cpp +++ b/engines/titanic/gfx/chev_right_off.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CChevRightOff, CToggleSwitch) CChevRightOff::CChevRightOff() : CToggleSwitch() { } -void CChevRightOff::save(SimpleFile *file, int indent) const { +void CChevRightOff::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/chev_right_off.h b/engines/titanic/gfx/chev_right_off.h index 3714c2b386..05b62f3241 100644 --- a/engines/titanic/gfx/chev_right_off.h +++ b/engines/titanic/gfx/chev_right_off.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/gfx/chev_right_on.cpp b/engines/titanic/gfx/chev_right_on.cpp index ac55100ed6..29a07f0d41 100644 --- a/engines/titanic/gfx/chev_right_on.cpp +++ b/engines/titanic/gfx/chev_right_on.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CChevRightOn, CToggleSwitch) CChevRightOn::CChevRightOn() : CToggleSwitch() { } -void CChevRightOn::save(SimpleFile *file, int indent) const { +void CChevRightOn::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/chev_right_on.h b/engines/titanic/gfx/chev_right_on.h index d72c34a895..56672f27bb 100644 --- a/engines/titanic/gfx/chev_right_on.h +++ b/engines/titanic/gfx/chev_right_on.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/gfx/chev_send_rec_switch.cpp b/engines/titanic/gfx/chev_send_rec_switch.cpp index d0d4a819a3..92b551852e 100644 --- a/engines/titanic/gfx/chev_send_rec_switch.cpp +++ b/engines/titanic/gfx/chev_send_rec_switch.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CChevSendRecSwitch, CToggleSwitch) CChevSendRecSwitch::CChevSendRecSwitch() : CToggleSwitch() { } -void CChevSendRecSwitch::save(SimpleFile *file, int indent) const { +void CChevSendRecSwitch::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/chev_send_rec_switch.h b/engines/titanic/gfx/chev_send_rec_switch.h index 2f51bae259..17a1b0a855 100644 --- a/engines/titanic/gfx/chev_send_rec_switch.h +++ b/engines/titanic/gfx/chev_send_rec_switch.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/gfx/chev_switch.cpp b/engines/titanic/gfx/chev_switch.cpp index d7f1107c17..a6ce93098c 100644 --- a/engines/titanic/gfx/chev_switch.cpp +++ b/engines/titanic/gfx/chev_switch.cpp @@ -27,7 +27,7 @@ namespace Titanic { CChevSwitch::CChevSwitch() : CToggleSwitch() { } -void CChevSwitch::save(SimpleFile *file, int indent) const { +void CChevSwitch::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/chev_switch.h b/engines/titanic/gfx/chev_switch.h index 6c0314be4c..d3c884e92a 100644 --- a/engines/titanic/gfx/chev_switch.h +++ b/engines/titanic/gfx/chev_switch.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/gfx/edit_control.cpp b/engines/titanic/gfx/edit_control.cpp index 17a56d6677..3b611e9bbe 100644 --- a/engines/titanic/gfx/edit_control.cpp +++ b/engines/titanic/gfx/edit_control.cpp @@ -31,7 +31,7 @@ CEditControl::CEditControl() : CGameObject(), _fieldBC(0), _fieldC0(0), { } -void CEditControl::save(SimpleFile *file, int indent) const { +void CEditControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/gfx/edit_control.h b/engines/titanic/gfx/edit_control.h index d782b72669..42886372d2 100644 --- a/engines/titanic/gfx/edit_control.h +++ b/engines/titanic/gfx/edit_control.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/gfx/elevator_button.cpp b/engines/titanic/gfx/elevator_button.cpp index 2a599ca491..3c61869677 100644 --- a/engines/titanic/gfx/elevator_button.cpp +++ b/engines/titanic/gfx/elevator_button.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CElevatorButton, CSTButton) CElevatorButton::CElevatorButton() : CSTButton() { } -void CElevatorButton::save(SimpleFile *file, int indent) const { +void CElevatorButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSTButton::save(file, indent); } diff --git a/engines/titanic/gfx/elevator_button.h b/engines/titanic/gfx/elevator_button.h index d6bf5dc3d6..da7e25a275 100644 --- a/engines/titanic/gfx/elevator_button.h +++ b/engines/titanic/gfx/elevator_button.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/gfx/get_from_succ.cpp b/engines/titanic/gfx/get_from_succ.cpp index c7a59fd97d..0f3f4ba412 100644 --- a/engines/titanic/gfx/get_from_succ.cpp +++ b/engines/titanic/gfx/get_from_succ.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CGetFromSucc, CToggleSwitch) CGetFromSucc::CGetFromSucc() : CToggleSwitch() { } -void CGetFromSucc::save(SimpleFile *file, int indent) const { +void CGetFromSucc::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/get_from_succ.h b/engines/titanic/gfx/get_from_succ.h index dc611f140f..5f16f9175f 100644 --- a/engines/titanic/gfx/get_from_succ.h +++ b/engines/titanic/gfx/get_from_succ.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/gfx/helmet_on_off.cpp b/engines/titanic/gfx/helmet_on_off.cpp index 29131778cb..c72c795994 100644 --- a/engines/titanic/gfx/helmet_on_off.cpp +++ b/engines/titanic/gfx/helmet_on_off.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CHelmetOnOff, CToggleSwitch) CHelmetOnOff::CHelmetOnOff() : CToggleSwitch() { } -void CHelmetOnOff::save(SimpleFile *file, int indent) const { +void CHelmetOnOff::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/helmet_on_off.h b/engines/titanic/gfx/helmet_on_off.h index f607b47c0c..c0e1a0affe 100644 --- a/engines/titanic/gfx/helmet_on_off.h +++ b/engines/titanic/gfx/helmet_on_off.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/gfx/home_photo.cpp b/engines/titanic/gfx/home_photo.cpp index 303e56d1ca..1c3b064955 100644 --- a/engines/titanic/gfx/home_photo.cpp +++ b/engines/titanic/gfx/home_photo.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CHomePhoto, CToggleSwitch) CHomePhoto::CHomePhoto() : CToggleSwitch() { } -void CHomePhoto::save(SimpleFile *file, int indent) const { +void CHomePhoto::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/home_photo.h b/engines/titanic/gfx/home_photo.h index db0be89a77..c14352375a 100644 --- a/engines/titanic/gfx/home_photo.h +++ b/engines/titanic/gfx/home_photo.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/gfx/icon_nav_action.cpp b/engines/titanic/gfx/icon_nav_action.cpp index e66c345bf5..bd32c937fb 100644 --- a/engines/titanic/gfx/icon_nav_action.cpp +++ b/engines/titanic/gfx/icon_nav_action.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CIconNavAction, CToggleSwitch) CIconNavAction::CIconNavAction() : CToggleSwitch() { } -void CIconNavAction::save(SimpleFile *file, int indent) const { +void CIconNavAction::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/icon_nav_action.h b/engines/titanic/gfx/icon_nav_action.h index 189ea357e4..2a5961d590 100644 --- a/engines/titanic/gfx/icon_nav_action.h +++ b/engines/titanic/gfx/icon_nav_action.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/gfx/icon_nav_butt.cpp b/engines/titanic/gfx/icon_nav_butt.cpp index 820a4270d4..cc9a217cbf 100644 --- a/engines/titanic/gfx/icon_nav_butt.cpp +++ b/engines/titanic/gfx/icon_nav_butt.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CIconNavButt, CPetGraphic) -void CIconNavButt::save(SimpleFile *file, int indent) const { +void CIconNavButt::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/gfx/icon_nav_butt.h b/engines/titanic/gfx/icon_nav_butt.h index 0cb2f1a3b1..3c73a274b2 100644 --- a/engines/titanic/gfx/icon_nav_butt.h +++ b/engines/titanic/gfx/icon_nav_butt.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/gfx/icon_nav_down.cpp b/engines/titanic/gfx/icon_nav_down.cpp index 78727a3e8b..09a0332828 100644 --- a/engines/titanic/gfx/icon_nav_down.cpp +++ b/engines/titanic/gfx/icon_nav_down.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CIconNavDown, CToggleSwitch) CIconNavDown::CIconNavDown() : CToggleSwitch() { } -void CIconNavDown::save(SimpleFile *file, int indent) const { +void CIconNavDown::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/icon_nav_down.h b/engines/titanic/gfx/icon_nav_down.h index 3eef9ef7f1..6de13eac11 100644 --- a/engines/titanic/gfx/icon_nav_down.h +++ b/engines/titanic/gfx/icon_nav_down.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/gfx/icon_nav_image.cpp b/engines/titanic/gfx/icon_nav_image.cpp index d0c6239dcd..59a50bb8a6 100644 --- a/engines/titanic/gfx/icon_nav_image.cpp +++ b/engines/titanic/gfx/icon_nav_image.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CIconNavImage, CPetGraphic) -void CIconNavImage::save(SimpleFile *file, int indent) const { +void CIconNavImage::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/gfx/icon_nav_image.h b/engines/titanic/gfx/icon_nav_image.h index 8460733a12..3ff82f385c 100644 --- a/engines/titanic/gfx/icon_nav_image.h +++ b/engines/titanic/gfx/icon_nav_image.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/gfx/icon_nav_left.cpp b/engines/titanic/gfx/icon_nav_left.cpp index 803818f19f..272e2a63af 100644 --- a/engines/titanic/gfx/icon_nav_left.cpp +++ b/engines/titanic/gfx/icon_nav_left.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CIconNavLeft, CToggleSwitch) CIconNavLeft::CIconNavLeft() : CToggleSwitch() { } -void CIconNavLeft::save(SimpleFile *file, int indent) const { +void CIconNavLeft::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/icon_nav_left.h b/engines/titanic/gfx/icon_nav_left.h index 5fd7b65a83..bba3016d7b 100644 --- a/engines/titanic/gfx/icon_nav_left.h +++ b/engines/titanic/gfx/icon_nav_left.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/gfx/icon_nav_receive.cpp b/engines/titanic/gfx/icon_nav_receive.cpp index 554656cf0a..ba5d8eaafa 100644 --- a/engines/titanic/gfx/icon_nav_receive.cpp +++ b/engines/titanic/gfx/icon_nav_receive.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CIconNavReceive, CPetGraphic) -void CIconNavReceive::save(SimpleFile *file, int indent) const { +void CIconNavReceive::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/gfx/icon_nav_receive.h b/engines/titanic/gfx/icon_nav_receive.h index f181439289..8fff0d0cd1 100644 --- a/engines/titanic/gfx/icon_nav_receive.h +++ b/engines/titanic/gfx/icon_nav_receive.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/gfx/icon_nav_right.cpp b/engines/titanic/gfx/icon_nav_right.cpp index 1553c9127c..a661e0d8dc 100644 --- a/engines/titanic/gfx/icon_nav_right.cpp +++ b/engines/titanic/gfx/icon_nav_right.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CIconNavRight, CToggleSwitch) CIconNavRight::CIconNavRight() : CToggleSwitch() { } -void CIconNavRight::save(SimpleFile *file, int indent) const { +void CIconNavRight::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/icon_nav_right.h b/engines/titanic/gfx/icon_nav_right.h index c088a2334a..1df10433b5 100644 --- a/engines/titanic/gfx/icon_nav_right.h +++ b/engines/titanic/gfx/icon_nav_right.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/gfx/icon_nav_send.cpp b/engines/titanic/gfx/icon_nav_send.cpp index 64d2a8660e..067e44847f 100644 --- a/engines/titanic/gfx/icon_nav_send.cpp +++ b/engines/titanic/gfx/icon_nav_send.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CIconNavSend, CPetGraphic) -void CIconNavSend::save(SimpleFile *file, int indent) const { +void CIconNavSend::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/gfx/icon_nav_send.h b/engines/titanic/gfx/icon_nav_send.h index 41c747edad..d70920507a 100644 --- a/engines/titanic/gfx/icon_nav_send.h +++ b/engines/titanic/gfx/icon_nav_send.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/gfx/icon_nav_up.cpp b/engines/titanic/gfx/icon_nav_up.cpp index a8f4f552b5..5671dee9cf 100644 --- a/engines/titanic/gfx/icon_nav_up.cpp +++ b/engines/titanic/gfx/icon_nav_up.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CIconNavUp, CToggleSwitch) CIconNavUp::CIconNavUp() : CToggleSwitch() { } -void CIconNavUp::save(SimpleFile *file, int indent) const { +void CIconNavUp::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/icon_nav_up.h b/engines/titanic/gfx/icon_nav_up.h index 691e6652e7..73d4fc3f8b 100644 --- a/engines/titanic/gfx/icon_nav_up.h +++ b/engines/titanic/gfx/icon_nav_up.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/gfx/keybrd_butt.cpp b/engines/titanic/gfx/keybrd_butt.cpp index 4a18d99f0a..1a0a927e54 100644 --- a/engines/titanic/gfx/keybrd_butt.cpp +++ b/engines/titanic/gfx/keybrd_butt.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CKeybrdButt, CToggleSwitch) CKeybrdButt::CKeybrdButt() : CToggleSwitch() { } -void CKeybrdButt::save(SimpleFile *file, int indent) const { +void CKeybrdButt::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/keybrd_butt.h b/engines/titanic/gfx/keybrd_butt.h index 33ff418c56..4bf38a1954 100644 --- a/engines/titanic/gfx/keybrd_butt.h +++ b/engines/titanic/gfx/keybrd_butt.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/gfx/move_object_button.cpp b/engines/titanic/gfx/move_object_button.cpp index 4ab0825864..bdc90a673c 100644 --- a/engines/titanic/gfx/move_object_button.cpp +++ b/engines/titanic/gfx/move_object_button.cpp @@ -27,7 +27,7 @@ namespace Titanic { CMoveObjectButton::CMoveObjectButton() : CSTButton(), _field11C(1) { } -void CMoveObjectButton::save(SimpleFile *file, int indent) const { +void CMoveObjectButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writePoint(_pos1, indent); file->writeNumberLine(_field11C, indent); diff --git a/engines/titanic/gfx/move_object_button.h b/engines/titanic/gfx/move_object_button.h index 3873db6f4e..a255ecf38a 100644 --- a/engines/titanic/gfx/move_object_button.h +++ b/engines/titanic/gfx/move_object_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/gfx/music_control.cpp b/engines/titanic/gfx/music_control.cpp index 5ca079f9ff..85a3d777ef 100644 --- a/engines/titanic/gfx/music_control.cpp +++ b/engines/titanic/gfx/music_control.cpp @@ -28,7 +28,7 @@ CMusicControl::CMusicControl() : CBackground(), _fieldE0(0), _fieldE4(0), _fieldE8(1), _fieldEC(1) { } -void CMusicControl::save(SimpleFile *file, int indent) const { +void CMusicControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/gfx/music_control.h b/engines/titanic/gfx/music_control.h index 97a0077c18..4b7927060b 100644 --- a/engines/titanic/gfx/music_control.h +++ b/engines/titanic/gfx/music_control.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/gfx/music_slider.cpp b/engines/titanic/gfx/music_slider.cpp index f065ae6729..fcf4d4bc76 100644 --- a/engines/titanic/gfx/music_slider.cpp +++ b/engines/titanic/gfx/music_slider.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CMusicSlider, CMusicControl) -void CMusicSlider::save(SimpleFile *file, int indent) const { +void CMusicSlider::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMusicControl::save(file, indent); } diff --git a/engines/titanic/gfx/music_slider.h b/engines/titanic/gfx/music_slider.h index b396074b00..87a06c6b60 100644 --- a/engines/titanic/gfx/music_slider.h +++ b/engines/titanic/gfx/music_slider.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/gfx/music_slider_pitch.h b/engines/titanic/gfx/music_slider_pitch.h index f50958bdcd..edb8f42680 100644 --- a/engines/titanic/gfx/music_slider_pitch.h +++ b/engines/titanic/gfx/music_slider_pitch.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) { file->writeNumberLine(1, indent); CMusicSlider::save(file, indent); } diff --git a/engines/titanic/gfx/music_slider_speed.h b/engines/titanic/gfx/music_slider_speed.h index 8ed18625ff..c6a35ddd5f 100644 --- a/engines/titanic/gfx/music_slider_speed.h +++ b/engines/titanic/gfx/music_slider_speed.h @@ -34,7 +34,7 @@ namespace Titanic { /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const { + virtual void save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMusicSlider::save(file, indent); } diff --git a/engines/titanic/gfx/music_switch.cpp b/engines/titanic/gfx/music_switch.cpp index 69e8f2eb4c..fb1c6de9f7 100644 --- a/engines/titanic/gfx/music_switch.cpp +++ b/engines/titanic/gfx/music_switch.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CMusicSwitch, CMusicControl) -void CMusicSwitch::save(SimpleFile *file, int indent) const { +void CMusicSwitch::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMusicControl::save(file, indent); } diff --git a/engines/titanic/gfx/music_switch.h b/engines/titanic/gfx/music_switch.h index bd9397e041..bb90a8f205 100644 --- a/engines/titanic/gfx/music_switch.h +++ b/engines/titanic/gfx/music_switch.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/gfx/music_switch_inversion.h b/engines/titanic/gfx/music_switch_inversion.h index 6aea692f61..052c812897 100644 --- a/engines/titanic/gfx/music_switch_inversion.h +++ b/engines/titanic/gfx/music_switch_inversion.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) { file->writeNumberLine(1, indent); CMusicSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/music_switch_reverse.h b/engines/titanic/gfx/music_switch_reverse.h index 99460f1845..5a6208cede 100644 --- a/engines/titanic/gfx/music_switch_reverse.h +++ b/engines/titanic/gfx/music_switch_reverse.h @@ -34,7 +34,7 @@ namespace Titanic { /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const { + virtual void save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMusicSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/music_voice_mute.h b/engines/titanic/gfx/music_voice_mute.h index 2198b96e42..85aeda869c 100644 --- a/engines/titanic/gfx/music_voice_mute.h +++ b/engines/titanic/gfx/music_voice_mute.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) { file->writeNumberLine(1, indent); CMusicControl::save(file, indent); } diff --git a/engines/titanic/gfx/send_to_succ.cpp b/engines/titanic/gfx/send_to_succ.cpp index 938fa7c3a9..3054191e94 100644 --- a/engines/titanic/gfx/send_to_succ.cpp +++ b/engines/titanic/gfx/send_to_succ.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CSendToSucc, CToggleSwitch) CSendToSucc::CSendToSucc() : CToggleSwitch() { } -void CSendToSucc::save(SimpleFile *file, int indent) const { +void CSendToSucc::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/send_to_succ.h b/engines/titanic/gfx/send_to_succ.h index 65868cd83d..1b8d17741e 100644 --- a/engines/titanic/gfx/send_to_succ.h +++ b/engines/titanic/gfx/send_to_succ.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/gfx/sgt_selector.cpp b/engines/titanic/gfx/sgt_selector.cpp index 170b0f4712..c7b52f8b03 100644 --- a/engines/titanic/gfx/sgt_selector.cpp +++ b/engines/titanic/gfx/sgt_selector.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CSGTSelector, CPetGraphic) -void CSGTSelector::save(SimpleFile *file, int indent) const { +void CSGTSelector::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/gfx/sgt_selector.h b/engines/titanic/gfx/sgt_selector.h index 82757fa3b9..c6d2a167d2 100644 --- a/engines/titanic/gfx/sgt_selector.h +++ b/engines/titanic/gfx/sgt_selector.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/gfx/slider_button.cpp b/engines/titanic/gfx/slider_button.cpp index bcd9adde57..0633158e97 100644 --- a/engines/titanic/gfx/slider_button.cpp +++ b/engines/titanic/gfx/slider_button.cpp @@ -28,7 +28,7 @@ CSliderButton::CSliderButton() : CSTButton(), _field114(0), _field118(0), _field11C(0) { } -void CSliderButton::save(SimpleFile *file, int indent) const { +void CSliderButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field114, indent); file->writeNumberLine(_field118, indent); diff --git a/engines/titanic/gfx/slider_button.h b/engines/titanic/gfx/slider_button.h index 2fdf448d09..3bd33aa2ba 100644 --- a/engines/titanic/gfx/slider_button.h +++ b/engines/titanic/gfx/slider_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/gfx/small_chev_left_off.cpp b/engines/titanic/gfx/small_chev_left_off.cpp index 8647ad8fe4..b0b22e9928 100644 --- a/engines/titanic/gfx/small_chev_left_off.cpp +++ b/engines/titanic/gfx/small_chev_left_off.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CSmallChevLeftOff, CToggleSwitch) CSmallChevLeftOff::CSmallChevLeftOff() : CToggleSwitch() { } -void CSmallChevLeftOff::save(SimpleFile *file, int indent) const { +void CSmallChevLeftOff::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/small_chev_left_off.h b/engines/titanic/gfx/small_chev_left_off.h index 27c40017ad..a164235828 100644 --- a/engines/titanic/gfx/small_chev_left_off.h +++ b/engines/titanic/gfx/small_chev_left_off.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/gfx/small_chev_left_on.cpp b/engines/titanic/gfx/small_chev_left_on.cpp index b5031e922e..a2df2b524c 100644 --- a/engines/titanic/gfx/small_chev_left_on.cpp +++ b/engines/titanic/gfx/small_chev_left_on.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CSmallChevLeftOn, CToggleSwitch) CSmallChevLeftOn::CSmallChevLeftOn() : CToggleSwitch() { } -void CSmallChevLeftOn::save(SimpleFile *file, int indent) const { +void CSmallChevLeftOn::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/small_chev_left_on.h b/engines/titanic/gfx/small_chev_left_on.h index 7b60857e67..ab9414727d 100644 --- a/engines/titanic/gfx/small_chev_left_on.h +++ b/engines/titanic/gfx/small_chev_left_on.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/gfx/small_chev_right_off.cpp b/engines/titanic/gfx/small_chev_right_off.cpp index 6d0c08eb8e..48f0941c95 100644 --- a/engines/titanic/gfx/small_chev_right_off.cpp +++ b/engines/titanic/gfx/small_chev_right_off.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CSmallChevRightOff, CToggleSwitch) CSmallChevRightOff::CSmallChevRightOff() : CToggleSwitch() { } -void CSmallChevRightOff::save(SimpleFile *file, int indent) const { +void CSmallChevRightOff::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/small_chev_right_off.h b/engines/titanic/gfx/small_chev_right_off.h index 0dadae1e07..3283eb2606 100644 --- a/engines/titanic/gfx/small_chev_right_off.h +++ b/engines/titanic/gfx/small_chev_right_off.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/gfx/small_chev_right_on.cpp b/engines/titanic/gfx/small_chev_right_on.cpp index 552990d0b8..af794fa428 100644 --- a/engines/titanic/gfx/small_chev_right_on.cpp +++ b/engines/titanic/gfx/small_chev_right_on.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CSmallChevRightOn, CToggleSwitch) CSmallChevRightOn::CSmallChevRightOn() : CToggleSwitch() { } -void CSmallChevRightOn::save(SimpleFile *file, int indent) const { +void CSmallChevRightOn::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/gfx/small_chev_right_on.h b/engines/titanic/gfx/small_chev_right_on.h index ea042d30ee..fe522c45cb 100644 --- a/engines/titanic/gfx/small_chev_right_on.h +++ b/engines/titanic/gfx/small_chev_right_on.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/gfx/st_button.cpp b/engines/titanic/gfx/st_button.cpp index b45d990c31..4b93d46595 100644 --- a/engines/titanic/gfx/st_button.cpp +++ b/engines/titanic/gfx/st_button.cpp @@ -40,7 +40,7 @@ CSTButton::CSTButton() : CBackground() { _buttonFrame = 0; } -void CSTButton::save(SimpleFile *file, int indent) const { +void CSTButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_statusInc, indent); file->writeQuotedLine(_statusTarget, indent); diff --git a/engines/titanic/gfx/st_button.h b/engines/titanic/gfx/st_button.h index e2f9aa3ea1..b3bd5e82ad 100644 --- a/engines/titanic/gfx/st_button.h +++ b/engines/titanic/gfx/st_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/gfx/status_change_button.cpp b/engines/titanic/gfx/status_change_button.cpp index 36037a2564..6644247ff2 100644 --- a/engines/titanic/gfx/status_change_button.cpp +++ b/engines/titanic/gfx/status_change_button.cpp @@ -27,7 +27,7 @@ namespace Titanic { CStatusChangeButton::CStatusChangeButton() : CSTButton() { } -void CStatusChangeButton::save(SimpleFile *file, int indent) const { +void CStatusChangeButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CSTButton::save(file, indent); } diff --git a/engines/titanic/gfx/status_change_button.h b/engines/titanic/gfx/status_change_button.h index be0d9985b2..818f21e056 100644 --- a/engines/titanic/gfx/status_change_button.h +++ b/engines/titanic/gfx/status_change_button.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/gfx/text_down.cpp b/engines/titanic/gfx/text_down.cpp index 967d60f495..4a68752922 100644 --- a/engines/titanic/gfx/text_down.cpp +++ b/engines/titanic/gfx/text_down.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CTextDown, CPetGraphic) -void CTextDown::save(SimpleFile *file, int indent) const { +void CTextDown::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/gfx/text_down.h b/engines/titanic/gfx/text_down.h index 920ea8c958..04805e714a 100644 --- a/engines/titanic/gfx/text_down.h +++ b/engines/titanic/gfx/text_down.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/gfx/text_skrew.cpp b/engines/titanic/gfx/text_skrew.cpp index 30cc7f407b..391ed3796f 100644 --- a/engines/titanic/gfx/text_skrew.cpp +++ b/engines/titanic/gfx/text_skrew.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CTextSkrew, CPetGraphic) -void CTextSkrew::save(SimpleFile *file, int indent) const { +void CTextSkrew::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/gfx/text_skrew.h b/engines/titanic/gfx/text_skrew.h index 6e86e70825..a9326336bb 100644 --- a/engines/titanic/gfx/text_skrew.h +++ b/engines/titanic/gfx/text_skrew.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/gfx/text_up.cpp b/engines/titanic/gfx/text_up.cpp index 0cb4153f25..d5e2b1bab3 100644 --- a/engines/titanic/gfx/text_up.cpp +++ b/engines/titanic/gfx/text_up.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CTextUp, CPetGraphic) -void CTextUp::save(SimpleFile *file, int indent) const { +void CTextUp::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/gfx/text_up.h b/engines/titanic/gfx/text_up.h index 05a54bc45a..19f150b600 100644 --- a/engines/titanic/gfx/text_up.h +++ b/engines/titanic/gfx/text_up.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/gfx/toggle_button.cpp b/engines/titanic/gfx/toggle_button.cpp index 3bb2e967e9..78e53569de 100644 --- a/engines/titanic/gfx/toggle_button.cpp +++ b/engines/titanic/gfx/toggle_button.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CToggleButton, CBackground) -void CToggleButton::save(SimpleFile *file, int indent) const { +void CToggleButton::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); diff --git a/engines/titanic/gfx/toggle_button.h b/engines/titanic/gfx/toggle_button.h index ac0bb69b9d..b82e255029 100644 --- a/engines/titanic/gfx/toggle_button.h +++ b/engines/titanic/gfx/toggle_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/gfx/toggle_switch.cpp b/engines/titanic/gfx/toggle_switch.cpp index 330714693f..20cbb863ee 100644 --- a/engines/titanic/gfx/toggle_switch.cpp +++ b/engines/titanic/gfx/toggle_switch.cpp @@ -27,7 +27,7 @@ namespace Titanic { CToggleSwitch::CToggleSwitch() : CGameObject(), _fieldBC(0) { } -void CToggleSwitch::save(SimpleFile *file, int indent) const { +void CToggleSwitch::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writePoint(_pos1, indent); diff --git a/engines/titanic/gfx/toggle_switch.h b/engines/titanic/gfx/toggle_switch.h index cc369f6281..ce39feefda 100644 --- a/engines/titanic/gfx/toggle_switch.h +++ b/engines/titanic/gfx/toggle_switch.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/messages/auto_sound_event.cpp b/engines/titanic/messages/auto_sound_event.cpp index 006762c49b..baa11c7d41 100644 --- a/engines/titanic/messages/auto_sound_event.cpp +++ b/engines/titanic/messages/auto_sound_event.cpp @@ -27,7 +27,7 @@ namespace Titanic { CAutoSoundEvent::CAutoSoundEvent() : CGameObject(), _value1(0), _value2(70) { } -void CAutoSoundEvent::save(SimpleFile *file, int indent) const { +void CAutoSoundEvent::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/messages/auto_sound_event.h b/engines/titanic/messages/auto_sound_event.h index 03baba354f..599404de9e 100644 --- a/engines/titanic/messages/auto_sound_event.h +++ b/engines/titanic/messages/auto_sound_event.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/messages/bilge_auto_sound_event.cpp b/engines/titanic/messages/bilge_auto_sound_event.cpp index 7bc91da0bc..fa87b4b79c 100644 --- a/engines/titanic/messages/bilge_auto_sound_event.cpp +++ b/engines/titanic/messages/bilge_auto_sound_event.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBilgeAutoSoundEvent::save(SimpleFile *file, int indent) const { +void CBilgeAutoSoundEvent::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CAutoSoundEvent::save(file, indent); } diff --git a/engines/titanic/messages/bilge_auto_sound_event.h b/engines/titanic/messages/bilge_auto_sound_event.h index e51f74bfa5..5d322820ac 100644 --- a/engines/titanic/messages/bilge_auto_sound_event.h +++ b/engines/titanic/messages/bilge_auto_sound_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/messages/bilge_dispensor_event.cpp b/engines/titanic/messages/bilge_dispensor_event.cpp index f0daa7aa5e..043ffe75d3 100644 --- a/engines/titanic/messages/bilge_dispensor_event.cpp +++ b/engines/titanic/messages/bilge_dispensor_event.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBilgeDispensorEvent::save(SimpleFile *file, int indent) const { +void CBilgeDispensorEvent::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CAutoSoundEvent::save(file, indent); } diff --git a/engines/titanic/messages/bilge_dispensor_event.h b/engines/titanic/messages/bilge_dispensor_event.h index df6e1127c1..8616373174 100644 --- a/engines/titanic/messages/bilge_dispensor_event.h +++ b/engines/titanic/messages/bilge_dispensor_event.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/messages/door_auto_sound_event.cpp b/engines/titanic/messages/door_auto_sound_event.cpp index ff9101f506..b9cedae6de 100644 --- a/engines/titanic/messages/door_auto_sound_event.cpp +++ b/engines/titanic/messages/door_auto_sound_event.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CDoorAutoSoundEvent::save(SimpleFile *file, int indent) const { +void CDoorAutoSoundEvent::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/messages/door_auto_sound_event.h b/engines/titanic/messages/door_auto_sound_event.h index cccc3fff9d..9b3ebbc3bc 100644 --- a/engines/titanic/messages/door_auto_sound_event.h +++ b/engines/titanic/messages/door_auto_sound_event.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/messages/messages.cpp b/engines/titanic/messages/messages.cpp index e25c22fc7e..5f587c975d 100644 --- a/engines/titanic/messages/messages.cpp +++ b/engines/titanic/messages/messages.cpp @@ -32,7 +32,7 @@ namespace Titanic { CMessage::CMessage() : CSaveableObject() { } -void CMessage::save(SimpleFile *file, int indent) const { +void CMessage::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); } diff --git a/engines/titanic/messages/messages.h b/engines/titanic/messages/messages.h index d456714179..278fac1fbd 100644 --- a/engines/titanic/messages/messages.h +++ b/engines/titanic/messages/messages.h @@ -123,7 +123,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/messages/service_elevator_door.cpp b/engines/titanic/messages/service_elevator_door.cpp index e771f14484..748790e4aa 100644 --- a/engines/titanic/messages/service_elevator_door.cpp +++ b/engines/titanic/messages/service_elevator_door.cpp @@ -29,7 +29,7 @@ CServiceElevatorDoor::CServiceElevatorDoor() : CDoorAutoSoundEvent() { _string2 = "z#32.wav"; } -void CServiceElevatorDoor::save(SimpleFile *file, int indent) const { +void CServiceElevatorDoor::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string2, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/messages/service_elevator_door.h b/engines/titanic/messages/service_elevator_door.h index ac5cf5148d..104b5735f1 100644 --- a/engines/titanic/messages/service_elevator_door.h +++ b/engines/titanic/messages/service_elevator_door.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/moves/enter_bomb_room.cpp b/engines/titanic/moves/enter_bomb_room.cpp index e989d47114..55b838d026 100644 --- a/engines/titanic/moves/enter_bomb_room.cpp +++ b/engines/titanic/moves/enter_bomb_room.cpp @@ -27,7 +27,7 @@ namespace Titanic { CEnterBombRoom::CEnterBombRoom() : CMovePlayerTo(), _fieldC8(0) { } -void CEnterBombRoom::save(SimpleFile *file, int indent) const { +void CEnterBombRoom::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMovePlayerTo::save(file, indent); } diff --git a/engines/titanic/moves/enter_bomb_room.h b/engines/titanic/moves/enter_bomb_room.h index dabde2e308..d49b17688a 100644 --- a/engines/titanic/moves/enter_bomb_room.h +++ b/engines/titanic/moves/enter_bomb_room.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/moves/enter_bridge.cpp b/engines/titanic/moves/enter_bridge.cpp index f5269348a9..2600ee699f 100644 --- a/engines/titanic/moves/enter_bridge.cpp +++ b/engines/titanic/moves/enter_bridge.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEnterBridge::save(SimpleFile *file, int indent) const { +void CEnterBridge::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/moves/enter_bridge.h b/engines/titanic/moves/enter_bridge.h index fee299adf0..86cc2f3dca 100644 --- a/engines/titanic/moves/enter_bridge.h +++ b/engines/titanic/moves/enter_bridge.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/moves/enter_exit_first_class_state.cpp b/engines/titanic/moves/enter_exit_first_class_state.cpp index ed80947c07..0e2c6c0b6c 100644 --- a/engines/titanic/moves/enter_exit_first_class_state.cpp +++ b/engines/titanic/moves/enter_exit_first_class_state.cpp @@ -34,7 +34,7 @@ void CEnterExitFirstClassState::deinit() { delete _v1; } -void CEnterExitFirstClassState::save(SimpleFile *file, int indent) const { +void CEnterExitFirstClassState::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(*_v1, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/moves/enter_exit_first_class_state.h b/engines/titanic/moves/enter_exit_first_class_state.h index 728395d20c..2038084214 100644 --- a/engines/titanic/moves/enter_exit_first_class_state.h +++ b/engines/titanic/moves/enter_exit_first_class_state.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/moves/enter_exit_mini_lift.cpp b/engines/titanic/moves/enter_exit_mini_lift.cpp index b6a1423875..eb56bdb3bd 100644 --- a/engines/titanic/moves/enter_exit_mini_lift.cpp +++ b/engines/titanic/moves/enter_exit_mini_lift.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEnterExitMiniLift::save(SimpleFile *file, int indent) const { +void CEnterExitMiniLift::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/moves/enter_exit_mini_lift.h b/engines/titanic/moves/enter_exit_mini_lift.h index 5a91d397f9..e973cf8f8f 100644 --- a/engines/titanic/moves/enter_exit_mini_lift.h +++ b/engines/titanic/moves/enter_exit_mini_lift.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/moves/enter_exit_sec_class_mini_lift.cpp b/engines/titanic/moves/enter_exit_sec_class_mini_lift.cpp index f993d26797..b571a255c5 100644 --- a/engines/titanic/moves/enter_exit_sec_class_mini_lift.cpp +++ b/engines/titanic/moves/enter_exit_sec_class_mini_lift.cpp @@ -34,7 +34,7 @@ void CEnterExitSecClassMiniLift::deinit() { delete _statics; } -void CEnterExitSecClassMiniLift::save(SimpleFile *file, int indent) const { +void CEnterExitSecClassMiniLift::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_statics->_v1, indent); file->writeNumberLine(_statics->_v2, indent); diff --git a/engines/titanic/moves/enter_exit_sec_class_mini_lift.h b/engines/titanic/moves/enter_exit_sec_class_mini_lift.h index a1081c2836..935dfb7079 100644 --- a/engines/titanic/moves/enter_exit_sec_class_mini_lift.h +++ b/engines/titanic/moves/enter_exit_sec_class_mini_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/moves/enter_exit_view.cpp b/engines/titanic/moves/enter_exit_view.cpp index 3e5789eebe..825156acce 100644 --- a/engines/titanic/moves/enter_exit_view.cpp +++ b/engines/titanic/moves/enter_exit_view.cpp @@ -28,7 +28,7 @@ CEnterExitView::CEnterExitView() : CGameObject(), _fieldBC(0), _fieldC0(0), _fieldC4(0), _fieldC8(0), _fieldCC(0) { } -void CEnterExitView::save(SimpleFile *file, int indent) const { +void CEnterExitView::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/moves/enter_exit_view.h b/engines/titanic/moves/enter_exit_view.h index e967723558..774c72e512 100644 --- a/engines/titanic/moves/enter_exit_view.h +++ b/engines/titanic/moves/enter_exit_view.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/moves/enter_sec_class_state.cpp b/engines/titanic/moves/enter_sec_class_state.cpp index 74f6176650..dced724de7 100644 --- a/engines/titanic/moves/enter_sec_class_state.cpp +++ b/engines/titanic/moves/enter_sec_class_state.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CEnterSecClassState::save(SimpleFile *file, int indent) const { +void CEnterSecClassState::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/moves/enter_sec_class_state.h b/engines/titanic/moves/enter_sec_class_state.h index 2e80939976..3eadfa2717 100644 --- a/engines/titanic/moves/enter_sec_class_state.h +++ b/engines/titanic/moves/enter_sec_class_state.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/moves/exit_arboretum.cpp b/engines/titanic/moves/exit_arboretum.cpp index 2b5b497f5c..d606510c6e 100644 --- a/engines/titanic/moves/exit_arboretum.cpp +++ b/engines/titanic/moves/exit_arboretum.cpp @@ -28,7 +28,7 @@ CExitArboretum::CExitArboretum() : CMovePlayerTo(), _fieldC8(0), _fieldCC(0), _fieldD0(1) { } -void CExitArboretum::save(SimpleFile *file, int indent) const { +void CExitArboretum::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldC8, indent); file->writeNumberLine(_fieldCC, indent); diff --git a/engines/titanic/moves/exit_arboretum.h b/engines/titanic/moves/exit_arboretum.h index 0da67dd5a0..a20cf46fff 100644 --- a/engines/titanic/moves/exit_arboretum.h +++ b/engines/titanic/moves/exit_arboretum.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/moves/exit_bridge.cpp b/engines/titanic/moves/exit_bridge.cpp index 99138f946e..2ff56d30ec 100644 --- a/engines/titanic/moves/exit_bridge.cpp +++ b/engines/titanic/moves/exit_bridge.cpp @@ -27,7 +27,7 @@ namespace Titanic { CExitBridge::CExitBridge() : CMovePlayerTo() { } -void CExitBridge::save(SimpleFile *file, int indent) const { +void CExitBridge::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMovePlayerTo::save(file, indent); } diff --git a/engines/titanic/moves/exit_bridge.h b/engines/titanic/moves/exit_bridge.h index 9231728e12..b5fcd9af27 100644 --- a/engines/titanic/moves/exit_bridge.h +++ b/engines/titanic/moves/exit_bridge.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/moves/exit_lift.cpp b/engines/titanic/moves/exit_lift.cpp index 376b9e04f1..a264be883d 100644 --- a/engines/titanic/moves/exit_lift.cpp +++ b/engines/titanic/moves/exit_lift.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CExitLift::save(SimpleFile *file, int indent) const { +void CExitLift::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/moves/exit_lift.h b/engines/titanic/moves/exit_lift.h index e97f041804..6144d4325d 100644 --- a/engines/titanic/moves/exit_lift.h +++ b/engines/titanic/moves/exit_lift.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/moves/exit_pellerator.cpp b/engines/titanic/moves/exit_pellerator.cpp index 7c0a52b2ae..68a2a8da91 100644 --- a/engines/titanic/moves/exit_pellerator.cpp +++ b/engines/titanic/moves/exit_pellerator.cpp @@ -34,7 +34,7 @@ void CExitPellerator::deinit() { delete _statics; } -void CExitPellerator::save(SimpleFile *file, int indent) const { +void CExitPellerator::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_statics->_v1, indent); file->writeNumberLine(_statics->_v2, indent); diff --git a/engines/titanic/moves/exit_pellerator.h b/engines/titanic/moves/exit_pellerator.h index 3ae70dbed8..36108314bd 100644 --- a/engines/titanic/moves/exit_pellerator.h +++ b/engines/titanic/moves/exit_pellerator.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/moves/exit_state_room.cpp b/engines/titanic/moves/exit_state_room.cpp index 0dc4a4f967..1c78a69ac2 100644 --- a/engines/titanic/moves/exit_state_room.cpp +++ b/engines/titanic/moves/exit_state_room.cpp @@ -27,7 +27,7 @@ namespace Titanic { CExitStateRoom::CExitStateRoom() : CMovePlayerTo(), _fieldC8(0) { } -void CExitStateRoom::save(SimpleFile *file, int indent) const { +void CExitStateRoom::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMovePlayerTo::save(file, indent); } diff --git a/engines/titanic/moves/exit_state_room.h b/engines/titanic/moves/exit_state_room.h index ccf52ce3f3..ac94297986 100644 --- a/engines/titanic/moves/exit_state_room.h +++ b/engines/titanic/moves/exit_state_room.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/moves/exit_tiania.cpp b/engines/titanic/moves/exit_tiania.cpp index 99b6c96db7..6cb2422b1f 100644 --- a/engines/titanic/moves/exit_tiania.cpp +++ b/engines/titanic/moves/exit_tiania.cpp @@ -28,7 +28,7 @@ CExitTiania::CExitTiania() : CMovePlayerTo(), _fieldC8(0), _string1("NULL"), _string2("NULL"), _string3("NULL") { } -void CExitTiania::save(SimpleFile *file, int indent) const { +void CExitTiania::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldC8, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/moves/exit_tiania.h b/engines/titanic/moves/exit_tiania.h index 3af5aadc2e..6ae3bc8406 100644 --- a/engines/titanic/moves/exit_tiania.h +++ b/engines/titanic/moves/exit_tiania.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/moves/move_player_in_parrot_room.cpp b/engines/titanic/moves/move_player_in_parrot_room.cpp index 91c1706abf..df38c63cd4 100644 --- a/engines/titanic/moves/move_player_in_parrot_room.cpp +++ b/engines/titanic/moves/move_player_in_parrot_room.cpp @@ -27,7 +27,7 @@ namespace Titanic { CMovePlayerInParrotRoom::CMovePlayerInParrotRoom() : CMovePlayerTo() { } -void CMovePlayerInParrotRoom::save(SimpleFile *file, int indent) const { +void CMovePlayerInParrotRoom::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMovePlayerTo::save(file, indent); } diff --git a/engines/titanic/moves/move_player_in_parrot_room.h b/engines/titanic/moves/move_player_in_parrot_room.h index 5339a60a9c..cdb00070a8 100644 --- a/engines/titanic/moves/move_player_in_parrot_room.h +++ b/engines/titanic/moves/move_player_in_parrot_room.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/moves/move_player_to.cpp b/engines/titanic/moves/move_player_to.cpp index 8ce8f77896..9b6000c4f8 100644 --- a/engines/titanic/moves/move_player_to.cpp +++ b/engines/titanic/moves/move_player_to.cpp @@ -27,7 +27,7 @@ namespace Titanic { CMovePlayerTo::CMovePlayerTo() : CGameObject() { } -void CMovePlayerTo::save(SimpleFile *file, int indent) const { +void CMovePlayerTo::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_destination, indent); diff --git a/engines/titanic/moves/move_player_to.h b/engines/titanic/moves/move_player_to.h index 2617b46097..890c822acd 100644 --- a/engines/titanic/moves/move_player_to.h +++ b/engines/titanic/moves/move_player_to.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/moves/move_player_to_from.cpp b/engines/titanic/moves/move_player_to_from.cpp index f349c5c265..1a67dc8505 100644 --- a/engines/titanic/moves/move_player_to_from.cpp +++ b/engines/titanic/moves/move_player_to_from.cpp @@ -27,7 +27,7 @@ namespace Titanic { CMovePlayerToFrom::CMovePlayerToFrom() : CGameObject() { } -void CMovePlayerToFrom::save(SimpleFile *file, int indent) const { +void CMovePlayerToFrom::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/moves/move_player_to_from.h b/engines/titanic/moves/move_player_to_from.h index bc1878af38..14c6e3ae25 100644 --- a/engines/titanic/moves/move_player_to_from.h +++ b/engines/titanic/moves/move_player_to_from.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/moves/multi_move.cpp b/engines/titanic/moves/multi_move.cpp index 6b35b88654..fb5570df9b 100644 --- a/engines/titanic/moves/multi_move.cpp +++ b/engines/titanic/moves/multi_move.cpp @@ -27,7 +27,7 @@ namespace Titanic { CMultiMove::CMultiMove() : CMovePlayerTo() { } -void CMultiMove::save(SimpleFile *file, int indent) const { +void CMultiMove::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/moves/multi_move.h b/engines/titanic/moves/multi_move.h index a06632df52..a18eb7676f 100644 --- a/engines/titanic/moves/multi_move.h +++ b/engines/titanic/moves/multi_move.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/moves/pan_from_pel.cpp b/engines/titanic/moves/pan_from_pel.cpp index db3c9bf49c..fccc643ec5 100644 --- a/engines/titanic/moves/pan_from_pel.cpp +++ b/engines/titanic/moves/pan_from_pel.cpp @@ -27,7 +27,7 @@ namespace Titanic { CPanFromPel::CPanFromPel() : CMovePlayerTo(), _fieldC8(0) { } -void CPanFromPel::save(SimpleFile *file, int indent) const { +void CPanFromPel::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldC8, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/moves/pan_from_pel.h b/engines/titanic/moves/pan_from_pel.h index b94f5166d7..936bac8764 100644 --- a/engines/titanic/moves/pan_from_pel.h +++ b/engines/titanic/moves/pan_from_pel.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/moves/restaurant_pan_handler.cpp b/engines/titanic/moves/restaurant_pan_handler.cpp index 8efc5cbe65..92f55b46cc 100644 --- a/engines/titanic/moves/restaurant_pan_handler.cpp +++ b/engines/titanic/moves/restaurant_pan_handler.cpp @@ -26,7 +26,7 @@ namespace Titanic { int CRestaurantPanHandler::_v1; -void CRestaurantPanHandler::save(SimpleFile *file, int indent) const { +void CRestaurantPanHandler::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/moves/restaurant_pan_handler.h b/engines/titanic/moves/restaurant_pan_handler.h index 29f7832b74..2caf286d6c 100644 --- a/engines/titanic/moves/restaurant_pan_handler.h +++ b/engines/titanic/moves/restaurant_pan_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/moves/restricted_move.cpp b/engines/titanic/moves/restricted_move.cpp index d6a046d30c..5f18dab8ff 100644 --- a/engines/titanic/moves/restricted_move.cpp +++ b/engines/titanic/moves/restricted_move.cpp @@ -27,7 +27,7 @@ namespace Titanic { CRestrictedMove::CRestrictedMove() : CMovePlayerTo(), _fieldC8(0) { } -void CRestrictedMove::save(SimpleFile *file, int indent) const { +void CRestrictedMove::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldC8, indent); diff --git a/engines/titanic/moves/restricted_move.h b/engines/titanic/moves/restricted_move.h index ef95e0f5b5..59ff69ff3f 100644 --- a/engines/titanic/moves/restricted_move.h +++ b/engines/titanic/moves/restricted_move.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/moves/scraliontis_table.cpp b/engines/titanic/moves/scraliontis_table.cpp index d67b2f3622..77d2f9df60 100644 --- a/engines/titanic/moves/scraliontis_table.cpp +++ b/engines/titanic/moves/scraliontis_table.cpp @@ -28,7 +28,7 @@ CScraliontisTable::CScraliontisTable() : CRestaurantPanHandler(), _fieldE0(0), _fieldE4(0), _fieldE8(0), _fieldEC(0) { } -void CScraliontisTable::save(SimpleFile *file, int indent) const { +void CScraliontisTable::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldE0, indent); file->writeNumberLine(_fieldE4, indent); diff --git a/engines/titanic/moves/scraliontis_table.h b/engines/titanic/moves/scraliontis_table.h index 53b000646b..a1b8052bfc 100644 --- a/engines/titanic/moves/scraliontis_table.h +++ b/engines/titanic/moves/scraliontis_table.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/moves/trip_down_canal.cpp b/engines/titanic/moves/trip_down_canal.cpp index 349a7e945c..c8051dda03 100644 --- a/engines/titanic/moves/trip_down_canal.cpp +++ b/engines/titanic/moves/trip_down_canal.cpp @@ -27,7 +27,7 @@ namespace Titanic { CTripDownCanal::CTripDownCanal() : CMovePlayerTo() { } -void CTripDownCanal::save(SimpleFile *file, int indent) const { +void CTripDownCanal::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CMovePlayerTo::save(file, indent); } diff --git a/engines/titanic/moves/trip_down_canal.h b/engines/titanic/moves/trip_down_canal.h index 80d5dcf706..debe064287 100644 --- a/engines/titanic/moves/trip_down_canal.h +++ b/engines/titanic/moves/trip_down_canal.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/npcs/barbot.cpp b/engines/titanic/npcs/barbot.cpp index 8abf41d426..8f1c5e6ab3 100644 --- a/engines/titanic/npcs/barbot.cpp +++ b/engines/titanic/npcs/barbot.cpp @@ -171,7 +171,7 @@ CBarbot::CBarbot() : CTrueTalkNPC() { _field340 = 95; } -void CBarbot::save(SimpleFile *file, int indent) const { +void CBarbot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field108, indent); file->writeNumberLine(_field10C, indent); diff --git a/engines/titanic/npcs/barbot.h b/engines/titanic/npcs/barbot.h index fa06f8f638..27a091ef29 100644 --- a/engines/titanic/npcs/barbot.h +++ b/engines/titanic/npcs/barbot.h @@ -181,7 +181,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/npcs/bellbot.cpp b/engines/titanic/npcs/bellbot.cpp index 48747228f8..7ee0128a1e 100644 --- a/engines/titanic/npcs/bellbot.cpp +++ b/engines/titanic/npcs/bellbot.cpp @@ -27,7 +27,7 @@ namespace Titanic { CBellBot::CBellBot() : CTrueTalkNPC(), _field108(0) { } -void CBellBot::save(SimpleFile *file, int indent) const { +void CBellBot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field108, indent); diff --git a/engines/titanic/npcs/bellbot.h b/engines/titanic/npcs/bellbot.h index c3d38f65ec..6be0615303 100644 --- a/engines/titanic/npcs/bellbot.h +++ b/engines/titanic/npcs/bellbot.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/npcs/callbot.cpp b/engines/titanic/npcs/callbot.cpp index 3fb7ee2f59..eb0d4b71d5 100644 --- a/engines/titanic/npcs/callbot.cpp +++ b/engines/titanic/npcs/callbot.cpp @@ -27,7 +27,7 @@ namespace Titanic { CCallBot::CCallBot() : CGameObject(), _fieldC8(0) { } -void CCallBot::save(SimpleFile *file, int indent) const { +void CCallBot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeNumberLine(_fieldC8, indent); diff --git a/engines/titanic/npcs/callbot.h b/engines/titanic/npcs/callbot.h index 299a329c07..6848121529 100644 --- a/engines/titanic/npcs/callbot.h +++ b/engines/titanic/npcs/callbot.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/npcs/character.cpp b/engines/titanic/npcs/character.cpp index df905d98b3..ed36db16d3 100644 --- a/engines/titanic/npcs/character.cpp +++ b/engines/titanic/npcs/character.cpp @@ -33,7 +33,7 @@ END_MESSAGE_MAP() CCharacter::CCharacter() : CGameObject(), _fieldBC(0), _fieldC0(0), _fieldC4(1) { } -void CCharacter::save(SimpleFile *file, int indent) const { +void CCharacter::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeNumberLine(_fieldC0, indent); diff --git a/engines/titanic/npcs/character.h b/engines/titanic/npcs/character.h index c0cc8ff65f..2362f01dac 100644 --- a/engines/titanic/npcs/character.h +++ b/engines/titanic/npcs/character.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/npcs/deskbot.cpp b/engines/titanic/npcs/deskbot.cpp index 3fe92367ce..d11b135983 100644 --- a/engines/titanic/npcs/deskbot.cpp +++ b/engines/titanic/npcs/deskbot.cpp @@ -55,7 +55,7 @@ int CDeskbot::_v2; CDeskbot::CDeskbot() : CTrueTalkNPC(), _deskbotActive(false), _classNum(0) { } -void CDeskbot::save(SimpleFile *file, int indent) const { +void CDeskbot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/npcs/deskbot.h b/engines/titanic/npcs/deskbot.h index 3e155f6788..ff5459910b 100644 --- a/engines/titanic/npcs/deskbot.h +++ b/engines/titanic/npcs/deskbot.h @@ -53,7 +53,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/npcs/doorbot.cpp b/engines/titanic/npcs/doorbot.cpp index 17db94f2d7..76db55f92c 100644 --- a/engines/titanic/npcs/doorbot.cpp +++ b/engines/titanic/npcs/doorbot.cpp @@ -34,7 +34,7 @@ CDoorbot::CDoorbot() : CTrueTalkNPC() { _field114 = 0; } -void CDoorbot::save(SimpleFile *file, int indent) const { +void CDoorbot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_v2, indent); diff --git a/engines/titanic/npcs/doorbot.h b/engines/titanic/npcs/doorbot.h index f0c46e5a16..9ea7de6c77 100644 --- a/engines/titanic/npcs/doorbot.h +++ b/engines/titanic/npcs/doorbot.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/npcs/liftbot.cpp b/engines/titanic/npcs/liftbot.cpp index 0125406d6a..43daa017c1 100644 --- a/engines/titanic/npcs/liftbot.cpp +++ b/engines/titanic/npcs/liftbot.cpp @@ -30,7 +30,7 @@ int CLiftBot::_v2; CLiftBot::CLiftBot() : CTrueTalkNPC(), _field108(1) { } -void CLiftBot::save(SimpleFile *file, int indent) const { +void CLiftBot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); file->writeNumberLine(_field108, indent); diff --git a/engines/titanic/npcs/liftbot.h b/engines/titanic/npcs/liftbot.h index d0db94e95d..e993da0d32 100644 --- a/engines/titanic/npcs/liftbot.h +++ b/engines/titanic/npcs/liftbot.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/npcs/maitre_d.cpp b/engines/titanic/npcs/maitre_d.cpp index d100a0b301..903f3a49c9 100644 --- a/engines/titanic/npcs/maitre_d.cpp +++ b/engines/titanic/npcs/maitre_d.cpp @@ -31,7 +31,7 @@ CMaitreD::CMaitreD() : CTrueTalkNPC(), _field11C(0), _field12C(0), _field130(1), _field134(0), _field138(0) { } -void CMaitreD::save(SimpleFile *file, int indent) const { +void CMaitreD::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_field108, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/npcs/maitre_d.h b/engines/titanic/npcs/maitre_d.h index bae682bc74..6a63348d28 100644 --- a/engines/titanic/npcs/maitre_d.h +++ b/engines/titanic/npcs/maitre_d.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/npcs/mobile.cpp b/engines/titanic/npcs/mobile.cpp index 55b37f52f1..83f886ed21 100644 --- a/engines/titanic/npcs/mobile.cpp +++ b/engines/titanic/npcs/mobile.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CMobile, CCharacter) CMobile::CMobile() : CCharacter(), _fieldDC(0) { } -void CMobile::save(SimpleFile *file, int indent) const { +void CMobile::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writePoint(_pos1, indent); file->writeNumberLine(_fieldDC, indent); diff --git a/engines/titanic/npcs/mobile.h b/engines/titanic/npcs/mobile.h index 3ec19a4371..42effc6715 100644 --- a/engines/titanic/npcs/mobile.h +++ b/engines/titanic/npcs/mobile.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/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp index a4cfa0872b..49e4f4066e 100644 --- a/engines/titanic/npcs/parrot.cpp +++ b/engines/titanic/npcs/parrot.cpp @@ -92,7 +92,7 @@ CParrot::CParrot() : CTrueTalkNPC() { _assetNumber = 0x13880; } -void CParrot::save(SimpleFile *file, int indent) const { +void CParrot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_assetNumber, indent); diff --git a/engines/titanic/npcs/parrot.h b/engines/titanic/npcs/parrot.h index 0019437ce0..010d9af503 100644 --- a/engines/titanic/npcs/parrot.h +++ b/engines/titanic/npcs/parrot.h @@ -98,7 +98,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/npcs/robot_controller.cpp b/engines/titanic/npcs/robot_controller.cpp index c6ef4222ef..98866e4505 100644 --- a/engines/titanic/npcs/robot_controller.cpp +++ b/engines/titanic/npcs/robot_controller.cpp @@ -27,7 +27,7 @@ namespace Titanic { CRobotController::CRobotController() : CGameObject(), _string1("BellBot") { } -void CRobotController::save(SimpleFile *file, int indent) const { +void CRobotController::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/npcs/robot_controller.h b/engines/titanic/npcs/robot_controller.h index 998453eb62..54b0a20b24 100644 --- a/engines/titanic/npcs/robot_controller.h +++ b/engines/titanic/npcs/robot_controller.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/npcs/starlings.cpp b/engines/titanic/npcs/starlings.cpp index dcb9fbda81..333f4c4b7a 100644 --- a/engines/titanic/npcs/starlings.cpp +++ b/engines/titanic/npcs/starlings.cpp @@ -29,7 +29,7 @@ int CStarlings::_v1; CStarlings::CStarlings() : CCharacter() { } -void CStarlings::save(SimpleFile *file, int indent) const { +void CStarlings::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v1, indent); diff --git a/engines/titanic/npcs/starlings.h b/engines/titanic/npcs/starlings.h index f7b144273c..40cb1b8083 100644 --- a/engines/titanic/npcs/starlings.h +++ b/engines/titanic/npcs/starlings.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/npcs/succubus.cpp b/engines/titanic/npcs/succubus.cpp index 7570338274..f66a59cb84 100644 --- a/engines/titanic/npcs/succubus.cpp +++ b/engines/titanic/npcs/succubus.cpp @@ -84,7 +84,7 @@ CSuccUBus::CSuccUBus() : CTrueTalkNPC() { _field1D8 = 0; } -void CSuccUBus::save(SimpleFile *file, int indent) const { +void CSuccUBus::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_v0, indent); diff --git a/engines/titanic/npcs/succubus.h b/engines/titanic/npcs/succubus.h index e46592caa1..a78a88b69a 100644 --- a/engines/titanic/npcs/succubus.h +++ b/engines/titanic/npcs/succubus.h @@ -93,7 +93,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/npcs/summon_bots.cpp b/engines/titanic/npcs/summon_bots.cpp index 661b3f0490..8796e5ffda 100644 --- a/engines/titanic/npcs/summon_bots.cpp +++ b/engines/titanic/npcs/summon_bots.cpp @@ -28,7 +28,7 @@ CSummonBots::CSummonBots() : CRobotController(), _string2("NULL"), _fieldC8(0), _fieldCC(0) { } -void CSummonBots::save(SimpleFile *file, int indent) const { +void CSummonBots::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldC8, indent); file->writeNumberLine(_fieldCC, indent); diff --git a/engines/titanic/npcs/summon_bots.h b/engines/titanic/npcs/summon_bots.h index 80aef73486..245d047bfa 100644 --- a/engines/titanic/npcs/summon_bots.h +++ b/engines/titanic/npcs/summon_bots.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/npcs/titania.cpp b/engines/titanic/npcs/titania.cpp index 3a71d7fea1..34c21d0efe 100644 --- a/engines/titanic/npcs/titania.cpp +++ b/engines/titanic/npcs/titania.cpp @@ -38,7 +38,7 @@ CTitania::CTitania() : CCharacter() { _field100 = 1; } -void CTitania::save(SimpleFile *file, int indent) const { +void CTitania::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldD4, indent); file->writeNumberLine(_fieldD8, indent); diff --git a/engines/titanic/npcs/titania.h b/engines/titanic/npcs/titania.h index 4c4c81267b..3eb95c08d3 100644 --- a/engines/titanic/npcs/titania.h +++ b/engines/titanic/npcs/titania.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/npcs/true_talk_npc.cpp b/engines/titanic/npcs/true_talk_npc.cpp index 0eaf21359e..51d7c2e003 100644 --- a/engines/titanic/npcs/true_talk_npc.cpp +++ b/engines/titanic/npcs/true_talk_npc.cpp @@ -44,7 +44,7 @@ CTrueTalkNPC::CTrueTalkNPC() : _assetName("z451.dlg"), _fieldF4(0), _fieldF8(0), _speechTimerId(0), _field100(0), _field104(0) { } -void CTrueTalkNPC::save(SimpleFile *file, int indent) const { +void CTrueTalkNPC::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_assetNumber, indent); file->writeQuotedLine(_assetName, indent); diff --git a/engines/titanic/npcs/true_talk_npc.h b/engines/titanic/npcs/true_talk_npc.h index 3126d92d3e..7202f253de 100644 --- a/engines/titanic/npcs/true_talk_npc.h +++ b/engines/titanic/npcs/true_talk_npc.h @@ -84,7 +84,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/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp index 6e30711397..0695cdea79 100644 --- a/engines/titanic/pet_control/pet_control.cpp +++ b/engines/titanic/pet_control/pet_control.cpp @@ -55,7 +55,7 @@ CPetControl::CPetControl() : CGameObject(), _sections[PET_MESSAGE] = &_message; } -void CPetControl::save(SimpleFile *file, int indent) const { +void CPetControl::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); file->writeNumberLine(_currentArea, indent); file->writeQuotedLine(_activeNPCName, indent); @@ -113,7 +113,7 @@ void CPetControl::loadAreas(SimpleFile *file, int param) { _frame.load(file, param); } -void CPetControl::saveAreas(SimpleFile *file, int indent) const { +void CPetControl::saveAreas(SimpleFile *file, int indent) { _conversations.save(file, indent); _rooms.save(file, indent); _remote.save(file, indent); diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h index 75b92d734e..e56d8f8f90 100644 --- a/engines/titanic/pet_control/pet_control.h +++ b/engines/titanic/pet_control/pet_control.h @@ -81,7 +81,7 @@ private: /** * Saves data for the individual areas */ - void saveAreas(SimpleFile *file, int indent) const; + void saveAreas(SimpleFile *file, int indent); /** * Called at the end of the post game-load handling @@ -125,7 +125,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/pet_control/pet_conversations.cpp b/engines/titanic/pet_control/pet_conversations.cpp index f9c051a883..0a8a71bf94 100644 --- a/engines/titanic/pet_control/pet_conversations.cpp +++ b/engines/titanic/pet_control/pet_conversations.cpp @@ -230,7 +230,7 @@ void CPetConversations::postLoad() { reset(); } -void CPetConversations::save(SimpleFile *file, int indent) const { +void CPetConversations::save(SimpleFile *file, int indent) { _textInput.save(file, indent); _log.save(file, indent); diff --git a/engines/titanic/pet_control/pet_conversations.h b/engines/titanic/pet_control/pet_conversations.h index 51487e1ff4..62cddd4008 100644 --- a/engines/titanic/pet_control/pet_conversations.h +++ b/engines/titanic/pet_control/pet_conversations.h @@ -194,7 +194,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); /** * Called when a section is switched to diff --git a/engines/titanic/pet_control/pet_drag_chev.cpp b/engines/titanic/pet_control/pet_drag_chev.cpp index e6c4749123..beaac4e763 100644 --- a/engines/titanic/pet_control/pet_drag_chev.cpp +++ b/engines/titanic/pet_control/pet_drag_chev.cpp @@ -31,7 +31,7 @@ BEGIN_MESSAGE_MAP(CPetDragChev, CPetGraphic2) END_MESSAGE_MAP() -void CPetDragChev::save(SimpleFile *file, int indent) const { +void CPetDragChev::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic2::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_drag_chev.h b/engines/titanic/pet_control/pet_drag_chev.h index 4e671ceff2..1ca9788f5b 100644 --- a/engines/titanic/pet_control/pet_drag_chev.h +++ b/engines/titanic/pet_control/pet_drag_chev.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/pet_control/pet_graphic.cpp b/engines/titanic/pet_control/pet_graphic.cpp index 25a77397c3..c4e184990a 100644 --- a/engines/titanic/pet_control/pet_graphic.cpp +++ b/engines/titanic/pet_control/pet_graphic.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CPetGraphic, CGameObject) -void CPetGraphic::save(SimpleFile *file, int indent) const { +void CPetGraphic::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_graphic.h b/engines/titanic/pet_control/pet_graphic.h index d49d0d4a1a..34badfd8a5 100644 --- a/engines/titanic/pet_control/pet_graphic.h +++ b/engines/titanic/pet_control/pet_graphic.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/pet_control/pet_graphic2.cpp b/engines/titanic/pet_control/pet_graphic2.cpp index a33a1c7d93..79cf42eeb0 100644 --- a/engines/titanic/pet_control/pet_graphic2.cpp +++ b/engines/titanic/pet_control/pet_graphic2.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CPetGraphic2, CGameObject) -void CPetGraphic2::save(SimpleFile *file, int indent) const { +void CPetGraphic2::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_graphic2.h b/engines/titanic/pet_control/pet_graphic2.h index d10dd102a0..4e77662a82 100644 --- a/engines/titanic/pet_control/pet_graphic2.h +++ b/engines/titanic/pet_control/pet_graphic2.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/pet_control/pet_inventory.cpp b/engines/titanic/pet_control/pet_inventory.cpp index 62eee83667..2f8125cfac 100644 --- a/engines/titanic/pet_control/pet_inventory.cpp +++ b/engines/titanic/pet_control/pet_inventory.cpp @@ -114,7 +114,7 @@ void CPetInventory::postLoad() { _field290 = 0; } -void CPetInventory::save(SimpleFile *file, int indent) const { +void CPetInventory::save(SimpleFile *file, int indent) { file->writeNumberLine(_field298, indent); } diff --git a/engines/titanic/pet_control/pet_inventory.h b/engines/titanic/pet_control/pet_inventory.h index 8a6bcebd9f..9e074dd89b 100644 --- a/engines/titanic/pet_control/pet_inventory.h +++ b/engines/titanic/pet_control/pet_inventory.h @@ -119,7 +119,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); /** * Called when a section is switched to diff --git a/engines/titanic/pet_control/pet_leaf.cpp b/engines/titanic/pet_control/pet_leaf.cpp index 833f4ed8b9..bf40b6ca5c 100644 --- a/engines/titanic/pet_control/pet_leaf.cpp +++ b/engines/titanic/pet_control/pet_leaf.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(PETLeaf, CGameObject) -void PETLeaf::save(SimpleFile *file, int indent) const { +void PETLeaf::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_leaf.h b/engines/titanic/pet_control/pet_leaf.h index b9c516f6cb..0d187423ff 100644 --- a/engines/titanic/pet_control/pet_leaf.h +++ b/engines/titanic/pet_control/pet_leaf.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/pet_control/pet_message.h b/engines/titanic/pet_control/pet_message.h index 1ad031da65..499f274c54 100644 --- a/engines/titanic/pet_control/pet_message.h +++ b/engines/titanic/pet_control/pet_message.h @@ -82,7 +82,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) {} /** * Get a reference to the tooltip text associated with the section diff --git a/engines/titanic/pet_control/pet_mode_off.cpp b/engines/titanic/pet_control/pet_mode_off.cpp index a1c9f3dd34..277b8e5eac 100644 --- a/engines/titanic/pet_control/pet_mode_off.cpp +++ b/engines/titanic/pet_control/pet_mode_off.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CPetModeOff, CToggleSwitch) CPetModeOff::CPetModeOff() : CToggleSwitch() { } -void CPetModeOff::save(SimpleFile *file, int indent) const { +void CPetModeOff::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_mode_off.h b/engines/titanic/pet_control/pet_mode_off.h index a84ed30480..0a4851ad72 100644 --- a/engines/titanic/pet_control/pet_mode_off.h +++ b/engines/titanic/pet_control/pet_mode_off.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/pet_control/pet_mode_on.cpp b/engines/titanic/pet_control/pet_mode_on.cpp index 1a7c2c26e7..89845dc49a 100644 --- a/engines/titanic/pet_control/pet_mode_on.cpp +++ b/engines/titanic/pet_control/pet_mode_on.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CPetModeOn, CToggleSwitch) CPetModeOn::CPetModeOn() : CToggleSwitch() { } -void CPetModeOn::save(SimpleFile *file, int indent) const { +void CPetModeOn::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_mode_on.h b/engines/titanic/pet_control/pet_mode_on.h index 76e0c92607..d33a0d2829 100644 --- a/engines/titanic/pet_control/pet_mode_on.h +++ b/engines/titanic/pet_control/pet_mode_on.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/pet_control/pet_mode_panel.cpp b/engines/titanic/pet_control/pet_mode_panel.cpp index 87351bed24..1384602183 100644 --- a/engines/titanic/pet_control/pet_mode_panel.cpp +++ b/engines/titanic/pet_control/pet_mode_panel.cpp @@ -29,7 +29,7 @@ EMPTY_MESSAGE_MAP(CPetModePanel, CToggleSwitch) CPetModePanel::CPetModePanel() : CToggleSwitch() { } -void CPetModePanel::save(SimpleFile *file, int indent) const { +void CPetModePanel::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CToggleSwitch::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_mode_panel.h b/engines/titanic/pet_control/pet_mode_panel.h index b55f38a6ff..17ce48d8b8 100644 --- a/engines/titanic/pet_control/pet_mode_panel.h +++ b/engines/titanic/pet_control/pet_mode_panel.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/pet_control/pet_pannel1.cpp b/engines/titanic/pet_control/pet_pannel1.cpp index 527841f883..9906212b4b 100644 --- a/engines/titanic/pet_control/pet_pannel1.cpp +++ b/engines/titanic/pet_control/pet_pannel1.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CPetPannel1, CPetGraphic) -void CPetPannel1::save(SimpleFile *file, int indent) const { +void CPetPannel1::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_pannel1.h b/engines/titanic/pet_control/pet_pannel1.h index 4e145363d4..c81d451d50 100644 --- a/engines/titanic/pet_control/pet_pannel1.h +++ b/engines/titanic/pet_control/pet_pannel1.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/pet_control/pet_pannel2.cpp b/engines/titanic/pet_control/pet_pannel2.cpp index 48675a7384..b67e0edfcd 100644 --- a/engines/titanic/pet_control/pet_pannel2.cpp +++ b/engines/titanic/pet_control/pet_pannel2.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CPetPannel2, CPetGraphic) -void CPetPannel2::save(SimpleFile *file, int indent) const { +void CPetPannel2::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_pannel2.h b/engines/titanic/pet_control/pet_pannel2.h index b32e10e0db..404dd88be5 100644 --- a/engines/titanic/pet_control/pet_pannel2.h +++ b/engines/titanic/pet_control/pet_pannel2.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/pet_control/pet_pannel3.cpp b/engines/titanic/pet_control/pet_pannel3.cpp index a0b693872a..a2a1fbedf9 100644 --- a/engines/titanic/pet_control/pet_pannel3.cpp +++ b/engines/titanic/pet_control/pet_pannel3.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CPetPannel3, CPetGraphic) -void CPetPannel3::save(SimpleFile *file, int indent) const { +void CPetPannel3::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CPetGraphic::save(file, indent); } diff --git a/engines/titanic/pet_control/pet_pannel3.h b/engines/titanic/pet_control/pet_pannel3.h index f80456f006..addf6144eb 100644 --- a/engines/titanic/pet_control/pet_pannel3.h +++ b/engines/titanic/pet_control/pet_pannel3.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/pet_control/pet_real_life.h b/engines/titanic/pet_control/pet_real_life.h index d049d47913..a4ae67fa6b 100644 --- a/engines/titanic/pet_control/pet_real_life.h +++ b/engines/titanic/pet_control/pet_real_life.h @@ -109,7 +109,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) {} /** * Called when a section is switched to diff --git a/engines/titanic/pet_control/pet_rooms.cpp b/engines/titanic/pet_control/pet_rooms.cpp index fb7cb2bad8..2d731130e9 100644 --- a/engines/titanic/pet_control/pet_rooms.cpp +++ b/engines/titanic/pet_control/pet_rooms.cpp @@ -148,7 +148,7 @@ void CPetRooms::postLoad() { reset(); } -void CPetRooms::save(SimpleFile *file, int indent) const { +void CPetRooms::save(SimpleFile *file, int indent) { _glyphs.saveGlyphs(file, indent); _glyphItem.saveGlyph(file, indent); file->writeNumberLine(_floorNum, indent); diff --git a/engines/titanic/pet_control/pet_rooms.h b/engines/titanic/pet_control/pet_rooms.h index 64fd0168bc..b82b42ca8b 100644 --- a/engines/titanic/pet_control/pet_rooms.h +++ b/engines/titanic/pet_control/pet_rooms.h @@ -125,7 +125,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); /** * Called when a section is switched to diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp index 864ae2ee39..5de814af24 100644 --- a/engines/titanic/pet_control/pet_rooms_glyphs.cpp +++ b/engines/titanic/pet_control/pet_rooms_glyphs.cpp @@ -166,7 +166,7 @@ void CPetRoomsGlyph::getTooltip(CPetText *text) { text->setText(roomStr); } -void CPetRoomsGlyph::saveGlyph(SimpleFile *file, int indent) const { +void CPetRoomsGlyph::saveGlyph(SimpleFile *file, int indent) { file->writeNumberLine(_roomFlags, indent); file->writeNumberLine(_mode, indent); } @@ -227,7 +227,7 @@ void CPetRoomsGlyph::drawObjects(uint flags, const Point &pt, CScreenManager *sc /*------------------------------------------------------------------------*/ -void CPetRoomsGlyphs::saveGlyphs(SimpleFile *file, int indent) const { +void CPetRoomsGlyphs::saveGlyphs(SimpleFile *file, int indent) { file->writeNumberLine(size(), indent); for (const_iterator i = begin(); i != end(); ++i) diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.h b/engines/titanic/pet_control/pet_rooms_glyphs.h index f0c2ce0133..5d0fec84f8 100644 --- a/engines/titanic/pet_control/pet_rooms_glyphs.h +++ b/engines/titanic/pet_control/pet_rooms_glyphs.h @@ -93,7 +93,7 @@ public: /** * Saves the data for the glyph */ - virtual void saveGlyph(SimpleFile *file, int indent) const; + virtual void saveGlyph(SimpleFile *file, int indent); virtual bool proc33(CPetGlyph *glyph); @@ -143,7 +143,7 @@ public: /** * Save the list */ - void saveGlyphs(SimpleFile *file, int indent) const; + void saveGlyphs(SimpleFile *file, int indent); /** * Returns the glyph for hte player's assigned room diff --git a/engines/titanic/pet_control/pet_section.h b/engines/titanic/pet_control/pet_section.h index 3673d4dfcc..4047ab03de 100644 --- a/engines/titanic/pet_control/pet_section.h +++ b/engines/titanic/pet_control/pet_section.h @@ -142,7 +142,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) {} /** * Called when a section is switched to diff --git a/engines/titanic/pet_control/pet_starfield.cpp b/engines/titanic/pet_control/pet_starfield.cpp index cde512c681..35ef943f54 100644 --- a/engines/titanic/pet_control/pet_starfield.cpp +++ b/engines/titanic/pet_control/pet_starfield.cpp @@ -132,7 +132,7 @@ void CPetStarfield::postLoad() { reset(); } -void CPetStarfield::save(SimpleFile *file, int indent) const { +void CPetStarfield::save(SimpleFile *file, int indent) { file->writeNumberLine(_photoOn, indent); file->writeNumberLine(_hasReference, indent); } diff --git a/engines/titanic/pet_control/pet_starfield.h b/engines/titanic/pet_control/pet_starfield.h index ec659ccb31..9550e0acf9 100644 --- a/engines/titanic/pet_control/pet_starfield.h +++ b/engines/titanic/pet_control/pet_starfield.h @@ -102,7 +102,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); /** * Sets the offsets for each of the buttons diff --git a/engines/titanic/pet_control/pet_text.cpp b/engines/titanic/pet_control/pet_text.cpp index fa7441c988..983d35ebe5 100644 --- a/engines/titanic/pet_control/pet_text.cpp +++ b/engines/titanic/pet_control/pet_text.cpp @@ -108,7 +108,7 @@ void CPetText::load(SimpleFile *file, int param) { } } -void CPetText::save(SimpleFile *file, int indent) const { +void CPetText::save(SimpleFile *file, int indent) { int numLines = _lineCount + 1; file->writeNumberLine(_array.size(), indent); diff --git a/engines/titanic/pet_control/pet_text.h b/engines/titanic/pet_control/pet_text.h index 2a6e24ddb8..f5d4235690 100644 --- a/engines/titanic/pet_control/pet_text.h +++ b/engines/titanic/pet_control/pet_text.h @@ -108,7 +108,7 @@ public: /** * Save the data for the control */ - void save(SimpleFile *file, int indent) const; + void save(SimpleFile *file, int indent); /** * Set the bounds for the control diff --git a/engines/titanic/sound/auto_music_player.cpp b/engines/titanic/sound/auto_music_player.cpp index 309c57b1d5..964814348d 100644 --- a/engines/titanic/sound/auto_music_player.cpp +++ b/engines/titanic/sound/auto_music_player.cpp @@ -27,7 +27,7 @@ namespace Titanic { CAutoMusicPlayer::CAutoMusicPlayer() : CAutoMusicPlayerBase() { } -void CAutoMusicPlayer::save(SimpleFile *file, int indent) const { +void CAutoMusicPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/sound/auto_music_player.h b/engines/titanic/sound/auto_music_player.h index 063778c02a..5d9bb0f332 100644 --- a/engines/titanic/sound/auto_music_player.h +++ b/engines/titanic/sound/auto_music_player.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/sound/auto_music_player_base.cpp b/engines/titanic/sound/auto_music_player_base.cpp index 116fcf7186..c8b9adc275 100644 --- a/engines/titanic/sound/auto_music_player_base.cpp +++ b/engines/titanic/sound/auto_music_player_base.cpp @@ -27,7 +27,7 @@ namespace Titanic { CAutoMusicPlayerBase::CAutoMusicPlayerBase() : CGameObject(), _fieldC8(1), _fieldCC(0), _fieldD0(-1), _fieldD4(1) { } -void CAutoMusicPlayerBase::save(SimpleFile *file, int indent) const { +void CAutoMusicPlayerBase::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeNumberLine(_fieldC8, indent); diff --git a/engines/titanic/sound/auto_music_player_base.h b/engines/titanic/sound/auto_music_player_base.h index e762ef40b9..d6d9926db3 100644 --- a/engines/titanic/sound/auto_music_player_base.h +++ b/engines/titanic/sound/auto_music_player_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/sound/auto_sound_player.cpp b/engines/titanic/sound/auto_sound_player.cpp index 7b20f65907..3e3d5298e4 100644 --- a/engines/titanic/sound/auto_sound_player.cpp +++ b/engines/titanic/sound/auto_sound_player.cpp @@ -29,7 +29,7 @@ CAutoSoundPlayer::CAutoSoundPlayer() : CGameObject(), _fieldDC(0), _fieldE0(-1), _fieldE4(0), _fieldE8(0) { } -void CAutoSoundPlayer::save(SimpleFile *file, int indent) const { +void CAutoSoundPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/sound/auto_sound_player.h b/engines/titanic/sound/auto_sound_player.h index 15f1325e06..b85bb68cea 100644 --- a/engines/titanic/sound/auto_sound_player.h +++ b/engines/titanic/sound/auto_sound_player.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/sound/auto_sound_player_adsr.cpp b/engines/titanic/sound/auto_sound_player_adsr.cpp index 815c1cde52..4bfd5578fb 100644 --- a/engines/titanic/sound/auto_sound_player_adsr.cpp +++ b/engines/titanic/sound/auto_sound_player_adsr.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CAutoSoundPlayerADSR::save(SimpleFile *file, int indent) const { +void CAutoSoundPlayerADSR::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string2, indent); file->writeQuotedLine(_string3, indent); diff --git a/engines/titanic/sound/auto_sound_player_adsr.h b/engines/titanic/sound/auto_sound_player_adsr.h index c88a861f9b..9dd9ec5b15 100644 --- a/engines/titanic/sound/auto_sound_player_adsr.h +++ b/engines/titanic/sound/auto_sound_player_adsr.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/sound/background_sound_maker.cpp b/engines/titanic/sound/background_sound_maker.cpp index 111e641054..0abab8906b 100644 --- a/engines/titanic/sound/background_sound_maker.cpp +++ b/engines/titanic/sound/background_sound_maker.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBackgroundSoundMaker::save(SimpleFile *file, int indent) const { +void CBackgroundSoundMaker::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/sound/background_sound_maker.h b/engines/titanic/sound/background_sound_maker.h index 68c1d7d1a9..32fb50b080 100644 --- a/engines/titanic/sound/background_sound_maker.h +++ b/engines/titanic/sound/background_sound_maker.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/sound/bird_song.cpp b/engines/titanic/sound/bird_song.cpp index f003a4f2c4..7f7d0ad5ce 100644 --- a/engines/titanic/sound/bird_song.cpp +++ b/engines/titanic/sound/bird_song.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CBirdSong::save(SimpleFile *file, int indent) const { +void CBirdSong::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CRoomAutoSoundPlayer::save(file, indent); diff --git a/engines/titanic/sound/bird_song.h b/engines/titanic/sound/bird_song.h index d932cfde7d..1b1e309931 100644 --- a/engines/titanic/sound/bird_song.h +++ b/engines/titanic/sound/bird_song.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/sound/dome_from_top_of_well.cpp b/engines/titanic/sound/dome_from_top_of_well.cpp index f8d946a1e3..778f016a4e 100644 --- a/engines/titanic/sound/dome_from_top_of_well.cpp +++ b/engines/titanic/sound/dome_from_top_of_well.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CDomeFromTopOfWell, CViewAutoSoundPlayer) -void CDomeFromTopOfWell::save(SimpleFile *file, int indent) const { +void CDomeFromTopOfWell::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CViewAutoSoundPlayer::save(file, indent); } diff --git a/engines/titanic/sound/dome_from_top_of_well.h b/engines/titanic/sound/dome_from_top_of_well.h index 24c165028a..62c97da137 100644 --- a/engines/titanic/sound/dome_from_top_of_well.h +++ b/engines/titanic/sound/dome_from_top_of_well.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/sound/enter_view_toggles_other_music.cpp b/engines/titanic/sound/enter_view_toggles_other_music.cpp index fbf5b4a46d..0b149993a3 100644 --- a/engines/titanic/sound/enter_view_toggles_other_music.cpp +++ b/engines/titanic/sound/enter_view_toggles_other_music.cpp @@ -27,7 +27,7 @@ namespace Titanic { CEnterViewTogglesOtherMusic::CEnterViewTogglesOtherMusic() : CTriggerAutoMusicPlayer(), _fieldC8(0) { } -void CEnterViewTogglesOtherMusic::save(SimpleFile *file, int indent) const { +void CEnterViewTogglesOtherMusic::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldC8, indent); diff --git a/engines/titanic/sound/enter_view_toggles_other_music.h b/engines/titanic/sound/enter_view_toggles_other_music.h index 991a6ad2bc..adcf3df2d4 100644 --- a/engines/titanic/sound/enter_view_toggles_other_music.h +++ b/engines/titanic/sound/enter_view_toggles_other_music.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/sound/gondolier_song.cpp b/engines/titanic/sound/gondolier_song.cpp index 52b7ae04bf..b44400b2db 100644 --- a/engines/titanic/sound/gondolier_song.cpp +++ b/engines/titanic/sound/gondolier_song.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CGondolierSong::save(SimpleFile *file, int indent) const { +void CGondolierSong::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); CRoomAutoSoundPlayer::save(file, indent); diff --git a/engines/titanic/sound/gondolier_song.h b/engines/titanic/sound/gondolier_song.h index 6377279c04..710cd961fe 100644 --- a/engines/titanic/sound/gondolier_song.h +++ b/engines/titanic/sound/gondolier_song.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/sound/music_player.cpp b/engines/titanic/sound/music_player.cpp index 193527b3d8..fb48ae8378 100644 --- a/engines/titanic/sound/music_player.cpp +++ b/engines/titanic/sound/music_player.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CMusicPlayer::save(SimpleFile *file, int indent) const { +void CMusicPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); file->writeQuotedLine(_string1, indent); diff --git a/engines/titanic/sound/music_player.h b/engines/titanic/sound/music_player.h index 1b928fa652..fa877ec861 100644 --- a/engines/titanic/sound/music_player.h +++ b/engines/titanic/sound/music_player.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/sound/node_auto_sound_player.cpp b/engines/titanic/sound/node_auto_sound_player.cpp index ee403bae20..f74c891644 100644 --- a/engines/titanic/sound/node_auto_sound_player.cpp +++ b/engines/titanic/sound/node_auto_sound_player.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CNodeAutoSoundPlayer::save(SimpleFile *file, int indent) const { +void CNodeAutoSoundPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldEC, indent); CAutoSoundPlayer::save(file, indent); diff --git a/engines/titanic/sound/node_auto_sound_player.h b/engines/titanic/sound/node_auto_sound_player.h index 2f961ddcd9..06322f84d3 100644 --- a/engines/titanic/sound/node_auto_sound_player.h +++ b/engines/titanic/sound/node_auto_sound_player.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/sound/restricted_auto_music_player.cpp b/engines/titanic/sound/restricted_auto_music_player.cpp index cd1b1930e7..4ccfecc58d 100644 --- a/engines/titanic/sound/restricted_auto_music_player.cpp +++ b/engines/titanic/sound/restricted_auto_music_player.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CRestrictedAutoMusicPlayer::save(SimpleFile *file, int indent) const { +void CRestrictedAutoMusicPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string3, indent); file->writeQuotedLine(_string4, indent); diff --git a/engines/titanic/sound/restricted_auto_music_player.h b/engines/titanic/sound/restricted_auto_music_player.h index b2882964aa..be40bd84a1 100644 --- a/engines/titanic/sound/restricted_auto_music_player.h +++ b/engines/titanic/sound/restricted_auto_music_player.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/sound/room_auto_sound_player.cpp b/engines/titanic/sound/room_auto_sound_player.cpp index 4393d411fc..da98d41329 100644 --- a/engines/titanic/sound/room_auto_sound_player.cpp +++ b/engines/titanic/sound/room_auto_sound_player.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CRoomAutoSoundPlayer::save(SimpleFile *file, int indent) const { +void CRoomAutoSoundPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CAutoSoundPlayer::save(file, indent); } diff --git a/engines/titanic/sound/room_auto_sound_player.h b/engines/titanic/sound/room_auto_sound_player.h index c17d983ee1..8b5fc86488 100644 --- a/engines/titanic/sound/room_auto_sound_player.h +++ b/engines/titanic/sound/room_auto_sound_player.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/sound/room_trigger_auto_music_player.cpp b/engines/titanic/sound/room_trigger_auto_music_player.cpp index 8c20097927..4506dfd7d4 100644 --- a/engines/titanic/sound/room_trigger_auto_music_player.cpp +++ b/engines/titanic/sound/room_trigger_auto_music_player.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CRoomTriggerAutoMusicPlayer::save(SimpleFile *file, int indent) const { +void CRoomTriggerAutoMusicPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CTriggerAutoMusicPlayer::save(file, indent); } diff --git a/engines/titanic/sound/room_trigger_auto_music_player.h b/engines/titanic/sound/room_trigger_auto_music_player.h index 26823ced38..da378a32e5 100644 --- a/engines/titanic/sound/room_trigger_auto_music_player.h +++ b/engines/titanic/sound/room_trigger_auto_music_player.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/sound/season_noises.cpp b/engines/titanic/sound/season_noises.cpp index beacdefffa..e7307654fe 100644 --- a/engines/titanic/sound/season_noises.cpp +++ b/engines/titanic/sound/season_noises.cpp @@ -28,7 +28,7 @@ CSeasonNoises::CSeasonNoises() : CViewAutoSoundPlayer(), _fieldF0(0), _string2("NULL"), _string3("NULL"), _string4("NULL"), _string5("NULL") { } -void CSeasonNoises::save(SimpleFile *file, int indent) const { +void CSeasonNoises::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldF0, indent); file->writeQuotedLine(_string2, indent); diff --git a/engines/titanic/sound/season_noises.h b/engines/titanic/sound/season_noises.h index 7746c164e8..6d65de8373 100644 --- a/engines/titanic/sound/season_noises.h +++ b/engines/titanic/sound/season_noises.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/sound/seasonal_music_player.cpp b/engines/titanic/sound/seasonal_music_player.cpp index c4a8f02f43..8ac6eb6763 100644 --- a/engines/titanic/sound/seasonal_music_player.cpp +++ b/engines/titanic/sound/seasonal_music_player.cpp @@ -35,7 +35,7 @@ CSeasonalMusicPlayer::CSeasonalMusicPlayer() : CAutoMusicPlayerBase() { _fieldF4 = -4; } -void CSeasonalMusicPlayer::save(SimpleFile *file, int indent) const { +void CSeasonalMusicPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldD8, indent); file->writeNumberLine(_fieldDC, indent); diff --git a/engines/titanic/sound/seasonal_music_player.h b/engines/titanic/sound/seasonal_music_player.h index da19e1f0b0..3c434ec023 100644 --- a/engines/titanic/sound/seasonal_music_player.h +++ b/engines/titanic/sound/seasonal_music_player.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/sound/titania_speech.cpp b/engines/titanic/sound/titania_speech.cpp index 8c6062666d..f9d5b91705 100644 --- a/engines/titanic/sound/titania_speech.cpp +++ b/engines/titanic/sound/titania_speech.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CTitaniaSpeech::save(SimpleFile *file, int indent) const { +void CTitaniaSpeech::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_value1, indent); file->writeNumberLine(_value2, indent); diff --git a/engines/titanic/sound/titania_speech.h b/engines/titanic/sound/titania_speech.h index 78c4098d69..1ff52be1a2 100644 --- a/engines/titanic/sound/titania_speech.h +++ b/engines/titanic/sound/titania_speech.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/sound/trigger_auto_music_player.cpp b/engines/titanic/sound/trigger_auto_music_player.cpp index 17499a70e1..21050e0877 100644 --- a/engines/titanic/sound/trigger_auto_music_player.cpp +++ b/engines/titanic/sound/trigger_auto_music_player.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CTriggerAutoMusicPlayer::save(SimpleFile *file, int indent) const { +void CTriggerAutoMusicPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_fieldBC, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/sound/trigger_auto_music_player.h b/engines/titanic/sound/trigger_auto_music_player.h index 6387236181..11c096682a 100644 --- a/engines/titanic/sound/trigger_auto_music_player.h +++ b/engines/titanic/sound/trigger_auto_music_player.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/sound/view_auto_sound_player.cpp b/engines/titanic/sound/view_auto_sound_player.cpp index 3d6c92fe22..91507488fd 100644 --- a/engines/titanic/sound/view_auto_sound_player.cpp +++ b/engines/titanic/sound/view_auto_sound_player.cpp @@ -24,7 +24,7 @@ namespace Titanic { -void CViewAutoSoundPlayer::save(SimpleFile *file, int indent) const { +void CViewAutoSoundPlayer::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldEC, indent); CAutoSoundPlayer::save(file, indent); diff --git a/engines/titanic/sound/view_auto_sound_player.h b/engines/titanic/sound/view_auto_sound_player.h index 60de391ecb..dab96678da 100644 --- a/engines/titanic/sound/view_auto_sound_player.h +++ b/engines/titanic/sound/view_auto_sound_player.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/sound/view_toggles_other_music.cpp b/engines/titanic/sound/view_toggles_other_music.cpp index 262d7de628..35888fba9d 100644 --- a/engines/titanic/sound/view_toggles_other_music.cpp +++ b/engines/titanic/sound/view_toggles_other_music.cpp @@ -27,7 +27,7 @@ namespace Titanic { CViewTogglesOtherMusic::CViewTogglesOtherMusic() : CEnterViewTogglesOtherMusic(), _fieldCC(0) { } -void CViewTogglesOtherMusic::save(SimpleFile *file, int indent) const { +void CViewTogglesOtherMusic::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldCC, indent); diff --git a/engines/titanic/sound/view_toggles_other_music.h b/engines/titanic/sound/view_toggles_other_music.h index 68fa47b2be..f97f690998 100644 --- a/engines/titanic/sound/view_toggles_other_music.h +++ b/engines/titanic/sound/view_toggles_other_music.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/sound/water_lapping_sounds.cpp b/engines/titanic/sound/water_lapping_sounds.cpp index f5a69e6eed..74af78736c 100644 --- a/engines/titanic/sound/water_lapping_sounds.cpp +++ b/engines/titanic/sound/water_lapping_sounds.cpp @@ -26,7 +26,7 @@ namespace Titanic { EMPTY_MESSAGE_MAP(CWaterLappingSounds, CRoomAutoSoundPlayer) -void CWaterLappingSounds::save(SimpleFile *file, int indent) const { +void CWaterLappingSounds::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeQuotedLine(_string1, indent); file->writeNumberLine(_fieldD4, indent); diff --git a/engines/titanic/sound/water_lapping_sounds.h b/engines/titanic/sound/water_lapping_sounds.h index cf6c72146b..7fc7cc4361 100644 --- a/engines/titanic/sound/water_lapping_sounds.h +++ b/engines/titanic/sound/water_lapping_sounds.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/star_control/star_control.cpp b/engines/titanic/star_control/star_control.cpp index f27f16dab2..9880e6f28c 100644 --- a/engines/titanic/star_control/star_control.cpp +++ b/engines/titanic/star_control/star_control.cpp @@ -29,7 +29,7 @@ CStarControl::CStarControl() : _fieldBC(0), _field80A0(0), _field80A4(0), _field80A8(0), _field80AC(0), _field80B0(0) { } -void CStarControl::save(SimpleFile *file, int indent) const { +void CStarControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/star_control/star_control.h b/engines/titanic/star_control/star_control.h index ee042b6bc8..1bd2dec92b 100644 --- a/engines/titanic/star_control/star_control.h +++ b/engines/titanic/star_control/star_control.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/star_control/star_control_sub11.cpp b/engines/titanic/star_control/star_control_sub11.cpp index f590ee61e6..05f2733e21 100644 --- a/engines/titanic/star_control/star_control_sub11.cpp +++ b/engines/titanic/star_control/star_control_sub11.cpp @@ -45,7 +45,7 @@ void CStarControlSub11::load(SimpleFile *file, int param) { } } -void CStarControlSub11::save(SimpleFile *file, int indent) const { +void CStarControlSub11::save(SimpleFile *file, int indent) { } } // End of namespace Titanic diff --git a/engines/titanic/star_control/star_control_sub11.h b/engines/titanic/star_control/star_control_sub11.h index 9cb9cbeb50..a322e1e43a 100644 --- a/engines/titanic/star_control/star_control_sub11.h +++ b/engines/titanic/star_control/star_control_sub11.h @@ -55,7 +55,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const; + void save(SimpleFile *file, int indent); }; } // End of namespace Titanic diff --git a/engines/titanic/star_control/star_control_sub12.cpp b/engines/titanic/star_control/star_control_sub12.cpp index 3e288e83c0..aa65f718eb 100644 --- a/engines/titanic/star_control/star_control_sub12.cpp +++ b/engines/titanic/star_control/star_control_sub12.cpp @@ -33,7 +33,7 @@ void CStarControlSub12::load(SimpleFile *file, int param) { _sub13.load(file, param); } -void CStarControlSub12::save(SimpleFile *file, int indent) const { +void CStarControlSub12::save(SimpleFile *file, int indent) { _sub13.save(file, indent); } diff --git a/engines/titanic/star_control/star_control_sub12.h b/engines/titanic/star_control/star_control_sub12.h index 586e138969..3637e13bd1 100644 --- a/engines/titanic/star_control/star_control_sub12.h +++ b/engines/titanic/star_control/star_control_sub12.h @@ -56,7 +56,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const; + void save(SimpleFile *file, int indent); }; } // End of namespace Titanic diff --git a/engines/titanic/star_control/star_control_sub13.cpp b/engines/titanic/star_control/star_control_sub13.cpp index fbe40b9532..f22a22a6e9 100644 --- a/engines/titanic/star_control/star_control_sub13.cpp +++ b/engines/titanic/star_control/star_control_sub13.cpp @@ -67,7 +67,7 @@ void CStarControlSub13::load(SimpleFile *file, int param) { _fieldD4 = 0; } -void CStarControlSub13::save(SimpleFile *file, int indent) const { +void CStarControlSub13::save(SimpleFile *file, int indent) { _sub14.save(file, indent); } diff --git a/engines/titanic/star_control/star_control_sub13.h b/engines/titanic/star_control/star_control_sub13.h index 1ec841ae2d..e1b54775ce 100644 --- a/engines/titanic/star_control/star_control_sub13.h +++ b/engines/titanic/star_control/star_control_sub13.h @@ -65,7 +65,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const; + void save(SimpleFile *file, int indent); }; } // End of namespace Titanic diff --git a/engines/titanic/star_control/star_control_sub14.cpp b/engines/titanic/star_control/star_control_sub14.cpp index 3d02705af5..75e7c68d8e 100644 --- a/engines/titanic/star_control/star_control_sub14.cpp +++ b/engines/titanic/star_control/star_control_sub14.cpp @@ -42,7 +42,7 @@ void CStarControlSub14::load(SimpleFile *file, int param) { _field20 = file->readFloat(); } -void CStarControlSub14::save(SimpleFile *file, int indent) const { +void CStarControlSub14::save(SimpleFile *file, int indent) { } diff --git a/engines/titanic/star_control/star_control_sub14.h b/engines/titanic/star_control/star_control_sub14.h index 2d02d13d8c..0b1d4e3b08 100644 --- a/engines/titanic/star_control/star_control_sub14.h +++ b/engines/titanic/star_control/star_control_sub14.h @@ -49,7 +49,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const; + void save(SimpleFile *file, int indent); }; diff --git a/engines/titanic/star_control/star_control_sub8.h b/engines/titanic/star_control/star_control_sub8.h index 6dcd147da2..39d9fef7dc 100644 --- a/engines/titanic/star_control/star_control_sub8.h +++ b/engines/titanic/star_control/star_control_sub8.h @@ -51,7 +51,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const {} + void save(SimpleFile *file, int indent) {} }; } // End of namespace Titanic diff --git a/engines/titanic/support/movie_clip.cpp b/engines/titanic/support/movie_clip.cpp index da655ce76a..2d3187b000 100644 --- a/engines/titanic/support/movie_clip.cpp +++ b/engines/titanic/support/movie_clip.cpp @@ -32,7 +32,7 @@ CMovieClip::CMovieClip(const CString &name, int startFrame, int endFrame): ListItem(), _name(name), _startFrame(startFrame), _endFrame(endFrame) { } -void CMovieClip::save(SimpleFile *file, int indent) const { +void CMovieClip::save(SimpleFile *file, int indent) { file->writeNumberLine(2, indent); file->writeQuotedLine("Clip", indent); file->writeQuotedLine(_name, indent); diff --git a/engines/titanic/support/movie_clip.h b/engines/titanic/support/movie_clip.h index 0b1106f420..813996bbf0 100644 --- a/engines/titanic/support/movie_clip.h +++ b/engines/titanic/support/movie_clip.h @@ -56,7 +56,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/support/movie_event.cpp b/engines/titanic/support/movie_event.cpp index b3e788e6fc..870a06fe6f 100644 --- a/engines/titanic/support/movie_event.cpp +++ b/engines/titanic/support/movie_event.cpp @@ -36,7 +36,7 @@ CMovieEvent::CMovieEvent(const CMovieEvent *src) { _field1C = src->_field1C; } -void CMovieEvent::save(SimpleFile *file, int indent) const { +void CMovieEvent::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); file->writeNumberLine(_fieldC, indent + 1); file->writeNumberLine(_field10, indent + 1); diff --git a/engines/titanic/support/movie_event.h b/engines/titanic/support/movie_event.h index 5c62220919..ed72e2d349 100644 --- a/engines/titanic/support/movie_event.h +++ b/engines/titanic/support/movie_event.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/support/movie_range_info.cpp b/engines/titanic/support/movie_range_info.cpp index ab34082540..d48bab1df6 100644 --- a/engines/titanic/support/movie_range_info.cpp +++ b/engines/titanic/support/movie_range_info.cpp @@ -45,7 +45,7 @@ CMovieRangeInfo::CMovieRangeInfo(const CMovieRangeInfo *src) : ListItem() { } } -void CMovieRangeInfo::save(SimpleFile *file, int indent) const { +void CMovieRangeInfo::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); file->writeQuotedLine(_movieName, indent + 1); file->writeNumberLine(_endFrame, indent + 1); diff --git a/engines/titanic/support/movie_range_info.h b/engines/titanic/support/movie_range_info.h index 3f077c717e..2776ac2851 100644 --- a/engines/titanic/support/movie_range_info.h +++ b/engines/titanic/support/movie_range_info.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/support/time_event_info.cpp b/engines/titanic/support/time_event_info.cpp index c3312de7d7..041a01ccfb 100644 --- a/engines/titanic/support/time_event_info.cpp +++ b/engines/titanic/support/time_event_info.cpp @@ -106,7 +106,7 @@ CTimeEventInfo::CTimeEventInfo(uint ticks, uint f14, uint firstDuration, _id = _nextId++; } -void CTimeEventInfo::save(SimpleFile *file, int indent) const { +void CTimeEventInfo::save(SimpleFile *file, int indent) { file->writeNumberLine(0, indent); CString targetName; diff --git a/engines/titanic/support/time_event_info.h b/engines/titanic/support/time_event_info.h index ee923f5fcb..b436f87f65 100644 --- a/engines/titanic/support/time_event_info.h +++ b/engines/titanic/support/time_event_info.h @@ -72,7 +72,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