From c6349e415f55ed9d307e027fbce6ef03d5a409c2 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 10 Jul 2010 15:02:07 +0200 Subject: [PATCH] Changed: optimizations for PCH --- .../client/src/interface_v3/action_handler_debug.cpp | 5 ----- .../client/src/interface_v3/action_handler_game.cpp | 5 ----- .../client/src/interface_v3/action_handler_help.cpp | 3 --- .../client/src/interface_v3/action_handler_phrase.cpp | 1 - .../client/src/interface_v3/action_phrase_faber.cpp | 1 - code/ryzom/client/src/interface_v3/add_on_manager.cpp | 2 -- code/ryzom/client/src/interface_v3/bonus_malus.cpp | 2 -- .../client/src/interface_v3/bot_chat_page_all.cpp | 2 -- .../src/interface_v3/bot_chat_page_dynamic_mission.cpp | 2 -- .../client/src/interface_v3/bot_chat_page_mission.cpp | 1 - code/ryzom/client/src/interface_v3/character_3d.cpp | 10 ---------- code/ryzom/client/src/interface_v3/chat_filter.cpp | 1 - .../client/src/interface_v3/chat_text_manager.cpp | 2 -- code/ryzom/client/src/interface_v3/chat_window.cpp | 4 ---- code/ryzom/client/src/interface_v3/ctrl_base.cpp | 2 -- code/ryzom/client/src/interface_v3/ctrl_polygon.cpp | 2 -- code/ryzom/client/src/interface_v3/ctrl_quad.cpp | 2 -- code/ryzom/client/src/interface_v3/custom_mouse.cpp | 1 - code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp | 1 - .../client/src/interface_v3/dbgroup_build_phrase.cpp | 1 - .../client/src/interface_v3/dbgroup_combo_box.cpp | 1 - .../interface_v3/dbgroup_list_sheet_icon_phrase.cpp | 3 --- .../interface_v3/dbgroup_list_sheet_text_phrase.cpp | 3 --- .../src/interface_v3/dbgroup_list_sheet_trade.cpp | 1 - code/ryzom/client/src/interface_v3/dbview_quantity.cpp | 2 -- .../ryzom/client/src/interface_v3/event_descriptor.cpp | 1 - code/ryzom/client/src/interface_v3/group_career.cpp | 2 -- code/ryzom/client/src/interface_v3/group_compas.cpp | 2 -- code/ryzom/client/src/interface_v3/group_container.cpp | 3 --- code/ryzom/client/src/interface_v3/group_editbox.cpp | 2 -- code/ryzom/client/src/interface_v3/group_frame.cpp | 2 -- code/ryzom/client/src/interface_v3/group_header.cpp | 2 -- code/ryzom/client/src/interface_v3/group_html.cpp | 3 --- code/ryzom/client/src/interface_v3/group_list.cpp | 4 ---- 34 files changed, 81 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/action_handler_debug.cpp b/code/ryzom/client/src/interface_v3/action_handler_debug.cpp index aac90d171..eaa24e354 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_debug.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_debug.cpp @@ -20,11 +20,6 @@ using namespace std; using namespace NLMISC; using namespace NL3D; -#include "nel/3d/landscapeig_manager.h" -#include "nel/3d/u_landscape.h" -#include "nel/misc/progress_callback.h" -#include "nel/misc/command.h" - #include "action_handler.h" #include "../misc.h" #include "../prim_file.h" diff --git a/code/ryzom/client/src/interface_v3/action_handler_game.cpp b/code/ryzom/client/src/interface_v3/action_handler_game.cpp index 903f37a0b..98decfedd 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_game.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_game.cpp @@ -78,13 +78,8 @@ #include "game_share/bot_chat_types.h" #include "game_share/constants.h" #include "game_share/scores.h" -// Commands -#include "nel/misc/command.h" -#include "nel/misc/algo.h" -#include "nel/misc/i18n.h" // Game Config -#include "nel/3d/u_driver.h" #include "dbgroup_combo_box.h" #include "ctrl_button.h" #include "../global.h" diff --git a/code/ryzom/client/src/interface_v3/action_handler_help.cpp b/code/ryzom/client/src/interface_v3/action_handler_help.cpp index 4de275c9b..23c9982c0 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_help.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_help.cpp @@ -57,9 +57,6 @@ #include "sbrick_manager.h" #include "sphrase_manager.h" #include "action_handler_help.h" -#include "nel/misc/i18n.h" -#include "nel/misc/algo.h" -#include "nel/net/email.h" #include "game_share/mission_desc.h" #include "game_share/inventories.h" #include "game_share/visual_slot_manager.h" diff --git a/code/ryzom/client/src/interface_v3/action_handler_phrase.cpp b/code/ryzom/client/src/interface_v3/action_handler_phrase.cpp index e7cef8885..4c7c081f8 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_phrase.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_phrase.cpp @@ -46,7 +46,6 @@ #include "../entities.h" #include "macrocmd_manager.h" #include "group_menu.h" -#include "nel/misc/algo.h" #include "group_tree.h" extern CSheetManager SheetMngr; diff --git a/code/ryzom/client/src/interface_v3/action_phrase_faber.cpp b/code/ryzom/client/src/interface_v3/action_phrase_faber.cpp index 10153faf3..b7b2afce2 100644 --- a/code/ryzom/client/src/interface_v3/action_phrase_faber.cpp +++ b/code/ryzom/client/src/interface_v3/action_phrase_faber.cpp @@ -25,7 +25,6 @@ #include "action_handler.h" #include "../client_cfg.h" #include "ctrl_base_button.h" -#include "nel/misc/algo.h" #include "group_container.h" #include "../string_manager_client.h" #include "../net_manager.h" diff --git a/code/ryzom/client/src/interface_v3/add_on_manager.cpp b/code/ryzom/client/src/interface_v3/add_on_manager.cpp index 7a508e059..dbec2856a 100644 --- a/code/ryzom/client/src/interface_v3/add_on_manager.cpp +++ b/code/ryzom/client/src/interface_v3/add_on_manager.cpp @@ -16,8 +16,6 @@ #include "stdpch.h" #include "add_on_manager.h" -#include "nel/misc/algo.h" -#include "nel/misc/path.h" using namespace NLMISC; diff --git a/code/ryzom/client/src/interface_v3/bonus_malus.cpp b/code/ryzom/client/src/interface_v3/bonus_malus.cpp index dea03b0b4..38f80d792 100644 --- a/code/ryzom/client/src/interface_v3/bonus_malus.cpp +++ b/code/ryzom/client/src/interface_v3/bonus_malus.cpp @@ -16,8 +16,6 @@ #include "stdpch.h" -#include "nel/misc/string_conversion.h" - #include "bonus_malus.h" using namespace std; diff --git a/code/ryzom/client/src/interface_v3/bot_chat_page_all.cpp b/code/ryzom/client/src/interface_v3/bot_chat_page_all.cpp index 220737296..457886640 100644 --- a/code/ryzom/client/src/interface_v3/bot_chat_page_all.cpp +++ b/code/ryzom/client/src/interface_v3/bot_chat_page_all.cpp @@ -32,8 +32,6 @@ #include "interface_manager.h" #include "../global.h" -#include "nel/misc/i18n.h" - CBotChatPageAll *BotChatPageAll = NULL; diff --git a/code/ryzom/client/src/interface_v3/bot_chat_page_dynamic_mission.cpp b/code/ryzom/client/src/interface_v3/bot_chat_page_dynamic_mission.cpp index af39d7d8d..fbddbbc49 100644 --- a/code/ryzom/client/src/interface_v3/bot_chat_page_dynamic_mission.cpp +++ b/code/ryzom/client/src/interface_v3/bot_chat_page_dynamic_mission.cpp @@ -27,8 +27,6 @@ #include "bot_chat_manager.h" #include "../client_cfg.h" #include "../net_manager.h" -// -#include "nel/misc/i18n.h" using namespace std; diff --git a/code/ryzom/client/src/interface_v3/bot_chat_page_mission.cpp b/code/ryzom/client/src/interface_v3/bot_chat_page_mission.cpp index 66d98277d..fff35b70a 100644 --- a/code/ryzom/client/src/interface_v3/bot_chat_page_mission.cpp +++ b/code/ryzom/client/src/interface_v3/bot_chat_page_mission.cpp @@ -27,7 +27,6 @@ #include "group_container.h" #include "dbctrl_sheet.h" #include "view_text_id.h" -#include "nel/misc/sheet_id.h" #include "../net_manager.h" using namespace std; diff --git a/code/ryzom/client/src/interface_v3/character_3d.cpp b/code/ryzom/client/src/interface_v3/character_3d.cpp index 244f5e278..a2624f87b 100644 --- a/code/ryzom/client/src/interface_v3/character_3d.cpp +++ b/code/ryzom/client/src/interface_v3/character_3d.cpp @@ -30,16 +30,6 @@ #include "../player_r2_cl.h" #include "../entities.h" -#include "nel/3d/u_scene.h" -#include "nel/3d/u_instance.h" -#include "nel/3d/u_camera.h" -#include "nel/3d/u_play_list_manager.h" -#include "nel/3d/u_play_list.h" -#include "nel/3d/u_animation_set.h" -#include "nel/3d/u_bone.h" -//#include "nel/3d/u_track.h" -//#include "nel/3d/u_instance_material.h" - #include "../r2/editor.h" #include "../client_cfg.h" diff --git a/code/ryzom/client/src/interface_v3/chat_filter.cpp b/code/ryzom/client/src/interface_v3/chat_filter.cpp index cd0f73943..7d8d8841e 100644 --- a/code/ryzom/client/src/interface_v3/chat_filter.cpp +++ b/code/ryzom/client/src/interface_v3/chat_filter.cpp @@ -20,7 +20,6 @@ #include "chat_filter.h" #include "../client_chat_manager.h" #include "people_list.h" -#include "nel/misc/i18n.h" #include "../client_cfg.h" #include "../net_manager.h" #include "interface_manager.h" diff --git a/code/ryzom/client/src/interface_v3/chat_text_manager.cpp b/code/ryzom/client/src/interface_v3/chat_text_manager.cpp index 6fbfcbe33..391898563 100644 --- a/code/ryzom/client/src/interface_v3/chat_text_manager.cpp +++ b/code/ryzom/client/src/interface_v3/chat_text_manager.cpp @@ -21,8 +21,6 @@ #include "chat_text_manager.h" #include "view_text.h" #include "interface_manager.h" -// nel -#include "nel/misc/ucstring.h" using namespace std; using namespace NLMISC; diff --git a/code/ryzom/client/src/interface_v3/chat_window.cpp b/code/ryzom/client/src/interface_v3/chat_window.cpp index 411c7789d..2affd9afe 100644 --- a/code/ryzom/client/src/interface_v3/chat_window.cpp +++ b/code/ryzom/client/src/interface_v3/chat_window.cpp @@ -20,10 +20,6 @@ // client #include "stdpch.h" -// nel -#include "nel/misc/command.h" -#include "nel/misc/i18n.h" - #include "game_share/shard_names.h" #include "../r2/editor.h" diff --git a/code/ryzom/client/src/interface_v3/ctrl_base.cpp b/code/ryzom/client/src/interface_v3/ctrl_base.cpp index 9b895ce09..85414ba6e 100644 --- a/code/ryzom/client/src/interface_v3/ctrl_base.cpp +++ b/code/ryzom/client/src/interface_v3/ctrl_base.cpp @@ -22,8 +22,6 @@ #include "game_share/xml_auto_ptr.h" #include "interface_manager.h" -#include "nel/misc/i18n.h" - using namespace NLMISC; // *************************************************************************** diff --git a/code/ryzom/client/src/interface_v3/ctrl_polygon.cpp b/code/ryzom/client/src/interface_v3/ctrl_polygon.cpp index 459851037..078059960 100644 --- a/code/ryzom/client/src/interface_v3/ctrl_polygon.cpp +++ b/code/ryzom/client/src/interface_v3/ctrl_polygon.cpp @@ -18,8 +18,6 @@ #include "ctrl_polygon.h" #include "view_renderer.h" #include "interface_manager.h" -// -#include "nel/misc/vector_2f.h" using namespace NLMISC; diff --git a/code/ryzom/client/src/interface_v3/ctrl_quad.cpp b/code/ryzom/client/src/interface_v3/ctrl_quad.cpp index 5eb8f1597..23b6069ad 100644 --- a/code/ryzom/client/src/interface_v3/ctrl_quad.cpp +++ b/code/ryzom/client/src/interface_v3/ctrl_quad.cpp @@ -18,8 +18,6 @@ #include "ctrl_quad.h" #include "interface_group.h" #include "interface_manager.h" -// -#include "nel/misc/polygon.h" using namespace NLMISC; diff --git a/code/ryzom/client/src/interface_v3/custom_mouse.cpp b/code/ryzom/client/src/interface_v3/custom_mouse.cpp index 84db66c68..af1bb7209 100644 --- a/code/ryzom/client/src/interface_v3/custom_mouse.cpp +++ b/code/ryzom/client/src/interface_v3/custom_mouse.cpp @@ -17,7 +17,6 @@ #include "stdpch.h" #include "custom_mouse.h" // -#include "nel/misc/file.h" #include "../global.h" #include "../input.h" #include "input_handler_manager.h" diff --git a/code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp b/code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp index bbdead11e..33f1e8400 100644 --- a/code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp +++ b/code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp @@ -26,7 +26,6 @@ #include "../client_sheets/pact_sheet.h" #include "../client_sheets/mission_icon_sheet.h" #include "../client_sheets/faction_sheet.h" -#include "nel/misc/algo.h" #include "game_share/skills.h" #include "game_share/inventories.h" #include "list_sheet_base.h" diff --git a/code/ryzom/client/src/interface_v3/dbgroup_build_phrase.cpp b/code/ryzom/client/src/interface_v3/dbgroup_build_phrase.cpp index 7e15b0551..752284d95 100644 --- a/code/ryzom/client/src/interface_v3/dbgroup_build_phrase.cpp +++ b/code/ryzom/client/src/interface_v3/dbgroup_build_phrase.cpp @@ -26,7 +26,6 @@ #include "ctrl_button.h" #include "group_editbox.h" #include "../client_cfg.h" -#include "nel/misc/algo.h" #include "view_text.h" #include "skill_manager.h" #include "../string_manager_client.h" diff --git a/code/ryzom/client/src/interface_v3/dbgroup_combo_box.cpp b/code/ryzom/client/src/interface_v3/dbgroup_combo_box.cpp index 04879ee99..0834fd392 100644 --- a/code/ryzom/client/src/interface_v3/dbgroup_combo_box.cpp +++ b/code/ryzom/client/src/interface_v3/dbgroup_combo_box.cpp @@ -24,7 +24,6 @@ #include "ctrl_button.h" #include "action_handler.h" #include "lua_ihm.h" -#include "nel/misc/i18n.h" #include "lua_ihm.h" diff --git a/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_icon_phrase.cpp b/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_icon_phrase.cpp index 049a707b8..0da2c8314 100644 --- a/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_icon_phrase.cpp +++ b/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_icon_phrase.cpp @@ -18,9 +18,6 @@ #include "stdpch.h" #include "dbgroup_list_sheet_icon_phrase.h" #include "sphrase_manager.h" -#include "nel/misc/i18n.h" -#include "nel/misc/common.h" -#include "nel/misc/algo.h" #include "interface_manager.h" using namespace std; diff --git a/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_text_phrase.cpp b/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_text_phrase.cpp index f4be870c9..f8009bb57 100644 --- a/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_text_phrase.cpp +++ b/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_text_phrase.cpp @@ -19,9 +19,6 @@ #include "stdpch.h" #include "dbgroup_list_sheet_text_phrase.h" #include "sphrase_manager.h" -#include "nel/misc/i18n.h" -#include "nel/misc/common.h" -#include "nel/misc/algo.h" #include "interface_manager.h" using namespace std; diff --git a/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_trade.cpp b/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_trade.cpp index 1ad6cf8d9..8fd33da9d 100644 --- a/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_trade.cpp +++ b/code/ryzom/client/src/interface_v3/dbgroup_list_sheet_trade.cpp @@ -26,7 +26,6 @@ #include "view_text.h" #include "action_handler.h" #include "sphrase_manager.h" -#include "nel/misc/algo.h" #include "game_share/time_weather_season/time_and_season.h" #include "game_share/pvp_clan.h" #include "../string_manager_client.h" diff --git a/code/ryzom/client/src/interface_v3/dbview_quantity.cpp b/code/ryzom/client/src/interface_v3/dbview_quantity.cpp index 7bf09afe0..915fcebce 100644 --- a/code/ryzom/client/src/interface_v3/dbview_quantity.cpp +++ b/code/ryzom/client/src/interface_v3/dbview_quantity.cpp @@ -23,8 +23,6 @@ #include "interface_manager.h" #include "game_share/xml_auto_ptr.h" -#include "nel/misc/i18n.h" - using namespace std; using namespace NL3D; using namespace NLMISC; diff --git a/code/ryzom/client/src/interface_v3/event_descriptor.cpp b/code/ryzom/client/src/interface_v3/event_descriptor.cpp index 45d0b3531..e2178540a 100644 --- a/code/ryzom/client/src/interface_v3/event_descriptor.cpp +++ b/code/ryzom/client/src/interface_v3/event_descriptor.cpp @@ -19,7 +19,6 @@ #include "stdpch.h" #include "event_descriptor.h" -#include "nel/misc/events.h" void CEventDescriptorKey::init(const NLMISC::CEventKey &ev) { diff --git a/code/ryzom/client/src/interface_v3/group_career.cpp b/code/ryzom/client/src/interface_v3/group_career.cpp index d8c7391c6..f7dbe2cc9 100644 --- a/code/ryzom/client/src/interface_v3/group_career.cpp +++ b/code/ryzom/client/src/interface_v3/group_career.cpp @@ -27,8 +27,6 @@ using namespace std; -#include "nel/misc/i_xml.h" - NLMISC_REGISTER_OBJECT(CViewBase, CGroupCareer, std::string, "career"); NLMISC_REGISTER_OBJECT(CViewBase, CGroupJob, std::string, "job"); diff --git a/code/ryzom/client/src/interface_v3/group_compas.cpp b/code/ryzom/client/src/interface_v3/group_compas.cpp index 098e33b6a..0fa2b30e7 100644 --- a/code/ryzom/client/src/interface_v3/group_compas.cpp +++ b/code/ryzom/client/src/interface_v3/group_compas.cpp @@ -18,8 +18,6 @@ #include "stdpch.h" // -#include "nel/3d/u_instance_material.h" -// #include "game_share/xml_auto_ptr.h" // #include "group_compas.h" diff --git a/code/ryzom/client/src/interface_v3/group_container.cpp b/code/ryzom/client/src/interface_v3/group_container.cpp index 7002331fa..3defd1b29 100644 --- a/code/ryzom/client/src/interface_v3/group_container.cpp +++ b/code/ryzom/client/src/interface_v3/group_container.cpp @@ -36,9 +36,6 @@ #include "view_text.h" #include "view_bitmap.h" #include "../time_client.h" -#include "nel/misc/i18n.h" -#include "nel/3d/u_driver.h" -#include "nel/misc/algo.h" // *************************************************************************** diff --git a/code/ryzom/client/src/interface_v3/group_editbox.cpp b/code/ryzom/client/src/interface_v3/group_editbox.cpp index 402b83688..b2916b909 100644 --- a/code/ryzom/client/src/interface_v3/group_editbox.cpp +++ b/code/ryzom/client/src/interface_v3/group_editbox.cpp @@ -21,8 +21,6 @@ #include "group_editbox.h" #include "interface_manager.h" #include "input_handler_manager.h" -#include "nel/misc/command.h" -#include "nel/misc/system_utils.h" #include "view_text.h" #include "game_share/xml_auto_ptr.h" #include "interface_options.h" diff --git a/code/ryzom/client/src/interface_v3/group_frame.cpp b/code/ryzom/client/src/interface_v3/group_frame.cpp index 4b9b984fe..4b7e5cdcc 100644 --- a/code/ryzom/client/src/interface_v3/group_frame.cpp +++ b/code/ryzom/client/src/interface_v3/group_frame.cpp @@ -26,8 +26,6 @@ using namespace std; using namespace NLMISC; -#include "nel/misc/i_xml.h" - NLMISC_REGISTER_OBJECT(CViewBase, CGroupFrame, std::string, "frame"); // *************************************************************************** diff --git a/code/ryzom/client/src/interface_v3/group_header.cpp b/code/ryzom/client/src/interface_v3/group_header.cpp index 7526fcd02..d7b2969a1 100644 --- a/code/ryzom/client/src/interface_v3/group_header.cpp +++ b/code/ryzom/client/src/interface_v3/group_header.cpp @@ -22,8 +22,6 @@ #include "group_container.h" #include "group_header.h" #include "lua_ihm.h" -// -#include "nel/misc/smart_ptr.h" using namespace NLMISC; diff --git a/code/ryzom/client/src/interface_v3/group_html.cpp b/code/ryzom/client/src/interface_v3/group_html.cpp index 2615e2653..48becda66 100644 --- a/code/ryzom/client/src/interface_v3/group_html.cpp +++ b/code/ryzom/client/src/interface_v3/group_html.cpp @@ -45,9 +45,6 @@ extern "C" #include "lua_ihm.h" #include "../time_client.h" -#include "nel/misc/i18n.h" -#include "nel/misc/md5.h" -#include "nel/3d/texture_file.h" using namespace std; using namespace NLMISC; diff --git a/code/ryzom/client/src/interface_v3/group_list.cpp b/code/ryzom/client/src/interface_v3/group_list.cpp index ae6f2e673..7ccd5c51c 100644 --- a/code/ryzom/client/src/interface_v3/group_list.cpp +++ b/code/ryzom/client/src/interface_v3/group_list.cpp @@ -18,10 +18,6 @@ #include "stdpch.h" -#include "nel/misc/factory.h" -#include "nel/misc/i_xml.h" -#include "nel/misc/i18n.h" - #include "group_list.h" #include "interface_manager.h" #include "interface_element.h"