feat: 3D blobber dungeon generator (PR 1)

Replaces the 2D-only demo pipeline with a 3D cell-based blobber
generator. Per-cell face walls, per-material mesh emission, and a
GDExtension binding that returns a Dictionary with ArrayMesh surfaces
the demo consumes directly.

- src/blobber/: cell3d_t data model, dungeon container, pipeline that
  wraps the 2D generator per level and materializes into cell3d
- src/mesh/: face-quad emitter with per-material groups + .obj dump
- src/genesis3d_main.c: new CLI driving the blobber + mesh
- godot/: BrogueGen.generate_dungeon(seed, num_levels, depth) binding
  with dungeon_to_dict packing cells + mesh surfaces
- demo/: demo_blobber.tscn + dungeon_builder.gd, func_godot addon for
  the .map export path, point/entity templates, TrenchBroom docs
- Retired: old arcade/FPS demo scenes and their scripts, unused meshlib

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
saarsena@gmail.com 2026-04-18 13:24:27 -04:00
parent 6ee49c3375
commit 7a6ae79d01
160 changed files with 7209 additions and 2072 deletions

View file

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=9 format=3]
[ext_resource type="Script" uid="uid://drlmgulwbjwqu" path="res://addons/func_godot/src/fgd/func_godot_fgd_file.gd" id="1_script"]
[ext_resource type="Resource" uid="uid://crgpdahjaj" path="res://addons/func_godot/fgd/func_godot_fgd.tres" id="2_base"]
[ext_resource type="Resource" path="res://data/entities/point_player_start/point_player_start.tres" id="3_player_start"]
[ext_resource type="Resource" path="res://data/entities/point_stair_up/point_stair_up.tres" id="4_stair_up"]
[ext_resource type="Resource" path="res://data/entities/point_stair_down/point_stair_down.tres" id="5_stair_down"]
[ext_resource type="Resource" path="res://data/entities/point_door/point_door.tres" id="6_door"]
[ext_resource type="Resource" path="res://data/entities/func_water/func_water.tres" id="7_water"]
[ext_resource type="Resource" path="res://data/entities/func_lava/func_lava.tres" id="8_lava"]
[resource]
script = ExtResource("1_script")
base_fgd_files = Array[Resource]([ExtResource("2_base")])
entity_definitions = Array[Resource]([ExtResource("3_player_start"), ExtResource("4_stair_up"), ExtResource("5_stair_down"), ExtResource("6_door"), ExtResource("7_water"), ExtResource("8_lava")])