Pol  Revision:cb584c9
StdAfx.h File Reference
#include <array>
#include <unordered_map>
#include <boost/variant.hpp>
#include "../clib/StdAfx.h"
#include "baseobject.h"
#include "dynproperties.h"
#include "gameclck.h"
#include "proplist.h"
#include "uobject.h"
#include "layers.h"
#include "network/packetinterface.h"
#include "pktboth.h"
#include "pktbothid.h"
#include "pktdef.h"
#include "pktoutid.h"
#include "realms.h"
#include "uconst.h"
#include "network/packets.h"
#include "clidata.h"
#include "scrdef.h"
#include "utype.h"
#include "poltype.h"
#include "zone.h"
#include "region.h"
#include "crypt/cryptkey.h"
#include "mobile/attribute.h"
#include "skillid.h"
#include "udatfile.h"
#include "../bscript/execmodl.h"

Go to the source code of this file.

Detailed Description

stdafx.h: include file for standard system include files, or project specific include files that are used frequently, but are changed infrequently

History
Note
HowTo
  • Add a normal Header file which includes everything you want in the pch.
  • Add a normal cpp which only includes this header.
  • In the project settings C/C++ Precompiled header: Use /Yu
  • And since the pch header file needs to be included everywhere also use /FI (forced include file) in the advanced section.
  • The pch needs also to be created and thats why the additional cpp file exists, in the properties of this file instead of "Use /Yu" set it to "Create /Yc"

Definition in file StdAfx.h.