Open CoroNaut opened 2 months ago
So currently, it looks like map memory is only recorded during map drawing, and fast travel mode doesn't call those draw functions. I would expect map memory to be recorded according to what's visible to the in-game player on the map, independent of what's drawn. That would involve extracting a lot of code from the map draw functions.
It's good to identify this, at any rate. Thanks!
Correct, for performance reasons it is deeply entwined with the draw code so if you don't run most of the draw code it's not going to be able to decide what yours to memorize. Plus if you run that much of the draw code, you're going to reverse most of the speed gains from not drawing as you go.
I could imagine doing something like adding some code to disable actually drawing always and running just enough code to get a map memory snapshot once every 12 tiles of travel or so.
Adding code to update every so often instead of every tile might be OK for moving around in the daytime. Inside a forest would however leave behind some janky map memory as you go. But definitely not at night. #37968 would become a bit more severe.
Otherwise, its a decent compromise to keep some performance but still update a little map memory for longer distances through not yet recorded areas.
Based on the confirmed behavior and what's been said I'm going to go ahead and mark this confirmed so we at least remember it exists.
Describe the bug
When using the toggle fast travel option, it doesn't record map memory for your character. So if you decide to fast travel into an area that you have no map memory for, it will path there, but won't record any tiles.
Attach save file
TESTINGTWO-trimmed.tar.gz
Steps to reproduce
Expected behavior
Map memory should be recorded as if 'toggle fast travel' were off.
Screenshots
Just for clarification, I used the fast travel mechanic to get into this forest in the top-left spot, then directly east. I then disabled 'toggle fast travel' so that map view didn't stay open while traveling, and traveled south. As such, you have map memory when the option is disabled.
Versions and configuration
Additional context
No response