9f95e67c75 
								
							
								 
							
						 
						
							
							
								
								tweak makeown: converts MERCHANT to TRADER (otherwise you can't assign jobs to kidnapped merchants.  
							
							... 
							
							
							
							zone: fixed a bug which could lead to units being assigned to more than one cage and/or accidentally marked for slaughter 
							
						 
						
							2012-04-14 19:06:03 +02:00  
				
					
						
							
							
								 
						
							
							
								cb49c92b99 
								
							
								 
							
						 
						
							
							
								
								Allow plugins to export functions to lua with safe reload support.  
							
							... 
							
							
							
							- To ensure reload safety functions have to be wrapped. Every call
  checks the loaded state and locks a mutex in Plugin. If the plugin
  is unloaded, calling its functions throws a lua error. Therefore,
  plugins may not create closures or export yieldable functions.
- The set of function argument and return types supported by
  LuaWrapper is severely limited when compared to being compiled
  inside the main library.
  Currently supported types: numbers, bool, std::string, df::foo,
  df::foo*, std::vector<bool>, std::vector<df::foo*>.
- To facilitate postponing initialization until after all plugins
  have been loaded, the core sends a SC_CORE_INITIALIZED event.
- As an example, the burrows plugin now exports its functions. 
							
						 
						
							2012-04-14 19:44:07 +04:00  
				
					
						
							
							
								 
						
							
							
								0b200b44d5 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'angavrilov/master'  
							
							
							
						 
						
							2012-04-14 10:35:37 -05:00  
				
					
						
							
							
								 
						
							
							
								ebd3e9c9cf 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'rh73/master'  
							
							
							
						 
						
							2012-04-14 10:35:29 -05:00  
				
					
						
							
							
								 
						
							
							
								9f057c41af 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master'  
							
							
							
						 
						
							2012-04-14 10:35:22 -05:00  
				
					
						
							
							
								 
						
							
							
								bbf28eb33d 
								
							
								 
							
						 
						
							
							
								
								Disable df2minecraft again.  
							
							
							
						 
						
							2012-04-14 14:15:46 +02:00  
				
					
						
							
							
								 
						
							
							
								2100a95ad5 
								
							
								 
							
						 
						
							
							
								
								zone: fixed major derp (assign commands would accidentally free caged creatures). tweak: added cheat to kidnap caravan escorts (works fine even for other races, does NOT work for traders because they can't be assigned any labors for whatever reason)  
							
							
							
						 
						
							2012-04-14 13:36:22 +02:00  
				
					
						
							
							
								 
						
							
							
								a2a47c5d63 
								
							
								 
							
						 
						
							
							
								
								Fix to init (no need to add " around). Added experimental (crashy as hell) tools.project  
							
							
							
						 
						
							2012-04-14 13:30:48 +03:00  
				
					
						
							
							
								 
						
							
							
								7a34a89f53 
								
							
								 
							
						 
						
							
							
								
								Add burrow subcommands to modify burrow unit and tile sets.  
							
							
							
						 
						
							2012-04-14 14:12:59 +04:00  
				
					
						
							
							
								 
						
							
							
								7c5e49a071 
								
							
								 
							
						 
						
							
							
								
								Merged in some library additions from angavrilov necessary for the burrow plugin  
							
							
							
						 
						
							2012-04-13 20:45:40 -05:00  
				
					
						
							
							
								 
						
							
							
								0387a3c017 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'angavrilov/master'  
							
							
							
						 
						
							2012-04-13 15:36:18 -05:00  
				
					
						
							
							
								 
						
							
							
								2f54a48e63 
								
							
								 
							
						 
						
							
							
								
								Add a plugin that makes selected burrows auto-grow on digging.  
							
							
							
						 
						
							2012-04-13 21:41:42 +04:00  
				
					
						
							
							
								 
						
							
							
								f85810c1e2 
								
							
								 
							
						 
						
							
							
								
								ruby: move enum constants up one level, allow pointer arithmetic (world.map.block_index), fix StaticArray, add map test  
							
							
							
						 
						
							2012-04-13 19:31:12 +02:00  
				
					
						
							
							
								 
						
							
							
								bf4bd1f034 
								
							
								 
							
						 
						
							
							
								
								ruby: fix vectors of pointers, fix global enum fields  
							
							
							
						 
						
							2012-04-13 17:19:53 +02:00  
				
					
						
							
							
								 
						
							
							
								3044da5887 
								
							
								 
							
						 
						
							
							
								
								ruby: add global-objects, add bitfield._whole, make StlVector enumerable  
							
							
							
						 
						
							2012-04-13 16:17:56 +02:00  
				
					
						
							
							
								 
						
							
							
								37cfb1fdcd 
								
							
								 
							
						 
						
							
							
								
								Add unit position and container api.  
							
							
							
						 
						
							2012-04-13 16:10:19 +04:00  
				
					
						
							
							
								 
						
							
							
								fba83bb597 
								
							
								 
							
						 
						
							
							
								
								tweak fixmigrant: updated readme.rst  
							
							
							
						 
						
							2012-04-12 22:48:46 +02:00  
				
					
						
							
							
								 
						
							
							
								09608467c1 
								
							
								 
							
						 
						
							
							
								
								tweak fixmigrant: updated help text  
							
							
							
						 
						
							2012-04-12 22:44:53 +02:00  
				
					
						
							
							
								 
						
							
							
								f503bf36f4 
								
							
								 
							
						 
						
							
							
								
								ruby: set everything up  
							
							
							
						 
						
							2012-04-12 19:12:46 +02:00  
				
					
						
							
							
								 
						
							
							
								2d8611a480 
								
							
								 
							
						 
						
							
							
								
								Add core api for moving items between ground and containers.  
							
							
							
						 
						
							2012-04-12 18:37:27 +04:00  
				
					
						
							
							
								 
						
							
							
								7331485b46 
								
							
								 
							
						 
						
							
							
								
								removed tweak-merchant and tweak-resident, combined both commands into tweak-migrant. added worn items to their uniform so they don't drop their clothes instantly  
							
							
							
						 
						
							2012-04-12 14:40:39 +02:00  
				
					
						
							
							
								 
						
							
							
								38a8c43a25 
								
							
								 
							
						 
						
							
							
								
								Reverse-rebase the vtable pointers printed to stderr.log.  
							
							
							
						 
						
							2012-04-12 11:21:25 +04:00  
				
					
						
							
							
								 
						
							
							
								583ccdcc0c 
								
							
								 
							
						 
						
							
							
								
								Support pre-initializing vtable pointers from symbols.xml  
							
							
							
						 
						
							2012-04-12 10:54:53 +04:00  
				
					
						
							
							
								 
						
							
							
								cdf4298f5a 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'rh73/master'  
							
							
							
						 
						
							2012-04-11 21:49:03 -05:00  
				
					
						
							
							
								 
						
							
							
								2caf3fb064 
								
							
								 
							
						 
						
							
							
								
								tweak: removed stuff, added new command 'fixmigrants' which will deal with merchants (traders) and other types of bugged migrants. having more than one command for a bug which is basically the same makes no sense.  
							
							
							
						 
						
							2012-04-11 22:29:56 +02:00  
				
					
						
							
							
								 
						
							
							
								d874c3b538 
								
							
								 
							
						 
						
							
							
								
								Track stonesense  
							
							
							
						 
						
							2012-04-11 21:33:45 +02:00  
				
					
						
							
							
								 
						
							
							
								42e4fa79c7 
								
							
								 
							
						 
						
							
							
								
								tweak clear-merchant, clear-resident: mark the clothes the migrants wear as "owned" (they still drop them, though. needs more fixes)  
							
							
							
						 
						
							2012-04-11 21:07:54 +02:00  
				
					
						
							
							
								 
						
							
							
								09aad951a6 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://github.com/angavrilov/dfhack  
							
							
							
						 
						
							2012-04-11 18:23:01 +02:00  
				
					
						
							
							
								 
						
							
							
								2cf078419b 
								
							
								 
							
						 
						
							
							
								
								cprobe: list items worn by unit and checks if they are owned or not  
							
							
							
						 
						
							2012-04-11 18:22:39 +02:00  
				
					
						
							
							
								 
						
							
							
								5d5502ae34 
								
							
								 
							
						 
						
							
							
								
								Update the item owner modification api and export it to lua.  
							
							
							
						 
						
							2012-04-11 20:10:31 +04:00  
				
					
						
							
							
								 
						
							
							
								0c2b78b96b 
								
							
								 
							
						 
						
							
							
								
								Add api for manipulating burrows to the core.  
							
							
							
						 
						
							2012-04-11 19:42:05 +04:00  
				
					
						
							
							
								 
						
							
							
								e8e8f29328 
								
							
								 
							
						 
						
							
							
								
								regrass: fix  
							
							
							
						 
						
							2012-04-11 17:01:20 +02:00  
				
					
						
							
							
								 
						
							
							
								61245711f7 
								
							
								 
							
						 
						
							
							
								
								Export a few maps functions to lua.  
							
							
							
						 
						
							2012-04-11 16:20:16 +04:00  
				
					
						
							
							
								 
						
							
							
								ae7ce9e5d7 
								
							
								 
							
						 
						
							
							
								
								zone: fixed assigning to pit/pond. regrass: look for grass events in the map block, increase amount of grass at map position instead of simply changing the tile type  
							
							
							
						 
						
							2012-04-11 14:08:47 +02:00  
				
					
						
							
							
								 
						
							
							
								c7b922250b 
								
							
								 
							
						 
						
							
							
								
								More maps api refactoring and renaming.  
							
							... 
							
							
							
							getBlockAbs is a very confusing name; getTileBlock is better. 
							
						 
						
							2012-04-11 12:01:27 +04:00  
				
					
						
							
							
								 
						
							
							
								8c40a27ea0 
								
							
								 
							
						 
						
							
							
								
								Add unit_misc_trait list to BasicUnitInfo protobuf API.  
							
							
							
						 
						
							2012-04-10 20:42:23 -04:00  
				
					
						
							
							
								 
						
							
							
								6cf8220f28 
								
							
								 
							
						 
						
							
							
								
								Add SetUnitLabors protobuf API.  
							
							
							
						 
						
							2012-04-10 20:41:54 -04:00  
				
					
						
							
							
								 
						
							
							
								59ddbfacb7 
								
							
								 
							
						 
						
							
							
								
								Implement item occupancy tracking in MapCache.  
							
							
							
						 
						
							2012-04-10 20:19:41 +04:00  
				
					
						
							
							
								 
						
							
							
								b15d2da819 
								
							
								 
							
						 
						
							
							
								
								Get rid of some obsolete api functions, and restructure MapCache.  
							
							
							
						 
						
							2012-04-10 18:21:19 +04:00  
				
					
						
							
							
								 
						
							
							
								7d0cfb7e80 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://github.com/angavrilov/dfhack  
							
							
							
						 
						
							2012-04-10 10:18:38 +02:00  
				
					
						
							
							
								 
						
							
							
								249be0c1a0 
								
							
								 
							
						 
						
							
							
								
								Change SC_MAP_LOADED handling: only NULL/not NULL change is meaningful.  
							
							
							
						 
						
							2012-04-10 12:11:00 +04:00  
				
					
						
							
							
								 
						
							
							
								93c795cfc3 
								
							
								 
							
						 
						
							
							
								
								Job module api tweaks: add a namespace to match others and some funcs.  
							
							
							
						 
						
							2012-04-10 11:43:36 +04:00  
				
					
						
							
							
								 
						
							
							
								f8123c3b40 
								
							
								 
							
						 
						
							
							
								
								zone: can now assign to and from built cages. autobutcher: fixed initializing when getting SC_MAP_LOADED event while a map is currently running  
							
							
							
						 
						
							2012-04-10 09:15:38 +02:00  
				
					
						
							
							
								 
						
							
							
								0e0740fddf 
								
							
								 
							
						 
						
							
							
								
								Stop printall(df.global) from breaking if there are unknown addresses.  
							
							
							
						 
						
							2012-04-10 10:34:03 +04:00  
				
					
						
							
							
								 
						
							
							
								b2d976b06b 
								
							
								 
							
						 
						
							
							
								
								zone tool: added new filter 'nograzer'  
							
							
							
						 
						
							2012-04-10 04:10:07 +02:00  
				
					
						
							
							
								 
						
							
							
								674337e3ae 
								
							
								 
							
						 
						
							
							
								
								added tweak clear-resident which fixes bugged migrants and makes them proper members of the fortress. added tweak clear-merchant which assimilates merchants who linger at the map edge into the fortress. updated readme.rst  
							
							
							
						 
						
							2012-04-10 00:22:38 +02:00  
				
					
						
							
							
								 
						
							
							
								e26fbd4e4c 
								
							
								 
							
						 
						
							
							
								
								minor: updated readme.rst  
							
							
							
						 
						
							2012-04-09 18:46:43 +02:00  
				
					
						
							
							
								 
						
							
							
								37f3056fdd 
								
							
								 
							
						 
						
							
							
								
								autobutcher: fixed behaviour of keywords 'all' and 'new'. (didn't work properly with watch, unwatch and forget)  
							
							
							
						 
						
							2012-04-09 18:36:01 +02:00  
				
					
						
							
							
								 
						
							
							
								64a7168b83 
								
							
								 
							
						 
						
							
							
								
								added a usage example for 'autobutcher unwatch' to readme.rst  
							
							
							
						 
						
							2012-04-09 16:19:06 +02:00  
				
					
						
							
							
								 
						
							
							
								8ae774fbd5 
								
							
								 
							
						 
						
							
							
								
								fixed wrong description of the behaviour for using keyword 'all' in autobutcher (affects all races on the watchlist, not all races in your fort)  
							
							
							
						 
						
							2012-04-09 16:02:03 +02:00