Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / client / src / stdpch.h
blob45aa0f356c0a47ffce8ef17360de331108ac1e8d
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This source file has been modified by the following contributors:
5 // Copyright (C) 2011 Robert TIMM (rti) <mail@rtti.de>
6 // Copyright (C) 2014 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
7 //
8 // This program is free software: you can redistribute it and/or modify
9 // it under the terms of the GNU Affero General Public License as
10 // published by the Free Software Foundation, either version 3 of the
11 // License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU Affero General Public License for more details.
18 // You should have received a copy of the GNU Affero General Public License
19 // along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef RYZOMCLIENT_STDPCH_H
22 #define RYZOMCLIENT_STDPCH_H
24 #if defined(_MSC_VER) && defined(_DEBUG)
25 #define _CRTDBG_MAP_ALLOC
26 #include <stdlib.h>
27 #include <crtdbg.h>
28 #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
29 #endif
31 #include <nel/misc/types_nl.h>
33 #include <stddef.h>
34 #include <stdlib.h>
35 #include <stdio.h>
36 #include <math.h>
37 #include <time.h>
38 #include <errno.h>
40 #include <string>
41 #include <vector>
42 #include <list>
43 #include <map>
44 #include <set>
45 #include <algorithm>
46 #include <exception>
47 #include <utility>
48 #include <deque>
49 #include <fstream>
50 #include <functional>
51 #include <memory>
52 #include <limits>
53 #include <iterator>
55 #include <nel/misc/common.h>
56 #include <nel/misc/debug.h>
58 #include <nel/misc/algo.h>
59 #include <nel/misc/bit_mem_stream.h>
60 #include <nel/misc/command.h>
61 #include <nel/misc/events.h>
62 #include <nel/misc/factory.h>
63 #include <nel/misc/file.h>
64 #include <nel/misc/hierarchical_timer.h>
65 #include <nel/misc/i18n.h>
66 #include <nel/misc/i_xml.h>
67 #include <nel/misc/log.h>
68 #include <nel/misc/matrix.h>
69 #include <nel/misc/md5.h>
70 #include <nel/misc/mem_stream.h>
71 #include <nel/misc/path.h>
72 #include <nel/misc/polygon.h>
73 #include <nel/misc/progress_callback.h>
74 #include <nel/misc/random.h>
75 #include <nel/misc/rgba.h>
76 #include <nel/misc/sheet_id.h>
77 #include <nel/misc/smart_ptr.h>
78 #include <nel/misc/stream.h>
79 #include <nel/misc/string_conversion.h>
80 #include <nel/misc/string_mapper.h>
81 #include <nel/misc/system_info.h>
82 #include <nel/misc/system_utils.h>
83 #include <nel/misc/time_nl.h>
84 #include <nel/misc/types_nl.h>
85 #include <nel/misc/ucstring.h>
86 #include <nel/misc/variable.h>
87 #include <nel/misc/vector.h>
88 #include <nel/misc/vector_2f.h>
89 #include <nel/misc/vectord.h>
91 #include <nel/georges/u_form_loader.h>
92 #include <nel/georges/u_form.h>
94 #include <nel/3d/landscapeig_manager.h>
95 #include <nel/3d/texture_file.h>
96 #include <nel/3d/u_animation_set.h>
97 #include <nel/3d/u_bone.h>
98 #include <nel/3d/u_camera.h>
99 #include <nel/3d/u_driver.h>
100 #include <nel/3d/u_instance.h>
101 #include <nel/3d/u_instance_group.h>
102 #include <nel/3d/u_instance_material.h>
103 #include <nel/3d/u_landscape.h>
104 #include <nel/3d/u_material.h>
105 #include <nel/3d/u_particle_system_instance.h>
106 #include <nel/3d/u_particle_system_sound.h>
107 #include <nel/3d/u_play_list.h>
108 #include <nel/3d/u_play_list_manager.h>
109 #include <nel/3d/u_scene.h>
110 #include <nel/3d/u_text_context.h>
111 #include <nel/3d/u_texture.h>
112 #include <nel/3d/u_transform.h>
113 #include <nel/3d/u_visual_collision_manager.h>
115 #include <nel/net/callback_client.h>
116 #include <nel/net/udp_sock.h>
117 #include <nel/net/email.h>
119 #include <nel/pacs/u_move_container.h>
120 #include <nel/pacs/u_global_retriever.h>
121 #include <nel/pacs/u_global_position.h>
122 #include <nel/pacs/u_move_primitive.h>
123 #include <nel/pacs/u_retriever_bank.h>
124 #include <nel/pacs/u_primitive_block.h>
126 #include <nel/sound/sound_anim_manager.h>
128 #include "game_share/generic_xml_msg_mngr.h"
129 #include "game_share/msg_client_server.h"
130 #include "game_share/action_target_slot.h"
132 #include <libxml/parser.h>
134 // Foutez pas d'include du client ici svp ! Grrr ! Hulud
136 #ifdef NL_OS_WINDOWS
137 # ifndef NL_COMP_MINGW
138 # define NOMINMAX
139 # endif
140 # include <WinSock2.h>
141 # include <windows.h>
142 #endif // NL_OS_WINDOWS
144 #endif