dfhack/library/include
Stephen Baynham 74f5df99db Add job remove method
Job remove eliminates a job's worker & holder references, if any, puts
the worker on cd, if appropriate, removes the job's postings, eliminates
the job from the global linked list, and then finally deletes it.  This
code was tested by incorporating it into autochop and it does make the
plugin work.  However, chop jobs don't have holder building references,
and anyway, with DF being 90% edge case by volume, this could use a heck
of a lot more testing.

I saw elsewhere code that prevented worker removal if the job was a
special job, and that made me feel funny so I made the job remove method
not work if the job is a special job.
2016-11-17 19:54:41 -08:00
..
df Make const method wrappers possible 2016-05-28 20:11:42 -04:00
modules Add job remove method 2016-11-17 19:54:41 -08:00
.gitignore Add git commit information to libdfhack-version 2015-06-24 19:32:45 -04:00
BitArray.h get rid of "private" comment in BitArray.h 2016-01-21 16:49:16 -05: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 git-describe: Add git xml information 2016-02-01 10:30:53 -05:00
DataDefs.h Use is_valid_enum_item in FOR_ENUM_ITEMS 2015-07-18 12:57:12 -04:00
DataFuncs.h Make const method wrappers possible 2016-05-28 20:11:42 -04: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 Add no handler version of lua event. 2016-02-01 22:22:12 +02:00
LuaWrapper.h Avoid DataStaticsFields dependency on PluginManager.h 2015-08-11 22:59:19 -04:00
MemAccess.h Expose process MD5/PE to Lua (useful in export-dt-ini) 2015-12-27 14:59:18 -05:00
MiscUtils.h Wrap script descriptions in `ls` output and remove description length cap 2016-06-14 21:24:27 -04: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 Increased the message size limit in RemoteClient from 8mb to 64mb. 2016-06-20 13:17:30 +05:30
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 Add reverse vtable name lookup 2016-04-03 20:45:44 -04: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