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
Burrows.h
Constructions.h Fix for construction over existing construction & on top of walls 2015-11-06 19:00:43 +01:00
Engravings.h
EventManager.h
Filesystem.h
Graphic.h
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
Maps.h
Materials.h
Notes.h
Once.h
PerlinNoise.inc
Random.h
Renderer.h
Screen.h Prevent plugins with active viewscreens from being unloaded 2016-01-01 11:15:29 -05:00
Translation.h
Units.h Merge branch 'develop' into zone-unassign 2016-04-22 18:41:15 -04:00
Vermin.h
Windows.h
World.h
kitchen.h