0c768796e2 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'danaris/fortplan'  
							
							... 
							
							
							
							Conflicts:
	plugins/buildingplan.cpp 
							
						 
						
							2015-01-05 16:47:35 -05:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								5547722414 
								
							
								 
							
						 
						
							
							
								
								Initial work on fortplan plugin, including separating out code that needs to be shared with buildingplan  
							
							
							
						 
						
							2014-12-23 16:56:15 -05:00  
				
					
						
							
							
								 
						
							
							
								7072252902 
								
							
								 
							
						 
						
							
							
								
								fix build error on windows  
							
							... 
							
							
							
							with certain #include permutations the lack of this define would
break the build on windows as windows.h pollutes the namespace with min
and max macros that conflict with std::min and std::max. 
							
						 
						
							2014-12-05 12:35:24 +01:00  
				
					
						
							
							
								 
						
							
							
								cac2245438 
								
							
								 
							
						 
						
							
							
								
								Update some plugins to use REQUIRE_GLOBAL  
							
							
							
						 
						
							2014-12-03 23:26:54 -05:00  
				
					
						
							
							
								 
						
							
							
								e206c242c6 
								
							
								 
							
						 
						
							
							
								
								Add a plugin_globals vector to aid in safety checks for plugins that require globals  
							
							... 
							
							
							
							This allows "using df::global::foo" to be replaced by "REQUIRE_GLOBAL(foo)",
and DFHack will refuse to load the plugin if df::global::foo is NULL 
							
						 
						
							2014-12-02 21:32:04 -05:00  
				
					
						
							
							
								 
						
							
							
								445640f80c 
								
							
								 
							
						 
						
							
							
								
								Allow commands invoked through command-prompt to access selected items/units/buildings  
							
							... 
							
							
							
							Fixes  #273  
						
							2014-11-25 20:25:31 -05:00  
				
					
						
							
							
								 
						
							
							
								798bec3ced 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'delvintemp' into develop  
							
							
							
						 
						
							2014-11-15 16:28:52 -05:00  
				
					
						
							
							
								 
						
							
							
								2edc3594b8 
								
							
								 
							
						 
						
							
							
								
								Make it compile.  
							
							
							
						 
						
							2014-11-15 16:03:36 -05:00  
				
					
						
							
							
								 
						
							
							
								3021fa47db 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branches 'jjyg/develop', 'putnam/patch-4' and 'eswald/blank-histories' into develop  
							
							... 
							
							
							
							Conflicts:
	NEWS 
							
						 
						
							2014-11-15 15:07:20 -05:00  
				
					
						
							
							
								 
						
							
							
								c85d4994cf 
								
							
								 
							
						 
						
							
							
								
								Preventing blank history files  
							
							
							
						 
						
							2014-11-14 17:35:06 -07:00  
				
					
						
							
							
								 
						
							
							
								779ac3fd50 
								
							
								 
							
						 
						
							
							
								
								Updated interaction-trigger to work better.  
							
							
							
						 
						
							2014-11-09 18:36:21 -05:00  
				
					
						
							
							
								 
						
							
							
								6046d68639 
								
							
								 
							
						 
						
							
							
								
								Support std::fstream in data structures and add file_compressorst to xml.  
							
							... 
							
							
							
							One tricky thing is that fstream does not have operator=, so the new
file_compressorst requires a manually implemented one that skips it. 
							
						 
						
							2014-09-24 22:47:04 +04:00  
				
					
						
							
							
								 
						
							
							
								3678c5f649 
								
							
								 
							
						 
						
							
							
								
								New SDL hooks to support Stonesense updates  
							
							
							
						 
						
							2014-09-16 21:16:52 -04:00  
				
					
						
							
							
								 
						
							
							
								8631da7e4e 
								
							
								 
							
						 
						
							
							
								
								Convenience method to collect a vector from StockpileIterator.  
							
							
							
						 
						
							2014-09-07 14:10:27 -06:00  
				
					
						
							
							
								 
						
							
							
								567397df85 
								
							
								 
							
						 
						
							
							
								
								Stockpile iterator.  
							
							... 
							
							
							
							Efficient way to operate on all items stored on a stockpile.
Doesn't currently check whether the items match the stockpile settings,
but does ignore empty containers assigned to the stockpile. 
							
						 
						
							2014-09-07 13:52:07 -06:00  
				
					
						
							
							
								 
						
							
							
								deee486b81 
								
							
								 
							
						 
						
							
							
								
								Update Maps::SortBlockEvents to include spoors and item spatters  
							
							
							
						 
						
							2014-08-20 10:51:58 -05:00  
				
					
						
							
							
								 
						
							
							
								5add8c433d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:DFHack/dfhack into remote_reader  
							
							... 
							
							
							
							Conflicts:
	plugins/remotefortressreader.cpp 
							
						 
						
							2014-08-15 19:15:00 +05:30  
				
					
						
							
							
								 
						
							
							
								2471c4a68e 
								
							
								 
							
						 
						
							
							
								
								Add a new API for converting between interface_key and string characters.  
							
							... 
							
							
							
							It's necessary now that the simple linear arrangement is broken. 
							
						 
						
							2014-08-11 14:23:19 +04:00  
				
					
						
							
							
								 
						
							
							
								36435ca8cf 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of  https://github.com/quietust/dfhack  into remote_reader  
							
							... 
							
							
							
							Conflicts:
	library/modules/Items.cpp
	library/modules/MapCache.cpp
	library/modules/Maps.cpp
	library/modules/Materials.cpp
	library/modules/Translation.cpp
	plugins/CMakeLists.txt 
							
						 
						
							2014-08-08 20:54:44 +05:30  
				
					
						
							
							
								 
						
							
							
								b7c871eed7 
								
							
								 
							
						 
						
							
							
								
								gave t_matglossPair a few operator overloads so it can be used in std::map  
							
							
							
						 
						
							2014-08-02 17:12:19 +05:30  
				
					
						
							
							
								 
						
							
							
								1450298484 
								
							
								 
							
						 
						
							
							
								
								assumed_identity -> identity  
							
							
							
						 
						
							2014-07-29 16:30:22 -05:00  
				
					
						
							
							
								 
						
							
							
								b598cbb0dd 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:DFHack/dfhack into develop  
							
							
							
						 
						
							2014-07-20 16:43:00 +05:30  
				
					
						
							
							
								 
						
							
							
								a14caa53d0 
								
							
								 
							
						 
						
							
							
								
								Fixed mapcache reading plants in for 0.40.01 onwards.  
							
							
							
						 
						
							2014-07-20 16:41:20 +05:30  
				
					
						
							
							
								 
						
							
							
								2fb8faf3e6 
								
							
								 
							
						 
						
							
							
								
								Added Items::createItem function.  
							
							
							
						 
						
							2014-07-03 10:39:20 -04:00  
				
					
						
							
							
								 
						
							
							
								81c87d0921 
								
							
								 
							
						 
						
							
							
								
								EventManager: INTERACTION event for unit interactions.  
							
							
							
						 
						
							2014-07-03 04:55:12 -04:00  
				
					
						
							
							
								 
						
							
							
								4ac32cfd74 
								
							
								 
							
						 
						
							
							
								
								EventManager: made UNIT_ATTACK trigger for severed body parts.  
							
							
							
						 
						
							2014-07-01 08:58:48 -04:00  
				
					
						
							
							
								 
						
							
							
								961d033ade 
								
							
								 
							
						 
						
							
							
								
								EventManager: unload event for convenience.  
							
							
							
						 
						
							2014-06-29 10:03:55 -04:00  
				
					
						
							
							
								 
						
							
							
								8e7e87ac73 
								
							
								 
							
						 
						
							
							
								
								Added UNIT_ATTACK event to EventManager and exposed it to Lua.  
							
							
							
						 
						
							2014-06-28 02:31:34 -04:00  
				
					
						
							
							
								 
						
							
							
								7313c18a2a 
								
							
								 
							
						 
						
							
							
								
								EventManager/eventful: added ON_REPORT event and exposed it to Lua.  
							
							
							
						 
						
							2014-06-23 09:15:46 -04:00  
				
					
						
							
							
								 
						
							
							
								036aae060b 
								
							
								 
							
						 
						
							
							
								
								Merge lethosor stuff. For some reason, git's auto merge message didn't happen because of git-stash shenanigans. Oh well.  
							
							
							
						 
						
							2014-06-19 22:58:17 -04:00  
				
					
						
							
							
								 
						
							
							
								ef69522d93 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into filesystem-module-pr  
							
							
							
						 
						
							2014-06-18 15:45:42 -04:00  
				
					
						
							
							
								 
						
							
							
								2db73a407d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'manipulator_show_squad' from git://github.com/pierredavidbelanger/dfhack.git into develop  
							
							
							
						 
						
							2014-06-17 10:39:26 +04:00  
				
					
						
							
							
								 
						
							
							
								6fa478de22 
								
							
								 
							
						 
						
							
							
								
								Filesystem module  
							
							... 
							
							
							
							Implements a handful of filesystem-related functions (e.g. chdir, mkdir)
in C++ and Lua. 
							
						 
						
							2014-06-15 22:38:17 -04:00  
				
					
						
							
							
								 
						
							
							
								08b4279c4d 
								
							
								 
							
						 
						
							
							
								
								Document better how to access fields of the interposed class.  
							
							
							
						 
						
							2014-06-10 13:10:10 +04:00  
				
					
						
							
							
								 
						
							
							
								bdcc00f6f7 
								
							
								 
							
						 
						
							
							
								
								Util method (in the Units class) to get a unit squad name (the translated name, or alias if set)  
							
							
							
						 
						
							2014-06-09 21:51:52 -04:00  
				
					
						
							
							
								 
						
							
							
								415cdad489 
								
							
								 
							
						 
						
							
							
								
								Make using new for allocating DF objects with vtables a compile-time error.  
							
							... 
							
							
							
							When done from plugins, it doesn't correctly initialize the vtable
because of some weird things MSVC does, so the only safe way is to
use df::allocate<df::foo>(). For consistency, it is also enforced
for code in the main library. It reveals the issue in the digging
invaders plugin, first found by warmist.
This change is linked to a modification in df-structures codegen. 
							
						 
						
							2014-04-30 21:28:02 +04:00  
				
					
						
							
							
								 
						
							
							
								0f4684f29d 
								
							
								 
							
						 
						
							
							
								
								Add Items::getItemBaseValue and Items::getValue, available from Lua  
							
							
							
						 
						
							2014-04-25 11:04:21 -05:00  
				
					
						
							
							
								 
						
							
							
								c3d45c3a1e 
								
							
								 
							
						 
						
							
							
								
								Add Job::getName(job *), also available from Lua  
							
							
							
						 
						
							2014-04-23 08:03:10 -05:00  
				
					
						
							
							
								 
						
							
							
								c27c38e4c0 
								
							
								 
							
						 
						
							
							
								
								Remove tired or hungry siege operators from duty when at peace.  
							
							... 
							
							
							
							The threshold is set at the level when they start to blink - normally
they would continue on with the job until they get a thirsty/hungry
thought, but immediately run off to eat if they lose the job (thus
refusing to load the engine after firing it). The code checks for
active sieges and whether there is a free replacement unit. 
							
						 
						
							2014-04-15 21:52:39 +04:00  
				
					
						
							
							
								 
						
							
							
								fc9826389b 
								
							
								 
							
						 
						
							
							
								
								Account for meandering movement when predicting unit path in siege engine.  
							
							... 
							
							
							
							The movement is random, but there is an average slowdown coefficient. 
							
						 
						
							2014-04-15 19:50:23 +04:00  
				
					
						
							
							
								 
						
							
							
								7844907204 
								
							
								 
							
						 
						
							
							
								
								Add new API functions for creating announcements and combat reports.  
							
							... 
							
							
							
							Allow specifying the announcement flags directly, and adding unit
combat reports. Also, make announcement functions write the message
to the game log. 
							
						 
						
							2014-04-15 19:50:23 +04:00  
				
					
						
							
							
								 
						
							
							
								788bc55096 
								
							
								 
							
						 
						
							
							
								
								Fix a mistake in the lua resize() method of BitArray.  
							
							
							
						 
						
							2014-04-04 22:33:05 +04:00  
				
					
						
							
							
								 
						
							
							
								e620ae765c 
								
							
								 
							
						 
						
							
							
								
								Add missing import/export info for MersenneRNG::unitvector<>  
							
							
							
						 
						
							2014-03-25 13:30:21 -05:00  
				
					
						
							
							
								 
						
							
							
								6d0e6cf7d5 
								
							
								 
							
						 
						
							
							
								
								remove old unused code from when dfhack was out of process  
							
							
							
						 
						
							2014-02-26 12:44:10 +01:00  
				
					
						
							
							
								 
						
							
							
								7bdb687e4a 
								
							
								 
							
						 
						
							
							
								
								Support calling a lua function via a protobuf request.  
							
							... 
							
							
							
							Previously the only way to call lua code was to call scripts
and parse their output to the stream, which is cumbersome. 
							
						 
						
							2014-02-10 20:09:06 +04:00  
				
					
						
							
							
								 
						
							
							
								329741f235 
								
							
								 
							
						 
						
							
							
								
								EventManager: added EQUIPMENT_CHANGE event and exposed it to lua.  
							
							
							
						 
						
							2013-10-24 19:32:52 -04:00  
				
					
						
							
							
								 
						
							
							
								c409289ee4 
								
							
								 
							
						 
						
							
							
								
								EventManager: TICK events should unregister correctly when requested and after they fire, other tweaks.  
							
							... 
							
							
							
							- fixed unregister to allow unregistering individual TICK events
 - make registerTick return the resulting freq you have to put back in to the handler in order for it to be unregisterable
- when TICK events fire, they now automatically remove themselves from handlers[TICK], as they should
- make sure manageTickEvent fires once per tick 
							
						 
						
							2013-10-20 22:54:25 -04:00  
				
					
						
							
							
								 
						
							
							
								6ef360f4d6 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'warmist/dev-EventManager-lua' into 0.34.11-r4  
							
							
							
						 
						
							2013-10-20 14:52:40 -04:00  
				
					
						
							
							
								 
						
							
							
								0dff26aa23 
								
							
								 
							
						 
						
							
							
								
								Added lua interface (in eventful) for EventManager module.  
							
							
							
						 
						
							2013-10-20 21:44:07 +03:00