dfhack/library/include
lethosor 2aeac718cc workflow: Account for job postings correctly and fix existing issues
Without removing postings correctly, it was possible to end up with
multiple workers assigned to a job that workflow had suspended
multiple times, which caused crashes if more than one worker was
assigned to the same job by DF.

This adds an additional command, fix-job-postings, that runs
automatically when loading a world and fixes:
- Multiple job postings that point to the same job
- Job postings that point to a job where posting_index == -1
  (i.e. jobs that should have no posting assigned)

Fixes #741
2015-11-25 20:33:13 -05:00
..
df Add custom enabler::zoom_display() method (screen.zoom in Lua) 2015-03-25 17:55:56 -04:00
modules workflow: Account for job postings correctly and fix existing issues 2015-11-25 20:33:13 -05:00
.gitignore Add git commit information to libdfhack-version 2015-06-24 19:32:45 -04:00
BitArray.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
ColorText.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
Console.h hide/show: Provide feedback on unsupported platforms 2015-02-08 09:30:40 -05:00
Core.h Improve handling of fatal errors and errors in dfhack.lua 2015-10-17 21:18:04 -04:00
DFHack.h ditch the unused Vegetation module 2012-12-06 23:47:25 +01:00
DFHackVersion.h DFHackVersion: Expose whether the built commit is tagged 2015-10-17 15:35:40 -04:00
DataDefs.h Use is_valid_enum_item in FOR_ENUM_ITEMS 2015-07-18 12:57:12 -04:00
DataFuncs.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
DataIdentity.h Support std::fstream in data structures and add file_compressorst to xml. 2014-09-24 22:47:04 +04:00
Error.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
Export.h Implement a template-based classical Perlin noise generator. 2013-10-01 18:58:04 +04:00
Hooks.h Add SDL_SemWait and SDL_SemPost hooks 2015-03-25 16:08:25 -04:00
Internal.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
LuaTools.h Improve handling of fatal errors and errors in dfhack.lua 2015-10-17 21:18:04 -04:00
LuaWrapper.h Avoid DataStaticsFields dependency on PluginManager.h 2015-08-11 22:59:19 -04:00
MemAccess.h remove old unused code from when dfhack was out of process 2014-02-26 12:44:10 +01:00
MiscUtils.h Add df2console() wrapper 2015-02-13 17:56:29 -05:00
Module.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
ModuleFactory.h ditch the unused Vegetation module 2012-12-06 23:47:25 +01:00
PluginManager.h Remove plugin export functionality (unused) 2015-11-15 11:54:34 -05:00
Pragma.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
RemoteClient.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
RemoteServer.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
RemoteTools.h Support calling a lua function via a protobuf request. 2014-02-10 20:09:06 +04:00
SDL_events.h Re-add fake SDL headers, get rid of real SDL use. 2012-06-14 02:15:43 +02:00
SDL_keyboard.h Re-add fake SDL headers, get rid of real SDL use. 2012-06-14 02:15:43 +02:00
SDL_keysym.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
TileTypes.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
Types.h Add Filesystem::listdir() 2015-01-28 19:15:58 -05:00
VTableInterpose.h Document better how to access fields of the interposed class. 2014-06-10 13:10:10 +04:00
VersionInfo.h Adjustments for MSVC compatibility 2012-11-20 09:32:04 -06:00
VersionInfoFactory.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
wdirent.h Fix whitespace issues 2015-02-14 22:53:06 -05:00