diff --git a/premake5.lua b/premake5.lua index fd10479..adc3894 100755 --- a/premake5.lua +++ b/premake5.lua @@ -233,6 +233,14 @@ project "im2d" removeplatforms { "*null" } removeplatforms { "ps2" } +project "im3d" + kind "WindowedApp" + characterset ("MBCS") + skeltool("im3d") + flags { "WinMain" } + removeplatforms { "*null" } + removeplatforms { "ps2" } + project "ska2anm" kind "ConsoleApp" characterset ("MBCS") diff --git a/tools/im2d/main.cpp b/tools/im2d/main.cpp index f36da51..f9ac539 100644 --- a/tools/im2d/main.cpp +++ b/tools/im2d/main.cpp @@ -4,9 +4,7 @@ #include "im2d.h" -rw::V3d zero = { 0.0f, 0.0f, 0.0f }; rw::EngineOpenParams engineOpenParams; -float FOV = 70.0f; rw::RGBA ForegroundColor = { 200, 200, 200, 255 }; rw::RGBA BackgroundColor = { 64, 64, 64, 0 }; @@ -46,14 +44,9 @@ Initialize3D(void) Charset = rw::Charset::create(&ForegroundColor, &BackgroundColor); Camera = CreateCamera(); -//UpdateSubRasters(Camera, sk::globals.width, sk::globals.height); Im2DInitialize(Camera); -// rw::SetRenderState(rw::CULLMODE, rw::CULLBACK); -// rw::SetRenderState(rw::ZTESTENABLE, 1); -// rw::SetRenderState(rw::ZWRITEENABLE, 1); - ImGui_ImplRW_Init(); ImGui::StyleColorsClassic();