7426f08504 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix Error.cpp compile for Windows  
							
							
							
						 
						
							2018-02-07 10:40:52 -06:00  
				
					
						
							
							
								 
						
							
							
								c1e2633e17 
								
							
								 
							
						 
						
							
							
								
								Refactor DFHack exception classes  
							
							... 
							
							
							
							Move implementations out of MiscUtils.cpp to Error.cpp and make what() return a
more useful description 
							
						 
						
							2018-02-05 19:18:35 -05:00  
				
					
						
							
							
								 
						
							
							
								1ba5477b63 
								
							
								 
							
						 
						
							
							
								
								Add designation priority support to MapCache and dig plugin  
							
							... 
							
							
							
							Fixes  #481  
						
							2018-01-21 19:27:16 -05:00  
				
					
						
							
							
								 
						
							
							
								0332a5c25a 
								
							
								 
							
						 
						
							
							
								
								Replace a call to abort() with a VTableMissing exception  
							
							... 
							
							
							
							This makes some scripts crash less when the viewscreen vtable is unavailable,
for example. 
							
						 
						
							2017-12-25 20:13:15 -05:00  
				
					
						
							
							
								 
						
							
							
								4edc7a6f43 
								
									
								
							
								 
							
						 
						
							
							
								
								update DataFuncs to support vmethods with 12-13 parameters ( #1192 )  
							
							
							
						 
						
							2017-12-02 21:41:44 -06:00  
				
					
						
							
							
								 
						
							
							
								2c95ac411e 
								
							
								 
							
						 
						
							
							
								
								Update xml and all uses of job_handler  
							
							
							
						 
						
							2017-11-25 00:59:59 -05:00  
				
					
						
							
							
								 
						
							
							
								17a7885ef2 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix a bunch of 64-bit Windows warnings  
							
							
							
						 
						
							2017-07-21 13:30:05 -05:00  
				
					
						
							
							
								 
						
							
							
								10e13c532a 
								
							
								 
							
						 
						
							
							
								
								Add "tweak cage-butcher" and some extra Building module functions  
							
							... 
							
							
							
							* Buildings::markedForRemoval()
* Buildings::getCageOccupants()
Closes  #906  
							
						 
						
							2017-06-25 15:27:21 -04:00  
				
					
						
							
							
								 
						
							
							
								ae809afde7 
								
							
								 
							
						 
						
							
							
								
								Add Gui::refreshSidebar()  
							
							... 
							
							
							
							This handles feeding CURSOR_DOWN_Z and CURSOR_UP_Z properly, avoiding issues
when on the lowest z-level. 
							
						 
						
							2017-06-23 00:02:21 -04:00  
				
					
						
							
							
								 
						
							
							
								0796fafb2a 
								
							
								 
							
						 
						
							
							
								
								Add new built-in "alias" command  
							
							... 
							
							
							
							Closes  #701  
						
							2017-06-19 00:15:20 -04:00  
				
					
						
							
							
								 
						
							
							
								27343e3253 
								
							
								 
							
						 
						
							
							
								
								Add unit and tile visibility functions  
							
							
							
						 
						
							2017-06-10 21:54:08 -04:00  
				
					
						
							
							
								 
						
							
							
								778ffb0971 
								
							
								 
							
						 
						
							
							
								
								More Units module cleanup, modernize getUnitsInBox  
							
							
							
						 
						
							2017-06-10 21:02:30 -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  
				
					
						
							
							
								 
						
							
							
								43c4a88068 
								
							
								 
							
						 
						
							
							
								
								Move some checks in paintTile/readTile after hooks are called  
							
							
							
						 
						
							2017-06-02 00:40:14 -04:00  
				
					
						
							
							
								 
						
							
							
								05f322ca30 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'lethosor/lua-dmdims' into develop  
							
							
							
						 
						
							2017-06-01 23:34:35 -04:00  
				
					
						
							
							
								 
						
							
							
								939aff3231 
								
							
								 
							
						 
						
							
							
								
								readTile(): add hook support and map parameter  
							
							
							
						 
						
							2017-05-31 12:12:15 -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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								71b553b305 
								
							
								 
							
						 
						
							
							
								
								Add a few functions to retrieve unit social activities  
							
							
							
						 
						
							2017-04-28 17:25:58 -04:00  
				
					
						
							
							
								 
						
							
							
								a10d4ae226 
								
							
								 
							
						 
						
							
							
								
								Add viewscreen::feed_key method  
							
							
							
						 
						
							2017-02-11 16:53:50 -05:00  
				
					
						
							
							
								 
						
							
							
								538b07d214 
								
							
								 
							
						 
						
							
							
								
								Update xml and fix knowledge_scholar_category_flag::value() custom method  
							
							... 
							
							
							
							Allows bitfields within unions (#1047 , dfhack/df-structures#169 ) 
							
						 
						
							2016-12-27 23:24:22 -05:00  
				
					
						
							
							
								 
						
							
							
								acdb369aa8 
								
							
								 
							
						 
						
							
							
								
								Avoid non-trivial bitfield constructors  
							
							
							
						 
						
							2016-12-09 13:41:14 -05:00  
				
					
						
							
							
								 
						
							
							
								8521b830b2 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'CannibalVox/job_remove' into develop  
							
							
							
						 
						
							2016-12-05 15:24:37 -05:00  
				
					
						
							
							
								 
						
							
							
								595f3857b6 
								
							
								 
							
						 
						
							
							
								
								Reverse the param order of these two methods  
							
							... 
							
							
							
							The current way doesn't match other Job module methods 
							
						 
						
							2016-12-01 20:13:49 -08:00  
				
					
						
							
							
								 
						
							
							
								7920f71517 
								
							
								 
							
						 
						
							
							
								
								Bad formatting  
							
							
							
						 
						
							2016-11-25 00:25:18 -08:00  
				
					
						
							
							
								 
						
							
							
								e490afdf00 
								
							
								 
							
						 
						
							
							
								
								Rebuilt slightly to offer bool return val  
							
							... 
							
							
							
							We fail on unknown general ref types now, without modifying the job at
all yet 
							
						 
						
							2016-11-24 22:36:11 -08:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								4c21bbd5ae 
								
							
								 
							
						 
						
							
							
								
								Add Lua::TableInsert() helper  
							
							
							
						 
						
							2016-10-15 14:55:48 -04:00  
				
					
						
							
							
								 
						
							
							
								8a138fcc4c 
								
							
								 
							
						 
						
							
							
								
								Avoid polluting global namespace in MapCache.h  
							
							
							
						 
						
							2016-10-15 14:53:10 -04:00  
				
					
						
							
							
								 
						
							
							
								08cc9f3188 
								
							
								 
							
						 
						
							
							
								
								Cast size_t to int explicitly to avoid compiler warning C4267  
							
							
							
						 
						
							2016-10-15 10:31:38 +05:30  
				
					
						
							
							
								 
						
							
							
								98ab357df0 
								
							
								 
							
						 
						
							
							
								
								Use size_t in both path methods, to avoid warning C4267  
							
							
							
						 
						
							2016-10-15 10:17:38 +05:30  
				
					
						
							
							
								 
						
							
							
								70d3c07cdb 
								
							
								 
							
						 
						
							
							
								
								Initial lua getDwarfmodeViewDims rewrite  
							
							
							
						 
						
							2016-10-07 23:51:58 -04:00  
				
					
						
							
							
								 
						
							
							
								a5338d2f59 
								
							
								 
							
						 
						
							
							
								
								Fix rebase_delta type mismatch  
							
							... 
							
							
							
							See #984 . GCC wasn't complaining about this on x64 for some reason.
Also reordered includes. 
							
						 
						
							2016-09-28 20:43:02 -04:00  
				
					
						
							
							
								 
						
							
							
								9e4a6d7591 
								
							
								 
							
						 
						
							
							
								
								Update default base address on 64-bit Linux  
							
							
							
						 
						
							2016-08-18 17:28:18 -04:00  
				
					
						
							
							
								 
						
							
							
								e965f5318f 
								
							
								 
							
						 
						
							
							
								
								Replace many includes with forward declarations in modules/Maps.h  
							
							
							
						 
						
							2016-08-13 21:44:01 -04:00  
				
					
						
							
							
								 
						
							
							
								02eef95147 
								
							
								 
							
						 
						
							
							
								
								Fix base address for Darwin x64  
							
							
							
						 
						
							2016-08-09 20:00:31 -04:00  
				
					
						
							
							
								 
						
							
							
								e22b3b1de7 
								
							
								 
							
						 
						
							
							
								
								Use non-fixed-width types in integer identity_traits definitions  
							
							... 
							
							
							
							In some situations (e.g. 32-bit Linux), "intptr_t" is defined as "int", which is
equivalent to "int32_t", leading to issues with duplicate definitions. In other
situations with GCC, "intptr_t" is "long", which isn't covered by any intNN_t
types. Also, definitions for "long" already had to be added on Windows, because
no fixed-width types in MSVC are equivalent to "long".
Switching to non-fixed-width types should hopefully cover all of these
situations. If this doesn't cover any integer types that we need, it will
be caught quickly, e.g. by references to integer_traits<T> in LuaWrapper.cpp. 
							
						 
						
							2016-08-08 11:46:20 -04:00  
				
					
						
							
							
								 
						
							
							
								79377669a1 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'NCommander/dwarfvet' into develop  
							
							
							
						 
						
							2016-07-29 16:25:53 -04:00  
				
					
						
							
							
								 
						
							
							
								158f18106f 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'NCommander/vs2015' into develop  
							
							
							
						 
						
							2016-07-29 15:30:32 -04:00  
				
					
						
							
							
								 
						
							
							
								55970a71ab 
								
							
								 
							
						 
						
							
							
								
								Fix Lua::Push for enums  
							
							
							
						 
						
							2016-07-29 11:06:16 -04:00  
				
					
						
							
							
								 
						
							
							
								b7856fd9f2 
								
							
								 
							
						 
						
							
							
								
								Use enable_if for Lua::Push specializations  
							
							
							
						 
						
							2016-07-28 22:04:46 -04:00  
				
					
						
							
							
								 
						
							
							
								7b7f7a1b79 
								
							
								 
							
						 
						
							
							
								
								Fix support for integer fields in Lua 5.3  
							
							
							
						 
						
							2016-07-28 16:36:02 -04:00  
				
					
						
							
							
								 
						
							
							
								41a81f9021 
								
							
								 
							
						 
						
							
							
								
								Fix some more warnings (GCC 4.8)  
							
							
							
						 
						
							2016-07-28 11:00:52 -04:00  
				
					
						
							
							
								 
						
							
							
								ddd56d7825 
								
							
								 
							
						 
						
							
							
								
								Fix (for win64) and avoid duplicating base address  
							
							
							
						 
						
							2016-07-27 20:10:03 -04:00  
				
					
						
							
							
								 
						
							
							
								8916aba3bf 
								
							
								 
							
						 
						
							
							
								
								win64 fixes (partial)  
							
							... 
							
							
							
							cherry-picked from 2f734ae2317060edb83021f17cffc966c435ad7b 
							
						 
						
							2016-07-27 19:46:49 -04:00  
				
					
						
							
							
								 
						
							
							
								fe18f176f7 
								
							
								 
							
						 
						
							
							
								
								More 64-bit fixes  
							
							... 
							
							
							
							Cherry-picked from 7eb3ba6
- Lua update already done in e2c63504dd411e 
							
						 
						
							2016-07-26 23:47:53 -04:00  
				
					
						
							
							
								 
						
							
							
								ed6fb69012 
								
							
								 
							
						 
						
							
							
								
								Fix whitespace spacing  
							
							... 
							
							
							
							Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com> 
							
						 
						
							2016-07-11 18:54:03 -05:00  
				
					
						
							
							
								 
						
							
							
								2455e36510 
								
							
								 
							
						 
						
							
							
								
								Initial 64-bit support  
							
							
							
						 
						
							2016-07-03 23:32:43 -04:00