27343e3253 
								
							
								 
							
						 
						
							
							
								
								Add unit and tile visibility functions  
							
							
							
						 
						
							2017-06-10 21:54:08 -04:00  
				
					
						
							
							
								 
						
							
							
								9b63c451b1 
								
							
								 
							
						 
						
							
							
								
								Expose getUnitsInBox to Lua  
							
							
							
						 
						
							2017-06-10 21:03:42 -04:00  
				
					
						
							
							
								 
						
							
							
								778ffb0971 
								
							
								 
							
						 
						
							
							
								
								More Units module cleanup, modernize getUnitsInBox  
							
							
							
						 
						
							2017-06-10 21:02:30 -04:00  
				
					
						
							
							
								 
						
							
							
								dff94fc97e 
								
							
								 
							
						 
						
							
							
								
								replacment -> replacement  
							
							
							
						 
						
							2017-06-10 19:41:59 -04:00  
				
					
						
							
							
								 
						
							
							
								0ed7e60522 
								
							
								 
							
						 
						
							
							
								
								getAnyUnit: support viewscreen_layer_unit_relationshipst  
							
							
							
						 
						
							2017-06-10 19:06:43 -04:00  
				
					
						
							
							
								 
						
							
							
								1321a64613 
								
							
								 
							
						 
						
							
							
								
								Remove lots of old/unused functions from the Units module  
							
							
							
						 
						
							2017-06-10 17:21:34 -04:00  
				
					
						
							
							
								 
						
							
							
								ba68683964 
								
							
								 
							
						 
						
							
							
								
								Fix ncurses wgetch() on OS X  
							
							... 
							
							
							
							Ref #731  
							
						 
						
							2017-06-08 13:05:31 -04:00  
				
					
						
							
							
								 
						
							
							
								8d23660d55 
								
							
								 
							
						 
						
							
							
								
								Expose Gui::getAny* to Lua  
							
							
							
						 
						
							2017-06-08 11:21:30 -04:00  
				
					
						
							
							
								 
						
							
							
								047a66030b 
								
							
								 
							
						 
						
							
							
								
								getAnyUnit: add support for viewscreen_unitst, viewscreen_textviewerst  
							
							
							
						 
						
							2017-06-07 20:51:40 -04:00  
				
					
						
							
							
								 
						
							
							
								da98a5054d 
								
							
								 
							
						 
						
							
							
								
								Make sc-script help more helpful  
							
							
							
						 
						
							2017-06-04 19:24:26 -04:00  
				
					
						
							
							
								 
						
							
							
								92c2e52e45 
								
							
								 
							
						 
						
							
							
								
								Fix MSVC error  
							
							
							
						 
						
							2017-06-02 21:22:19 -04:00  
				
					
						
							
							
								 
						
							
							
								4eb767c3f0 
								
							
								 
							
						 
						
							
							
								
								Expose getDepthAt() to Lua  
							
							
							
						 
						
							2017-06-02 15:39:49 -04:00  
				
					
						
							
							
								 
						
							
							
								ae1aa49089 
								
							
								 
							
						 
						
							
							
								
								Add map parameter to Lua paintTile() and use in Painter  
							
							... 
							
							
							
							Also updated gui/siege-engine.lua 
							
						 
						
							2017-06-02 12:42:51 -04:00  
				
					
						
							
							
								 
						
							
							
								9df35dd844 
								
							
								 
							
						 
						
							
							
								
								revealInDwarfmodeMap: use map y dimensions  
							
							
							
						 
						
							2017-06-02 00:40:59 -04:00  
				
					
						
							
							
								 
						
							
							
								43c4a88068 
								
							
								 
							
						 
						
							
							
								
								Move some checks in paintTile/readTile after hooks are called  
							
							
							
						 
						
							2017-06-02 00:40:14 -04:00  
				
					
						
							
							
								 
						
							
							
								346e8b91a9 
								
							
								 
							
						 
						
							
							
								
								Use getDwarfmodeViewDims() in getPanelLayout()  
							
							... 
							
							
							
							Allows C++ hooks to affect Lua scripts as well 
							
						 
						
							2017-06-01 23:36:02 -04:00  
				
					
						
							
							
								 
						
							
							
								05f322ca30 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'lethosor/lua-dmdims' into develop  
							
							
							
						 
						
							2017-06-01 23:34:35 -04:00  
				
					
						
							
							
								 
						
							
							
								b28742cbd0 
								
							
								 
							
						 
						
							
							
								
								Respect script path when running ruby scripts  
							
							... 
							
							
							
							Fixes  #1099  
						
							2017-06-01 16:20:26 -04:00  
				
					
						
							
							
								 
						
							
							
								d41ff4e836 
								
							
								 
							
						 
						
							
							
								
								Implement map parameters for Lua paintString() and fillRect(), update docs  
							
							
							
						 
						
							2017-06-01 16:17:59 -04:00  
				
					
						
							
							
								 
						
							
							
								939aff3231 
								
							
								 
							
						 
						
							
							
								
								readTile(): add hook support and map parameter  
							
							
							
						 
						
							2017-05-31 12:12:15 -04:00  
				
					
						
							
							
								 
						
							
							
								f4e18b2d87 
								
							
								 
							
						 
						
							
							
								
								Lua: implement to_first argument in dfhack.screen.dismiss()  
							
							... 
							
							
							
							This was mentioned in Lua API.rst, but never actually implemented. 
							
						 
						
							2017-05-30 09:17:09 -04:00  
				
					
						
							
							
								 
						
							
							
								e51c5fc2cc 
								
							
								 
							
						 
						
							
							
								
								Allow key_pen option in some widget text  
							
							
							
						 
						
							2017-05-28 23:11:37 -04:00  
				
					
						
							
							
								 
						
							
							
								f59be2a9a0 
								
							
								 
							
						 
						
							
							
								
								Expand focus strings for jobmanagement and workquota_condition viewscreens  
							
							
							
						 
						
							2017-05-27 00:57:16 -04:00  
				
					
						
							
							
								 
						
							
							
								8600efd06b 
								
							
								 
							
						 
						
							
							
								
								Make git-describe faster if no git index files have changed  
							
							... 
							
							
							
							Running "git commit" in core and xml touches .git/index and
.git/modules/library/xml/index, respectively, so if neither of those have
changed, neither has the git information we care about, so avoid running git
entirely (which can be slow sometimes). 
							
						 
						
							2017-05-20 16:27:14 -04:00  
				
					
						
							
							
								 
						
							
							
								b92095190f 
								
							
								 
							
						 
						
							
							
								
								Update stonesense, scripts, xml  
							
							
							
						 
						
							2017-05-18 20:52:41 -04:00  
				
					
						
							
							
								 
						
							
							
								01c6416824 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2017-05-13 21:56:08 -04:00  
				
					
						
							
							
								 
						
							
							
								787c54d8a7 
								
							
								 
							
						 
						
							
							
								
								Remove several unused CMake and Doxygen files  
							
							
							
						 
						
							2017-05-11 22:01:57 -04:00  
				
					
						
							
							
								 
						
							
							
								9e32269e90 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2017-05-09 13:52:26 -04:00  
				
					
						
							
							
								 
						
							
							
								8bda738466 
								
							
								 
							
						 
						
							
							
								
								df_expr_to_ref: support integer array indices  
							
							
							
						 
						
							2017-05-07 16:31:30 -04:00  
				
					
						
							
							
								 
						
							
							
								55931703ac 
								
							
								 
							
						 
						
							
							
								
								Designate the correct tile for trees with multi-tile trunks  
							
							... 
							
							
							
							DF always designates the southeast trunk tile, while plant.pos is the center,
which is sometimes inaccessible (see #1014 ) 
							
						 
						
							2017-05-05 21:25:25 -04:00  
				
					
						
							
							
								 
						
							
							
								adb14491d0 
								
							
								 
							
						 
						
							
							
								
								Fix loop in Designations::unmarkPlant()  
							
							
							
						 
						
							2017-05-05 17:24:51 -04:00  
				
					
						
							
							
								 
						
							
							
								81610d0259 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2017-05-05 14:49:32 -04:00  
				
					
						
							
							
								 
						
							
							
								d3c496cc2b 
								
							
								 
							
						 
						
							
							
								
								Add getSelectedPlant() and related functions  
							
							... 
							
							
							
							Currently only works with the center tile of multi-tile trees 
							
						 
						
							2017-05-05 14:45:46 -04:00  
				
					
						
							
							
								 
						
							
							
								1e469453fc 
								
							
								 
							
						 
						
							
							
								
								Add Designations module, currently supporting plant/tree designations  
							
							... 
							
							
							
							This makes it easier for tools to properly handle designating and undesignating
trees for chopping and plants for gathering, which changed significantly in
0.40.20.
Ref #531  (?), #656 , #1014 , #1018 , #1030 , #1076  
							
						 
						
							2017-05-04 21:47:12 -04:00  
				
					
						
							
							
								 
						
							
							
								e3258defd7 
								
							
								 
							
						 
						
							
							
								
								Expose Gui::revealInDwarfmodeMap() to Lua  
							
							... 
							
							
							
							Closes  #1085  
						
							2017-05-04 14:37:14 -04:00  
				
					
						
							
							
								 
						
							
							
								cd5944689c 
								
							
								 
							
						 
						
							
							
								
								Use find_package() to find Perl, and run it earlier  
							
							... 
							
							
							
							Previously, PERL_EXECUTABLE was set manually in library/CMakeLists.txt, which
caused gunzip.pl to fail if was run before that happened. 
							
						 
						
							2017-04-30 17:36:42 -04:00  
				
					
						
							
							
								 
						
							
							
								71b553b305 
								
							
								 
							
						 
						
							
							
								
								Add a few functions to retrieve unit social activities  
							
							
							
						 
						
							2017-04-28 17:25:58 -04:00  
				
					
						
							
							
								 
						
							
							
								318cf92f0b 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1079  from Amostubal/patch-1  
							
							... 
							
							
							
							fix of relations errors. 
							
						 
						
							2017-04-25 21:21:03 -04:00  
				
					
						
							
							
								 
						
							
							
								bc47803948 
								
							
								 
							
						 
						
							
							
								
								fix of relations errors.  
							
							... 
							
							
							
							There is a lot more errors in this file, mostly called unk variables... I bet they have names, I've tried to figure out what they were renamed too, but I'm not fully understanding the xml. 
							
						 
						
							2017-04-24 07:07:08 -05:00  
				
					
						
							
							
								 
						
							
							
								9d5b69cb20 
								
							
								 
							
						 
						
							
							
								
								git-describe.cmake: use 8-digit git commit abbreviations  
							
							... 
							
							
							
							The length here was previously determined automatically, and jumped from 7 to 8
recently, breaking devel/check-release. Since Git seems to think 8 characters is
better now, specify it explicitly to avoid future breakages. 
							
						 
						
							2017-04-23 18:16:00 -04:00  
				
					
						
							
							
								 
						
							
							
								3cfbd735dc 
								
							
								 
							
						 
						
							
							
								
								Update xml, stonesense, scripts  
							
							
							
						 
						
							2017-04-23 17:14:22 -04:00  
				
					
						
							
							
								 
						
							
							
								78cb4a31b9 
								
							
								 
							
						 
						
							
							
								
								New tweak: condition-material (fixes bug 9905)  
							
							... 
							
							
							
							http://www.bay12games.com/dwarves/mantisbt/view.php?id=9905  
						
							2017-03-28 09:50:38 -04:00  
				
					
						
							
							
								 
						
							
							
								fa1adbbac4 
								
							
								 
							
						 
						
							
							
								
								Allow lua integer writes to accept anything that can be converted to an integer  
							
							... 
							
							
							
							May address #1044  
							
						 
						
							2017-03-18 17:55:51 -04:00  
				
					
						
							
							
								 
						
							
							
								400d22cb76 
								
							
								 
							
						 
						
							
							
								
								Update xml (ui_advmode_menu and ui_unit_view_mode)  
							
							
							
						 
						
							2017-03-18 00:35:16 -04:00  
				
					
						
							
							
								 
						
							
							
								67f39316ce 
								
							
								 
							
						 
						
							
							
								
								Update xml (assorted viewscreen changes)  
							
							
							
						 
						
							2017-03-02 14:05:34 -05:00  
				
					
						
							
							
								 
						
							
							
								334817fa1b 
								
							
								 
							
						 
						
							
							
								
								Add Lua API functions to determine architecture  
							
							
							
						 
						
							2017-03-02 14:04:34 -05:00  
				
					
						
							
							
								 
						
							
							
								15759808e5 
								
							
								 
							
						 
						
							
							
								
								Fix "plug" output width for generated-creature-renamer  
							
							
							
						 
						
							2017-03-02 14:04:20 -05:00  
				
					
						
							
							
								 
						
							
							
								c21b7bf941 
								
							
								 
							
						 
						
							
							
								
								Add a Painter:key_string() method  
							
							
							
						 
						
							2017-03-01 15:56:50 -05:00  
				
					
						
							
							
								 
						
							
							
								19695b4ee7 
								
							
								 
							
						 
						
							
							
								
								EventManager/eventful: Pass building ID pointers to event handlers  
							
							... 
							
							
							
							Previously, there was some disagreement over whether event handlers such as
Buildings::updateBuildings() took building pointers or building IDs shoved
into pointers. It turned out to be the latter, which, unfortunately, did not
compile on x64. Passing building IDs isn't possible in all cases, because
building event handlers can be called for recently-deleted buildings too.
Pointers to building IDs do work reliably, though.
Fixes  #1003  
							
						 
						
							2017-02-17 22:53:48 -05:00  
				
					
						
							
							
								 
						
							
							
								a10d4ae226 
								
							
								 
							
						 
						
							
							
								
								Add viewscreen::feed_key method  
							
							
							
						 
						
							2017-02-11 16:53:50 -05:00