warfactoryracine/client/README.md
StillHammer 4eb1ad69a3 Add complete C++ structure for all 10 engines
🏗️ Created professional C++ architecture:
- Factory Engine: Factorio-like production simulation
- Economy Engine: Global markets and pricing algorithms
- War Engine: Multi-chunk combat and auto-battler
- Designer Engine: Vehicle conception (1-2 designs/tick globally)
- MacroEntity Engine: Companies, diplomacy, administration points
- Map Engine: Procedural generation (218 elements, FOW chunk-based)
- Intelligence Engine: Metrics collection (3.1GB adaptive scaling)
- Operation Engine: Strategic AI generals with ML adaptation
- Logistic Engine: Supply chains and convoy management
- Event Engine: Breakthrough system and global events

 Each engine includes:
- Professional header files with complete interfaces
- Autonomous threading and lifecycle management
- Inter-engine communication patterns
- Performance monitoring capabilities
- Organized namespaces (Warfactory::Engine)

🔧 Added .gitignore for C++ development
📦 Added shared/ module for common types
🚀 Ready for CMake setup and implementation
2025-09-19 02:07:17 +08:00

1.8 KiB

C++ Smart Client

Client C++ natif pour Warfactory avec performance optimale et interface complète.

Architecture

  • Request/Response: Communication optimisée avec game orchestrator
  • Multi-scale Rendering: 4 échelles avec transitions fluides (OpenGL)
  • FOW Granularity: Par chunk (ultra-léger, ~1 bit par chunk)
  • Performance: 60fps natif, chunks on-demand, optimisation mémoire

Core Features

  • Vehicle Design Interface: Pick/place + A/E rotation + R snap toggle + templates
  • Factory Management: Factorio-like avec belts, assemblers, inserters
  • Map Navigation: Zoom discret, navigation node-based/libre
  • Real-time Combat: Auto-battler avec oversight joueur
  • Multi-window Support: Interface modulaire pour plusieurs écrans

Technical Stack

  • Rendering: OpenGL pour performance 2D optimale
  • GUI Framework: ImGui ou custom pour interfaces game-specific
  • Networking: REST/HTTP client optimisé C++
  • Audio: 3D audio pour immersion combat/factory
  • Platform: Cross-platform (Windows, Linux, Mac)

UI Modules

  • Map Viewer: Multi-scale avec streaming chunks intelligent
  • Vehicle Designer: Grille interactive + composants + contraintes réalistes
  • Factory Planner: Belts + production chains + optimisation
  • Combat Interface: Overview tactical + contrôles d'oversight
  • Intelligence Dashboard: Métriques temps réel + reconnaissance
  • Diplomacy Panel: Relations + administration points + négociations

Performance Targets

  • 60fps constant même avec 1000+ unités visibles
  • Memory efficient: Chunks déchargés automatiquement
  • Network optimized: Requests groupés, cache intelligent
  • Responsive UI: <16ms latency pour toutes interactions