e9b4fc513a 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'cdombroski/zone-plugin-cleanup' into temp  
							
							... 
							
							
							
							Conflicts:
	NEWS
	plugins/zone.cpp 
							
						 
						
							2015-01-31 21:01:41 -05:00  
				
					
						
							
							
								 
						
							
							
								066adfdf95 
								
							
								 
							
						 
						
							
							
								
								Implement a function to list directories recursively  
							
							
							
						 
						
							2015-01-30 17:29:17 -05:00  
				
					
						
							
							
								 
						
							
							
								f608235b1e 
								
							
								 
							
						 
						
							
							
								
								Fix some Lua things  
							
							
							
						 
						
							2015-01-29 19:56:50 -05:00  
				
					
						
							
							
								 
						
							
							
								f2eec3198c 
								
							
								 
							
						 
						
							
							
								
								Rename findPenPitAtCoord  
							
							
							
						 
						
							2015-01-29 15:02:54 -05:00  
				
					
						
							
							
								 
						
							
							
								48b6cf1beb 
								
							
								 
							
						 
						
							
							
								
								Export functions to Buildings.h  
							
							
							
						 
						
							2015-01-29 13:57:50 -05:00  
				
					
						
							
							
								 
						
							
							
								1514233aaa 
								
							
								 
							
						 
						
							
							
								
								Add missing null checks to Units.cpp  
							
							
							
						 
						
							2015-01-29 13:57:50 -05:00  
				
					
						
							
							
								 
						
							
							
								daf739fcec 
								
							
								 
							
						 
						
							
							
								
								Remove FIFO support  
							
							
							
						 
						
							2015-01-28 21:39:17 -05:00  
				
					
						
							
							
								 
						
							
							
								c179f5b913 
								
							
								 
							
						 
						
							
							
								
								Extract some stuff from zone.cpp to plugins/Units.{h,cpp}  
							
							
							
						 
						
							2015-01-28 21:28:32 -05:00  
				
					
						
							
							
								 
						
							
							
								f98e2964e6 
								
							
								 
							
						 
						
							
							
								
								Fix a few Windows compilation errors  
							
							
							
						 
						
							2015-01-28 20:05:24 -05:00  
				
					
						
							
							
								 
						
							
							
								bebceffa5f 
								
							
								 
							
						 
						
							
							
								
								Add Filesystem::listdir()  
							
							
							
						 
						
							2015-01-28 19:15:58 -05:00  
				
					
						
							
							
								 
						
							
							
								e8c0482fdc 
								
							
								 
							
						 
						
							
							
								
								Add atime()/ctime()/mtime()  
							
							
							
						 
						
							2015-01-28 18:18:06 -05:00  
				
					
						
							
							
								 
						
							
							
								2e3261565c 
								
							
								 
							
						 
						
							
							
								
								Clean up Filesystem.h  
							
							
							
						 
						
							2015-01-28 17:15:09 -05:00  
				
					
						
							
							
								 
						
							
							
								8f4b766107 
								
							
								 
							
						 
						
							
							
								
								EventManager: Fix a crash bug with EQUIPMENT_CHANGE event.  
							
							
							
						 
						
							2015-01-15 18:13:19 -05:00  
				
					
						
							
							
								 
						
							
							
								d932c76242 
								
							
								 
							
						 
						
							
							
								
								Fix MapCache compiling error on Windows  
							
							
							
						 
						
							2015-01-05 17:28:42 -05:00  
				
					
						
							
							
								 
						
							
							
								06029c92c2 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branches 'lethosor/export-dt-ini-0.40.21' and 'lethosor/patch-9'  
							
							
							
						 
						
							2015-01-05 16:40:44 -05:00  
				
					
						
							
							
								 
						
							
							
								983f096a60 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'quipyowert/define-maxlayers' into 0.40.23-r1  
							
							
							
						 
						
							2015-01-05 16:04:37 -05:00  
				
					
						
							
							
								 
						
							
							
								3c0ac70615 
								
							
								 
							
						 
						
							
							
								
								Remove output from filetype()  
							
							... 
							
							
							
							Not sure how this made it in, but it's causing problems with PRINT_MODE:TEXT (not to mention filling up stdout.log) 
							
						 
						
							2014-12-27 15:05:43 -05:00  
				
					
						
							
							
								 
						
							
							
								f4e8fa2f30 
								
							
								 
							
						 
						
							
							
								
								Define a static variable to fix debug mode crash.  
							
							... 
							
							
							
							Fixes  #404  
						
							2014-12-01 17:19:20 -08:00  
				
					
						
							
							
								 
						
							
							
								83d3785735 
								
							
								 
							
						 
						
							
							
								
								Update xml.  
							
							
							
						 
						
							2014-11-30 14:03:00 -05:00  
				
					
						
							
							
								 
						
							
							
								445640f80c 
								
							
								 
							
						 
						
							
							
								
								Allow commands invoked through command-prompt to access selected items/units/buildings  
							
							... 
							
							
							
							Fixes  #273  
						
							2014-11-25 20:25:31 -05:00  
				
					
						
							
							
								 
						
							
							
								5e3bf9a494 
								
							
								 
							
						 
						
							
							
								
								Make it compile for OSX.  
							
							
							
						 
						
							2014-11-14 22:21:03 -05:00  
				
					
						
							
							
								 
						
							
							
								4464d7318d 
								
							
								 
							
						 
						
							
							
								
								EventManager: make REPORT events only trigger for new reports, not ones that already exist in the save.  
							
							
							
						 
						
							2014-11-14 22:07:48 -05:00  
				
					
						
							
							
								 
						
							
							
								428fe6a400 
								
							
								 
							
						 
						
							
							
								
								interaction-trigger tweaks  
							
							
							
						 
						
							2014-11-14 18:50:19 -05:00  
				
					
						
							
							
								 
						
							
							
								779ac3fd50 
								
							
								 
							
						 
						
							
							
								
								Updated interaction-trigger to work better.  
							
							
							
						 
						
							2014-11-09 18:36:21 -05:00  
				
					
						
							
							
								 
						
							
							
								fa401f8637 
								
							
								 
							
						 
						
							
							
								
								EventManager tweak.  
							
							
							
						 
						
							2014-11-07 14:16:10 -05:00  
				
					
						
							
							
								 
						
							
							
								dcdb6aae1b 
								
							
								 
							
						 
						
							
							
								
								EventManager: properly deal with frame_counter getting reset.  
							
							
							
						 
						
							2014-11-06 23:44:13 -05:00  
				
					
						
							
							
								 
						
							
							
								04ec2c9932 
								
							
								 
							
						 
						
							
							
								
								Update version to v0.40.14 and hack things so they compile.  
							
							... 
							
							
							
							Also make the find-offsets script less likely to crash if the
unit structure is misaligned and add more integrity checks. 
							
						 
						
							2014-10-26 16:40:39 +03:00  
				
					
						
							
							
								 
						
							
							
								8631da7e4e 
								
							
								 
							
						 
						
							
							
								
								Convenience method to collect a vector from StockpileIterator.  
							
							
							
						 
						
							2014-09-07 14:10:27 -06:00  
				
					
						
							
							
								 
						
							
							
								deee486b81 
								
							
								 
							
						 
						
							
							
								
								Update Maps::SortBlockEvents to include spoors and item spatters  
							
							
							
						 
						
							2014-08-20 10:51:58 -05:00  
				
					
						
							
							
								 
						
							
							
								5e434721ff 
								
							
								 
							
						 
						
							
							
								
								Remove stray BOM  
							
							
							
						 
						
							2014-08-19 13:47:05 -05:00  
				
					
						
							
							
								 
						
							
							
								4da333fca1 
								
							
								 
							
						 
						
							
							
								
								Fix Buildings module to work with ui.tax_collection.rooms change  
							
							
							
						 
						
							2014-08-18 16:33:12 -05:00  
				
					
						
							
							
								 
						
							
							
								5add8c433d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:DFHack/dfhack into remote_reader  
							
							... 
							
							
							
							Conflicts:
	plugins/remotefortressreader.cpp 
							
						 
						
							2014-08-15 19:15:00 +05:30  
				
					
						
							
							
								 
						
							
							
								2471c4a68e 
								
							
								 
							
						 
						
							
							
								
								Add a new API for converting between interface_key and string characters.  
							
							... 
							
							
							
							It's necessary now that the simple linear arrangement is broken. 
							
						 
						
							2014-08-11 14:23:19 +04:00  
				
					
						
							
							
								 
						
							
							
								36435ca8cf 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of  https://github.com/quietust/dfhack  into remote_reader  
							
							... 
							
							
							
							Conflicts:
	library/modules/Items.cpp
	library/modules/MapCache.cpp
	library/modules/Maps.cpp
	library/modules/Materials.cpp
	library/modules/Translation.cpp
	plugins/CMakeLists.txt 
							
						 
						
							2014-08-08 20:54:44 +05:30  
				
					
						
							
							
								 
						
							
							
								08da62392e 
								
							
								 
							
						 
						
							
							
								
								Fixed a mistake where MapCache was using the wrong range for root depth.  
							
							
							
						 
						
							2014-08-02 17:09:59 +05:30  
				
					
						
							
							
								 
						
							
							
								1450298484 
								
							
								 
							
						 
						
							
							
								
								assumed_identity -> identity  
							
							
							
						 
						
							2014-07-29 16:30:22 -05:00  
				
					
						
							
							
								 
						
							
							
								4902c577b3 
								
							
								 
							
						 
						
							
							
								
								Fix some crashes when running without globals and update structures.  
							
							
							
						 
						
							2014-07-24 23:10:37 +04:00  
				
					
						
							
							
								 
						
							
							
								bc5e0f6ad6 
								
							
								 
							
						 
						
							
							
								
								Made DFHack buildable. Also added plant proto definitions  
							
							
							
						 
						
							2014-07-23 19:57:47 +05:30  
				
					
						
							
							
								 
						
							
							
								9435d8f4d9 
								
							
								 
							
						 
						
							
							
								
								Fix crashes caused by missing globals  
							
							
							
						 
						
							2014-07-21 19:14:43 -05:00  
				
					
						
							
							
								 
						
							
							
								38cdb37433 
								
							
								 
							
						 
						
							
							
								
								Update plant_tree_info field names  
							
							
							
						 
						
							2014-07-21 14:46:51 -05:00  
				
					
						
							
							
								 
						
							
							
								e711605413 
								
							
								 
							
						 
						
							
							
								
								Some minor corrections  
							
							
							
						 
						
							2014-07-21 13:26:34 -05:00  
				
					
						
							
							
								 
						
							
							
								97de21357c 
								
							
								 
							
						 
						
							
							
								
								First pass for 0.40 compatibility; still lots left to do, but this will at least build  
							
							
							
						 
						
							2014-07-21 13:18:29 -05:00  
				
					
						
							
							
								 
						
							
							
								b598cbb0dd 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:DFHack/dfhack into develop  
							
							
							
						 
						
							2014-07-20 16:43:00 +05:30  
				
					
						
							
							
								 
						
							
							
								a14caa53d0 
								
							
								 
							
						 
						
							
							
								
								Fixed mapcache reading plants in for 0.40.01 onwards.  
							
							
							
						 
						
							2014-07-20 16:41:20 +05:30  
				
					
						
							
							
								 
						
							
							
								0a16bc2e12 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/perSaveScripts' into scriptOrganization  
							
							... 
							
							
							
							Conflicts:
	plugins/CMakeLists.txt 
							
						 
						
							2014-07-07 09:01:07 -04:00  
				
					
						
							
							
								 
						
							
							
								649dcd1413 
								
							
								 
							
						 
						
							
							
								
								EventManager tweak: make it report the correct invasion id.  
							
							
							
						 
						
							2014-07-03 14:37:13 -04:00  
				
					
						
							
							
								 
						
							
							
								2fb8faf3e6 
								
							
								 
							
						 
						
							
							
								
								Added Items::createItem function.  
							
							
							
						 
						
							2014-07-03 10:39:20 -04:00  
				
					
						
							
							
								 
						
							
							
								d8c3a05f42 
								
							
								 
							
						 
						
							
							
								
								Made EQUIPMENT_CHANGE event trigger for new units.  
							
							
							
						 
						
							2014-07-03 08:10:12 -04:00  
				
					
						
							
							
								 
						
							
							
								81c87d0921 
								
							
								 
							
						 
						
							
							
								
								EventManager: INTERACTION event for unit interactions.  
							
							
							
						 
						
							2014-07-03 04:55:12 -04:00  
				
					
						
							
							
								 
						
							
							
								516121d4f8 
								
							
								 
							
						 
						
							
							
								
								Fixed the getprofession behavior in adventure mode. Now it checks for the current adventurer's race instead of the fortress race.  
							
							
							
						 
						
							2014-07-02 23:07:24 +05:30  
				
					
						
							
							
								 
						
							
							
								8f43b97284 
								
							
								 
							
						 
						
							
							
								
								EventManager tweaks.  
							
							
							
						 
						
							2014-07-01 09:02:20 -04:00  
				
					
						
							
							
								 
						
							
							
								4ac32cfd74 
								
							
								 
							
						 
						
							
							
								
								EventManager: made UNIT_ATTACK trigger for severed body parts.  
							
							
							
						 
						
							2014-07-01 08:58:48 -04:00  
				
					
						
							
							
								 
						
							
							
								961d033ade 
								
							
								 
							
						 
						
							
							
								
								EventManager: unload event for convenience.  
							
							
							
						 
						
							2014-06-29 10:03:55 -04:00  
				
					
						
							
							
								 
						
							
							
								ceae634954 
								
							
								 
							
						 
						
							
							
								
								Squashed EventManager commented out thing I don't need anymore.  
							
							
							
						 
						
							2014-06-28 02:41:00 -04:00  
				
					
						
							
							
								 
						
							
							
								8e7e87ac73 
								
							
								 
							
						 
						
							
							
								
								Added UNIT_ATTACK event to EventManager and exposed it to Lua.  
							
							
							
						 
						
							2014-06-28 02:31:34 -04:00  
				
					
						
							
							
								 
						
							
							
								c635632ae7 
								
							
								 
							
						 
						
							
							
								
								EventManager.cpp: fix indentation.  
							
							
							
						 
						
							2014-06-27 22:09:01 -04:00  
				
					
						
							
							
								 
						
							
							
								7313c18a2a 
								
							
								 
							
						 
						
							
							
								
								EventManager/eventful: added ON_REPORT event and exposed it to Lua.  
							
							
							
						 
						
							2014-06-23 09:15:46 -04:00  
				
					
						
							
							
								 
						
							
							
								036aae060b 
								
							
								 
							
						 
						
							
							
								
								Merge lethosor stuff. For some reason, git's auto merge message didn't happen because of git-stash shenanigans. Oh well.  
							
							
							
						 
						
							2014-06-19 22:58:17 -04:00  
				
					
						
							
							
								 
						
							
							
								ec64a787c6 
								
							
								 
							
						 
						
							
							
								
								Use _getcwd on Windows  
							
							
							
						 
						
							2014-06-19 22:34:40 -04:00  
				
					
						
							
							
								 
						
							
							
								73fdb8b125 
								
							
								 
							
						 
						
							
							
								
								Fix Windows compile-time error  
							
							
							
						 
						
							2014-06-19 21:24:16 -04:00  
				
					
						
							
							
								 
						
							
							
								ef69522d93 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into filesystem-module-pr  
							
							
							
						 
						
							2014-06-18 15:45:42 -04:00  
				
					
						
							
							
								 
						
							
							
								6fa478de22 
								
							
								 
							
						 
						
							
							
								
								Filesystem module  
							
							... 
							
							
							
							Implements a handful of filesystem-related functions (e.g. chdir, mkdir)
in C++ and Lua. 
							
						 
						
							2014-06-15 22:38:17 -04:00  
				
					
						
							
							
								 
						
							
							
								e0808c8c96 
								
							
								 
							
						 
						
							
							
								
								Use squad::find instead of indexing the vector  
							
							
							
						 
						
							2014-06-10 22:38:32 -04:00  
				
					
						
							
							
								 
						
							
							
								bdcc00f6f7 
								
							
								 
							
						 
						
							
							
								
								Util method (in the Units class) to get a unit squad name (the translated name, or alias if set)  
							
							
							
						 
						
							2014-06-09 21:51:52 -04:00  
				
					
						
							
							
								 
						
							
							
								e483e7439f 
								
							
								 
							
						 
						
							
							
								
								Fix problems with NONE for item types and subtypes  
							
							
							
						 
						
							2014-05-22 08:18:01 -05:00  
				
					
						
							
							
								 
						
							
							
								415cdad489 
								
							
								 
							
						 
						
							
							
								
								Make using new for allocating DF objects with vtables a compile-time error.  
							
							... 
							
							
							
							When done from plugins, it doesn't correctly initialize the vtable
because of some weird things MSVC does, so the only safe way is to
use df::allocate<df::foo>(). For consistency, it is also enforced
for code in the main library. It reveals the issue in the digging
invaders plugin, first found by warmist.
This change is linked to a modification in df-structures codegen. 
							
						 
						
							2014-04-30 21:28:02 +04:00  
				
					
						
							
							
								 
						
							
							
								98325757e2 
								
							
								 
							
						 
						
							
							
								
								Fix signed-unsigned mismatch warnings in the new item value code.  
							
							... 
							
							
							
							Unsigned comparison allows catching negatives in the same check too.
Also, it didn't check the values in getValue. 
							
						 
						
							2014-04-30 20:44:22 +04:00  
				
					
						
							
							
								 
						
							
							
								0f4684f29d 
								
							
								 
							
						 
						
							
							
								
								Add Items::getItemBaseValue and Items::getValue, available from Lua  
							
							
							
						 
						
							2014-04-25 11:04:21 -05:00  
				
					
						
							
							
								 
						
							
							
								57fbb1004b 
								
							
								 
							
						 
						
							
							
								
								Assorted cleanup  
							
							
							
						 
						
							2014-04-23 08:23:34 -05:00  
				
					
						
							
							
								 
						
							
							
								c3d45c3a1e 
								
							
								 
							
						 
						
							
							
								
								Add Job::getName(job *), also available from Lua  
							
							
							
						 
						
							2014-04-23 08:03:10 -05:00  
				
					
						
							
							
								 
						
							
							
								6bef167f83 
								
							
								 
							
						 
						
							
							
								
								Add a couple of useful scripts and fix two missing NULL checks.  
							
							... 
							
							
							
							- A script to unstick jobs trying to build walls from the same tile.
- A devel script for viewing the path a unit is currently following. 
							
						 
						
							2014-04-21 09:24:05 +04:00  
				
					
						
							
							
								 
						
							
							
								c27c38e4c0 
								
							
								 
							
						 
						
							
							
								
								Remove tired or hungry siege operators from duty when at peace.  
							
							... 
							
							
							
							The threshold is set at the level when they start to blink - normally
they would continue on with the job until they get a thirsty/hungry
thought, but immediately run off to eat if they lose the job (thus
refusing to load the engine after firing it). The code checks for
active sieges and whether there is a free replacement unit. 
							
						 
						
							2014-04-15 21:52:39 +04:00  
				
					
						
							
							
								 
						
							
							
								fc9826389b 
								
							
								 
							
						 
						
							
							
								
								Account for meandering movement when predicting unit path in siege engine.  
							
							... 
							
							
							
							The movement is random, but there is an average slowdown coefficient. 
							
						 
						
							2014-04-15 19:50:23 +04:00  
				
					
						
							
							
								 
						
							
							
								7844907204 
								
							
								 
							
						 
						
							
							
								
								Add new API functions for creating announcements and combat reports.  
							
							... 
							
							
							
							Allow specifying the announcement flags directly, and adding unit
combat reports. Also, make announcement functions write the message
to the game log. 
							
						 
						
							2014-04-15 19:50:23 +04:00  
				
					
						
							
							
								 
						
							
							
								b56c3a95a6 
								
							
								 
							
						 
						
							
							
								
								Fix some signed/unsigned mismatch warnings and whitespace in Job module.  
							
							
							
						 
						
							2014-04-15 19:50:23 +04:00  
				
					
						
							
							
								 
						
							
							
								7aecffe0cd 
								
							
								 
							
						 
						
							
							
								
								Update structures and fix broken things.  
							
							
							
						 
						
							2014-04-04 22:34:39 +04:00  
				
					
						
							
							
								 
						
							
							
								e620ae765c 
								
							
								 
							
						 
						
							
							
								
								Add missing import/export info for MersenneRNG::unitvector<>  
							
							
							
						 
						
							2014-03-25 13:30:21 -05:00  
				
					
						
							
							
								 
						
							
							
								387cc983f9 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'osx_shenanigans' of git://github.com/tareqak/dfhack  
							
							
							
						 
						
							2014-02-02 23:50:21 +01:00  
				
					
						
							
							
								 
						
							
							
								f0eeba93ce 
								
							
								 
							
						 
						
							
							
								
								DFHack compiles under OS X now.  
							
							
							
						 
						
							2014-01-25 03:21:56 -05:00  
				
					
						
							
							
								 
						
							
							
								ce33973f0f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of github.com/quietust/dfhack  
							
							
							
						 
						
							2013-12-24 14:07:08 +01:00  
				
					
						
							
							
								 
						
							
							
								53bd112515 
								
							
								 
							
						 
						
							
							
								
								Hide fake historical figures from legends xml export.  
							
							
							
						 
						
							2013-11-07 12:27:53 +04:00  
				
					
						
							
							
								 
						
							
							
								04dce1aa7f 
								
							
								 
							
						 
						
							
							
								
								MaterialInfo: fix decoding for COAL subtypes  
							
							
							
						 
						
							2013-11-05 00:31:32 +01:00  
				
					
						
							
							
								 
						
							
							
								329741f235 
								
							
								 
							
						 
						
							
							
								
								EventManager: added EQUIPMENT_CHANGE event and exposed it to lua.  
							
							
							
						 
						
							2013-10-24 19:32:52 -04:00  
				
					
						
							
							
								 
						
							
							
								4dbcee9560 
								
							
								 
							
						 
						
							
							
								
								EventManager: be smarter about removing things while iterating.  
							
							
							
						 
						
							2013-10-20 23:16:21 -04:00  
				
					
						
							
							
								 
						
							
							
								c409289ee4 
								
							
								 
							
						 
						
							
							
								
								EventManager: TICK events should unregister correctly when requested and after they fire, other tweaks.  
							
							... 
							
							
							
							- fixed unregister to allow unregistering individual TICK events
 - make registerTick return the resulting freq you have to put back in to the handler in order for it to be unregisterable
- when TICK events fire, they now automatically remove themselves from handlers[TICK], as they should
- make sure manageTickEvent fires once per tick 
							
						 
						
							2013-10-20 22:54:25 -04:00  
				
					
						
							
							
								 
						
							
							
								3594dc2eb8 
								
							
								 
							
						 
						
							
							
								
								EventManager: fixed the TICK event, and a few tweaks.  
							
							... 
							
							
							
							- redo tick event management to work with world->frame_counter
 - the freq of a TICK EventHandler is now ignored
 - unregistering for an individual TICK event is still broken
  - you would have to know the modified freq to even begin removing it
  - it is only removed from handleres[TICK], not from tickQueue
- redo unregisterAll to be more efficient
- use the map loaded/unloaded events instead of world loaded/unloaded for initializing/clearing event monitoring data
- get rid of silly unsigned variables 
							
						 
						
							2013-10-20 21:48:28 -04:00  
				
					
						
							
							
								 
						
							
							
								9bf004d07f 
								
							
								 
							
						 
						
							
							
								
								Several EventManager fixes and improvements.  
							
							... 
							
							
							
							- handle loading and unloading of saves better
  - made sure it never triggers bogus events on loading a save
    - plugins should now handle loading themselves with onStateChange
  - special case to make Buildings module keep track of all buildings correctly on load
- fixed syndrome detection
  - was broken because of the switch from ticks-since-the-dawn-of-time to world->frame_counter
  - added lastSyndromeTime global
- fixed possible off by one error when looking for new created items
- got rid of the unread lastTick global
- const'ed the function pointer array of eventManagers 
							
						 
						
							2013-10-20 20:12:42 -04:00  
				
					
						
							
							
								 
						
							
							
								f69fd1d528 
								
							
								 
							
						 
						
							
							
								
								EventManager: prevent eventspam just after loading a save.  
							
							
							
						 
						
							2013-10-20 17:39:54 -04:00  
				
					
						
							
							
								 
						
							
							
								d78a111f02 
								
							
								 
							
						 
						
							
							
								
								EventManager: Fixed the death event, fixed another problem with construction event, and made EventManager use world->frame_counter for scheduling event checking in order to make it work in arena mode.  
							
							
							
						 
						
							2013-10-20 14:41:39 -04:00  
				
					
						
							
							
								 
						
							
							
								39553cfb6d 
								
							
								 
							
						 
						
							
							
								
								EventManager: fixed a problem with constructionHandler.  
							
							
							
						 
						
							2013-10-20 14:14:02 -04:00  
				
					
						
							
							
								 
						
							
							
								ee056f4422 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'angavrilov/master' into 0.34.11-r4  
							
							... 
							
							
							
							Conflicts:
	NEWS 
							
						 
						
							2013-10-20 11:09:40 -04:00  
				
					
						
							
							
								 
						
							
							
								9d3ee11349 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'diggingInvaders' into 0.34.11-r4  
							
							... 
							
							
							
							Conflicts:
	scripts/devel/invasion-now.lua 
							
						 
						
							2013-10-19 21:26:50 -04:00  
				
					
						
							
							
								 
						
							
							
								57fc0f3e89 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'angavrilov/master' into 0.34.11-r4  
							
							... 
							
							
							
							Conflicts:
	NEWS
	library/xml
	plugins/CMakeLists.txt
	plugins/autoSyndrome.cpp 
							
						 
						
							2013-10-19 20:19:29 -04:00  
				
					
						
							
							
								 
						
							
							
								78de739d75 
								
							
								 
							
						 
						
							
							
								
								Update aquifers when generating 3D vein layout.  
							
							
							
						 
						
							2013-10-11 19:23:32 +04:00  
				
					
						
							
							
								 
						
							
							
								63d8267606 
								
							
								 
							
						 
						
							
							
								
								Decode ice under constructions if possible, but never write it out.  
							
							
							
						 
						
							2013-10-10 12:15:50 +04:00  
				
					
						
							
							
								 
						
							
							
								f36041f6bd 
								
							
								 
							
						 
						
							
							
								
								Implement a MapCache api for writing base layer tiles of arbitrary stone.  
							
							... 
							
							
							
							Precompute some tables in TileTypes for extremely efficient
conversion between tiles of most important material types. 
							
						 
						
							2013-10-10 12:15:50 +04:00  
				
					
						
							
							
								 
						
							
							
								68b6e10b2c 
								
							
								 
							
						 
						
							
							
								
								Implement writing veins tile by tile through MapCache.  
							
							... 
							
							
							
							Unlike changevein, which changes the material in an existing vein
object, with this feature you can set the material for individual
tiles, and the cache will write it out as vein objects.
The array inside the cache data is changed from layer material to
vein material, because layer material is easy to compute. 
							
						 
						
							2013-10-08 18:17:36 +04:00  
				
					
						
							
							
								 
						
							
							
								9442e8ea1f 
								
							
								 
							
						 
						
							
							
								
								Make biome information more explicit in MapCache.  
							
							
							
						 
						
							2013-10-07 16:58:10 +04:00  
				
					
						
							
							
								 
						
							
							
								ea36233dff 
								
							
								 
							
						 
						
							
							
								
								Split MapCache code from Maps.cpp  
							
							
							
						 
						
							2013-10-07 16:58:10 +04:00  
				
					
						
							
							
								 
						
							
							
								e175efa689 
								
							
								 
							
						 
						
							
							
								
								Implement a template-based classical Perlin noise generator.  
							
							... 
							
							
							
							The mask argument of the Impl template is there because apparently
an inner template cannot be fully specialized, so there needs to be
some argument besides i. 
							
						 
						
							2013-10-01 18:58:04 +04:00  
				
					
						
							
							
								 
						
							
							
								599af0a4d9 
								
							
								 
							
						 
						
							
							
								
								Fix linux and windows build issues.  
							
							... 
							
							
							
							- Linux makefile overrides and removes the optimization flags.
- Old linux gcc doesn't understand lambdas.
- MSVC doesn't like extern and explicit instantiation in same file. 
							
						 
						
							2013-09-30 22:51:29 +04:00  
				
					
						
							
							
								 
						
							
							
								9e81d27cd1 
								
							
								 
							
						 
						
							
							
								
								Implement the same random generator as DF uses for DFHack.  
							
							
							
						 
						
							2013-09-30 19:46:39 +04:00  
				
					
						
							
							
								 
						
							
							
								df2e04db26 
								
							
								 
							
						 
						
							
							
								
								Update xml definitions.  
							
							
							
						 
						
							2013-08-16 18:25:16 +04:00  
				
					
						
							
							
								 
						
							
							
								ba73de5e35 
								
							
								 
							
						 
						
							
							
								
								EventManager: use units.all instead of units.active.  
							
							
							
						 
						
							2013-06-20 21:34:32 -04:00  
				
					
						
							
							
								 
						
							
							
								49409d4630 
								
							
								 
							
						 
						
							
							
								
								Follow xml changes.  
							
							
							
						 
						
							2013-06-11 16:10:42 +04:00  
				
					
						
							
							
								 
						
							
							
								57c42e3927 
								
							
								 
							
						 
						
							
							
								
								Maps.ensureTileBlock: fixed temperature issues, and properly added blocks to the world.map.map_blocks vector to prevent weird glitches.  
							
							
							
						 
						
							2013-06-10 15:43:14 -04:00  
				
					
						
							
							
								 
						
							
							
								08114cf574 
								
							
								 
							
						 
						
							
							
								
								diggingInvaders: more fixes. Still a few issues with ramps probably.  
							
							
							
						 
						
							2013-05-31 20:39:43 -04:00  
				
					
						
							
							
								 
						
							
							
								f8261348ff 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into diggingInvaders  
							
							... 
							
							
							
							Also make edgeCost.cpp compile because I stopped midsentence for some reason.
Conflicts:
	library/modules/Maps.cpp 
							
						 
						
							2013-05-31 16:28:05 -04:00  
				
					
						
							
							
								 
						
							
							
								3403146461 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'peterix/master'  
							
							... 
							
							
							
							Conflicts:
	plugins/CMakeLists.txt
	plugins/autoSyndrome.cpp 
							
						 
						
							2013-05-25 20:08:56 -04:00  
				
					
						
							
							
								 
						
							
							
								638b2e974c 
								
							
								 
							
						 
						
							
							
								
								EventManager: cleaned up manageEvents considerably, using a function pointer array.  
							
							
							
						 
						
							2013-05-25 12:19:54 -04:00  
				
					
						
							
							
								 
						
							
							
								bcaaa72387 
								
							
								 
							
						 
						
							
							
								
								EventManager should use a CoreSuspender just in case.  
							
							
							
						 
						
							2013-05-25 11:50:43 -04:00  
				
					
						
							
							
								 
						
							
							
								b44cd86dc9 
								
							
								 
							
						 
						
							
							
								
								EventManager: completely overhauled JOB_COMPLETED event detection, and tweaked Job::cloneJobStruct.  
							
							
							
						 
						
							2013-05-25 09:44:17 -04:00  
				
					
						
							
							
								 
						
							
							
								29b5e20575 
								
							
								 
							
						 
						
							
							
								
								autoSyndrome should now work with syndromeTrigger.  
							
							
							
						 
						
							2013-05-11 16:46:37 -04:00  
				
					
						
							
							
								 
						
							
							
								e5fd918b0c 
								
							
								 
							
						 
						
							
							
								
								job: unk2 -> subtype  
							
							
							
						 
						
							2013-05-05 03:55:08 +02:00  
				
					
						
							
							
								 
						
							
							
								6a907e3584 
								
							
								 
							
						 
						
							
							
								
								Fix issue  #195  - off by one error in building dimensions  
							
							
							
						 
						
							2013-04-24 17:41:25 +02:00  
				
					
						
							
							
								 
						
							
							
								b4092f62e6 
								
							
								 
							
						 
						
							
							
								
								New module: Once. Intended to help prevent debug error message spam.  
							
							
							
						 
						
							2013-03-23 22:38:33 -04:00  
				
					
						
							
							
								 
						
							
							
								7cbd201f31 
								
							
								 
							
						 
						
							
							
								
								Nuke the third exit(1) and change building caching code to make more sense.  
							
							
							
						 
						
							2013-02-14 13:13:25 +04:00  
				
					
						
							
							
								 
						
							
							
								9ca435544e 
								
							
								 
							
						 
						
							
							
								
								Nuke unsafe behavior in Buildings::findAtTile from orbit.  
							
							
							
						 
						
							2013-02-13 15:03:15 +04:00  
				
					
						
							
							
								 
						
							
							
								e06b6904f1 
								
							
								 
							
						 
						
							
							
								
								Small fix to sync dfhack with the structures.  
							
							
							
						 
						
							2013-01-15 23:41:43 +01:00  
				
					
						
							
							
								 
						
							
							
								3ffbef2396 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'canStepBetween' into recent  
							
							
							
						 
						
							2013-01-05 18:10:29 -05:00  
				
					
						
							
							
								 
						
							
							
								f8abd5c595 
								
							
								 
							
						 
						
							
							
								
								StepBetween: renamed stuff back to the way it was. Thought I had already done that.  
							
							
							
						 
						
							2013-01-05 18:09:50 -05:00  
				
					
						
							
							
								 
						
							
							
								6622e9e06f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'canStepBetween' into recent  
							
							... 
							
							
							
							Conflicts:
	library/modules/Maps.cpp 
							
						 
						
							2013-01-05 13:32:29 -05:00  
				
					
						
							
							
								 
						
							
							
								8e90ca6b41 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'eventManager' into diggingInvaders-unstable  
							
							
							
						 
						
							2013-01-03 22:47:45 -05:00  
				
					
						
							
							
								 
						
							
							
								ec03d567d2 
								
							
								 
							
						 
						
							
							
								
								EventManager: use WORLD_LOADED instead of MAP_LOADED.  
							
							
							
						 
						
							2013-01-03 22:47:27 -05:00  
				
					
						
							
							
								 
						
							
							
								f145f8d528 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'eventManager' into diggingInvaders-unstable  
							
							
							
						 
						
							2013-01-03 19:32:12 -05:00  
				
					
						
							
							
								 
						
							
							
								715f191c26 
								
							
								 
							
						 
						
							
							
								
								EventManager: made the frequency part of EventHandler.  
							
							
							
						 
						
							2013-01-03 19:31:29 -05:00  
				
					
						
							
							
								 
						
							
							
								9e74ae58f2 
								
							
								 
							
						 
						
							
							
								
								EventManager: Fixed a problem with deregistering event frequencies.  
							
							
							
						 
						
							2013-01-03 19:07:05 -05:00  
				
					
						
							
							
								 
						
							
							
								84b8fae326 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'eventManager' into diggingInvaders-unstable  
							
							
							
						 
						
							2013-01-03 15:53:06 -05:00  
				
					
						
							
							
								 
						
							
							
								910e398a7b 
								
							
								 
							
						 
						
							
							
								
								EventManager: added invasion event.  
							
							
							
						 
						
							2013-01-03 15:52:56 -05:00  
				
					
						
							
							
								 
						
							
							
								5865579b23 
								
							
								 
							
						 
						
							
							
								
								EventManager: got rid of print statement.  
							
							
							
						 
						
							2013-01-02 19:26:37 -05:00  
				
					
						
							
							
								 
						
							
							
								6d2773856a 
								
							
								 
							
						 
						
							
							
								
								EventManager: fixed a few things.  
							
							
							
						 
						
							2013-01-02 19:23:40 -05:00  
				
					
						
							
							
								 
						
							
							
								4e4e382b8f 
								
							
								 
							
						 
						
							
							
								
								EventManager: added syndrome event.  
							
							
							
						 
						
							2013-01-02 18:30:15 -05:00  
				
					
						
							
							
								 
						
							
							
								144e0b4dcb 
								
							
								 
							
						 
						
							
							
								
								Digging Invaders: merged eventManager and recent.  
							
							
							
						 
						
							2013-01-02 11:26:30 -05:00  
				
					
						
							
							
								 
						
							
							
								c3b2ae2137 
								
							
								 
							
						 
						
							
							
								
								EventManager: allowed plugins to specify how often they need events to be checked, in the event that monitoring is necessary.  
							
							
							
						 
						
							2013-01-02 11:07:56 -05:00  
				
					
						
							
							
								 
						
							
							
								fa78d6ccfc 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'recent' into eventManager-unstable  
							
							... 
							
							
							
							Conflicts:
	library/modules/Job.cpp 
							
						 
						
							2013-01-02 03:16:45 -05:00  
				
					
						
							
							
								 
						
							
							
								4e99841862 
								
							
								 
							
						 
						
							
							
								
								EventManager: made Buildings module keep track of buildings so that it  
							
							... 
							
							
							
							can do findAtTile in constant time. 
							
						 
						
							2013-01-01 22:22:31 -05:00  
				
					
						
							
							
								 
						
							
							
								ee4f37ff72 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'canWalkBetween' into diggingInvaders  
							
							
							
						 
						
							2012-12-19 20:31:17 -05:00  
				
					
						
							
							
								 
						
							
							
								7972902c81 
								
							
								 
							
						 
						
							
							
								
								stepBetween: named a few things better, and fixed a lot.  
							
							
							
						 
						
							2012-12-19 20:30:37 -05:00  
				
					
						
							
							
								 
						
							
							
								a93c0223a2 
								
							
								 
							
						 
						
							
							
								
								EventManager: unstable. Temp commit.  
							
							
							
						 
						
							2012-12-18 20:28:30 -05:00  
				
					
						
							
							
								 
						
							
							
								555c754636 
								
							
								 
							
						 
						
							
							
								
								EventManager: added construction and building events.  
							
							
							
						 
						
							2012-12-18 18:34:38 -05:00  
				
					
						
							
							
								 
						
							
							
								515eb3b060 
								
							
								 
							
						 
						
							
							
								
								Reverted the silly changes to Buildings module that didn't work anyway.  
							
							
							
						 
						
							2012-12-17 17:38:47 -05:00  
				
					
						
							
							
								 
						
							
							
								3fde504ae2 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'canWalkBetween' into diggingInvaders  
							
							
							
						 
						
							2012-12-17 00:25:31 -05:00  
				
					
						
							
							
								 
						
							
							
								22837af8d7 
								
							
								 
							
						 
						
							
							
								
								canWalkBetween: fixed bug involving ramps.  
							
							
							
						 
						
							2012-12-17 00:25:14 -05:00  
				
					
						
							
							
								 
						
							
							
								d79583a2c9 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'canWalkBetween' into diggingInvaders  
							
							
							
						 
						
							2012-12-16 23:39:36 -05:00  
				
					
						
							
							
								 
						
							
							
								1a6a09281b 
								
							
								 
							
						 
						
							
							
								
								canWalkBetween: forgot a case with ramps.  
							
							
							
						 
						
							2012-12-16 23:37:15 -05:00  
				
					
						
							
							
								 
						
							
							
								d2be8f18e1 
								
							
								 
							
						 
						
							
							
								
								canWalkBetween: forgot a case with stairs.  
							
							
							
						 
						
							2012-12-16 23:30:35 -05:00  
				
					
						
							
							
								 
						
							
							
								01e5e93825 
								
							
								 
							
						 
						
							
							
								
								Renamed Maps::canWalkBetween to Maps::canPathBetween and added Maps::canWalkBetween, which does what it says.  
							
							
							
						 
						
							2012-12-16 23:26:50 -05:00  
				
					
						
							
							
								 
						
							
							
								131d19e4cf 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'eventManager' into diggingInvaders  
							
							
							
						 
						
							2012-12-16 16:43:58 -05:00  
				
					
						
							
							
								 
						
							
							
								8a242b3c0d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into diggingInvaders  
							
							
							
						 
						
							2012-12-16 16:34:45 -05:00  
				
					
						
							
							
								 
						
							
							
								78aab90f3a 
								
							
								 
							
						 
						
							
							
								
								EventManager: whitespace.  
							
							
							
						 
						
							2012-12-16 16:27:08 -05:00