mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-19 19:22:49 +00:00
refactor(zone): read a waypoint's name/value pairs in ReadLdfConfig
The pairs a waypoint carries (waypoint commands on movement and rail paths, LDF config on spawner paths) are read by one helper, ZoneFile::ReadLdfConfig, so the legacy path format can read them too. Nothing read changes: every zone file on disk reads the same. Check in game: nothing new; spawners and moving NPCs behave as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -248,4 +248,6 @@ private:
|
||||
void ReadSceneTransition(std::istream& file);
|
||||
SceneTransitionInfo ReadSceneTransitionInfo(std::istream& file);
|
||||
void ReadPath(std::istream& file);
|
||||
// A waypoint's name/value pairs: waypoint commands on movement and rail paths, LDF config on the others
|
||||
static void ReadLdfConfig(std::istream& file, PathType pathType, PathWaypoint& waypoint);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user