mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:44:56 +00:00
Windows fixes
This commit is contained in:
@@ -65,7 +65,7 @@ if(MSVC)
|
||||
add_definitions(-DUNICODE=1 -D_UNICODE=1 -D__SSE__=1
|
||||
-D_CRT_SECURE_NO_WARNINGS=1 -DD_SCL_SECURE_NO_WARNINGS=1
|
||||
-D_SCL_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO_WARNINGS=1
|
||||
/IGNORE:4221 /wd4018 /wd4800 /wd4005 /wd4311
|
||||
/IGNORE:4221 /wd4018 /wd4800 /wd4005 /wd4311 /wd4068
|
||||
/wd4267 /wd4244 /wd4200 /wd4305 /wd4067 /wd4146 /wd4309 /wd4805
|
||||
-D_ENABLE_EXTENDED_ALIGNED_STORAGE=1 ${VS_DEFINES})
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "CToken.hpp"
|
||||
#include "CAnimSource.hpp"
|
||||
#include "CParticleData.hpp"
|
||||
#include <set>
|
||||
|
||||
namespace urde {
|
||||
|
||||
|
||||
@@ -26,10 +26,11 @@ CSpankWeed::CSpankWeed(TUniqueId uid, std::string_view name, const CEntityInfo&
|
||||
float scale = modelScale.magnitude() / std::sqrt(3.f);
|
||||
|
||||
ModelData()->SetScale(zeus::CVector3f(scale));
|
||||
zeus::simd_floats scaleF(modelScale.mSimd);
|
||||
SpankLog.report(logvisor::Level::Warning,
|
||||
"WARNING: Non-uniform scale (%.2f, %.2f, %.2f) applied to Spank Weed"
|
||||
"...changing scale to (%.2f, %.2f, %.2f)\n",
|
||||
modelScale.x(), modelScale.y(), modelScale.z(), scale, scale, scale);
|
||||
scaleF[0], scaleF[1], scaleF[2], scale, scale, scale);
|
||||
}
|
||||
CMaterialList list = GetMaterialFilter().GetExcludeList();
|
||||
list.Add(EMaterialTypes::Character);
|
||||
@@ -320,4 +321,4 @@ void CSpankWeed::KnockBack(const zeus::CVector3f& backVec, CStateManager& mgr, c
|
||||
float CSpankWeed::GetPlayerDistance(CStateManager& mgr) const {
|
||||
return (mgr.GetPlayer().GetTranslation() - x5a8_lockonTarget).magSquared();
|
||||
}
|
||||
} // namespace urde::MP1
|
||||
} // namespace urde::MP1
|
||||
|
||||
2
amuse
2
amuse
Submodule amuse updated: a7a408cc66...c1c47c51eb
2
hecl
2
hecl
Submodule hecl updated: 6013faad97...82a7890e99
2
specter
2
specter
Submodule specter updated: 96c8824a43...a3a3f90d8c
Reference in New Issue
Block a user