Changed: optimizations for PCH

This commit is contained in:
kervala 2010-07-10 14:06:33 +02:00
parent 2b5d2a5b91
commit 840179a65c
44 changed files with 44 additions and 211 deletions

View file

@ -41,6 +41,8 @@
#include <exception>
#include <cctype>
#include <errno.h>
#include "nel/misc/debug.h"
#include "nel/misc/common.h"

View file

@ -20,9 +20,7 @@
#include "nel/net/net_log.h"
#ifdef NL_OS_WINDOWS
# if defined(NL_COMP_VC7) || defined(NL_COMP_VC71) || defined(NL_COMP_VC8) || defined(NL_COMP_VC9)
# include <winsock2.h>
# endif
# include <winsock2.h>
# define NOMINMAX
# include <windows.h>
# define socklen_t int

View file

@ -29,8 +29,6 @@
#include "nel/georges/u_form_elm.h"
#include "nel/georges/u_form_dfn.h"
#include "nel/georges/u_form_loader.h"
// STD
#include <string>
///////////
// USING //

View file

@ -25,8 +25,6 @@
#include "building_sheet.h"
// Georges
#include "nel/georges/u_form_elm.h"
// STD
#include <string>

View file

@ -29,8 +29,6 @@
#include "nel/georges/u_form_elm.h"
#include "nel/georges/u_form_dfn.h"
#include "nel/georges/u_form_loader.h"
// STD
#include <string>
///////////
// USING //

View file

@ -19,7 +19,6 @@
#include "stdpch.h" // First include for pre-compiled headers.
#include "forage_source_sheet.h"
#include "nel/georges/u_form_elm.h"
#include <string>
using namespace std;
using namespace NLGEORGES;

View file

@ -29,9 +29,6 @@
#include "nel/georges/u_form_elm.h"
#include "nel/georges/u_form_dfn.h"
#include "nel/georges/u_form_loader.h"
// STD
#include <string>
#include <vector>
///////////
// USING //

View file

@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdpch.h"
#include "ig_season_callback.h"

View file

@ -48,8 +48,6 @@
#include "../sheet_manager.h"
#include "../user_entity.h"
#include "view_bitmap.h"
//
#include <utility>
using namespace std::rel_ops;

View file

@ -42,8 +42,6 @@
//
#include "nel/misc/check_fpu.h"
#include <utility>
using namespace std::rel_ops;
extern NLLIGO::CLigoConfig LigoConfig;

View file

@ -22,11 +22,6 @@
//////////////
// Includes //
//////////////
// 3D Interface.
#include "nel/3d/u_driver.h"
#include "nel/3d/u_scene.h"
#include "nel/3d/u_camera.h"
#include "nel/3d/u_transform.h"
// GAME SHARE
#include "game_share/bot_chat_types.h"
// Client.
@ -39,10 +34,6 @@
#include "../entities.h"
#include "../view.h"
#include "../input.h"
// Misc
#include "nel/misc/mouse_device.h"
// Std
#include <vector>
//
#include "../r2/editor.h"

View file

@ -21,10 +21,6 @@
// INCLUDE //
/////////////
#include "stdpch.h"
// Misc
#include <nel/misc/command.h>
#include <nel/misc/progress_callback.h>
#include <nel/misc/bit_mem_stream.h>
// Game Share
#include "game_share/generic_xml_msg_mngr.h"
#include "game_share/msg_client_server.h"

View file

@ -63,9 +63,6 @@
#include "../../../test/network/sb5000/client/graph.h"
#endif
#include <set>
#include <errno.h>
// ***************************************************************************
// Smooth ServerTick setup

View file

@ -20,7 +20,6 @@
#include "game_share/generic_xml_msg_mngr.h"
#include "entities.h"
#include "net_manager.h"
#include <nel/misc/command.h>
using namespace std;
using namespace NLMISC;

View file

@ -21,20 +21,11 @@
// INCLUDE //
/////////////
#include "stdpch.h"
#include <memory>
// Misc.
#include "nel/misc/vector.h"
// Pacs Interface.
#include "nel/pacs/u_retriever_bank.h"
#include "nel/pacs/u_global_retriever.h"
#include "nel/pacs/u_primitive_block.h"
// Client.
#include "pacs_client.h"
#include "user_entity.h"
#include "ig_callback.h"
#include "ig_client.h"
// std
#include <map>
///////////
// USING //

View file

@ -19,17 +19,7 @@
#include "stdpch.h"
// TMP TMP
#include "nel/pacs/u_global_retriever.h"
#include "nel/pacs/u_global_position.h"
#include "nel/3d/u_driver.h"
#include "nel/3d/u_visual_collision_manager.h"
#include "nel/misc/matrix.h"
#include "nel/misc/hierarchical_timer.h"
#include "nel/misc/system_info.h"
#include "precipitation_clip_grid.h"
#include <algorithm>
using namespace NLMISC;

View file

@ -22,17 +22,8 @@
/////////////
#include "stdpch.h"
// Misc.
#include "nel/misc/path.h"
#include "nel/misc/i_xml.h"
#include "nel/misc/file.h"
// 3D Interface.
// game share
#include "game_share/brick_types.h"
// PACS
#include "nel/pacs/u_global_position.h"
// std
#include <string>
// Client
#include "prim_file.h"
#include "client_cfg.h"

View file

@ -20,8 +20,6 @@
#include "game_share/r2_share_itf.h"
#include <queue>
using namespace std;
using namespace NLMISC;
using namespace NLNET;

View file

@ -15,13 +15,6 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdpch.h"
#include <memory>
//
#include "nel/3d/u_driver.h"
#include "nel/3d/u_scene.h"
#include "nel/3d/u_animation_set.h"
#include "nel/3d/u_play_list.h"
#include "nel/3d/u_play_list_manager.h"
//
#include "sky.h"
#include "client_sheets/sky_sheet.h"

View file

@ -21,14 +21,6 @@
//////////////
// INCLUDES //
//////////////
// misc
#include "nel/misc/path.h"
#include "nel/misc/vector.h"
// 3D
#include "nel/3d/u_particle_system_sound.h"
// pacs
#include "nel/pacs/u_global_retriever.h"
#include "nel/pacs/u_global_position.h"
// client
#include "sound_manager.h"
#include "pacs_client.h"
@ -41,8 +33,6 @@
#include "global.h"
// game share
#include "game_share/cst_loader.h"
// std.
#include <fstream>
// If you compile using the nel distrib and you don't have the source, you must undef this symbol
#if !FINAL_VERSION

View file

@ -20,11 +20,9 @@
// INCLUDE //
/////////////
#include "stdpch.h" // First include for pre-compiled headers.
// Misc
#include "nel/misc/vectord.h"
// Application
#include "stage.h"
#include <game_share/entity_types.h>
#include "game_share/entity_types.h"
///////////

View file

@ -20,6 +20,7 @@
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <errno.h>
#include <string>
#include <vector>
@ -32,6 +33,8 @@
#include <utility>
#include <deque>
#include <fstream>
#include <functional>
#include <memory>
#include <nel/misc/common.h>
#include <nel/misc/debug.h>
@ -53,9 +56,21 @@
#include <nel/misc/types_nl.h>
#include <nel/misc/events.h>
#include <nel/misc/file.h>
#include <nel/misc/random.h>
#include <nel/misc/string_mapper.h>
#include <nel/misc/smart_ptr.h>
#include <nel/misc/mouse_device.h>
#include <nel/misc/vectord.h>
#include <nel/misc/i_xml.h>
#include <nel/misc/system_info.h>
#include <nel/misc/progress_callback.h>
#include <nel/georges/u_form_loader.h>
#include <nel/georges/u_form.h>
#include <nel/3d/u_landscape.h>
#include <nel/3d/u_particle_system_instance.h>
#include <nel/3d/u_particle_system_sound.h>
#include <nel/3d/u_animation_set.h>
#include <nel/3d/u_driver.h>
#include <nel/3d/u_text_context.h>
@ -66,6 +81,9 @@
#include <nel/3d/u_instance_group.h>
#include <nel/3d/u_instance.h>
#include <nel/3d/u_texture.h>
#include <nel/3d/u_transform.h>
#include <nel/3d/u_play_list.h>
#include <nel/3d/u_play_list_manager.h>
#include <nel/net/callback_client.h>
#include <nel/net/udp_sock.h>
@ -74,6 +92,8 @@
#include <nel/pacs/u_global_retriever.h>
#include <nel/pacs/u_global_position.h>
#include <nel/pacs/u_move_primitive.h>
#include <nel/pacs/u_retriever_bank.h>
#include <nel/pacs/u_primitive_block.h>
#include <nel/sound/sound_anim_manager.h>

View file

@ -33,8 +33,6 @@
#include "game_share/zc_shard_common.h"
#include "weather.h"
#include "game_share/light_cycle.h"
// Std.
#include <map>
///////////

View file

@ -31,8 +31,6 @@
#include "fx_manager.h"
#include "nel/misc/check_fpu.h"
#include <utility>
#if defined(NL_DEBUG) && defined(NL_OS_WINDOWS)
#include <crtdbg.h>

View file

@ -16,16 +16,6 @@
#include "stdpch.h"
#include <functional>
#include "nel/georges/u_form_loader.h"
#include "nel/georges/u_form.h"
#include "nel/misc/smart_ptr.h"
#include "nel/misc/matrix.h"
#include "nel/misc/random.h"
#include "nel/3d/u_scene.h"
#include "nel/3d/u_landscape.h"
#include "nel/3d/u_particle_system_instance.h"
//
#include "game_share/light_cycle.h"
#include "game_share/time_weather_season/weather_predict.h"

View file

@ -21,7 +21,6 @@
#include "stdpch.h"
#include "_backup_service_interface_singleton.h"
#include "utils.h"
#include "nel/net/service.h"
//-------------------------------------------------------------------------------------------------

View file

@ -16,19 +16,6 @@
#include "stdpch.h"
//
// Includes
//
#include <string>
#include <queue>
#include <nel/misc/types_nl.h>
#include <nel/misc/debug.h>
#include <nel/net/udp_sock.h>
#include "action.h"
//

View file

@ -17,19 +17,6 @@
#include "stdpch.h"
//
// Includes
//
#include <string>
#include <queue>
#include <nel/misc/types_nl.h>
#include <nel/misc/debug.h>
#include <nel/net/udp_sock.h>
#include "action_factory.h"

View file

@ -17,19 +17,6 @@
#include "stdpch.h"
//
// Includes
//
#include <string>
#include <queue>
#include <nel/misc/types_nl.h>
#include <nel/misc/debug.h>
#include <nel/net/udp_sock.h>
#include "action_generic.h"
//

View file

@ -17,19 +17,6 @@
#include "stdpch.h"
//
// Includes
//
#include <string>
#include <queue>
#include <nel/misc/types_nl.h>
#include <nel/misc/debug.h>
#include <nel/net/udp_sock.h>
#include "action_position.h"
//

View file

@ -19,8 +19,6 @@
#include "stdpch.h"
#include "change_tracker_client.h"
#include <nel/misc/shared_memory.h>
using namespace NLMISC;

View file

@ -17,19 +17,6 @@
#include "stdpch.h"
//
// Includes
//
#include <string>
#include <queue>
#include <nel/misc/types_nl.h>
#include <nel/misc/debug.h>
#include <nel/net/udp_sock.h>
#include "continuous_action.h"
//

View file

@ -20,8 +20,6 @@
#include "data_set_base.h"
#include <nel/georges/u_form_elm.h>
// Dependency on NLNET::IService only for config file access for TDataSetSheet::getConfigDataSetSize()
#include <nel/net/service.h>
#include "ryzom_entity_id.h"
using namespace std;

View file

@ -19,12 +19,7 @@
#include "stdpch.h"
#include "mirror.h"
#include "synchronised_message.h"
#include <nel/georges/load_form.h>
#include <nel/misc/command.h>
#include <nel/misc/config_file.h>
#include <nel/net/service.h>
#include "tick_proxy_time_measure.h"
#include <functional>
using namespace NLMISC;
using namespace NLNET;

View file

@ -18,7 +18,6 @@
#include "stdpch.h"
#include "mirror_prop_value.h"
#include <nel/misc/variable.h>
sint32 NbAllocdListCells = 0;

View file

@ -21,21 +21,9 @@
#include "stdpch.h"
#include "object.h"
#include "nel/misc/debug.h"
#include "nel/misc/singleton.h"
#include "nel/misc/string_common.h"
#include "game_share/utils.h"
#include "utils.h"
#include <zlib.h>
#include "nel/misc/bit_mem_stream.h"
#include <assert.h>
#include <algorithm>
#include <set>
#include <vector>
#include <map>
#include <limits>
namespace R2
{

View file

@ -28,9 +28,6 @@
//-------------------------------------------------------------------------
#include "stdpch.h"
#include "nel/misc/file.h"
#include "nel/misc/path.h"
#include "nel/misc/sstring.h"
#include "utils.h"
#include "persistent_data.h"
#include "persistent_data_tree.h"

View file

@ -18,8 +18,6 @@
#include "stdpch.h"
#include "property_allocator_client.h"
#include <nel/misc/shared_memory.h>
#include <nel/net/unified_network.h>
#include "mirrored_data_set.h"
using namespace NLMISC;

View file

@ -21,10 +21,6 @@
#include "stdpch.h"
#include "scenario.h"
#include <sstream>
#include <assert.h>
#include "object.h"

View file

@ -48,8 +48,6 @@
#include "nel/misc/o_xml.h"
#include "nel/misc/i_xml.h"
#include <string>
using namespace std;
using namespace NLMISC;

View file

@ -23,8 +23,6 @@
#include "server_edition_module.h"
#include <memory>
#include "dms.h"
#include "nel/net/unified_network.h"

View file

@ -22,14 +22,6 @@
// Includes
//
#include <string>
#include <queue>
#include <nel/misc/types_nl.h>
#include <nel/misc/debug.h>
#include <nel/net/udp_sock.h>
//
// Using
//

View file

@ -21,8 +21,6 @@
#include "slot_equipment.h"
#include "nel/misc/string_conversion.h"
#include <string>
using namespace std;
using namespace NLMISC;

View file

@ -20,6 +20,7 @@
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <assert.h>
#include <string>
#include <vector>
@ -27,10 +28,14 @@
#include <map>
#include <set>
#include <algorithm>
//#include <sstream>
#include <sstream>
#include <exception>
#include <utility>
#include <deque>
#include <limits>
#include <queue>
#include <memory>
#include <functional>
#include <nel/misc/common.h>
#include <nel/misc/debug.h>
@ -42,8 +47,20 @@
#include <nel/misc/rgba.h>
#include <nel/misc/sheet_id.h>
#include <nel/misc/command.h>
#include <nel/misc/config_file.h>
#include <nel/misc/variable.h>
#include <nel/misc/shared_memory.h>
#include <nel/misc/file.h>
#include <nel/misc/path.h>
#include <nel/misc/singleton.h>
#include <nel/misc/string_common.h>
#include <nel/misc/sstring.h>
#include <nel/misc/bit_mem_stream.h>
#include <nel/net/udp_sock.h>
#include <nel/net/unified_network.h>
#include <nel/net/service.h>
#include <nel/georges/load_form.h>
#include "utils.h"