Add raylib-esp32 lib and FloorPlan3D demo (3D floor plan via rlsw)
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.
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"name": "raylib-esp32",
|
||||
"version": "1.0.3",
|
||||
"description": "Raylib 6.x for ESP32 — software-rendered 2D/3D graphics on embedded SPI displays",
|
||||
"keywords": [
|
||||
"raylib",
|
||||
"esp32",
|
||||
"graphics",
|
||||
"3d",
|
||||
"embedded",
|
||||
"lcd",
|
||||
"gc9a01",
|
||||
"st7789",
|
||||
"ili9341"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jensroth-git/raylib-esp32.git"
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jens Roth",
|
||||
"maintainer": true
|
||||
}
|
||||
],
|
||||
"license": "Zlib",
|
||||
"platforms": "espressif32",
|
||||
"frameworks": "arduino",
|
||||
"headers": "raylib_esp32.h",
|
||||
"build": {
|
||||
"extraScript": "pio_build.py",
|
||||
"includeDir": "include",
|
||||
"srcDir": ".",
|
||||
"srcFilter": [
|
||||
"-<*>",
|
||||
"+<src/**/*.c>",
|
||||
"+<raylib/src/rcore.c>",
|
||||
"+<raylib/src/rshapes.c>",
|
||||
"+<raylib/src/rtextures.c>",
|
||||
"+<raylib/src/rtext.c>",
|
||||
"+<raylib/src/rmodels.c>",
|
||||
"-<examples>"
|
||||
],
|
||||
"flags": [
|
||||
"-O3",
|
||||
"-DGRAPHICS_API_OPENGL_SOFTWARE",
|
||||
"-DPLATFORM_CUSTOM",
|
||||
"-DEXTERNAL_CONFIG_FLAGS",
|
||||
"-Wno-incompatible-pointer-types",
|
||||
"-Wno-uninitialized",
|
||||
"-Wno-nonnull",
|
||||
"-Wno-return-type",
|
||||
"-Wno-unused-variable",
|
||||
"-Wno-unused-function",
|
||||
"-Wno-unused-label",
|
||||
"-Wno-stringop-truncation"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user