00001 00034 #ifndef LL_LLVIEWERPRECOMPILEDHEADERS_H 00035 #define LL_LLVIEWERPRECOMPILEDHEADERS_H 00036 00037 // This file MUST be the first one included by each .cpp file 00038 // in viewer. 00039 // It is used to precompile headers for improved build speed. 00040 00041 #include "linden_common.h" 00042 00043 // We may want to take the windows.h include out, but it used to be in 00044 // linden_common.h, and hence in all the libraries. This is better. JC 00045 #if LL_WINDOWS 00046 // Limit Windows API to small and manageable set. 00047 // If you get undefined symbols, find the appropriate 00048 // Windows header file and include that in your .cpp file. 00049 #define WIN32_LEAN_AND_MEAN 00050 #include <winsock2.h> 00051 #include <windows.h> 00052 #endif 00053 00054 // Work around stupid Microsoft STL warning 00055 #ifdef LL_WINDOWS 00056 #pragma warning (disable : 4702) // warning C4702: unreachable code 00057 #endif 00058 00059 #include <algorithm> 00060 #include <deque> 00061 #include <functional> 00062 #include <map> 00063 #include <set> 00064 00065 #ifdef LL_WINDOWS 00066 #pragma warning (3 : 4702) // we like level 3, not 4 00067 #endif 00068 00069 // Library headers from llcommon project: 00070 #include "bitpack.h" 00071 #include "doublelinkedlist.h" 00072 #include "imageids.h" 00073 #include "indra_constants.h" 00074 //#include "linden_common.h" 00075 //#include "llpreprocessor.h" 00076 #include "linked_lists.h" 00077 #include "llapp.h" 00078 #include "llapr.h" 00079 #include "llassoclist.h" 00080 #include "llcriticaldamp.h" 00081 #include "lldarray.h" 00082 #include "lldarrayptr.h" 00083 #include "lldefs.h" 00084 #include "lldepthstack.h" 00085 #include "lldlinked.h" 00086 #include "lldqueueptr.h" 00087 #include "llendianswizzle.h" 00088 #include "llerror.h" 00089 #include "llfasttimer.h" 00090 #include "llfixedbuffer.h" 00091 #include "llframetimer.h" 00092 #include "llhash.h" 00093 #include "lllinkedqueue.h" 00094 #include "lllocalidhashmap.h" 00095 #include "llmap.h" 00096 #include "llmemory.h" 00097 #include "llnametable.h" 00098 #include "llpriqueuemap.h" 00099 #include "llprocessor.h" 00100 #include "llptrskiplist.h" 00101 #include "llptrskipmap.h" 00102 //#include "llsecondlifeurls.h" 00103 #include "llskiplist.h" 00104 #include "llskipmap.h" 00105 #include "llstack.h" 00106 #include "llstat.h" 00107 #include "llstl.h" 00108 #include "llstrider.h" 00109 #include "llstring.h" 00110 #include "llstringtable.h" 00111 #include "llsys.h" 00112 #include "llthread.h" 00113 #include "lltimer.h" 00114 #include "lluuidhashmap.h" 00115 //#include "llversionviewer.h" 00116 //#include "processor.h" 00117 #include "stdenums.h" 00118 #include "stdtypes.h" 00119 //#include "string_table.h" 00120 //#include "timer.h" 00121 #include "timing.h" 00122 #include "u64.h" 00123 00124 // Library includes from llimage 00125 //#include "llblockdata.h" 00126 #include "llimage.h" 00127 #include "llimagebmp.h" 00128 #include "llimagej2c.h" 00129 #include "llimagejpeg.h" 00130 #include "llimagetga.h" 00131 #include "llmapimagetype.h" 00132 00133 // Library includes from llmath project 00134 //#include "camera.h" 00135 //#include "coordframe.h" 00136 #include "llmath.h" 00137 #include "llbboxlocal.h" 00138 #include "llcamera.h" 00139 #include "llcoord.h" 00140 #include "llcoordframe.h" 00141 #include "llcrc.h" 00142 #include "llinterp.h" 00143 #include "llperlin.h" 00144 #include "llplane.h" 00145 #include "llquantize.h" 00146 #include "llrand.h" 00147 #include "llrect.h" 00148 #include "lluuid.h" 00149 #include "m3math.h" 00150 #include "m4math.h" 00151 #include "llquaternion.h" 00152 #include "raytrace.h" 00153 #include "v2math.h" 00154 #include "v3color.h" 00155 #include "v3dmath.h" 00156 #include "v3math.h" 00157 #include "v4color.h" 00158 #include "v4coloru.h" 00159 #include "v4math.h" 00161 #include "xform.h" 00162 00163 // Library includes from llmessage project 00164 //#include "llassetstorage.h" 00165 #include "llcachename.h" 00166 #include "llcallbacklisth.h" 00167 #include "llcircuit.h" 00168 #include "lldatapacker.h" 00169 #include "lldbstrings.h" 00170 #include "lldispatcher.h" 00171 #include "lleventflags.h" 00172 #include "llhost.h" 00173 #include "llinstantmessage.h" 00174 #include "llinvite.h" 00175 //#include "llloginflags.h" 00176 #include "lllogtextmessage.h" 00177 #include "llmail.h" 00178 #include "llmessagethrottle.h" 00179 #include "llnamevalue.h" 00180 #include "llpacketack.h" 00181 #include "llpacketbuffer.h" 00182 #include "llpacketring.h" 00183 #include "llpartdata.h" 00184 //#include "llqueryflags.h" 00185 //#include "llregionflags.h" 00186 #include "llregionhandle.h" 00187 #include "lltaskname.h" 00188 #include "llteleportflags.h" 00189 #include "llthrottle.h" 00190 #include "lltransfermanager.h" 00191 #include "lltransfersourceasset.h" 00192 #include "lltransfersourcefile.h" 00193 #include "lltransfertargetfile.h" 00194 #include "lltransfertargetvfile.h" 00195 #include "lluseroperation.h" 00196 #include "llvehicleparams.h" 00197 #include "llxfer.h" 00198 #include "llxfer_file.h" 00199 #include "llxfer_mem.h" 00200 #include "llxfer_vfile.h" 00201 #include "llxfermanager.h" 00202 #include "machine.h" 00203 #include "mean_collision_data.h" 00204 #include "message.h" 00205 #include "message_prehash.h" 00206 #include "net.h" 00207 //#include "network.h" 00208 #include "partsyspacket.h" 00209 #include "patch_code.h" 00210 #include "patch_dct.h" 00211 #include "sound_ids.h" 00212 00213 // Library includes from llprimitive 00214 #include "imageids.h" 00215 #include "legacy_object_types.h" 00216 #include "llmaterialtable.h" 00217 //#include "llprimitive.h" 00218 #include "lltextureanim.h" 00219 //#include "lltextureentry.h" 00220 #include "lltreeparams.h" 00221 //#include "llvolume.h" 00222 #include "llvolumemgr.h" 00223 #include "material_codes.h" 00224 00225 // Library includes from llxml 00226 #include "llxmlnode.h" 00227 00228 // Library includes from llvfs 00229 #include "llassettype.h" 00230 #include "lldir.h" 00231 //#include "lldir_linux.h" 00232 //#include "lldir_mac.h" 00233 //#include "lldir_win32.h" 00234 #include "llvfile.h" 00235 #include "llvfs.h" 00236 00237 #endif