Commit Graph

2 Commits

Author SHA1 Message Date
b93b269e6d Implement complete world-generation-realist system with volcanic physics and region fusion
- Create volcanic system: Volcano.h, VolcanoFactory.h, VolcanoImpact.h with realistic lifecycle modeling
- Add PlanetaryDifferentiationFunction.h for gravitational material separation (regions → core)
- Implement CoolingPhaseFunction.h with dual influences (core + surface temperature)
- Create UniversalRegionFusionFunction.h as template with duck typing for type-safe fusion
- Add ResourceRegion.h, TectonicRegion.h, ClimateRegion.h with unified fusion interface
- Update Regular_world.json with Phase 0 initialization and volcanic/cooling configurations
- Add melting_point_celsius to all resources for volcanic composition filtering
- Implement ResourceRegistry and RandomGenerator singletons for performance
- Scale system for realistic quantities: uint64_t gameplay, uint128_t planetary core

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-30 14:38:46 +08:00
78e31fc765 Create world-generation-realist module architecture interfaces
Core serialization interfaces:
- ISerializable → ASerializable with auto-registration concept
- SerializationRegistry singleton interface
- Template-based factory system with PhaseRegistry

Shared interfaces (moved to core):
- IAttachedElement for element relationships
- IElementData for polymorphic data
- IRegion interface with attachment capabilities
- Resource interface for gameData integration

World generation interfaces:
- IWorldGenerationPhase and IWorldGenerationStep
- GTile optimized 16-byte structure definition
- GMap interface for contiguous memory layout
- WorldGenerationOrchestrator interface

Phase 1 structure definitions:
- PlanetaryCore interface with composition tracking
- Meteorite data structure
- MeteoriteImpact parameterizable interface
- RegionManager interface

Climate token system design:
- Water/wind tokens for climate simulation
- Destruction tokens (highWind/flood/hurricane) packed design
- Elevation range: -32km to +32km geological scale
- Budget system integration ready

Note: Interfaces and structure definitions only - implementations pending.
Architecture designed for Regular_world.json integration and SIMD optimization.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 23:16:14 +08:00