skeleton: bump imgui to 1.83

This commit is contained in:
Anonymous Maarten
2021-07-08 16:09:40 +02:00
parent 2e25c0ec10
commit 20f744c0df
30 changed files with 38322 additions and 15520 deletions

View File

@@ -1,5 +1,7 @@
add_executable(subrast WIN32
main.cpp subrast.cpp
main.cpp
subrast.cpp
subrast.h
)
target_link_libraries(subrast
@@ -10,6 +12,7 @@ target_link_libraries(subrast
add_custom_command(
TARGET subrast POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E make_directory "$<TARGET_FILE_DIR:subrast>/files"
COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/files" "$<TARGET_FILE_DIR:subrast>/files"
)

View File

@@ -129,9 +129,11 @@ Initialize3D(void)
AmbientLight = CreateAmbientLight(World);
MainLight = CreateMainLight(World);
Clump = CreateClump(World);
if (Clump == nil)
return false;
CreateCameras(World);
UpdateSubRasters(Camera, sk::globals.width, sk::globals.height);
UpdateSubRasters(Camera, sk::globals.width, sk::globals.height);
rw::SetRenderState(rw::CULLMODE, rw::CULLBACK);
rw::SetRenderState(rw::ZTESTENABLE, 1);