Vendor raylib-esp32 v1.0.3 (63db94b) under lib/ — raylib 6.x core with the rlsw software renderer plus the ESP32-S3 port layer (SPI display drivers, async double-buffered flush). raylib/examples, projects, tools and logo are trimmed (~80 MB of content nothing here compiles); see lib/raylib-esp32/VENDOR.md for provenance. New floorplan3d-demo (emulator-template base) renders the NetDeck demo map (nd_demomap.h) as a 3D floor plan — bulkhead walls, blast door, cover crates, airlock pad, terminal — through the real on-device 3D stack on the desktop: - rcore_emu.c: desktop PLATFORM_CUSTOM layer mirroring rcore_esp32.c, flushing the RGB565 sw-renderer buffer into emuGfx::fb instead of SPI - raylib_emu_config.h: same module/limit defines as the device build - HUD via 3x5 bitmap font into fb: rlsw's 2D textured-quad path (DrawText/DrawRectangle) misplaces/flips quads and samples wrong atlas texels in this build; the 3D path is pixel-accurate Verified: dual build (make netdeck) green, demo smoke test clean at ~59 FPS, 600-frame stability run OK.
14 lines
596 B
CMake
14 lines
596 B
CMake
# Define the environment for cross-compiling with 32-bit MinGW-w64 Clang
|
|
SET(CMAKE_SYSTEM_NAME Windows) # Target system name
|
|
SET(CMAKE_SYSTEM_VERSION 1)
|
|
SET(CMAKE_C_COMPILER "i686-w64-mingw32-clang")
|
|
SET(CMAKE_CXX_COMPILER "i686-w64-mingw32-clang++")
|
|
SET(CMAKE_RC_COMPILER "i686-w64-mingw32-windres")
|
|
SET(CMAKE_RANLIB "i686-w64-mingw32-ranlib")
|
|
|
|
# Configure the behaviour of the find commands
|
|
SET(CMAKE_FIND_ROOT_PATH "/usr/i686-w64-mingw32")
|
|
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|