How wantwon/copygame_directx9_don-t_starve works
This repository contains a DirectX 9 survival-game project and an MFC map tool. The principal player workflow is entering a level, navigating its environment, surviving encounters and dungeon challenges, and using items and UI systems to progress. The README documents the major gameplay and engine capabilities; sampled source confirms camera selection through the engine object manager and the map tool’s use of engine and terrain modules. Many client subsystems were not sampled, so their documented relationships are cited to the README rather than inferred from filenames.
Main entry points: Player.cpp Player · GameInstance.cpp Engine Instance · Renderer.cpp Rendering and Shaders · MainApp.cpp MFC Map Tool
Components 17
Engine Runtime
- Engine Instance
SR_Project/Engine/Private/GameInstance.cpp - Object and Level Managers
SR_Project/Engine/Private/Object_Manager.cpp - Collision Manager
SR_Project/Engine/Private/Collider_Manager.cpp - Rendering and Shaders
SR_Project/Engine/Private/Renderer.cpp
Game World
- Player
SR_Project/Client/Private/Player.cpp - Levels
SR_Project/Client/Private/Level_GamePlay.cpp - Monsters and NPCs
SR_Project/Client/Private/Monster.cpp - Dungeon Challenges
SR_Project/Client/Private/Level_Maze.cpp - Environment and Effects
SR_Project/Client/Private/Terrain.cpp
Player Systems
- Inventory and Crafting
SR_Project/Client/Private/Inventory.cpp - Quests and Party
SR_Project/Client/Private/Quest.cpp - Day Cycle
SR_Project/Client/Private/DayCycle.cpp
Presentation
- Game UI
SR_Project/Client/Private/MainInventory.cpp - Camera Manager
SR_Project/Client/Private/CameraManager.cpp
Map Authoring
- MFC Map Tool
SR_MapTool/Tool/MainApp.cpp - Map Tool Engine
SR_MapTool/Engine/Private/GameInstance.cpp
Other components
- Player
Connections 14
- Player → Player: controls
README.md - Player → Levels: plays through
README.md - Levels → Dungeon Challenges: includes
README.md - Player → Monsters and NPCs: fights
README.md - Player → Inventory and Crafting: uses items
README.md - Player → Quests and Party: pursues
README.md - Day Cycle → Rendering and Shaders: changes shaders
README.md - Environment and Effects → Rendering and Shaders: renders with
README.md - Camera Manager → Engine Instance: gets objects
SR_Project/Client/Private/CameraManager.cpp - Engine Instance → Object and Level Managers: manages
README.md - Engine Instance → Collision Manager: updates
README.md - Engine Instance → Rendering and Shaders: ticks and renders
README.md - MFC Map Tool → Map Tool Engine: uses
SR_MapTool/Tool/MainApp.cpp - MFC Map Tool → Environment and Effects: exports map data
README.md