dfhack/library/include/modules
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
..
Buildings.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
Burrows.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
Constructions.h Fix for construction over existing construction & on top of walls 2015-11-06 19:00:43 +01:00
Engravings.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
EventManager.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
Filesystem.h Implement a function to list directories recursively 2015-01-30 17:29:17 -05:00
Graphic.h Get rid of tabs 2012-11-16 15:33:36 -06:00
Gui.h Add "map" parameter to a lot of drawing functions 2015-12-22 11:42:51 -05:00
GuiHooks.h Track state of gui hooks 2015-11-15 11:54:34 -05:00
Items.h moveToBuilding improvements 2016-04-05 11:43:02 -04:00
Job.h Add job remove method 2016-11-17 19:54:41 -08:00
MapCache.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
Maps.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
Materials.h Implement a MapCache api for writing base layer tiles of arbitrary stone. 2013-10-10 12:15:50 +04:00
Notes.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00
Once.h New module: Once. Intended to help prevent debug error message spam. 2013-03-23 22:38:33 -04:00
PerlinNoise.inc Use a cast instead of floor in perlin noise for performance. 2013-10-10 12:15:50 +04:00
Random.h Add missing import/export info for MersenneRNG::unitvector<> 2014-03-25 13:30:21 -05:00
Renderer.h Add Renderer module - safer way to install custom renderers 2015-10-21 17:18:39 -04:00
Screen.h Prevent plugins with active viewscreens from being unloaded 2016-01-01 11:15:29 -05:00
Translation.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
Units.h Merge branch 'develop' into zone-unassign 2016-04-22 18:41:15 -04:00
Vermin.h Get rid of Simple namespace, Gui module is now a namespace. 2012-03-03 14:38:24 +01:00
Windows.h Fix whitespace issues 2015-02-14 22:53:06 -05:00
World.h Add gametype checks to World.cpp 2015-03-09 20:08:21 -04:00
kitchen.h Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00