10#include "Base/SharpKmyCore.h"
12#include "Base/Locale.h"
13#include "Base/Logger.h"
15#include "Base/SharedPtr.h"
16#include "Base/ManagedCrash.h"
18#include "Gfx/GfxTypes.h"
19#include "Gfx/Billboard.h"
22#include "Gfx/DecalVolume.h"
23#include "Gfx/DrawInfo.h"
26#include "Gfx/Framebuffer.h"
27#include "Gfx/GameView.h"
28#include "Gfx/GeomCluster.h"
29#include "Gfx/GeometryInstance.h"
31#include "Gfx/InternalCommandBuffer.h"
32#include "Gfx/LineCube.h"
33#include "Gfx/LocalLight.h"
34#include "Gfx/Manipulator.h"
35#include "Gfx/Material.h"
36#include "Gfx/MaterialInstance.h"
37#include "Gfx/ModelData.h"
38#include "Gfx/ModelInstance.h"
39#include "Gfx/NativeTextureRenderer.h"
40#include "Gfx/Particle.h"
42#include "Gfx/Primitive/Primitive.h"
43#include "Gfx/Render.h"
44#include "Gfx/Shader.h"
45#include "Gfx/SpriteBatch.h"
46#include "Gfx/Transform.h"
47#include "Gfx/Texture.h"
48#include "Gfx/Vertex.h"
49#include "Gfx/VertexBuffer.h"
51#include "Gfx/GameViewDrawHook.h"
52#include "Gfx/CameraGizmo.h"
55#include "Io/Peripheral.h"
56#include "Io/ResourceServer.h"
58#include "Math/Matrix4.h"
59#include "Math/Vector4.h"
60#include "Math/Vector3.h"
61#include "Math/Vector2.h"
62#include "Math/Rectangle.h"
64#include "Math/Plane.h"
66#include "Physics/Physics.h"
67#include "Physics/Collider.h"
68#include "Physics/RigidBody.h"
69#include "Physics/NativePhysicsNotifyTarget.h"
70#include "Physics/PhysicsObject.h"
71#include "Physics/PhysicsNode.h"
72#include "Physics/Vehicle.h"
74#include "Sound/Sound.h"
76static void callStackOutput()
78 System::String^ s = Environment::StackTrace;
80 s = s->Substring(s->IndexOf(Environment::NewLine) + Environment::NewLine->Length);
81 s = s->Substring(s->IndexOf(Environment::NewLine) + Environment::NewLine->Length);
82 s = s->Substring(s->IndexOf(Environment::NewLine) + Environment::NewLine->Length);
86 kmyBase::LogPost::output(kmyBase::LogPost::kLOG_ERROR, sjis);
87 kmyBase::LogPost::suspend();
92#define SEHTRY_R(v) if(kmyBase::CrashLog::isCrashed()){return v;}__try
93#define SEHTRY_R_VOID() if(kmyBase::CrashLog::isCrashed()){return;}__try
94#define SEHCATCH __except(kmyBase::CrashLog::crashAt(GetExceptionInformation())){\
96throw std::exception();\
static std::string convert(System::String^ s)
Definition: SharpKmyCore.cpp:34