Rename Oddly_Separated_Classes to OddlySeparatedClasses
Bug #1343297 reported by
SirVer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
Legacy Widelands code still has classes/types with underscores in their name. They should be renamed. Also the filenames they are contained in should be unified (i.e. io/fileread should be io/file_read).
Related branches
lp:~widelands-dev/widelands/bug-1343297
- SirVer: Approve
-
Diff: 11512 lines (+1578/-1580)192 files modifiedsrc/ai/ai_help_structs.h (+1/-1)
src/ai/defaultai.cc (+18/-18)
src/economy/cmd_call_economy_balance.cc (+2/-2)
src/economy/cmd_call_economy_balance.h (+3/-3)
src/economy/economy.cc (+3/-3)
src/economy/economy_data_packet.h (+2/-2)
src/economy/flag.cc (+2/-2)
src/economy/flag.h (+7/-7)
src/economy/fleet.cc (+18/-18)
src/economy/fleet.h (+11/-11)
src/economy/portdock.cc (+8/-8)
src/economy/portdock.h (+9/-9)
src/economy/request.cc (+3/-3)
src/economy/request.h (+4/-4)
src/economy/road.cc (+4/-4)
src/economy/road.h (+7/-7)
src/economy/route.cc (+2/-2)
src/economy/route.h (+4/-4)
src/economy/shippingitem.cc (+7/-7)
src/economy/shippingitem.h (+6/-6)
src/economy/transfer.cc (+2/-2)
src/economy/transfer.h (+4/-4)
src/economy/ware_instance.cc (+18/-18)
src/economy/ware_instance.h (+7/-7)
src/economy/wares_queue.cc (+2/-2)
src/economy/wares_queue.h (+4/-4)
src/editor/ui_menus/editor_player_menu_allowed_buildings_menu.cc (+2/-2)
src/editor/ui_menus/editor_tool_place_bob_options_menu.cc (+2/-2)
src/editor/ui_menus/editor_tool_place_immovable_options_menu.cc (+3/-3)
src/editor/ui_menus/editor_tool_place_immovable_options_menu.h (+1/-1)
src/game_io/game_cmd_queue_data_packet.cc (+2/-2)
src/game_io/game_cmd_queue_data_packet.h (+2/-2)
src/game_io/game_data_packet.h (+4/-4)
src/game_io/game_game_class_data_packet.cc (+2/-2)
src/game_io/game_game_class_data_packet.h (+2/-2)
src/game_io/game_interactive_player_data_packet.cc (+2/-2)
src/game_io/game_interactive_player_data_packet.h (+2/-2)
src/game_io/game_loader.cc (+3/-3)
src/game_io/game_map_data_packet.cc (+2/-2)
src/game_io/game_map_data_packet.h (+6/-6)
src/game_io/game_player_economies_data_packet.cc (+2/-2)
src/game_io/game_player_economies_data_packet.h (+2/-2)
src/game_io/game_player_info_data_packet.cc (+2/-2)
src/game_io/game_player_info_data_packet.h (+2/-2)
src/game_io/game_preload_data_packet.cc (+2/-2)
src/game_io/game_preload_data_packet.h (+2/-2)
src/game_io/game_saver.cc (+1/-1)
src/graphic/animation.cc (+1/-1)
src/graphic/diranimations.h (+2/-2)
src/graphic/render/gamerenderer.cc (+7/-7)
src/graphic/rendertarget.cc (+1/-1)
src/logic/CMakeLists.txt (+3/-3)
src/logic/battle.cc (+14/-14)
src/logic/battle.h (+12/-12)
src/logic/bob.cc (+17/-17)
src/logic/bob.h (+5/-5)
src/logic/building.cc (+14/-14)
src/logic/building.h (+8/-8)
src/logic/carrier.cc (+2/-2)
src/logic/carrier.h (+8/-8)
src/logic/cmd_calculate_statistics.cc (+2/-2)
src/logic/cmd_calculate_statistics.h (+2/-2)
src/logic/cmd_incorporate.cc (+2/-2)
src/logic/cmd_incorporate.h (+2/-2)
src/logic/cmd_luacoroutine.cc (+2/-2)
src/logic/cmd_luacoroutine.h (+2/-2)
src/logic/cmd_luascript.cc (+2/-2)
src/logic/cmd_luascript.h (+2/-2)
src/logic/cmd_queue.cc (+2/-2)
src/logic/cmd_queue.h (+4/-4)
src/logic/constructionsite.cc (+11/-11)
src/logic/constructionsite.h (+10/-10)
src/logic/critter.cc (+48/-48)
src/logic/critter.h (+20/-20)
src/logic/critter_program.h (+11/-11)
src/logic/dismantlesite.cc (+9/-9)
src/logic/dismantlesite.h (+7/-7)
src/logic/editor_game_base.cc (+4/-4)
src/logic/editor_game_base.h (+4/-4)
src/logic/expedition_bootstrap.cc (+2/-2)
src/logic/expedition_bootstrap.h (+3/-3)
src/logic/findbob.cc (+2/-2)
src/logic/findimmovable.h (+5/-5)
src/logic/game.cc (+1/-1)
src/logic/immovable.cc (+37/-37)
src/logic/immovable.h (+16/-16)
src/logic/immovable_program.h (+9/-9)
src/logic/instances.cc (+84/-84)
src/logic/instances.h (+62/-62)
src/logic/map.cc (+10/-10)
src/logic/message.h (+1/-1)
src/logic/message_queue.h (+1/-1)
src/logic/militarysite.cc (+9/-9)
src/logic/militarysite.h (+7/-7)
src/logic/nodecaps.h (+2/-2)
src/logic/partially_finished_building.cc (+2/-2)
src/logic/partially_finished_building.h (+3/-3)
src/logic/player.cc (+14/-14)
src/logic/player.h (+3/-3)
src/logic/playercommand.cc (+61/-61)
src/logic/playercommand.h (+60/-60)
src/logic/production_program.cc (+20/-20)
src/logic/production_program.h (+16/-16)
src/logic/productionsite.cc (+11/-11)
src/logic/productionsite.h (+9/-9)
src/logic/queue_cmd_factory.cc (+1/-1)
src/logic/requirements.cc (+13/-13)
src/logic/requirements.h (+19/-19)
src/logic/ship.cc (+11/-11)
src/logic/ship.h (+9/-9)
src/logic/soldier.cc (+11/-11)
src/logic/soldier.h (+7/-7)
src/logic/tattribute.h (+1/-1)
src/logic/trainingsite.cc (+9/-9)
src/logic/trainingsite.h (+7/-7)
src/logic/tribe.cc (+13/-13)
src/logic/tribe.h (+9/-9)
src/logic/ware_descr.cc (+1/-1)
src/logic/ware_descr.h (+1/-1)
src/logic/warehouse.cc (+14/-14)
src/logic/warehouse.h (+6/-6)
src/logic/widelands.h (+1/-1)
src/logic/worker.cc (+27/-27)
src/logic/worker.h (+7/-7)
src/logic/worker_descr.cc (+14/-14)
src/logic/worker_descr.h (+6/-6)
src/logic/worker_program.cc (+22/-22)
src/logic/worker_program.h (+23/-23)
src/logic/world/world.cc (+6/-6)
src/logic/world/world.h (+5/-5)
src/map_io/widelands_map_allowed_building_types_data_packet.cc (+2/-2)
src/map_io/widelands_map_allowed_worker_types_data_packet.cc (+3/-3)
src/map_io/widelands_map_building_data_packet.cc (+2/-2)
src/map_io/widelands_map_building_data_packet.h (+2/-2)
src/map_io/widelands_map_buildingdata_data_packet.cc (+27/-27)
src/map_io/widelands_map_buildingdata_data_packet.h (+18/-18)
src/map_io/widelands_map_data_packet.h (+4/-4)
src/map_io/widelands_map_elemental_data_packet.cc (+2/-2)
src/map_io/widelands_map_elemental_data_packet.h (+2/-2)
src/map_io/widelands_map_exploration_data_packet.cc (+2/-2)
src/map_io/widelands_map_flag_data_packet.cc (+2/-2)
src/map_io/widelands_map_flagdata_data_packet.cc (+2/-2)
src/map_io/widelands_map_heights_data_packet.cc (+2/-2)
src/map_io/widelands_map_loader.cc (+3/-3)
src/map_io/widelands_map_loader.h (+3/-3)
src/map_io/widelands_map_map_object_loader.cc (+8/-8)
src/map_io/widelands_map_map_object_loader.h (+17/-17)
src/map_io/widelands_map_map_object_saver.cc (+16/-16)
src/map_io/widelands_map_map_object_saver.h (+18/-18)
src/map_io/widelands_map_node_ownership_data_packet.cc (+2/-2)
src/map_io/widelands_map_object_packet.cc (+21/-21)
src/map_io/widelands_map_object_packet.h (+10/-10)
src/map_io/widelands_map_objective_data_packet.cc (+4/-4)
src/map_io/widelands_map_objective_data_packet.h (+1/-1)
src/map_io/widelands_map_player_names_and_tribes_data_packet.cc (+2/-2)
src/map_io/widelands_map_player_names_and_tribes_data_packet.h (+2/-2)
src/map_io/widelands_map_player_position_data_packet.cc (+2/-2)
src/map_io/widelands_map_players_messages_data_packet.cc (+4/-4)
src/map_io/widelands_map_players_view_data_packet.cc (+28/-28)
src/map_io/widelands_map_port_spaces_data_packet.cc (+2/-2)
src/map_io/widelands_map_port_spaces_data_packet.h (+2/-2)
src/map_io/widelands_map_road_data_packet.cc (+2/-2)
src/map_io/widelands_map_roaddata_data_packet.cc (+2/-2)
src/map_io/widelands_map_saver.cc (+3/-3)
src/map_io/widelands_map_saver.h (+3/-3)
src/map_io/widelands_map_scripting_data_packet.cc (+2/-2)
src/map_io/widelands_map_version_data_packet.cc (+2/-2)
src/scripting/c_utils.cc (+6/-6)
src/scripting/c_utils.h (+2/-2)
src/scripting/lua_bases.cc (+4/-4)
src/scripting/lua_coroutine.cc (+1/-1)
src/scripting/lua_coroutine.h (+2/-2)
src/scripting/lua_game.cc (+1/-1)
src/scripting/lua_map.cc (+117/-119)
src/scripting/lua_map.h (+28/-28)
src/scripting/lua_root.cc (+1/-1)
src/scripting/persistence.cc (+2/-2)
src/scripting/persistence.h (+4/-4)
src/scripting/scripting.cc (+2/-2)
src/scripting/scripting.h (+4/-4)
src/ui_basic/helpwindow.cc (+1/-1)
src/ui_basic/helpwindow.h (+2/-2)
src/wui/building_statistics_menu.cc (+4/-4)
src/wui/building_statistics_menu.h (+1/-1)
src/wui/buildingwindow.cc (+2/-2)
src/wui/encyclopedia_window.cc (+4/-4)
src/wui/fieldaction.cc (+3/-3)
src/wui/game_debug_ui.cc (+12/-12)
src/wui/game_debug_ui.h (+2/-2)
src/wui/interactive_base.cc (+3/-3)
src/wui/productionsitewindow.cc (+1/-1)
src/wui/transport_ui.cc (+1/-1)
lp:~widelands-dev/widelands/bug-1343297_2
- SirVer: Approve
- GunChleoc: Needs Resubmitting
-
Diff: 53800 lines (+9283/-9239)573 files modifiedcmake/codecheck/rules/camel_case_for_classes (+42/-0)
cmake/codecheck/rules/do_not_use_typedef (+24/-0)
src/ai/ai_help_structs.h (+1/-1)
src/ai/computer_player.cc (+13/-13)
src/ai/computer_player.h (+9/-11)
src/ai/defaultai.cc (+23/-23)
src/ai/defaultai.h (+12/-12)
src/base/exceptions.cc (+6/-6)
src/base/md5.cc (+4/-4)
src/base/md5.h (+11/-11)
src/base/warning.h (+3/-3)
src/base/wexception.h (+5/-5)
src/economy/cmd_call_economy_balance.cc (+10/-10)
src/economy/cmd_call_economy_balance.h (+9/-9)
src/economy/economy.cc (+40/-43)
src/economy/economy.h (+28/-28)
src/economy/economy_data_packet.cc (+17/-17)
src/economy/economy_data_packet.h (+2/-2)
src/economy/flag.cc (+13/-13)
src/economy/flag.h (+22/-22)
src/economy/fleet.cc (+18/-18)
src/economy/fleet.h (+12/-12)
src/economy/idleworkersupply.cc (+1/-1)
src/economy/idleworkersupply.h (+1/-1)
src/economy/portdock.cc (+13/-13)
src/economy/portdock.h (+9/-9)
src/economy/request.cc (+14/-14)
src/economy/request.h (+13/-13)
src/economy/road.cc (+18/-18)
src/economy/road.h (+16/-16)
src/economy/route.cc (+7/-7)
src/economy/route.h (+6/-6)
src/economy/routeastar.h (+1/-1)
src/economy/router.h (+1/-1)
src/economy/routing_node.h (+4/-4)
src/economy/shippingitem.cc (+7/-7)
src/economy/shippingitem.h (+7/-7)
src/economy/supply.h (+1/-1)
src/economy/supply_list.h (+1/-1)
src/economy/test/test_road.cc (+3/-3)
src/economy/test/test_routing.cc (+8/-8)
src/economy/transfer.cc (+4/-4)
src/economy/transfer.h (+4/-4)
src/economy/ware_instance.cc (+14/-14)
src/economy/ware_instance.h (+14/-14)
src/economy/warehousesupply.h (+9/-9)
src/economy/wares_queue.cc (+10/-10)
src/economy/wares_queue.h (+13/-13)
src/editor/editorinteractive.cc (+73/-73)
src/editor/editorinteractive.h (+36/-36)
src/editor/map_generator.cc (+13/-13)
src/editor/map_generator.h (+7/-7)
src/editor/tools/editor_action_args.h (+9/-9)
src/editor/tools/editor_decrease_height_tool.cc (+10/-10)
src/editor/tools/editor_decrease_height_tool.h (+7/-7)
src/editor/tools/editor_decrease_resources_tool.cc (+10/-10)
src/editor/tools/editor_decrease_resources_tool.h (+13/-13)
src/editor/tools/editor_delete_bob_tool.cc (+11/-11)
src/editor/tools/editor_delete_bob_tool.h (+9/-9)
src/editor/tools/editor_delete_immovable_tool.cc (+11/-11)
src/editor/tools/editor_delete_immovable_tool.h (+9/-9)
src/editor/tools/editor_draw_tool.cc (+17/-17)
src/editor/tools/editor_draw_tool.h (+10/-10)
src/editor/tools/editor_history.cc (+20/-20)
src/editor/tools/editor_history.h (+11/-11)
src/editor/tools/editor_increase_height_tool.cc (+10/-10)
src/editor/tools/editor_increase_height_tool.h (+16/-16)
src/editor/tools/editor_increase_resources_tool.cc (+12/-12)
src/editor/tools/editor_increase_resources_tool.h (+18/-18)
src/editor/tools/editor_info_tool.cc (+7/-7)
src/editor/tools/editor_info_tool.h (+5/-5)
src/editor/tools/editor_make_infrastructure_tool.cc (+5/-5)
src/editor/tools/editor_make_infrastructure_tool.h (+10/-10)
src/editor/tools/editor_noise_height_tool.cc (+10/-10)
src/editor/tools/editor_noise_height_tool.h (+13/-13)
src/editor/tools/editor_place_bob_tool.cc (+12/-12)
src/editor/tools/editor_place_bob_tool.h (+10/-10)
src/editor/tools/editor_place_immovable_tool.cc (+12/-12)
src/editor/tools/editor_place_immovable_tool.h (+10/-10)
src/editor/tools/editor_set_height_tool.cc (+10/-10)
src/editor/tools/editor_set_height_tool.h (+10/-10)
src/editor/tools/editor_set_origin_tool.cc (+10/-10)
src/editor/tools/editor_set_origin_tool.h (+9/-9)
src/editor/tools/editor_set_port_space_tool.cc (+28/-28)
src/editor/tools/editor_set_port_space_tool.h (+16/-16)
src/editor/tools/editor_set_resources_tool.cc (+10/-10)
src/editor/tools/editor_set_resources_tool.h (+13/-13)
src/editor/tools/editor_set_starting_pos_tool.cc (+10/-10)
src/editor/tools/editor_set_starting_pos_tool.h (+6/-6)
src/editor/tools/editor_set_terrain_tool.cc (+12/-12)
src/editor/tools/editor_set_terrain_tool.h (+9/-9)
src/editor/tools/editor_tool.h (+23/-23)
src/editor/tools/editor_tool_action.h (+16/-16)
src/editor/ui_menus/categorized_item_selection_menu.h (+1/-1)
src/editor/ui_menus/editor_main_menu.cc (+34/-34)
src/editor/ui_menus/editor_main_menu.h (+4/-4)
src/editor/ui_menus/editor_main_menu_load_map.cc (+22/-22)
src/editor/ui_menus/editor_main_menu_load_map.h (+6/-6)
src/editor/ui_menus/editor_main_menu_map_options.cc (+12/-12)
src/editor/ui_menus/editor_main_menu_map_options.h (+6/-6)
src/editor/ui_menus/editor_main_menu_new_map.cc (+11/-11)
src/editor/ui_menus/editor_main_menu_new_map.h (+3/-3)
src/editor/ui_menus/editor_main_menu_random_map.cc (+44/-44)
src/editor/ui_menus/editor_main_menu_random_map.h (+6/-6)
src/editor/ui_menus/editor_main_menu_save_map.cc (+31/-31)
src/editor/ui_menus/editor_main_menu_save_map.h (+7/-7)
src/editor/ui_menus/editor_main_menu_save_map_make_directory.cc (+5/-5)
src/editor/ui_menus/editor_main_menu_save_map_make_directory.h (+2/-2)
src/editor/ui_menus/editor_player_menu.cc (+49/-49)
src/editor/ui_menus/editor_player_menu.h (+5/-5)
src/editor/ui_menus/editor_player_menu_allowed_buildings_menu.cc (+23/-23)
src/editor/ui_menus/editor_player_menu_allowed_buildings_menu.h (+4/-4)
src/editor/ui_menus/editor_tool_change_height_options_menu.cc (+13/-13)
src/editor/ui_menus/editor_tool_change_height_options_menu.h (+8/-8)
src/editor/ui_menus/editor_tool_change_resources_options_menu.cc (+19/-19)
src/editor/ui_menus/editor_tool_change_resources_options_menu.h (+8/-8)
src/editor/ui_menus/editor_tool_menu.cc (+16/-16)
src/editor/ui_menus/editor_tool_menu.h (+2/-2)
src/editor/ui_menus/editor_tool_noise_height_options_menu.cc (+19/-19)
src/editor/ui_menus/editor_tool_noise_height_options_menu.h (+7/-7)
src/editor/ui_menus/editor_tool_options_menu.cc (+5/-5)
src/editor/ui_menus/editor_tool_options_menu.h (+4/-4)
src/editor/ui_menus/editor_tool_place_bob_options_menu.cc (+6/-6)
src/editor/ui_menus/editor_tool_place_bob_options_menu.h (+7/-7)
src/editor/ui_menus/editor_tool_place_immovable_options_menu.cc (+6/-6)
src/editor/ui_menus/editor_tool_place_immovable_options_menu.h (+6/-6)
src/editor/ui_menus/editor_tool_set_terrain_options_menu.cc (+5/-5)
src/editor/ui_menus/editor_tool_set_terrain_options_menu.h (+7/-7)
src/editor/ui_menus/editor_toolsize_menu.cc (+9/-9)
src/editor/ui_menus/editor_toolsize_menu.h (+4/-4)
src/game_io/CMakeLists.txt (+14/-14)
src/game_io/game_class_packet.cc (+9/-9)
src/game_io/game_class_packet.h (+6/-6)
src/game_io/game_cmd_queue_packet.cc (+14/-14)
src/game_io/game_cmd_queue_packet.h (+6/-6)
src/game_io/game_data_packet.h (+6/-6)
src/game_io/game_interactive_player_packet.cc (+18/-18)
src/game_io/game_interactive_player_packet.h (+6/-6)
src/game_io/game_loader.cc (+25/-25)
src/game_io/game_loader.h (+5/-5)
src/game_io/game_map_packet.cc (+11/-11)
src/game_io/game_map_packet.h (+17/-17)
src/game_io/game_player_economies_packet.cc (+15/-15)
src/game_io/game_player_economies_packet.h (+6/-6)
src/game_io/game_player_info_packet.cc (+10/-10)
src/game_io/game_player_info_packet.h (+6/-6)
src/game_io/game_preload_packet.cc (+10/-10)
src/game_io/game_preload_packet.h (+6/-6)
src/game_io/game_saver.cc (+18/-18)
src/game_io/game_saver.h (+2/-2)
src/graphic/animation.cc (+0/-1)
src/graphic/font.cc (+1/-1)
src/graphic/font_handler.cc (+16/-16)
src/graphic/font_handler.h (+4/-4)
src/graphic/font_handler1.cc (+6/-6)
src/graphic/font_handler1.h (+7/-7)
src/graphic/image_cache.h (+1/-1)
src/graphic/image_io.h (+2/-2)
src/graphic/render/gamerenderer.cc (+17/-17)
src/graphic/render/gamerenderer.h (+4/-4)
src/graphic/render/gamerenderer_gl.cc (+36/-36)
src/graphic/render/gamerenderer_gl.h (+8/-8)
src/graphic/render/gamerenderer_sdl.cc (+5/-5)
src/graphic/render/minimaprenderer.cc (+7/-7)
src/graphic/render/minimaprenderer.h (+3/-3)
src/graphic/rendertarget.cc (+2/-2)
src/graphic/richtext.cc (+5/-5)
src/graphic/surface_cache.cc (+2/-2)
src/graphic/text/font_io.cc (+1/-1)
src/graphic/text/rt_errors.h (+1/-1)
src/graphic/text/rt_errors_impl.h (+2/-2)
src/graphic/text/rt_parse.cc (+4/-4)
src/graphic/text/rt_parse.h (+3/-3)
src/graphic/text/rt_render.cc (+5/-4)
src/graphic/text/rt_render.h (+1/-1)
src/graphic/text/sdl_ttf_font.cc (+6/-6)
src/graphic/text/sdl_ttf_font.h (+3/-3)
src/graphic/text/textstream.cc (+6/-6)
src/graphic/text_parser.cc (+16/-16)
src/graphic/text_parser.h (+12/-12)
src/io/fileread.cc (+5/-5)
src/io/fileread.h (+2/-2)
src/io/filesystem/disk_filesystem.cc (+5/-5)
src/io/filesystem/filesystem.cc (+8/-8)
src/io/filesystem/filesystem.h (+1/-1)
src/io/filesystem/filesystem_exceptions.h (+14/-14)
src/io/filesystem/layered_filesystem.cc (+5/-5)
src/io/filesystem/zip_exceptions.h (+4/-4)
src/io/filesystem/zip_filesystem.cc (+19/-19)
src/io/filewrite.h (+1/-1)
src/io/streamread.cc (+1/-1)
src/io/streamread.h (+3/-3)
src/logic/CMakeLists.txt (+1/-1)
src/logic/battle.cc (+16/-16)
src/logic/battle.h (+4/-4)
src/logic/bill_of_materials.h (+5/-5)
src/logic/bob.cc (+24/-24)
src/logic/bob.h (+19/-19)
src/logic/buildcost.cc (+7/-7)
src/logic/buildcost.h (+5/-5)
src/logic/building.cc (+30/-30)
src/logic/building.h (+36/-36)
src/logic/campaign_visibility.cc (+5/-5)
src/logic/campaign_visibility.h (+1/-1)
src/logic/carrier.cc (+3/-3)
src/logic/carrier.h (+4/-4)
src/logic/checkstep.h (+2/-2)
src/logic/cmd_calculate_statistics.cc (+9/-9)
src/logic/cmd_calculate_statistics.h (+5/-5)
src/logic/cmd_expire_message.cc (+1/-1)
src/logic/cmd_expire_message.h (+5/-5)
src/logic/cmd_incorporate.cc (+9/-9)
src/logic/cmd_incorporate.h (+5/-5)
src/logic/cmd_luacoroutine.cc (+8/-8)
src/logic/cmd_luacoroutine.h (+6/-6)
src/logic/cmd_luascript.cc (+9/-9)
src/logic/cmd_luascript.h (+5/-5)
src/logic/cmd_queue.cc (+17/-17)
src/logic/cmd_queue.h (+12/-12)
src/logic/constructionsite.cc (+21/-21)
src/logic/constructionsite.h (+11/-11)
src/logic/cookie_priority_queue.h (+84/-84)
src/logic/critter.cc (+7/-7)
src/logic/critter.h (+5/-5)
src/logic/critter_program.h (+3/-3)
src/logic/description_maintainer.h (+1/-1)
src/logic/dismantlesite.cc (+15/-15)
src/logic/dismantlesite.h (+8/-8)
src/logic/editor_game_base.cc (+81/-81)
src/logic/editor_game_base.h (+48/-48)
src/logic/expedition_bootstrap.cc (+14/-14)
src/logic/expedition_bootstrap.h (+9/-9)
src/logic/field.h (+24/-24)
src/logic/game.cc (+65/-65)
src/logic/game.h (+26/-26)
src/logic/game_data_error.cc (+1/-1)
src/logic/game_data_error.h (+3/-3)
src/logic/game_settings.h (+2/-2)
src/logic/immovable.cc (+81/-81)
src/logic/immovable.h (+26/-26)
src/logic/immovable_program.h (+1/-1)
src/logic/instances.cc (+41/-41)
src/logic/instances.h (+64/-64)
src/logic/map.cc (+32/-32)
src/logic/map.h (+44/-44)
src/logic/map_info.cc (+4/-3)
src/logic/mapdifferenceregion.cc (+1/-1)
src/logic/mapdifferenceregion.h (+6/-6)
src/logic/mapfringeregion.h (+7/-7)
src/logic/maphollowregion.h (+5/-5)
src/logic/mapregion.h (+10/-10)
src/logic/maptriangleregion.h (+8/-8)
src/logic/message_id.h (+11/-11)
src/logic/message_queue.h (+23/-31)
src/logic/militarysite.cc (+19/-19)
src/logic/militarysite.h (+10/-10)
src/logic/parse_map_object_types.h (+2/-2)
src/logic/partially_finished_building.cc (+14/-14)
src/logic/partially_finished_building.h (+10/-10)
src/logic/path.cc (+5/-5)
src/logic/path.h (+9/-9)
src/logic/pathfield.h (+4/-4)
src/logic/player.cc (+63/-63)
src/logic/player.h (+61/-61)
src/logic/player_area.h (+5/-5)
src/logic/playercommand.cc (+385/-385)
src/logic/playercommand.h (+223/-223)
src/logic/playersmanager.cc (+7/-7)
src/logic/playersmanager.h (+9/-9)
src/logic/production_program.cc (+147/-148)
src/logic/production_program.h (+41/-41)
src/logic/productionsite.cc (+42/-42)
src/logic/productionsite.h (+33/-33)
src/logic/program_result.h (+2/-2)
src/logic/queue_cmd_factory.cc (+34/-34)
src/logic/queue_cmd_factory.h (+1/-1)
src/logic/replay.cc (+15/-15)
src/logic/replay.h (+2/-2)
src/logic/replay_game_controller.cc (+3/-3)
src/logic/replay_game_controller.h (+2/-2)
src/logic/requirements.cc (+19/-19)
src/logic/requirements.h (+22/-22)
src/logic/save_handler.cc (+2/-2)
src/logic/ship.cc (+19/-19)
src/logic/ship.h (+12/-12)
src/logic/single_player_game_controller.cc (+3/-3)
src/logic/single_player_game_controller.h (+3/-3)
src/logic/single_player_game_settings_provider.cc (+6/-6)
src/logic/soldier.cc (+30/-30)
src/logic/soldier.h (+14/-14)
src/logic/soldier_counts.h (+1/-1)
src/logic/soldiercontrol.h (+2/-2)
src/logic/terrain_affinity.cc (+4/-4)
src/logic/training_attribute.h (+4/-4)
src/logic/trainingsite.cc (+19/-19)
src/logic/trainingsite.h (+24/-24)
src/logic/tribe.cc (+45/-45)
src/logic/tribe.h (+30/-30)
src/logic/tribe_basic_info.h (+2/-2)
src/logic/ware_descr.cc (+1/-1)
src/logic/ware_descr.h (+4/-4)
src/logic/warehouse.cc (+77/-77)
src/logic/warehouse.h (+43/-43)
src/logic/warelist.cc (+8/-8)
src/logic/warelist.h (+8/-9)
src/logic/widelands.h (+24/-25)
src/logic/widelands_geometry.cc (+1/-1)
src/logic/widelands_geometry.h (+34/-39)
src/logic/widelands_geometry_io.cc (+9/-9)
src/logic/widelands_geometry_io.h (+19/-19)
src/logic/workarea_info.h (+1/-1)
src/logic/worker.cc (+35/-35)
src/logic/worker.h (+19/-19)
src/logic/worker_descr.cc (+8/-8)
src/logic/worker_descr.h (+10/-11)
src/logic/worker_program.cc (+2/-2)
src/logic/worker_program.h (+5/-5)
src/logic/world/editor_category.cc (+1/-1)
src/logic/world/map_gen.cc (+21/-21)
src/logic/world/map_gen.h (+4/-4)
src/logic/world/resource_description.cc (+1/-1)
src/logic/world/terrain_description.cc (+8/-8)
src/logic/world/terrain_description.h (+1/-1)
src/logic/world/world.cc (+3/-3)
src/logic/world/world.h (+3/-3)
src/main.cc (+2/-2)
src/map_io/CMakeLists.txt (+59/-59)
src/map_io/map_allowed_building_types_packet.cc (+21/-21)
src/map_io/map_allowed_building_types_packet.h (+8/-8)
src/map_io/map_allowed_worker_types_packet.cc (+15/-15)
src/map_io/map_allowed_worker_types_packet.h (+5/-5)
src/map_io/map_bob_packet.cc (+16/-16)
src/map_io/map_bob_packet.h (+10/-10)
src/map_io/map_building_packet.cc (+31/-31)
src/map_io/map_building_packet.h (+7/-7)
src/map_io/map_buildingdata_packet.cc (+151/-151)
src/map_io/map_buildingdata_packet.h (+24/-24)
src/map_io/map_data_packet.h (+10/-10)
src/map_io/map_elemental_packet.cc (+9/-9)
src/map_io/map_elemental_packet.h (+8/-8)
src/map_io/map_exploration_packet.cc (+18/-18)
src/map_io/map_exploration_packet.h (+8/-8)
src/map_io/map_extradata_packet.cc (+9/-9)
src/map_io/map_extradata_packet.h (+6/-6)
src/map_io/map_flag_packet.cc (+22/-22)
src/map_io/map_flag_packet.h (+8/-8)
src/map_io/map_flagdata_packet.cc (+29/-29)
src/map_io/map_flagdata_packet.h (+8/-8)
src/map_io/map_heights_packet.cc (+12/-12)
src/map_io/map_heights_packet.h (+8/-8)
src/map_io/map_loader.h (+5/-5)
src/map_io/map_message_saver.h (+10/-10)
src/map_io/map_node_ownership_packet.cc (+13/-13)
src/map_io/map_node_ownership_packet.h (+8/-8)
src/map_io/map_object_loader.cc (+7/-7)
src/map_io/map_object_loader.h (+10/-10)
src/map_io/map_object_packet.cc (+9/-9)
src/map_io/map_object_packet.h (+10/-10)
src/map_io/map_object_saver.cc (+14/-14)
src/map_io/map_object_saver.h (+9/-9)
src/map_io/map_objective_packet.cc (+12/-12)
src/map_io/map_objective_packet.h (+8/-8)
src/map_io/map_player_names_and_tribes_packet.cc (+14/-14)
src/map_io/map_player_names_and_tribes_packet.h (+8/-8)
src/map_io/map_player_position_packet.cc (+12/-12)
src/map_io/map_player_position_packet.h (+8/-8)
src/map_io/map_players_messages_packet.cc (+24/-24)
src/map_io/map_players_messages_packet.h (+8/-8)
src/map_io/map_players_view_packet.cc (+105/-105)
src/map_io/map_players_view_packet.h (+6/-6)
src/map_io/map_port_spaces_packet.cc (+7/-7)
src/map_io/map_port_spaces_packet.h (+8/-8)
src/map_io/map_resources_packet.cc (+8/-8)
src/map_io/map_resources_packet.h (+7/-7)
src/map_io/map_road_packet.cc (+13/-13)
src/map_io/map_road_packet.h (+8/-8)
src/map_io/map_roaddata_packet.cc (+38/-38)
src/map_io/map_roaddata_packet.h (+5/-5)
src/map_io/map_saver.cc (+60/-59)
src/map_io/map_saver.h (+11/-11)
src/map_io/map_scripting_packet.cc (+7/-7)
src/map_io/map_scripting_packet.h (+5/-5)
src/map_io/map_terrain_packet.cc (+21/-21)
src/map_io/map_terrain_packet.h (+7/-7)
src/map_io/map_version_packet.cc (+9/-9)
src/map_io/map_version_packet.h (+5/-5)
src/map_io/s2map.cc (+40/-40)
src/map_io/s2map.h (+5/-5)
src/map_io/widelands_map_loader.cc (+60/-60)
src/map_io/widelands_map_loader.h (+8/-8)
src/network/internet_gaming.cc (+19/-19)
src/network/internet_gaming.h (+6/-6)
src/network/netclient.cc (+9/-9)
src/network/nethost.cc (+35/-35)
src/network/nethost.h (+1/-1)
src/network/network.cc (+2/-2)
src/network/network.h (+2/-2)
src/network/network_lan_promotion.cc (+22/-22)
src/network/network_lan_promotion.h (+15/-15)
src/network/network_system.h (+2/-2)
src/profile/profile.cc (+1/-1)
src/profile/profile.h (+4/-4)
src/scripting/c_utils.cc (+8/-8)
src/scripting/c_utils.h (+5/-5)
src/scripting/factory.cc (+4/-4)
src/scripting/factory.h (+3/-3)
src/scripting/lua_bases.cc (+76/-76)
src/scripting/lua_bases.h (+17/-17)
src/scripting/lua_coroutine.cc (+3/-3)
src/scripting/lua_editor.cc (+5/-5)
src/scripting/lua_editor.h (+7/-7)
src/scripting/lua_errors.h (+1/-1)
src/scripting/lua_game.cc (+151/-151)
src/scripting/lua_game.h (+26/-26)
src/scripting/lua_map.cc (+643/-643)
src/scripting/lua_map.h (+207/-207)
src/scripting/lua_path.h (+1/-1)
src/scripting/lua_root.cc (+51/-51)
src/scripting/lua_root.h (+14/-14)
src/scripting/lua_ui.cc (+116/-116)
src/scripting/lua_ui.h (+32/-32)
src/scripting/luna_impl.h (+2/-2)
src/scripting/persistence.cc (+2/-2)
src/scripting/persistence.h (+5/-5)
src/scripting/scripting.cc (+5/-5)
src/scripting/scripting.h (+6/-6)
src/scripting/test/test_luna.cc (+53/-53)
src/sound/fxset.h (+2/-2)
src/sound/songset.cc (+4/-4)
src/sound/sound_handler.cc (+48/-48)
src/sound/sound_handler.h (+16/-16)
src/ui_basic/helpwindow.cc (+2/-2)
src/ui_basic/helpwindow.h (+2/-2)
src/ui_basic/icongrid.cc (+7/-7)
src/ui_basic/icongrid.h (+2/-2)
src/ui_basic/listselect.cc (+9/-9)
src/ui_basic/listselect.h (+5/-5)
src/ui_basic/messagebox.cc (+4/-4)
src/ui_basic/messagebox.h (+2/-2)
src/ui_basic/multilineeditbox.cc (+25/-25)
src/ui_basic/multilineeditbox.h (+3/-3)
src/ui_basic/multilinetextarea.cc (+12/-12)
src/ui_basic/multilinetextarea.h (+3/-3)
src/ui_basic/panel.cc (+1/-1)
src/ui_basic/progressbar.cc (+4/-4)
src/ui_basic/progressbar.h (+2/-2)
src/ui_basic/progresswindow.h (+1/-1)
src/ui_basic/table.cc (+21/-21)
src/ui_basic/table.h (+40/-40)
src/ui_basic/tabpanel.cc (+16/-16)
src/ui_basic/tabpanel.h (+10/-10)
src/ui_basic/textarea.h (+1/-1)
src/ui_fsmenu/base.cc (+13/-13)
src/ui_fsmenu/base.h (+3/-3)
src/ui_fsmenu/campaign_select.cc (+26/-26)
src/ui_fsmenu/campaign_select.h (+7/-7)
src/ui_fsmenu/editor.cc (+5/-5)
src/ui_fsmenu/editor.h (+2/-2)
src/ui_fsmenu/editor_mapselect.cc (+22/-22)
src/ui_fsmenu/editor_mapselect.h (+4/-4)
src/ui_fsmenu/fileview.cc (+7/-7)
src/ui_fsmenu/fileview.h (+5/-5)
src/ui_fsmenu/internet_lobby.cc (+32/-32)
src/ui_fsmenu/internet_lobby.h (+6/-6)
src/ui_fsmenu/intro.cc (+5/-5)
src/ui_fsmenu/intro.h (+2/-2)
src/ui_fsmenu/launch_mpg.cc (+31/-31)
src/ui_fsmenu/launch_mpg.h (+4/-4)
src/ui_fsmenu/launch_spg.cc (+24/-24)
src/ui_fsmenu/launch_spg.h (+3/-3)
src/ui_fsmenu/loadgame.cc (+24/-24)
src/ui_fsmenu/loadgame.h (+5/-5)
src/ui_fsmenu/loadreplay.cc (+24/-24)
src/ui_fsmenu/loadreplay.h (+2/-2)
src/ui_fsmenu/main.cc (+11/-11)
src/ui_fsmenu/main.h (+2/-2)
src/ui_fsmenu/mapselect.cc (+33/-33)
src/ui_fsmenu/mapselect.h (+4/-4)
src/ui_fsmenu/multiplayer.cc (+8/-8)
src/ui_fsmenu/multiplayer.h (+2/-2)
src/ui_fsmenu/netsetup_lan.cc (+40/-40)
src/ui_fsmenu/netsetup_lan.h (+12/-12)
src/ui_fsmenu/options.cc (+34/-34)
src/ui_fsmenu/options.h (+15/-15)
src/ui_fsmenu/singleplayer.cc (+6/-6)
src/ui_fsmenu/singleplayer.h (+2/-2)
src/wlapplication.cc (+84/-84)
src/wlapplication.h (+3/-3)
src/wui/actionconfirm.cc (+34/-34)
src/wui/actionconfirm.h (+7/-7)
src/wui/building_statistics_menu.cc (+63/-63)
src/wui/building_statistics_menu.h (+12/-12)
src/wui/building_ui.cc (+3/-3)
src/wui/buildingwindow.cc (+37/-37)
src/wui/buildingwindow.h (+12/-12)
src/wui/constructionsitewindow.cc (+14/-14)
src/wui/debugconsole.cc (+1/-1)
src/wui/debugconsole.h (+1/-1)
src/wui/dismantlesitewindow.cc (+15/-15)
src/wui/encyclopedia_window.cc (+14/-14)
src/wui/encyclopedia_window.h (+9/-9)
src/wui/fieldaction.cc (+53/-53)
src/wui/fieldaction.h (+3/-3)
src/wui/game_debug_ui.cc (+27/-27)
src/wui/game_debug_ui.h (+3/-3)
src/wui/game_main_menu.cc (+6/-6)
src/wui/game_main_menu.h (+4/-4)
src/wui/game_main_menu_save_game.cc (+34/-34)
src/wui/game_main_menu_save_game.h (+5/-5)
src/wui/game_message_menu.cc (+25/-25)
src/wui/game_message_menu.h (+6/-6)
src/wui/game_objectives_menu.cc (+3/-3)
src/wui/game_objectives_menu.h (+5/-5)
src/wui/game_options_menu.cc (+3/-3)
src/wui/game_options_menu.h (+4/-4)
src/wui/game_options_sound_menu.cc (+1/-1)
src/wui/game_options_sound_menu.h (+1/-1)
src/wui/game_summary.cc (+7/-7)
src/wui/game_summary.h (+3/-3)
src/wui/gamechatpanel.cc (+1/-1)
src/wui/gamechatpanel.h (+1/-1)
src/wui/general_statistics_menu.cc (+17/-17)
src/wui/general_statistics_menu.h (+8/-8)
src/wui/interactive_base.cc (+58/-58)
src/wui/interactive_base.h (+19/-19)
src/wui/interactive_gamebase.cc (+9/-9)
src/wui/interactive_gamebase.h (+8/-8)
src/wui/interactive_player.cc (+33/-33)
src/wui/interactive_player.h (+10/-10)
src/wui/interactive_spectator.cc (+26/-26)
src/wui/interactive_spectator.h (+6/-6)
src/wui/itemwaresdisplay.cc (+2/-2)
src/wui/itemwaresdisplay.h (+2/-2)
src/wui/login_box.cc (+1/-1)
src/wui/login_box.h (+1/-1)
src/wui/mapview.cc (+15/-15)
src/wui/mapview.h (+8/-8)
src/wui/mapviewpixelfunctions.cc (+2/-2)
src/wui/mapviewpixelfunctions.h (+1/-1)
src/wui/militarysitewindow.cc (+10/-10)
src/wui/minimap.cc (+2/-2)
src/wui/minimap.h (+4/-4)
src/wui/overlay_manager.cc (+25/-25)
src/wui/overlay_manager.h (+21/-23)
src/wui/plot_area.cc (+16/-16)
src/wui/plot_area.h (+9/-9)
src/wui/portdockwaresdisplay.cc (+3/-3)
src/wui/portdockwaresdisplay.h (+1/-1)
src/wui/productionsitewindow.cc (+12/-12)
src/wui/productionsitewindow.h (+3/-3)
src/wui/quicknavigation.cc (+1/-1)
src/wui/quicknavigation.h (+5/-5)
src/wui/shipwindow.cc (+9/-9)
src/wui/soldiercapacitycontrol.cc (+4/-4)
src/wui/soldiercapacitycontrol.h (+2/-2)
src/wui/soldierlist.cc (+11/-11)
src/wui/soldierlist.h (+2/-2)
src/wui/stock_menu.cc (+7/-7)
src/wui/stock_menu.h (+4/-4)
src/wui/story_message_box.cc (+6/-6)
src/wui/story_message_box.h (+2/-2)
src/wui/trainingsitewindow.cc (+10/-10)
src/wui/transport_draw.cc (+2/-2)
src/wui/transport_ui.cc (+49/-49)
src/wui/ware_statistics_menu.cc (+26/-26)
src/wui/ware_statistics_menu.h (+17/-17)
src/wui/warehousewindow.cc (+17/-17)
src/wui/waresdisplay.cc (+31/-31)
src/wui/waresdisplay.h (+33/-33)
src/wui/waresqueuedisplay.cc (+1/-1)
src/wui/waresqueuedisplay.h (+4/-4)
src/wui/watchwindow.cc (+13/-13)
src/wui/watchwindow.h (+2/-2)
tags: | added: cleanups lowhangingfruit |
Changed in widelands: | |
importance: | Undecided → Low |
Changed in widelands: | |
status: | Confirmed → In Progress |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | In Progress → Fix Committed |
Changed in widelands: | |
assignee: | GunChleoc (gunchleoc) → nobody |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Of course a codecheck rule should be added to make sure they never come back.