begincopy Code/
keepplatform "Win32"
keepconfig "Debug\|Win32"
keepconfig "Profile\|Win32"
keepplatform "x64"
keepconfig "Debug\|x64"
keepconfig "Profile\|x64"

file+ Mods/CrysisMod/Code/CrysisMod.sln
file+ Mods/CrysisMod/Code/resource.h

file+ Code/CryEngine/CryAction/IActionMapManager.h
file+ Code/CryEngine/CryAction/IActorSystem.h
file+ Code/CryEngine/CryAction/IAnimatedCharacter.h
file+ Code/CryEngine/CryAction/IAnimationGraph.h
file+ Code/CryEngine/CryAction/IAnimationStateNode.h
file+ Code/CryEngine/CryAction/IDebrisMgr.h
file+ Code/CryEngine/CryAction/IEffectSystem.h
file+ Code/CryEngine/CryAction/IGameObject.h
file+ Code/CryEngine/CryAction/IGameObjectSystem.h
file+ Code/CryEngine/CryAction/IGameplayRecorder.h
file+ Code/CryEngine/CryAction/IGameRulesSystem.h
file+ Code/CryEngine/CryAction/IInteractor.h
file+ Code/CryEngine/CryAction/IItem.h
file+ Code/CryEngine/CryAction/IItemSystem.h
file+ Code/CryEngine/CryAction/ILevelSystem.h
file+ Code/CryEngine/CryAction/ILoadGame.h
file+ Code/CryEngine/CryAction/IMaterialEffects.h
file+ Code/CryEngine/CryAction/IMovementController.h
file+ Code/CryEngine/CryAction/IPlayerProfiles.h
file+ Code/CryEngine/CryAction/ISaveGame.h
file+ Code/CryEngine/CryAction/ISubtitleManager.h
file+ Code/CryEngine/CryAction/ItemParams.h
file+ Code/CryEngine/CryAction/IUIDraw.h
file+ Code/CryEngine/CryAction/IVehicleSystem.h
file+ Code/CryEngine/CryAction/IViewSystem.h
file+ Code/CryEngine/CryAction/IWeapon.h
file+ Code/CryEngine/CryAction/IWorldQuery.h
file+ Code/CryEngine/CryAction/DebrisMgr/IDebrisMgr.h
file+ Code/CryEngine/CryAction/Network/NetActionSync.h
dir+ Code/SDKs/STLPORT/

file+ Code/CryEngine/CryCommon/CryModuleDefs.h
file+ Code/CryEngine/CryCommon/ProjectDefinesInclude.h
file+ Code/CryEngine/CryCommon/CryCommon.cpp
file+ Code/CryEngine/CryCommon/MTPseudoRandom.cpp
endcopy

beginprocess
file Code/CryEngine/CryCommon/CryCommon.cpp
erase \#include \"AutoTypeInfo.cpp\"
erase \#include \"TypeInfo.cpp\"
erase \#include \"CryStructPack.cpp\"
endprocess

beginprocess
file Code/CryEngine/CryCommon/ISystem.h
erase enum\ ESystemProtectedFunctions[\s]+{(.*?)[\s]+};
erase //[\s]+Protected functions\.[\s]+
erase typedef\ ISystem\*\ \(\*PFNCREATESYSTEMINTERFACE\)\(\ SSystemInitParams\ \&initParams\ \);[\n]?
erase [\/]+[\s]+\/\/\ CrySystem\ DLL\ Exports\.[\s]+[\/]+
erase \/\/\ interface of the DLL[\n]?
erase extern\ \"C\"[\s]+{[\s]+CRYSYSTEM_API\ ISystem\*\ CreateSystemInterface\(const\ SSystemInitParams\ \&initParams\ \);[\s]+}
replace "struct\ SSystemInitParams[\s]+{(.*?)[\n]+};" "struct SSystemInitParams{};"
erase [\s]?SSystemInitParams\:\:ProtectedFunction\ pProtectedFunctions\[eProtectedFuncsLast\];[\s]+
endprocess

break

begincopy Code/
dir+ Code/SDKs/STLPORT/
endcopy
