- Stage 1: Eliminate fish-eye distortion with precomputed tangential ray offset table and fractional DDA depth - Stage 2: Full asset management in EblanStudio (stb_image/stb_image_write, 128x128 BGRA texture packaging, WAV sound manager) - Stage 3: Multi-level room streaming, LevelTransition/CELL_PORTAL trigger system, 16-frame screen fade to black - Stage 4: 60Hz cutscene engine in pure x86 ASM (v4 binary track, waypoint camera motion, shortest-arc pan, CP1251 Russian subtitles, letterbox overlay, audio) - Stage 5: EblanStudio cutscene timeline (F6) and windowless Live ASM Viewport over shared-memory IPC directly rendered into DX11 - Tooling & Tests: comprehensive regression test suite (94 editor + 107 engine tests), IPC tests, and cutscene demo
37 lines
1.3 KiB
Batchfile
37 lines
1.3 KiB
Batchfile
@echo off
|
|
setlocal
|
|
|
|
rem ==============================================================================
|
|
rem EblanStudio - C++ Dear ImGui (DirectX 11) Visual Editor Build Script
|
|
rem ==============================================================================
|
|
|
|
if exist "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Auxiliary\Build\vcvars64.bat" goto setup_vars
|
|
echo [ERROR] MSVC BuildTools vcvars64.bat not found!
|
|
exit /b 1
|
|
|
|
:setup_vars
|
|
echo [BUILD] Initializing MSVC x64 environment...
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Auxiliary\Build\vcvars64.bat" >nul 2>&1
|
|
cd /d "%~dp0"
|
|
|
|
echo [BUILD] Compiling EblanStudio (C++17 + Dear ImGui + DirectX 11)...
|
|
cl /nologo /O2 /W3 /EHsc /std:c++17 /utf-8 /DUNICODE /D_UNICODE /DWIN32_LEAN_AND_MEAN /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS /DNDEBUG ^
|
|
/Isrc /Iimgui /Iimgui\backends ^
|
|
src\main.cpp src\editor_app.cpp ^
|
|
imgui\imgui.cpp imgui\imgui_draw.cpp imgui\imgui_tables.cpp imgui\imgui_widgets.cpp ^
|
|
imgui\backends\imgui_impl_win32.cpp imgui\backends\imgui_impl_dx11.cpp ^
|
|
/Fe:editor.exe ^
|
|
/link /SUBSYSTEM:WINDOWS d3d11.lib dxgi.lib d3dcompiler.lib user32.lib gdi32.lib shell32.lib comdlg32.lib winmm.lib
|
|
|
|
if errorlevel 1 goto err
|
|
|
|
echo [SUCCESS] editor.exe built successfully!
|
|
del *.obj >nul 2>&1
|
|
goto end
|
|
|
|
:err
|
|
echo [ERROR] Build failed!
|
|
exit /b 1
|
|
|
|
:end
|
|
endlocal
|