diff --git a/src/editors/ECore/ECore.vcxproj b/src/editors/ECore/ECore.vcxproj index 0245d2b7e19..cc45d529e5d 100644 --- a/src/editors/ECore/ECore.vcxproj +++ b/src/editors/ECore/ECore.vcxproj @@ -9,6 +9,14 @@ Debug x64 + + Mixed + Win32 + + + Mixed + x64 + Release Win32 @@ -24,44 +32,18 @@ ECore - + DynamicLibrary v141 MultiByte - true - - DynamicLibrary - v141 - MultiByte + true - - DynamicLibrary - v141 - MultiByte - - - DynamicLibrary - v141 - MultiByte - - - - - - - - - - - - - - + @@ -69,66 +51,6 @@ <_ProjectFileVersion>12.0.30501.0 - - $(xrBinDir) - $(xrIntDir)$(ProjectName)\ - - - - $(xrBinDir) - $(xrIntDir)$(ProjectName)\ - - - - Disabled - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - - - true - MachineX86 - - - - - Disabled - EnableFastChecks - MultiThreadedDebugDLL - Level3 - ProgramDatabase - - - true - - - - - MultiThreadedDLL - Level3 - ProgramDatabase - - - true - true - true - MachineX86 - - - - - MultiThreadedDLL - Level3 - ProgramDatabase - - - true - true - true - - @@ -263,7 +185,14 @@ - + + Create + Create + Create + Create + Create + Create + diff --git a/src/editors/ECore/Editor/SoundManager.h b/src/editors/ECore/Editor/SoundManager.h index d5d300ddee2..ae187c75ddd 100644 --- a/src/editors/ECore/Editor/SoundManager.h +++ b/src/editors/ECore/Editor/SoundManager.h @@ -13,8 +13,8 @@ class ECORE_API CSoundManager void MakeGameSound(ESoundThumbnail* THM, LPCSTR src_name, LPCSTR game_name); CSoundManager() {} virtual ~CSoundManager() { ; } - BOOL__stdcall RemoveSound(LPCSTR fname, EItemType type); - void__stdcall RenameSound(LPCSTR p0, LPCSTR p1, EItemType type); + BOOL __stdcall RemoveSound(LPCSTR fname, EItemType type); + void __stdcall RenameSound(LPCSTR p0, LPCSTR p1, EItemType type); // texture routines int GetSounds(FS_FileSet& files, BOOL bFolders = FALSE); diff --git a/src/editors/ECore/stdafx.h b/src/editors/ECore/stdafx.h index e42097e62ab..0a0eb68261f 100644 --- a/src/editors/ECore/stdafx.h +++ b/src/editors/ECore/stdafx.h @@ -2,9 +2,9 @@ #include "Common/Common.hpp" -#pragma warn - pck +//#pragma warn - pck -#define sqrtf(a) sqrt(a) +//#define sqrtf(a) sqrt(a) #define smart_cast dynamic_cast @@ -19,15 +19,17 @@ #define RENDER R_R1 // Std C++ headers -#include +//#include +//#include "math.h" #include #include -#include +#include #include -#include +#include // useful macros // MSC names for functions +/* #ifdef _eof #undef _eof #endif @@ -53,8 +55,7 @@ __inline float modff(float a, float* b) *b = x; return float(y); } -__inline float expf(float val) { return ::exp(val); } -#include "xrCore/Platform.h" +__inline float expf(float val) { return ::exp(val); }*/ #ifdef _ECOREB #define ECORE_API XR_EXPORT @@ -72,9 +73,35 @@ __inline float expf(float val) { return ::exp(val); } #define clMsg Msg +enum TMsgDlgType +{ + mtWarning, + mtError, + mtInformation, + mtConfirmation, + mtCustom +}; +enum TMsgDlgBtn +{ + mbYes, + mbNo, + mbOK, + mbCancel, + mbAbort, + mbRetry, + mbIgnore, + mbAll, + mbNoToAll, + mbYesToAll, + mbHelp +}; +typedef TMsgDlgBtn TMsgDlgButtons[mbHelp]; + // core #include +#define AnsiString xr_string + #ifdef _EDITOR class PropValue; class PropItem; @@ -86,7 +113,7 @@ DEFINE_VECTOR(ListItem*, ListItemsVec, ListItemsIt); #include "xrCDB/xrCDB.h" #include "xrSound/Sound.h" -#include "xrEngine/PSystem.h" +#include "xrParticles/psystem.h" // DirectX headers #include @@ -100,12 +127,12 @@ DEFINE_VECTOR(ListItem*, ListItemsVec, ListItemsIt); #include "xrCore/FMesh.hpp" #include "Common/_d3d_extensions.h" -#include "D3DX_Wrapper.h" +//#include "D3DX_Wrapper.h" DEFINE_VECTOR(AnsiString, AStringVec, AStringIt); DEFINE_VECTOR(AnsiString*, LPAStringVec, LPAStringIt); -#include "xrServerEntities\xrEProps.h" +#include "xrServerEntities/xrEProps.h" #include "xrCore/Log.h" #include "Editor/engine.h" #include "xrEngine/defines.h" diff --git a/src/editors/LevelEditor/LevelEditor.vcxproj b/src/editors/LevelEditor/LevelEditor.vcxproj index a8434fe4669..47df5eefbad 100644 --- a/src/editors/LevelEditor/LevelEditor.vcxproj +++ b/src/editors/LevelEditor/LevelEditor.vcxproj @@ -417,7 +417,14 @@ - + + Create + Create + Create + Create + Create + Create + diff --git a/src/editors/ParticleEditor/ParticleEditor.vcxproj b/src/editors/ParticleEditor/ParticleEditor.vcxproj index 14f5fd53ef1..3cab2f33b4e 100644 --- a/src/editors/ParticleEditor/ParticleEditor.vcxproj +++ b/src/editors/ParticleEditor/ParticleEditor.vcxproj @@ -230,7 +230,14 @@ - + + Create + Create + Create + Create + Create + Create + diff --git a/src/editors/ShaderEditor/ShaderEditor.vcxproj b/src/editors/ShaderEditor/ShaderEditor.vcxproj index 5b89bdbdc01..a6796a6ab23 100644 --- a/src/editors/ShaderEditor/ShaderEditor.vcxproj +++ b/src/editors/ShaderEditor/ShaderEditor.vcxproj @@ -45,7 +45,14 @@ - + + Create + Create + Create + Create + Create + Create + diff --git a/src/editors/xrEProps/xrEProps.vcxproj b/src/editors/xrEProps/xrEProps.vcxproj index ecbadf951d4..b0fc885cfb2 100644 --- a/src/editors/xrEProps/xrEProps.vcxproj +++ b/src/editors/xrEProps/xrEProps.vcxproj @@ -9,6 +9,14 @@ Debug x64 + + Mixed + Win32 + + + Mixed + x64 + Release Win32 @@ -21,51 +29,22 @@ {1EA62E41-6CF6-4B68-842D-DAFDDF786888} xrEProps - ManagedCProj - + DynamicLibrary v141 MultiByte true true - - DynamicLibrary - v141 - MultiByte - true + true - - DynamicLibrary - v141 - MultiByte - true - - - DynamicLibrary - v141 - MultiByte - true - - - - - - - - - - - - - - + @@ -73,113 +52,10 @@ <_ProjectFileVersion>12.0.30501.0 - - $(xrBinDir) - $(xrIntDir)$(ProjectName)\ - true - - - true - - - $(xrBinDir) - $(xrIntDir)$(ProjectName)\ - false - - - false - - - - Disabled - $(SolutionDir);$(xrSdkDir)include;%(AdditionalIncludeDirectories) - EDITOR_LIBRARY;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Fast - Use - stdafx.hpp - Level4 - ProgramDatabase - 4945;%(DisableSpecificWarnings) - - - /ignore:4248 %(AdditionalOptions) - - $(xrSdkDir)libraries;%(AdditionalLibraryDirectories) - true - true - false - $(xrLibDir)$(TargetName).lib - MachineX86 - - - + - Disabled - $(SolutionDir);$(xrSdkDir)include;%(AdditionalIncludeDirectories) EDITOR_LIBRARY;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Fast - Use - stdafx.hpp - Level4 - ProgramDatabase - 4945;%(DisableSpecificWarnings) - - /ignore:4248 %(AdditionalOptions) - - - $(xrSdkDir)libraries;%(AdditionalLibraryDirectories) - true - true - false - $(xrLibDir)$(TargetName).lib - - - - - $(SolutionDir);$(xrSdkDir)include;%(AdditionalIncludeDirectories) - EDITOR_LIBRARY;%(PreprocessorDefinitions) - MultiThreadedDLL - Fast - Use - stdafx.hpp - Level4 - ProgramDatabase - - - - $(xrSdkDir)libraries;%(AdditionalLibraryDirectories) - true - true - true - false - $(xrLibDir)$(TargetName).lib - MachineX86 - - - - - $(SolutionDir);$(xrSdkDir)include;%(AdditionalIncludeDirectories) - EDITOR_LIBRARY;%(PreprocessorDefinitions) - MultiThreadedDLL - Fast - Use - stdafx.hpp - Level4 - ProgramDatabase - - - - - $(xrSdkDir)libraries;%(AdditionalLibraryDirectories) - true - true - true - false - $(xrLibDir)$(TargetName).lib - @@ -226,16 +102,12 @@ - + + Create + - - - {a0f7d1fb-59a7-4717-a7e4-96f37e91998e} - false - - @@ -256,6 +128,11 @@ + + + {a0f7d1fb-59a7-4717-a7e4-96f37e91998e} + + diff --git a/src/engine.sln b/src/engine.sln index 3c04bbcf795..198cace251b 100644 --- a/src/engine.sln +++ b/src/engine.sln @@ -16,7 +16,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "maya", "maya", "{68CB7CEC-F EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "lw", "lw", "{AB0D87B3-0937-4B2D-AB01-7A613B3EEF0D}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ode", "..\Externals\ODE.vcxproj", "{1BF75FEB-87DD-486C-880B-227987D191C2}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ODE", "..\Externals\ODE.vcxproj", "{1BF75FEB-87DD-486C-880B-227987D191C2}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpenAL32", "..\Externals\openal\OpenAL-Windows\Router\Router.vcxproj", "{566551F4-4EF1-4CB4-A131-F982E7606907}" EndProject @@ -803,8 +803,8 @@ Global {136857E3-D61B-4A03-A4E9-7F73ED946C41}.Release|x86.ActiveCfg = Release|Win32 {226C6807-BB48-4A07-BF13-806C38FD8FBE}.Debug|x64.ActiveCfg = Debug|x64 {226C6807-BB48-4A07-BF13-806C38FD8FBE}.Debug|x86.ActiveCfg = Debug|Win32 - {226C6807-BB48-4A07-BF13-806C38FD8FBE}.Mixed|x64.ActiveCfg = Release|x64 - {226C6807-BB48-4A07-BF13-806C38FD8FBE}.Mixed|x86.ActiveCfg = Release|Win32 + {226C6807-BB48-4A07-BF13-806C38FD8FBE}.Mixed|x64.ActiveCfg = Mixed|x64 + {226C6807-BB48-4A07-BF13-806C38FD8FBE}.Mixed|x86.ActiveCfg = Mixed|Win32 {226C6807-BB48-4A07-BF13-806C38FD8FBE}.Release|x64.ActiveCfg = Release|x64 {226C6807-BB48-4A07-BF13-806C38FD8FBE}.Release|x86.ActiveCfg = Release|Win32 {7C8B6F49-1745-4E45-96BA-9F1883C5EDE9}.Debug|x64.ActiveCfg = Debug|x64 @@ -815,8 +815,8 @@ Global {7C8B6F49-1745-4E45-96BA-9F1883C5EDE9}.Release|x86.ActiveCfg = Release|Win32 {1EA62E41-6CF6-4B68-842D-DAFDDF786888}.Debug|x64.ActiveCfg = Debug|x64 {1EA62E41-6CF6-4B68-842D-DAFDDF786888}.Debug|x86.ActiveCfg = Debug|Win32 - {1EA62E41-6CF6-4B68-842D-DAFDDF786888}.Mixed|x64.ActiveCfg = Release|x64 - {1EA62E41-6CF6-4B68-842D-DAFDDF786888}.Mixed|x86.ActiveCfg = Release|Win32 + {1EA62E41-6CF6-4B68-842D-DAFDDF786888}.Mixed|x64.ActiveCfg = Mixed|x64 + {1EA62E41-6CF6-4B68-842D-DAFDDF786888}.Mixed|x86.ActiveCfg = Mixed|Win32 {1EA62E41-6CF6-4B68-842D-DAFDDF786888}.Release|x64.ActiveCfg = Release|x64 {1EA62E41-6CF6-4B68-842D-DAFDDF786888}.Release|x86.ActiveCfg = Release|Win32 {77BED9F9-EEB1-4ECD-8E4E-E7C673EAAE9C}.Debug|x64.ActiveCfg = Debug|x64