fix overzealous "ui" -> "plotinfo" replacement

some comments were just talking about the UI..
develop
Myk Taylor 2023-01-05 17:46:30 -08:00
parent c4a2bdd08e
commit 845391f4e6
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
4 changed files with 4 additions and 4 deletions

@ -46,7 +46,7 @@ namespace DFHack
CR_NOT_IMPLEMENTED = -1, // Command not implemented, or plugin not loaded
CR_OK = 0, // Success
CR_FAILURE = 1, // Failure
CR_WRONG_USAGE = 2, // Wrong arguments or plotinfo state
CR_WRONG_USAGE = 2, // Wrong arguments or ui state
CR_NOT_FOUND = 3 // Target object not found (for RPC mainly)
};

@ -1219,7 +1219,7 @@ bool Buildings::constructWithFilters(df::building *bld, std::vector<df::job_item
/* The game picks up explicitly listed items in reverse
* order, but processes filters straight. This reverses
* the order of filters so as to produce the same final
* contained_items ordering as the normal plotinfo way. */
* contained_items ordering as the normal ui way. */
vector_insert_at(job->job_items, 0, items[i]);
if (items[i]->item_type == item_type::BOULDER)

@ -83,7 +83,7 @@ namespace DFHack {
* Screen painting API.
*/
// returns plotinfo grid coordinates, even if the game map is scaled differently
// returns ui grid coordinates, even if the game map is scaled differently
df::coord2d Screen::getMousePos()
{
if (!gps)

@ -105,7 +105,7 @@ private:
*/
void write();
// parse serialized data into plotinfo indices
// parse serialized data into ui indices
void read ();
/**