Commit Graph

61 Commits (aa1c0f20717d27c2dfe6567beb29b9b0d2c5aa95)

Author SHA1 Message Date
Lethosor 58f896d569 Create `stocksettings` directory on startup 2015-01-26 16:28:57 -05:00
lethosor 6e36b224d1 Merge remote-tracking branch 'ramblurr/stockpiles'
Also update stockpiles plugin to use REQUIRE_GLOBAL()

Conflicts:
	plugins/stockpiles.cpp
2015-01-05 16:16:29 -05:00
Casey Link b9a2ecb440 stockpiles: properly initialize quality arrays
Props to @fricy for identifying this bug.
2014-12-05 17:39:29 +01:00
Casey Link 332566f6a1 stockpiles: disable gui/script when plugin is disabled 2014-12-05 13:27:58 +01:00
Casey Link 0f06eb7f6f stockpiles: quiet debug 2014-12-05 12:42:59 +01:00
Casey Link 346f397bca stockpiles: fix loading crash 2014-12-05 12:35:24 +01:00
Casey Link 7e6066daf2 stockpiles: user friendly error handling
* display errors in the GUI when necessary
* handle older versions of DFHack without the persist module
2014-12-05 12:35:24 +01:00
Casey Link 2f4678eee5 stockpiles: more error handling & cleanup
* prevent crashes when the path doesn't exist
* remove duplicated functions
* sort file list case insensitively
2014-12-05 12:35:24 +01:00
lethosor 1525823948 Create stocksettings directory on startup if necessary 2014-12-05 12:35:24 +01:00
Casey Link 1cde8cffa4 stockpiles: implement GUI controls 2014-12-05 12:35:19 +01:00
Casey Link 2e43ea8b38 stockpiles: refactor code into separate files
The file was approaching 3000 lines and contained multiple classes,
making it a real PITA to navigate through. upcoming features would only
add more LOC, so splitting was necessary.
2014-12-05 11:02:40 +01:00