3402a3cd5d 
								
							
								 
							
						 
						
							
							
								
								Fix a deadlock problem between suspend in (un)load, and onupdate.  
							
							
							
						 
						
							2012-08-26 14:43:14 +04:00  
				
					
						
							
							
								 
						
							
							
								7f1e4b46bc 
								
							
								 
							
						 
						
							
							
								
								Implement inheritance-aware vmethod interposing.  
							
							... 
							
							
							
							I.e. overwriting the vmethod in all vtables that use it, not only one. 
							
						 
						
							2012-08-26 14:43:14 +04:00  
				
					
						
							
							
								 
						
							
							
								41ad42d0fd 
								
							
								 
							
						 
						
							
							
								
								Expose the liquids plugin engine to lua, and make a wrapper gui script.  
							
							
							
						 
						
							2012-08-25 10:37:03 +04:00  
				
					
						
							
							
								 
						
							
							
								8359e80b23 
								
							
								 
							
						 
						
							
							
								
								Expose a few API functions to lua, and implement a room browser overlay.  
							
							
							
						 
						
							2012-08-24 18:26:18 +04:00  
				
					
						
							
							
								 
						
							
							
								e825dc5ddb 
								
							
								 
							
						 
						
							
							
								
								Tweak the API for current viewscreen, and dispatch show/dismiss from C++.  
							
							
							
						 
						
							2012-08-24 13:20:08 +04:00  
				
					
						
							
							
								 
						
							
							
								c6c5ad56c9 
								
							
								 
							
						 
						
							
							
								
								Track lua event listener count, and let the C++ host know.  
							
							... 
							
							
							
							This allows completely avoiding the call overhead if there
are none. The downside is that the event object now has to
be a userdata with lots of metamethods. 
							
						 
						
							2012-08-23 19:27:28 +04:00  
				
					
						
							
							
								 
						
							
							
								1e28ceff6d 
								
							
								 
							
						 
						
							
							
								
								Add getProfessionColor and getCasteProfessionColor to Units module  
							
							
							
						 
						
							2012-08-22 16:54:00 -05:00  
				
					
						
							
							
								 
						
							
							
								7987ea9a98 
								
							
								 
							
						 
						
							
							
								
								Put some compatibility features into the base dfhack viewscreen.  
							
							
							
						 
						
							2012-08-22 18:18:19 +04:00  
				
					
						
							
							
								 
						
							
							
								8969fc9435 
								
							
								 
							
						 
						
							
							
								
								manipulator: Inherit from dfhack_viewscreen, and don't use itoa.  
							
							
							
						 
						
							2012-08-22 12:23:56 +04:00  
				
					
						
							
							
								 
						
							
							
								51ba252344 
								
							
								 
							
						 
						
							
							
								
								Add Screen::drawBorder(string), duplicates DF's interfacest::drawborder()  
							
							
							
						 
						
							2012-08-21 15:28:11 -05:00  
				
					
						
							
							
								 
						
							
							
								38a07a4ca5 
								
							
								 
							
						 
						
							
							
								
								Export the tile finder function to lua, and improve mouse event reporting.  
							
							
							
						 
						
							2012-08-19 20:00:10 +04:00  
				
					
						
							
							
								 
						
							
							
								30f71ff510 
								
							
								 
							
						 
						
							
							
								
								Implement support for lua-backed viewscreens.  
							
							
							
						 
						
							2012-08-19 14:27:44 +04:00  
				
					
						
							
							
								 
						
							
							
								b8ee52131b 
								
							
								 
							
						 
						
							
							
								
								Add a module for painting tiles into the gps global.  
							
							
							
						 
						
							2012-08-19 09:31:09 +04:00  
				
					
						
							
							
								 
						
							
							
								fd0bf2ef92 
								
							
								 
							
						 
						
							
							
								
								Extract the color enum from color_ostream to toplevel.  
							
							
							
						 
						
							2012-08-19 09:21:25 +04:00  
				
					
						
							
							
								 
						
							
							
								c6694e386f 
								
							
								 
							
						 
						
							
							
								
								Add rather inefficient type_identity wrapping for std::set.  
							
							... 
							
							
							
							Accessing an element is O(N), as if it was walking a list. 
							
						 
						
							2012-08-18 14:34:20 +04:00  
				
					
						
							
							
								 
						
							
							
								24cc8b5c7a 
								
							
								 
							
						 
						
							
							
								
								Expose an API to claim the suspend lock from the Core.  
							
							... 
							
							
							
							Previously it was hard-coded in Core::Update, but interposed
vmethods may need this feature too. 
							
						 
						
							2012-08-18 11:52:38 +04:00  
				
					
						
							
							
								 
						
							
							
								01ba2a31fc 
								
							
								 
							
						 
						
							
							
								
								Tweak the interpose API, and fix a couple of bugs.  
							
							
							
						 
						
							2012-08-18 11:48:07 +04:00  
				
					
						
							
							
								 
						
							
							
								236ffd578b 
								
							
								 
							
						 
						
							
							
								
								Add experimental support for interposing vmethods of known classes.  
							
							... 
							
							
							
							The hairiest bit is the abuse of compiler-specific pointer-to-member
internals in order to provide more or less transparent API. 
							
						 
						
							2012-08-17 22:40:53 +04:00  
				
					
						
							
							
								 
						
							
							
								bcc41c081a 
								
							
								 
							
						 
						
							
							
								
								Add a utility function for patching read-only memory.  
							
							
							
						 
						
							2012-08-17 15:07:48 +04:00  
				
					
						
							
							
								 
						
							
							
								a5977db443 
								
							
								 
							
						 
						
							
							
								
								Merge  https://github.com/jjyg/dfhack  
							
							
							
						 
						
							2012-07-09 01:13:07 +02:00  
				
					
						
							
							
								 
						
							
							
								8e17ebbefc 
								
							
								 
							
						 
						
							
							
								
								add SC_PAUSED / SC_UNPAUSED onStateChange events  
							
							
							
						 
						
							2012-07-05 18:03:02 +02:00  
				
					
						
							
							
								 
						
							
							
								a7a25b80a0 
								
							
								 
							
						 
						
							
							
								
								ruby: use the color_ostream argument from dfhack to output to dfhack-run  
							
							
							
						 
						
							2012-07-03 16:13:15 +02:00  
				
					
						
							
							
								 
						
							
							
								c24333515b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/jjyg/dfhack  
							
							... 
							
							
							
							Conflicts:
	library/Core.cpp
Starting to merge in Ruby stuffs 
							
						 
						
							2012-07-02 11:07:30 -04:00  
				
					
						
							
							
								 
						
							
							
								6f433ff58f 
								
							
								 
							
						 
						
							
							
								
								Move back to using interposition to be more portable  
							
							
							
						 
						
							2012-06-29 10:15:48 -04:00  
				
					
						
							
							
								 
						
							
							
								552da8417e 
								
							
								 
							
						 
						
							
							
								
								ruby: handle .rb files in df/hack/scripts/  
							
							
							
						 
						
							2012-06-24 20:24:46 +02:00  
				
					
						
							
							
								 
						
							
							
								752da9ced5 
								
							
								 
							
						 
						
							
							
								
								Move formatting newly-found globals for symbols.xml to lua code.  
							
							
							
						 
						
							2012-06-21 21:26:25 +04:00  
				
					
						
							
							
								 
						
							
							
								9b941bcd4d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/angavrilov/dfhack  
							
							... 
							
							
							
							Trying out angavrilov's changes 
							
						 
						
							2012-06-18 09:29:20 -04:00  
				
					
						
							
							
								 
						
							
							
								db91850464 
								
							
								 
							
						 
						
							
							
								
								Sync to the change in gamemode/gametype globals.  
							
							
							
						 
						
							2012-06-16 14:42:56 +04:00  
				
					
						
							
							
								 
						
							
							
								c6700585bc 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of github.com:peterix/dfhack  
							
							
							
						 
						
							2012-06-14 09:59:53 -04:00  
				
					
						
							
							
								 
						
							
							
								19595f5225 
								
							
								 
							
						 
						
							
							
								
								Disable a whole bunch of no-longer-necessary debug output  
							
							
							
						 
						
							2012-06-14 09:55:34 -04:00  
				
					
						
							
							
								 
						
							
							
								316973c463 
								
							
								 
							
						 
						
							
							
								
								Re-add fake SDL headers, get rid of real SDL use.  
							
							
							
						 
						
							2012-06-14 02:15:43 +02:00  
				
					
						
							
							
								 
						
							
							
								52f9fe4a6a 
								
							
								 
							
						 
						
							
							
								
								Merge  https://github.com/danaris/dfhack  
							
							... 
							
							
							
							Conflicts:
	depends/clsocket 
							
						 
						
							2012-06-14 00:00:36 +02:00  
				
					
						
							
							
								 
						
							
							
								5e011ac217 
								
							
								 
							
						 
						
							
							
								
								Merge  https://github.com/jjyg/dfhack  
							
							
							
						 
						
							2012-06-13 23:56:26 +02:00  
				
					
						
							
							
								 
						
							
							
								c50b605dfc 
								
							
								 
							
						 
						
							
							
								
								Support casting references and allocating arrays of numbers in lua wrapper.  
							
							
							
						 
						
							2012-06-13 22:26:54 +04:00  
				
					
						
							
							
								 
						
							
							
								95606ee3dc 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of git://github.com/angavrilov/dfhack  
							
							
							
						 
						
							2012-06-11 16:00:00 +02:00  
				
					
						
							
							
								 
						
							
							
								b7edbf2076 
								
							
								 
							
						 
						
							
							
								
								Support 7-argument vmethods.  
							
							
							
						 
						
							2012-06-05 14:00:52 +04:00  
				
					
						
							
							
								 
						
							
							
								b612532348 
								
							
								 
							
						 
						
							
							
								
								export openplugin/lookupplugin from plugin manager  
							
							
							
						 
						
							2012-06-02 23:35:05 +02:00  
				
					
						
							
							
								 
						
							
							
								7ec0fd6fc0 
								
							
								 
							
						 
						
							
							
								
								Trying to set up an autorelease pool, but not yet succeeding.  
							
							
							
						 
						
							2012-05-26 16:08:15 -04:00  
				
					
						
							
							
								 
						
							
							
								1dd4cc5667 
								
							
								 
							
						 
						
							
							
								
								More work on getting dfhack building & compiling on Mac OS X  
							
							
							
						 
						
							2012-05-25 14:28:59 -04:00  
				
					
						
							
							
								 
						
							
							
								44c3afc306 
								
							
								 
							
						 
						
							
							
								
								Merge git://github.com/quietust/dfhack  
							
							... 
							
							
							
							Gotta get the changes that prevent DFHack from crashing. 
							
						 
						
							2012-05-24 15:39:11 -04:00  
				
					
						
							
							
								 
						
							
							
								24d221052b 
								
							
								 
							
						 
						
							
							
								
								Initial changes to get dfhack building on the Mac  
							
							
							
						 
						
							2012-05-24 11:31:20 -04:00  
				
					
						
							
							
								 
						
							
							
								9a73ea9f14 
								
							
								 
							
						 
						
							
							
								
								Cleanup World module to use df::global, and fix crashes when control_mode/game_mode are missing  
							
							
							
						 
						
							2012-05-23 12:51:03 -05:00  
				
					
						
							
							
								 
						
							
							
								b992b04f0b 
								
							
								 
							
						 
						
							
							
								
								Remove stuff that shouldn't be in the core, and expose to lua what's left.  
							
							... 
							
							
							
							Specifically, any "if (verbose) { Core::printerr("blah") }" kind
of stuff definitely doesn't belong in the common API functions.
Also, ref->getUnit() is very expensive.
On the other hand, checks for crash-inducing conflicts with the
ui should be in the core api, and not in client plugins. 
							
						 
						
							2012-05-20 21:57:45 +04:00  
				
					
						
							
							
								 
						
							
							
								d28d240dbd 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'kmartin/master'  
							
							
							
						 
						
							2012-05-20 11:03:41 +04:00  
				
					
						
							
							
								 
						
							
							
								1b4a24c827 
								
							
								 
							
						 
						
							
							
								
								Support using focus strings to limit keybinding scope.  
							
							
							
						 
						
							2012-05-19 21:31:42 +04:00  
				
					
						
							
							
								 
						
							
							
								51f06c78fc 
								
							
								 
							
						 
						
							
							
								
								Merge  https://github.com/playfordh/dfhack  
							
							... 
							
							
							
							Conflicts:
	library/include/modules/Items.h
	library/modules/Items.cpp 
							
						 
						
							2012-05-19 19:09:13 +02:00  
				
					
						
							
							
								 
						
							
							
								7774f5f2c1 
								
							
								 
							
						 
						
							
							
								
								Add a mechanism converting ui focus to a string representation.  
							
							... 
							
							
							
							The idea is to make ui handling more modular, dispensing with
huge functions that switch or if/else on lots of variables.
For now, used to split up functions in the sort plugin. 
							
						 
						
							2012-05-19 19:50:36 +04:00  
				
					
						
							
							
								 
						
							
							
								ed6da7618a 
								
							
								 
							
						 
						
							
							
								
								Merge  https://github.com/warmist/dfhack  
							
							
							
						 
						
							2012-05-18 17:41:09 +02:00  
				
					
						
							
							
								 
						
							
							
								3c44e22760 
								
							
								 
							
						 
						
							
							
								
								Support trade viewscreens in Items::getSelectedItem.  
							
							
							
						 
						
							2012-05-18 17:54:05 +04:00  
				
					
						
							
							
								 
						
							
							
								48185568e9 
								
							
								 
							
						 
						
							
							
								
								Added df::Items::moveToBuilding. Moved item from ground to building, usefull for museum forts (placing items on tables)  
							
							
							
						 
						
							2012-05-18 16:05:29 +03:00  
				
					
						
							
							
								 
						
							
							
								e9ef9b87b5 
								
							
								 
							
						 
						
							
							
								
								Add central locations for onUpdate and onStateChange handling in core.  
							
							
							
						 
						
							2012-05-17 20:04:09 +04:00  
				
					
						
							
							
								 
						
							
							
								27ca317871 
								
							
								 
							
						 
						
							
							
								
								Added new method - Items::moveToInventory(...)  
							
							... 
							
							
							
							Signed-off-by: playfordh <harlanplayford@gmail.com> 
							
						 
						
							2012-05-15 06:01:59 -04:00  
				
					
						
							
							
								 
						
							
							
								87ec1de891 
								
							
								 
							
						 
						
							
							
								
								Improve lua api for tile biome access.  
							
							
							
						 
						
							2012-05-13 13:58:41 +04:00  
				
					
						
							
							
								 
						
							
							
								c6b52067bd 
								
							
								 
							
						 
						
							
							
								
								Request designation rescan in auto-growing burrows.  
							
							... 
							
							
							
							This improves performance of burrowed miners digging 1-wide tunnels. 
							
						 
						
							2012-05-12 20:54:26 +04:00  
				
					
						
							
							
								 
						
							
							
								60bb486aba 
								
							
								 
							
						 
						
							
							
								
								Add api for enabling liquid and temperature updates for blocks.  
							
							... 
							
							
							
							Now updates also have to be enabled for the z level to work. 
							
						 
						
							2012-05-12 20:12:09 +04:00  
				
					
						
							
							
								 
						
							
							
								9ad8d767b4 
								
							
								 
							
						 
						
							
							
								
								Add code for adding abstract buildings and removing constructions.  
							
							
							
						 
						
							2012-05-06 19:09:11 +04:00  
				
					
						
							
							
								 
						
							
							
								b70130cf36 
								
							
								 
							
						 
						
							
							
								
								Add a couple more building api functions.  
							
							
							
						 
						
							2012-05-06 11:22:55 +04:00  
				
					
						
							
							
								 
						
							
							
								3bd44e5367 
								
							
								 
							
						 
						
							
							
								
								Move some things that won't work in dfhack-client to a separate file.  
							
							
							
						 
						
							2012-05-05 21:07:18 +04:00  
				
					
						
							
							
								 
						
							
							
								81f2240c23 
								
							
								 
							
						 
						
							
							
								
								Fix some things that confuse MSVC.  
							
							
							
						 
						
							2012-05-05 20:46:28 +04:00  
				
					
						
							
							
								 
						
							
							
								7e01b004e9 
								
							
								 
							
						 
						
							
							
								
								Implement timeouts in the core lua context, and quicksave script.  
							
							
							
						 
						
							2012-05-04 20:59:06 +04:00  
				
					
						
							
							
								 
						
							
							
								d4d6349f48 
								
							
								 
							
						 
						
							
							
								
								Expose builtin commands to dfhack-run, and add lua script support.  
							
							... 
							
							
							
							Move builtin command implementation to Core methods, and fall
back to hack/scripts/*.lua for otherwise unrecognized commands. 
							
						 
						
							2012-05-04 19:47:18 +04:00  
				
					
						
							
							
								 
						
							
							
								5afe2ca002 
								
							
								 
							
						 
						
							
							
								
								Update dfhack for specific_ref.  
							
							
							
						 
						
							2012-05-03 11:47:04 +04:00  
				
					
						
							
							
								 
						
							
							
								28b5068382 
								
							
								 
							
						 
						
							
							
								
								Allow both coordinate object and (x,y,z) as arguments to getTileBlock.  
							
							
							
						 
						
							2012-05-02 12:50:05 +04:00  
				
					
						
							
							
								 
						
							
							
								eadce95940 
								
							
								 
							
						 
						
							
							
								
								Add a convenience function for designating constructions.  
							
							
							
						 
						
							2012-05-01 19:55:25 +04:00  
				
					
						
							
							
								 
						
							
							
								4cffb6428d 
								
							
								 
							
						 
						
							
							
								
								Update building creation code with new knowledge, and fix zone.  
							
							... 
							
							
							
							Also, document new lua api, and add a more convenient wrapper. 
							
						 
						
							2012-05-01 18:55:30 +04:00  
				
					
						
							
							
								 
						
							
							
								2303a25bde 
								
							
								 
							
						 
						
							
							
								
								Implement unconstructed building instance creation and linking into world.  
							
							... 
							
							
							
							For more flexibility, the base api is split into 3 phases:
alloc, setSize, and construct. No support for non-actual
buildings like stockpiles and activity zones at the moment. 
							
						 
						
							2012-04-29 21:07:39 +04:00  
				
					
						
							
							
								 
						
							
							
								82a0e52a3e 
								
							
								 
							
						 
						
							
							
								
								Add api to check the walkable cache, and update flow_forbid in liquids.  
							
							
							
						 
						
							2012-04-26 18:51:39 +04:00  
				
					
						
							
							
								 
						
							
							
								16ee049664 
								
							
								 
							
						 
						
							
							
								
								Split off the burrows api from Maps and Units.  
							
							
							
						 
						
							2012-04-26 12:56:28 +04:00  
				
					
						
							
							
								 
						
							
							
								6ab270d129 
								
							
								 
							
						 
						
							
							
								
								Retrieve unit noble position info, and use it in getProfessionName.  
							
							
							
						 
						
							2012-04-26 12:03:56 +04:00  
				
					
						
							
							
								 
						
							
							
								763a301b4f 
								
							
								 
							
						 
						
							
							
								
								Add a few more lua api functions, documentation, and unit sort orders.  
							
							... 
							
							
							
							Units::getProfessionName appears to work correctly for
everything except nobles. 
							
						 
						
							2012-04-23 21:30:53 +04:00  
				
					
						
							
							
								 
						
							
							
								125cd6622a 
								
							
								 
							
						 
						
							
							
								
								Support sorting units in many more ui contexts.  
							
							
							
						 
						
							2012-04-22 19:22:00 +04:00  
				
					
						
							
							
								 
						
							
							
								3282ac3db2 
								
							
								 
							
						 
						
							
							
								
								Add a hotkey command that sorts units in lists using lua comparators.  
							
							
							
						 
						
							2012-04-21 15:43:52 +04:00  
				
					
						
							
							
								 
						
							
							
								0a6982f404 
								
							
								 
							
						 
						
							
							
								
								Enable warnings correctly on linux and fix a lot of them.  
							
							
							
						 
						
							2012-04-20 13:30:37 +04:00  
				
					
						
							
							
								 
						
							
							
								d95cc3435f 
								
							
								 
							
						 
						
							
							
								
								Fix lua wrapper sizeof for static arrays.  
							
							... 
							
							
							
							Since it actually depends on the element type, it is more tricky. 
							
						 
						
							2012-04-20 13:04:03 +04:00  
				
					
						
							
							
								 
						
							
							
								0b32d374db 
								
							
								 
							
						 
						
							
							
								
								Implement SOIL/STONE substitution logic, and add compat in mapexport.  
							
							
							
						 
						
							2012-04-19 23:02:30 +04:00  
				
					
						
							
							
								 
						
							
							
								4b87f1bcac 
								
							
								 
							
						 
						
							
							
								
								Refactor MapCache: make it parse everything that is known re tiles & mats.  
							
							
							
						 
						
							2012-04-19 19:17:07 +04:00  
				
					
						
							
							
								 
						
							
							
								f655a0986d 
								
							
								 
							
						 
						
							
							
								
								Sync to changes in the data structure definitions.  
							
							
							
						 
						
							2012-04-19 11:03:29 +04:00  
				
					
						
							
							
								 
						
							
							
								3beb2ebf25 
								
							
								 
							
						 
						
							
							
								
								Export the onStateChange event to core lua context & add some docs.  
							
							
							
						 
						
							2012-04-17 11:45:09 +04:00  
				
					
						
							
							
								 
						
							
							
								7946cafc86 
								
							
								 
							
						 
						
							
							
								
								Merge  https://github.com/jaxad0127/dfhack  
							
							
							
						 
						
							2012-04-16 22:37:07 +02:00  
				
					
						
							
							
								 
						
							
							
								9c25351281 
								
							
								 
							
						 
						
							
							
								
								Add a template to make using lua_pcallk a bit more convenient.  
							
							
							
						 
						
							2012-04-16 18:01:21 +04:00  
				
					
						
							
							
								 
						
							
							
								3e4863bc80 
								
							
								 
							
						 
						
							
							
								
								Integrate coroutines with table-based error handling.  
							
							... 
							
							
							
							Properly attach stack traces to errors passing the resume boundary.
Replaces coroutine.resume and coroutine.wrap with appropriately
modified versions, and adds a Lua::SafeResume function for C++. 
							
						 
						
							2012-04-16 14:45:04 +04:00  
				
					
						
							
							
								 
						
							
							
								48e4717dd2 
								
							
								 
							
						 
						
							
							
								
								Try working around some msvc problems.  
							
							
							
						 
						
							2012-04-16 10:59:55 +04:00  
				
					
						
							
							
								 
						
							
							
								a1756a864c 
								
							
								 
							
						 
						
							
							
								
								Implement a way to do prompts from core context.  
							
							... 
							
							
							
							The trick obviously is doing it without forcing DF to wait suspended.
Fortunately, lua has built-in coroutine support, so the interactive
prompt can simply yield and rely on the external loop to do the job.
To use this however the REPL had to be replaced with lua code. 
							
						 
						
							2012-04-15 21:50:22 +04:00  
				
					
						
							
							
								 
						
							
							
								14709e5d45 
								
							
								 
							
						 
						
							
							
								
								Add an official core lua context, and allow plugins to send events to it.  
							
							... 
							
							
							
							- This context requires core suspend lock and asserts it in a few places.
- Special 'event' objects are introduced. They can be invoked as
  functions, in which case they iterate all their fields and call
  them as functions. Errors are printed and consumed.
- When a plugin is opened by the core context, events registered in
  a special array are linked to it. The system is organized so as to
  avoid even trying to pass the event to lua if the module isn't loaded. 
							
						 
						
							2012-04-15 19:09:25 +04:00  
				
					
						
							
							
								 
						
							
							
								f3c7a685f5 
								
							
								 
							
						 
						
							
							
								
								Make tiletypes more useful  
							
							... 
							
							
							
							* Paint, filter, and brush state is now saved between calls.
 * Added 'all' paint option to set material, shape, special, and variant at
      the same time.
 * Added tiletypes-here (like liquids here, except is uses the saved brush
      settings)
 * Added tiletypes-here-point (like liquids here, always only the tile under
      the cursor)
 * Added tiletypes-command: runs tiletypes commands seperated by ';' tokens
      (affects saved state)
 * Make the internal workings match liquids a bit more
 * Give brush objects a descriptor string
 * Make Core::cheap_tokenise available 
							
						 
						
							2012-04-15 08:40:19 -06:00  
				
					
						
							
							
								 
						
							
							
								cb27a1d839 
								
							
								 
							
						 
						
							
							
								
								Fix typo in the 1MB constant.  
							
							
							
						 
						
							2012-04-15 11:31:05 +04:00  
				
					
						
							
							
								 
						
							
							
								fc38371b29 
								
							
								 
							
						 
						
							
							
								
								Clean up some chaos in old code.  
							
							
							
						 
						
							2012-04-15 01:15:15 +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  
				
					
						
							
							
								 
						
							
							
								7a34a89f53 
								
							
								 
							
						 
						
							
							
								
								Add burrow subcommands to modify burrow unit and tile sets.  
							
							
							
						 
						
							2012-04-14 14:12:59 +04:00  
				
					
						
							
							
								 
						
							
							
								2f54a48e63 
								
							
								 
							
						 
						
							
							
								
								Add a plugin that makes selected burrows auto-grow on digging.  
							
							
							
						 
						
							2012-04-13 21:41:42 +04:00  
				
					
						
							
							
								 
						
							
							
								37cfb1fdcd 
								
							
								 
							
						 
						
							
							
								
								Add unit position and container api.  
							
							
							
						 
						
							2012-04-13 16:10:19 +04:00  
				
					
						
							
							
								 
						
							
							
								2d8611a480 
								
							
								 
							
						 
						
							
							
								
								Add core api for moving items between ground and containers.  
							
							
							
						 
						
							2012-04-12 18:37:27 +04: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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								c7b922250b 
								
							
								 
							
						 
						
							
							
								
								More maps api refactoring and renaming.  
							
							... 
							
							
							
							getBlockAbs is a very confusing name; getTileBlock is better. 
							
						 
						
							2012-04-11 12:01:27 +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  
				
					
						
							
							
								 
						
							
							
								93c795cfc3 
								
							
								 
							
						 
						
							
							
								
								Job module api tweaks: add a namespace to match others and some funcs.  
							
							
							
						 
						
							2012-04-10 11:43:36 +04:00