0e3fb79f0e 
								
							
								 
							
						 
						
							
							
								
								Update structures  
							
							
							
						 
						
							2014-06-10 12:52:17 +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  
				
					
						
							
							
								 
						
							
							
								91a93a00d2 
								
							
								 
							
						 
						
							
							
								
								Add dfhack.run_command (Lua)  
							
							... 
							
							
							
							Simplified version of runCommand 
							
						 
						
							2014-06-07 20:31:20 -04:00  
				
					
						
							
							
								 
						
							
							
								2242d42c9c 
								
							
								 
							
						 
						
							
							
								
								Implement runCommand in Lua API  
							
							
							
						 
						
							2014-06-07 20:15:49 -04:00  
				
					
						
							
							
								 
						
							
							
								7de0b2dd39 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #255  from quietust/develop  
							
							... 
							
							
							
							Fix problems with NONE for item types and subtypes 
							
						 
						
							2014-06-03 08:44:19 -05:00  
				
					
						
							
							
								 
						
							
							
								0a0358a8c1 
								
							
								 
							
						 
						
							
							
								
								Update structures  
							
							
							
						 
						
							2014-06-03 12:59:55 +04:00  
				
					
						
							
							
								 
						
							
							
								bdca1ee709 
								
							
								 
							
						 
						
							
							
								
								Linux: Extended back/forward word sequences  
							
							
							
						 
						
							2014-05-26 10:03:28 -04:00  
				
					
						
							
							
								 
						
							
							
								b14ef95dec 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'console-move-word' into console-move-word-linux  
							
							
							
						 
						
							2014-05-26 10:01:04 -04:00  
				
					
						
							
							
								 
						
							
							
								d320fe71d1 
								
							
								 
							
						 
						
							
							
								
								Implement extended arrow key sequences  
							
							
							
						 
						
							2014-05-25 23:39:34 -04:00  
				
					
						
							
							
								 
						
							
							
								58b9c02ce5 
								
							
								 
							
						 
						
							
							
								
								Migrate esc-b/f sequences to Linux  
							
							
							
						 
						
							2014-05-25 22:10:40 -04:00  
				
					
						
							
							
								 
						
							
							
								1fcaac9d2e 
								
							
								 
							
						 
						
							
							
								
								OS X Console: Implement back/forward one word escape sequences  
							
							
							
						 
						
							2014-05-25 21:52:16 -04:00  
				
					
						
							
							
								 
						
							
							
								e483e7439f 
								
							
								 
							
						 
						
							
							
								
								Fix problems with NONE for item types and subtypes  
							
							
							
						 
						
							2014-05-22 08:18:01 -05:00  
				
					
						
							
							
								 
						
							
							
								fe93aba612 
								
							
								 
							
						 
						
							
							
								
								Update structures  
							
							
							
						 
						
							2014-05-11 13:36:36 +04: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  
				
					
						
							
							
								 
						
							
							
								1d1ede279f 
								
							
								 
							
						 
						
							
							
								
								Update structures  
							
							
							
						 
						
							2014-04-21 09:52:07 +04: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  
				
					
						
							
							
								 
						
							
							
								55cea36c76 
								
							
								 
							
						 
						
							
							
								
								Use the new API to produce combat reports for aimed siege engine attacks.  
							
							... 
							
							
							
							This requires exposing the actual operator unit to lua code. 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								22dab5d807 
								
							
								 
							
						 
						
							
							
								
								Update XML, fix several scripts that were broken by field name changes  
							
							
							
						 
						
							2014-04-14 12:30:34 -05:00  
				
					
						
							
							
								 
						
							
							
								ddd56d8ea6 
								
							
								 
							
						 
						
							
							
								
								Update the structures.  
							
							
							
						 
						
							2014-04-12 17:21:35 +04:00  
				
					
						
							
							
								 
						
							
							
								7aecffe0cd 
								
							
								 
							
						 
						
							
							
								
								Update structures and fix broken things.  
							
							
							
						 
						
							2014-04-04 22:34:39 +04:00  
				
					
						
							
							
								 
						
							
							
								788bc55096 
								
							
								 
							
						 
						
							
							
								
								Fix a mistake in the lua resize() method of BitArray.  
							
							
							
						 
						
							2014-04-04 22:33:05 +04:00  
				
					
						
							
							
								 
						
							
							
								a09e132107 
								
							
								 
							
						 
						
							
							
								
								Support using multiple lua init scripts per save.  
							
							... 
							
							
							
							This should make it easier to add and remove init script code by
automated means, or install multiple mods that need such code. 
							
						 
						
							2014-03-31 16:00:55 +04:00  
				
					
						
							
							
								 
						
							
							
								e620ae765c 
								
							
								 
							
						 
						
							
							
								
								Add missing import/export info for MersenneRNG::unitvector<>  
							
							
							
						 
						
							2014-03-25 13:30:21 -05:00  
				
					
						
							
							
								 
						
							
							
								ec14b2d1e9 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'warmist/dev-modmanager' into develop  
							
							
							
						 
						
							2014-03-24 20:07:02 +04:00  
				
					
						
							
							
								 
						
							
							
								a01939fce6 
								
							
								 
							
						 
						
							
							
								
								Sync structures.  
							
							
							
						 
						
							2014-03-24 19:45:27 +04:00  
				
					
						
							
							
								 
						
							
							
								b030548156 
								
							
								 
							
						 
						
							
							
								
								Added directory listing to lua api (internal category).  
							
							... 
							
							
							
							added mod manager and updated readme/news 
							
						 
						
							2014-03-04 18:01:44 +02:00  
				
					
						
							
							
								 
						
							
							
								36b09c950d 
								
							
								 
							
						 
						
							
							
								
								Actually export to lua a few functions that are documented as available.  
							
							
							
						 
						
							2014-02-28 09:41:04 +04:00  
				
					
						
							
							
								 
						
							
							
								72eb366997 
								
							
								 
							
						 
						
							
							
								
								Merge changes, also fix Windows build (missing header)  
							
							
							
						 
						
							2014-02-27 15:58:15 -06:00  
				
					
						
							
							
								 
						
							
							
								dd268d43d9 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/jjyg/dfhack  
							
							
							
						 
						
							2014-02-27 15:49:18 -06:00  
				
					
						
							
							
								 
						
							
							
								5a158b21cf 
								
							
								 
							
						 
						
							
							
								
								Update plugins to match fixed field names in cage/civzone  
							
							
							
						 
						
							2014-02-27 14:51:45 -06:00  
				
					
						
							
							
								 
						
							
							
								6d0e6cf7d5 
								
							
								 
							
						 
						
							
							
								
								remove old unused code from when dfhack was out of process  
							
							
							
						 
						
							2014-02-26 12:44:10 +01:00  
				
					
						
							
							
								 
						
							
							
								7bdb687e4a 
								
							
								 
							
						 
						
							
							
								
								Support calling a lua function via a protobuf request.  
							
							... 
							
							
							
							Previously the only way to call lua code was to call scripts
and parse their output to the stream, which is cumbersome. 
							
						 
						
							2014-02-10 20:09:06 +04:00  
				
					
						
							
							
								 
						
							
							
								8800cf6f40 
								
							
								 
							
						 
						
							
							
								
								Export functions for converting between UTF-8 and CP437 to lua.  
							
							
							
						 
						
							2014-02-10 18:54:52 +04:00  
				
					
						
							
							
								 
						
							
							
								387cc983f9 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'osx_shenanigans' of git://github.com/tareqak/dfhack  
							
							
							
						 
						
							2014-02-02 23:50:21 +01:00  
				
					
						
							
							
								 
						
							
							
								7df9957941 
								
							
								 
							
						 
						
							
							
								
								dfhack-run: prevent duplicate "not a recognized command" error message  
							
							
							
						 
						
							2014-01-27 15:36:34 +01:00  
				
					
						
							
							
								 
						
							
							
								6ad8d128ba 
								
							
								 
							
						 
						
							
							
								
								use non-interactive console when calling dfhack.init in TEXT mode  
							
							
							
						 
						
							2014-01-27 15:36:25 +01:00  
				
					
						
							
							
								 
						
							
							
								6b6164c099 
								
							
								 
							
						 
						
							
							
								
								call dfhack.init even in TEXT mode  
							
							
							
						 
						
							2014-01-27 14:51:22 +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  
				
					
						
							
							
								 
						
							
							
								b2819ea869 
								
							
								 
							
						 
						
							
							
								
								Fix wrong argument iteration bounds in dfhack.matinfo.find().  
							
							
							
						 
						
							2013-11-07 11:40:26 +04:00  
				
					
						
							
							
								 
						
							
							
								04dce1aa7f 
								
							
								 
							
						 
						
							
							
								
								MaterialInfo: fix decoding for COAL subtypes  
							
							
							
						 
						
							2013-11-05 00:31:32 +01:00  
				
					
						
							
							
								 
						
							
							
								15c2d99a3e 
								
							
								 
							
						 
						
							
							
								
								Update xml.  
							
							
							
						 
						
							2013-10-25 14:23:55 -04:00  
				
					
						
							
							
								 
						
							
							
								329741f235 
								
							
								 
							
						 
						
							
							
								
								EventManager: added EQUIPMENT_CHANGE event and exposed it to lua.  
							
							
							
						 
						
							2013-10-24 19:32:52 -04:00  
				
					
						
							
							
								 
						
							
							
								ce1bb1e95b 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'putnam/master' into 0.34.11-r4  
							
							
							
						 
						
							2013-10-20 23:27:12 -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  
				
					
						
							
							
								 
						
							
							
								4a32aff6a3 
								
							
								 
							
						 
						
							
							
								
								Update script.lua  
							
							
							
						 
						
							2013-10-20 13:58:15 -07:00  
				
					
						
							
							
								 
						
							
							
								6ef360f4d6 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'warmist/dev-EventManager-lua' into 0.34.11-r4  
							
							
							
						 
						
							2013-10-20 14:52:40 -04:00  
				
					
						
							
							
								 
						
							
							
								0dff26aa23 
								
							
								 
							
						 
						
							
							
								
								Added lua interface (in eventful) for EventManager module.  
							
							
							
						 
						
							2013-10-20 21:44:07 +03: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  
				
					
						
							
							
								 
						
							
							
								1422197533 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'adeon/for-dfhack' into 0.34.11-r4  
							
							
							
						 
						
							2013-10-20 10:45:00 -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  
				
					
						
							
							
								 
						
							
							
								bed1e00a6e 
								
							
								 
							
						 
						
							
							
								
								Use a cast instead of floor in perlin noise for performance.  
							
							
							
						 
						
							2013-10-10 12:15:50 +04:00  
				
					
						
							
							
								 
						
							
							
								a273327c6a 
								
							
								 
							
						 
						
							
							
								
								Remove "using namespace std" from MiscUtils.h.  
							
							
							
						 
						
							2013-10-10 12:15:50 +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  
				
					
						
							
							
								 
						
							
							
								84033bd586 
								
							
								 
							
						 
						
							
							
								
								ruby: dont list ruby scripts when ruby plugin is disabled  
							
							
							
						 
						
							2013-10-07 14:32:47 +02:00  
				
					
						
							
							
								 
						
							
							
								33469f5bb2 
								
							
								 
							
						 
						
							
							
								
								Use a better hash function in the Perlin noise generator.  
							
							
							
						 
						
							2013-10-02 18:55:41 +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  
				
					
						
							
							
								 
						
							
							
								d7e35c2d23 
								
							
								 
							
						 
						
							
							
								
								Add built-in enable and disable commands.  
							
							
							
						 
						
							2013-09-30 13:19:51 +04:00  
				
					
						
							
							
								 
						
							
							
								11635caeb8 
								
							
								 
							
						 
						
							
							
								
								Add makeown.lua.  
							
							
							
						 
						
							2013-08-31 16:15:54 -04:00  
				
					
						
							
							
								 
						
							
							
								896cd11fe9 
								
							
								 
							
						 
						
							
							
								
								Track readable names of vmethod hooks for diagnostic messages.  
							
							... 
							
							
							
							Note that this changes the ABI of all plugins that use hooks. 
							
						 
						
							2013-08-22 12:14:45 +04:00  
				
					
						
							
							
								 
						
							
							
								506a60709e 
								
							
								 
							
						 
						
							
							
								
								Add SDL_PushEvent() to one of the hooked SDL functions.  
							
							... 
							
							
							
							This is needed by Dfterm3 plugin. 
							
						 
						
							2013-08-20 21:41:08 +03:00  
				
					
						
							
							
								 
						
							
							
								df2e04db26 
								
							
								 
							
						 
						
							
							
								
								Update xml definitions.  
							
							
							
						 
						
							2013-08-16 18:25:16 +04:00  
				
					
						
							
							
								 
						
							
							
								6f5c03b912 
								
							
								 
							
						 
						
							
							
								
								core: generate SC_WORLD_LOADED for arena too  
							
							
							
						 
						
							2013-07-07 23:36:22 +02: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  
				
					
						
							
							
								 
						
							
							
								1b260fe549 
								
							
								 
							
						 
						
							
							
								
								Made the per save onLoad and onUnload script use the right separator character for different operating systems.  
							
							
							
						 
						
							2013-06-10 15:55:54 -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  
				
					
						
							
							
								 
						
							
							
								9f6638432f 
								
							
								 
							
						 
						
							
							
								
								When a save is loaded/unloaded, the script at raw/onLoad.init or raw/onUnload.init is run. They use the same format as dfhack.init.  
							
							
							
						 
						
							2013-06-10 00:45:46 -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  
				
					
						
							
							
								 
						
							
							
								aed5f4178f 
								
							
								 
							
						 
						
							
							
								
								Update xml.  
							
							
							
						 
						
							2013-05-30 20:06:06 -04:00  
				
					
						
							
							
								 
						
							
							
								e0b27a6873 
								
							
								 
							
						 
						
							
							
								
								Update xml.  
							
							
							
						 
						
							2013-05-28 19:55:26 -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  
				
					
						
							
							
								 
						
							
							
								d7145d9b69 
								
							
								 
							
						 
						
							
							
								
								Fix bug  #188 , eggy hook  
							
							
							
						 
						
							2013-04-24 17:50:34 +02:00  
				
					
						
							
							
								 
						
							
							
								6a907e3584 
								
							
								 
							
						 
						
							
							
								
								Fix issue  #195  - off by one error in building dimensions  
							
							
							
						 
						
							2013-04-24 17:41:25 +02:00  
				
					
						
							
							
								 
						
							
							
								3e59794733 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/cherrydev/dfhack  
							
							... 
							
							
							
							Conflicts:
	Readme.html 
							
						 
						
							2013-04-24 16:13:27 +02:00  
				
					
						
							
							
								 
						
							
							
								b4092f62e6 
								
							
								 
							
						 
						
							
							
								
								New module: Once. Intended to help prevent debug error message spam.  
							
							
							
						 
						
							2013-03-23 22:38:33 -04:00  
				
					
						
							
							
								 
						
							
							
								c93cb693c8 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  http://github.com/peterix/dfhack  
							
							
							
						 
						
							2013-03-14 13:35:28 -04:00  
				
					
						
							
							
								 
						
							
							
								d78a5593cc 
								
							
								 
							
						 
						
							
							
								
								Minor fix to Process methods  
							
							
							
						 
						
							2013-03-14 13:32:39 -04:00  
				
					
						
							
							
								 
						
							
							
								27f23746bd 
								
							
								 
							
						 
						
							
							
								
								Do not use autocompletion to second-guess the user.  
							
							
							
						 
						
							2013-03-14 06:43:38 +01:00  
				
					
						
							
							
								 
						
							
							
								c5aa808737 
								
							
								 
							
						 
						
							
							
								
								Sync submodules  
							
							
							
						 
						
							2013-03-14 05:07:30 +01:00  
				
					
						
							
							
								 
						
							
							
								03b91ca26c 
								
							
								 
							
						 
						
							
							
								
								Fix a problem in binpatch.lua and comment out debug messages in tweak.  
							
							
							
						 
						
							2013-02-26 12:29:02 +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  
				
					
						
							
							
								 
						
							
							
								a8f5e54e37 
								
							
								 
							
						 
						
							
							
								
								Sync submodules  
							
							
							
						 
						
							2013-02-14 09:53:14 +01:00  
				
					
						
							
							
								 
						
							
							
								148a37b2e4 
								
							
								 
							
						 
						
							
							
								
								Sync structures  
							
							
							
						 
						
							2013-02-13 13:55:28 -06:00  
				
					
						
							
							
								 
						
							
							
								8d278a87db 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/angavrilov/dfhack.git  
							
							... 
							
							
							
							Conflicts:
	plugins/devel/CMakeLists.txt 
							
						 
						
							2013-02-13 13:52:02 -06:00  
				
					
						
							
							
								 
						
							
							
								9ca435544e 
								
							
								 
							
						 
						
							
							
								
								Nuke unsafe behavior in Buildings::findAtTile from orbit.  
							
							
							
						 
						
							2013-02-13 15:03:15 +04:00  
				
					
						
							
							
								 
						
							
							
								a17760af4f 
								
							
								 
							
						 
						
							
							
								
								Communicate the Plugin pointer to the plugin in a decent sort of way.  
							
							
							
						 
						
							2013-02-13 14:45:24 +04:00  
				
					
						
							
							
								 
						
							
							
								f90737e274 
								
							
								 
							
						 
						
							
							
								
								Add more comments to the vmethod interpose implementation.  
							
							
							
						 
						
							2013-02-10 15:26:48 +04:00  
				
					
						
							
							
								 
						
							
							
								0e384ada75 
								
							
								 
							
						 
						
							
							
								
								Sync submodules  
							
							
							
						 
						
							2013-02-05 05:34:34 +01:00  
				
					
						
							
							
								 
						
							
							
								e06b6904f1 
								
							
								 
							
						 
						
							
							
								
								Small fix to sync dfhack with the structures.  
							
							
							
						 
						
							2013-01-15 23:41:43 +01:00  
				
					
						
							
							
								 
						
							
							
								0073c1bec2 
								
							
								 
							
						 
						
							
							
								
								Track xml and stonesense  
							
							
							
						 
						
							2013-01-15 23:16:15 +01:00  
				
					
						
							
							
								 
						
							
							
								3c6ddc2a8c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/expwnent/dfhack  
							
							... 
							
							
							
							Conflicts:
	NEWS
	library/xml 
							
						 
						
							2013-01-09 10:09:58 -06: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  
				
					
						
							
							
								 
						
							
							
								a0d2f262b0 
								
							
								 
							
						 
						
							
							
								
								Update submodules.  
							
							
							
						 
						
							2013-01-02 21:38:53 -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  
				
					
						
							
							
								 
						
							
							
								e4f4943b10 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/angavrilov/dfhack  
							
							
							
						 
						
							2012-12-23 12:34:05 +02:00  
				
					
						
							
							
								 
						
							
							
								bb3a491d68 
								
							
								 
							
						 
						
							
							
								
								Implement a per-save lua init script.  
							
							
							
						 
						
							2012-12-21 14:00:50 +04: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