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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								d509cf2fb5 
								
							
								 
							
						 
						
							
							
								
								It helps when you pop pragmas  
							
							... 
							
							
							
							Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com> 
							
						 
						
							2016-06-28 09:39:46 -05:00  
				
					
						
							
							
								 
						
							
							
								d49032ef73 
								
							
								 
							
						 
						
							
							
								
								Supress a lot of compiler noise in hopes of finding real errors. Right now, a plugin free DFHack can be built with VS2015  
							
							
							
						 
						
							2016-06-28 08:34:11 -05:00  
				
					
						
							
							
								 
						
							
							
								36aafd550b 
								
							
								 
							
						 
						
							
							
								
								Increased the message size limit in RemoteClient from 8mb to 64mb.  
							
							
							
						 
						
							2016-06-20 13:17:30 +05:30  
				
					
						
							
							
								 
						
							
							
								022a1bf9e8 
								
							
								 
							
						 
						
							
							
								
								Wrap script descriptions in `ls` output and remove description length cap  
							
							
							
						 
						
							2016-06-14 21:24:27 -04:00  
				
					
						
							
							
								 
						
							
							
								e45fbfc61d 
								
							
								 
							
						 
						
							
							
								
								Modified dwaftvet plugin to work with latest DFHack  
							
							... 
							
							
							
							Initial commit of the dwarfvet plugin
Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com> 
							
						 
						
							2016-06-08 04:14:59 -04:00  
				
					
						
							
							
								 
						
							
							
								9fc43cff4d 
								
							
								 
							
						 
						
							
							
								
								Make const method wrappers possible  
							
							... 
							
							
							
							Reverts ae3052f#935  
							
						 
						
							2016-05-28 20:11:42 -04:00  
				
					
						
							
							
								 
						
							
							
								ae3052f79a 
								
							
								 
							
						 
						
							
							
								
								Make knowledge_scholar_category_flag::value() non-const  
							
							... 
							
							
							
							const methods can't be wrapped at the moment, at least without changing things
in DataFuncs.h 
							
						 
						
							2016-05-28 10:28:22 -04:00  
				
					
						
							
							
								 
						
							
							
								e76258b040 
								
							
								 
							
						 
						
							
							
								
								knowledge category flag  
							
							
							
						 
						
							2016-05-26 15:15:42 -05:00  
				
					
						
							
							
								 
						
							
							
								52728babd4 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into zone-unassign  
							
							
							
						 
						
							2016-04-22 18:41:15 -04:00  
				
					
						
							
							
								 
						
							
							
								b97d33ca28 
								
							
								 
							
						 
						
							
							
								
								moveToBuilding improvements  
							
							... 
							
							
							
							- Don't set in_building by default when use_mode is 0 (consistent with most vanilla DF items)
- make use_mode optional and default to 0 (including in Lua API)
Resolves  #885  
							
						 
						
							2016-04-05 11:43:02 -04:00  
				
					
						
							
							
								 
						
							
							
								37c81df21c 
								
							
								 
							
						 
						
							
							
								
								Add reverse vtable name lookup  
							
							
							
						 
						
							2016-04-03 20:45:44 -04:00  
				
					
						
							
							
								 
						
							
							
								dd9f1bf759 
								
							
								 
							
						 
						
							
							
								
								make world friend of machine and building handlers to allow use their  
							
							... 
							
							
							
							protected constructor 
							
						 
						
							2016-03-09 13:03:16 +02:00  
				
					
						
							
							
								 
						
							
							
								25507a10f9 
								
							
								 
							
						 
						
							
							
								
								Add Units::getKillCount() and expose it to Lua  
							
							
							
						 
						
							2016-02-25 15:21:14 -05:00  
				
					
						
							
							
								 
						
							
							
								297bbd6f20 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'warmist/develop' into develop ( closes   #772 )  
							
							
							
						 
						
							2016-02-24 17:24:03 -05:00  
				
					
						
							
							
								 
						
							
							
								83c70ccb0f 
								
							
								 
							
						 
						
							
							
								
								forbid manipulator editing non-citizens  
							
							
							
						 
						
							2016-02-11 13:31:52 +02:00  
				
					
						
							
							
								 
						
							
							
								d4988c5faf 
								
							
								 
							
						 
						
							
							
								
								Add no handler version of lua event.  
							
							
							
						 
						
							2016-02-01 22:22:12 +02:00  
				
					
						
							
							
								 
						
							
							
								0a670bb0db 
								
							
								 
							
						 
						
							
							
								
								Implement  #804 , move some functions to Units, colorize zone output, a  
							
							... 
							
							
							
							little cleanup 
							
						 
						
							2016-02-01 11:12:06 -05:00  
				
					
						
							
							
								 
						
							
							
								2d23a848cc 
								
							
								 
							
						 
						
							
							
								
								git-describe: Add git xml information  
							
							
							
						 
						
							2016-02-01 10:30:53 -05:00  
				
					
						
							
							
								 
						
							
							
								80ecbbd369 
								
							
								 
							
						 
						
							
							
								
								get rid of "private" comment in BitArray.h  
							
							
							
						 
						
							2016-01-21 16:49:16 -05:00  
				
					
						
							
							
								 
						
							
							
								d0c28d3f50 
								
							
								 
							
						 
						
							
							
								
								Prevent plugins with active viewscreens from being unloaded  
							
							... 
							
							
							
							This requires plugins to pass plugin_self to Screen::show(), but
avoids the need to implement special checks in plugin_onstatechange
for the SC_BEGIN_UNLOAD event. 
							
						 
						
							2016-01-01 11:15:29 -05:00  
				
					
						
							
							
								 
						
							
							
								d087f4f741 
								
							
								 
							
						 
						
							
							
								
								Expose process MD5/PE to Lua (useful in export-dt-ini)  
							
							
							
						 
						
							2015-12-27 14:59:18 -05:00