966623a919 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2387  from cppcooper/units-checking  
							
							... 
							
							
							
							Extends Units module 
							
						 
						
							2022-11-14 16:55:42 -08:00  
				
					
						
							
							
								 
						
							
							
								94c6bc8063 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor generic lua function caller to Lua ns  
							
							
							
						 
						
							2022-11-14 16:40:35 -08:00  
				
					
						
							
							
								 
						
							
							
								aa5c6515e0 
								
							
								 
							
						 
						
							
							
								
								Removes rogue indent  
							
							
							
						 
						
							2022-11-13 11:39:20 -08:00  
				
					
						
							
							
								 
						
							
							
								78021ec672 
								
							
								 
							
						 
						
							
							
								
								Adds indentation  
							
							
							
						 
						
							2022-11-13 11:35:01 -08:00  
				
					
						
							
							
								 
						
							
							
								d112649886 
								
							
								 
							
						 
						
							
							
								
								Organizes and documents Units::is*(unit) functions  
							
							
							
						 
						
							2022-11-12 16:40:20 -08:00  
				
					
						
							
							
								 
						
							
							
								ebd450af0e 
								
							
								 
							
						 
						
							
							
								
								Adds isUnitInBox to Units module  
							
							
							
						 
						
							2022-11-12 14:42:41 -08:00  
				
					
						
							
							
								 
						
							
							
								34de030ba9 
								
							
								 
							
						 
						
							
							
								
								Units module  
							
							... 
							
							
							
							- Updates `Lua API.rst`
  - Only adds the most important additions (complicated enough to need explaining)
- Adds new functions to LuaApi.cpp
- Revises isUndead to accommodate `dfhack.units.isUndead(u)` => `Units::isUndead(u, false)` instead of taking the default value 
							
						 
						
							2022-11-09 22:03:39 -08:00  
				
					
						
							
							
								 
						
							
							
								eac7fac8e9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2389  from myk002/myk_gui_anywhere  
							
							... 
							
							
							
							[Gui] add "anywhere" keybinding guard 
							
						 
						
							2022-11-09 15:48:04 -08:00  
				
					
						
							
							
								 
						
							
							
								80824f5b75 
								
							
								 
							
						 
						
							
							
								
								Extends Units module  
							
							
							
						 
						
							2022-11-09 14:41:45 -08:00  
				
					
						
							
							
								 
						
							
							
								0344595e4e 
								
									
								
							
								 
							
						 
						
							
							
								
								add "anywhere" keybinding guard  
							
							
							
						 
						
							2022-11-09 14:32:51 -08:00  
				
					
						
							
							
								 
						
							
							
								d95a5ac238 
								
									
								
							
								 
							
						 
						
							
							
								
								add string_to_int to MiscUtils.h  
							
							
							
						 
						
							2022-11-09 11:55:29 -08:00  
				
					
						
							
							
								 
						
							
							
								beee445f6f 
								
							
								 
							
						 
						
							
							
								
								Extends Units module  
							
							... 
							
							
							
							Adds unit check functions for
- animals
- demons
- titans
- megabeasts
- semimegabeasts
- night creatures 
							
						 
						
							2022-11-09 11:44:28 -08:00  
				
					
						
							
							
								 
						
							
							
								f2a386f0e1 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2375  from myk002/myk_uicommon  
							
							... 
							
							
							
							Move generally useful string functions from uicommon to MiscUtils 
							
						 
						
							2022-11-09 10:31:50 -08:00  
				
					
						
							
							
								 
						
							
							
								4668d8c4a3 
								
							
								 
							
						 
						
							
							
								
								Add Lua::Push method for maps  
							
							
							
						 
						
							2022-11-08 10:15:28 -08:00  
				
					
						
							
							
								 
						
							
							
								b82a604c8d 
								
							
								 
							
						 
						
							
							
								
								factor out keys -> lua onInput code to LuaTools  
							
							
							
						 
						
							2022-11-08 10:15:28 -08:00  
				
					
						
							
							
								 
						
							
							
								193d29ba67 
								
									
								
							
								 
							
						 
						
							
							
								
								include cctype to fix build error  
							
							
							
						 
						
							2022-11-08 09:53:08 -08:00  
				
					
						
							
							
								 
						
							
							
								5b9c18fc3c 
								
									
								
							
								 
							
						 
						
							
							
								
								migrate string fns from uicommon to MiscUtils  
							
							... 
							
							
							
							and clean up some leaky usings 
							
						 
						
							2022-11-07 15:36:16 -08:00  
				
					
						
							
							
								 
						
							
							
								666edd6d60 
								
									
								
							
								 
							
						 
						
							
							
								
								don't overwrite dig priority by accident  
							
							... 
							
							
							
							many callers of setDesignationAt simply didn't bother with the priority
parameter. change the default value of the priority param so that by
default we will keep the previous value instead of overwriting it 
							
						 
						
							2022-10-19 16:47:54 -07:00  
				
					
						
							
							
								 
						
							
							
								4f10cd4a9b 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2331  from wolfboyft/constructions-find-at-tile-patch  
							
							... 
							
							
							
							Implement/change/expose to Lua constructions findAtTile & insert 
							
						 
						
							2022-10-13 17:40:21 -07:00  
				
					
						
							
							
								 
						
							
							
								ded5f483d6 
								
							
								 
							
						 
						
							
							
								
								Fix issues in construction module  
							
							
							
						 
						
							2022-10-12 21:32:27 +01:00  
				
					
						
							
							
								 
						
							
							
								b78af72403 
								
									
								
							
								 
							
						 
						
							
							
								
								record built constructions in blueprint  
							
							
							
						 
						
							2022-10-12 13:31:46 -07:00  
				
					
						
							
							
								 
						
							
							
								215a5b0a24 
								
									
								
							
								 
							
						 
						
							
							
								
								add Gui::getMousePos() that always gets map coords  
							
							
							
						 
						
							2022-09-18 08:19:02 -07:00  
				
					
						
							
							
								 
						
							
							
								d0a5db2a0d 
								
									
								
							
								 
							
						 
						
							
							
								
								set sentinel value used by TWBT  
							
							
							
						 
						
							2022-09-16 21:56:05 -07:00  
				
					
						
							
							
								 
						
							
							
								8173f6dd02 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/develop' into docs  
							
							
							
						 
						
							2022-07-18 10:59:00 -07:00  
				
					
						
							
							
								 
						
							
							
								e650bd0942 
								
									
								
							
								 
							
						 
						
							
							
								
								add comment about plugin docs  
							
							
							
						 
						
							2022-07-17 17:05:29 -07:00  
				
					
						
							
							
								 
						
							
							
								dd6fbd53b6 
								
									
								
							
								 
							
						 
						
							
							
								
								add getEntries() to the CommandHistory API  
							
							... 
							
							
							
							so we can export them to lua
also bump the default history size to 5000 from the paltry 100 we had 
							
						 
						
							2022-07-15 09:07:14 -07:00  
				
					
						
							
							
								 
						
							
							
								e926e1116e 
								
									
								
							
								 
							
						 
						
							
							
								
								replace more Core cpp code with calls to helpdb  
							
							... 
							
							
							
							also document devel/dump-rpc builtin 
							
						 
						
							2022-07-14 13:19:30 -07:00  
				
					
						
							
							
								 
						
							
							
								739871bc0f 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove Hooks-egg.cpp and related code and configuration options  
							
							
							
						 
						
							2022-06-29 23:35:14 -04:00  
				
					
						
							
							
								 
						
							
							
								1147add520 
								
									
								
							
								 
							
						 
						
							
							
								
								Constructions module: remove some old/unused functions/types  
							
							
							
						 
						
							2022-06-29 23:35:14 -04:00  
				
					
						
							
							
								 
						
							
							
								4c7caa2658 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove unneeded dependencies on modules/Graphic.h  
							
							
							
						 
						
							2022-06-29 23:35:13 -04:00  
				
					
						
							
							
								 
						
							
							
								8bb047fcc6 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove Notes module  
							
							... 
							
							
							
							Only used in a devel plugin that prints notes, and can be easily replaced
with `ui.waypoints.points` 
							
						 
						
							2022-06-29 23:35:13 -04:00  
				
					
						
							
							
								 
						
							
							
								bc0def4342 
								
									
								
							
								 
							
						 
						
							
							
								
								MiscUtils word_wrap: Add option to trim only leading whitespace after wrapping ( #2169 )  
							
							... 
							
							
							
							* Update changelog.txt 
							
						 
						
							2022-05-30 22:58:46 -04:00  
				
					
						
							
							
								 
						
							
							
								785fe9aa3a 
								
							
								 
							
						 
						
							
							
								
								fix "info" level described as "error" level  
							
							
							
						 
						
							2022-05-14 05:56:57 -07:00  
				
					
						
							
							
								 
						
							
							
								55e4008925 
								
									
								
							
								 
							
						 
						
							
							
								
								MiscUtils: teach word_wrap() to optionally preserve whitespace  
							
							
							
						 
						
							2022-05-09 13:42:11 -04:00  
				
					
						
							
							
								 
						
							
							
								9c9a7ef99a 
								
							
								 
							
						 
						
							
							
								
								Adds consistent interface signatures for Maps module  
							
							
							
						 
						
							2022-04-21 19:40:58 -07:00  
				
					
						
							
							
								 
						
							
							
								251f4f92c8 
								
							
								 
							
						 
						
							
							
								
								Fixes build errors  
							
							
							
						 
						
							2022-04-18 23:53:23 -07:00  
				
					
						
							
							
								 
						
							
							
								d6b2629cfc 
								
							
								 
							
						 
						
							
							
								
								Adds hash functions and operator overloads for event data structures  
							
							
							
						 
						
							2022-04-18 23:53:23 -07:00  
				
					
						
							
							
								 
						
							
							
								d1f0edd33b 
								
									
								
							
								 
							
						 
						
							
							
								
								Apply initial pre-commit config  
							
							
							
						 
						
							2022-04-12 14:48:19 -04:00  
				
					
						
							
							
								 
						
							
							
								257e7a3dfd 
								
									
								
							
								 
							
						 
						
							
							
								
								[core] Debug logging facelift ( #2060 )  
							
							... 
							
							
							
							* route 'Loading script...' messages through the debug logging framework
  * they are now controllable via debugfilter. to turn off, add this to your dfhack.init file: debugfilter set Warning core script
* clarify debug logging docs
* prevent DEBUG messages from being compiled out of the binary
* recolor INFO messages so they blend into existing console output
* add configuration interface for log message header elements so they are individually configurable. all default to off 
							
						 
						
							2022-03-30 14:46:09 -07:00  
				
					
						
							
							
								 
						
							
							
								2df6980237 
								
									
								
							
								 
							
						 
						
							
							
								
								fix crash in eventful due to misaligned fn map ( #2059 )  
							
							... 
							
							
							
							also add warnings in eventful and EventManager to prompt devs to keep them in sync 
							
						 
						
							2022-03-29 12:51:21 -07:00  
				
					
						
							
							
								 
						
							
							
								b18eff9ce2 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert EventManager to previous behavior, but keep new events  
							
							... 
							
							
							
							Fixes  #2031  
						
							2022-03-29 09:42:24 -07:00  
				
					
						
							
							
								 
						
							
							
								88b403ec7a 
								
									
								
							
								 
							
						 
						
							
							
								
								Add functions reverse-engineered from ambushing unit code ( #1992 )  
							
							... 
							
							
							
							* Add functions reverse-engineered from ambushing unit code
* Fix whitespace
* Fix debug_showambush check
* Remove getOuterContainerRef from Lua API
Don't think this works properly without allocating a new specific_ref. More trouble that it's worth.
* Fixed tile visibility check
* I don't think gamemode or gametype are ever NULL
* Minor tweaks to documentation
* Reimplement getOuterContainerRef for Lua; fix some comments
* Update Units.cpp and changelog
* Update Units.cpp
* Update changelog.txt 
							
						 
						
							2022-03-13 17:19:35 -07:00  
				
					
						
							
							
								 
						
							
							
								aa1bc3fe52 
								
							
								 
							
						 
						
							
							
								
								Cleanup Kitchen module (and the seedwatch plugin which uses it)  
							
							
							
						 
						
							2022-03-12 12:04:34 -08:00  
				
					
						
							
							
								 
						
							
							
								ba5710f263 
								
							
								 
							
						 
						
							
							
								
								Adds new event type NEW_UNIT_ACTIVE  
							
							
							
						 
						
							2022-03-12 11:33:27 -08:00  
				
					
						
							
							
								 
						
							
							
								fb51e2d8b5 
								
							
								 
							
						 
						
							
							
								
								Adds comments to members of EventHandler  
							
							
							
						 
						
							2022-03-12 11:33:27 -08:00  
				
					
						
							
							
								 
						
							
							
								24255d3195 
								
							
								 
							
						 
						
							
							
								
								Adds event type JOB_STARTED  
							
							
							
						 
						
							2022-03-12 11:33:27 -08:00  
				
					
						
							
							
								 
						
							
							
								f5ced46608 
								
							
								 
							
						 
						
							
							
								
								Refactors EventManager  
							
							... 
							
							
							
							- handler freq now works on an individual handler basis (set to 0 to fire as frequently as possible)
- tick events no longer need to be re-registered after every eventful tick 
							
						 
						
							2022-03-12 11:33:27 -08:00  
				
					
						
							
							
								 
						
							
							
								12df6d14e9 
								
							
								 
							
						 
						
							
							
								
								Improves documentation for plugin writing  
							
							
							
						 
						
							2022-03-12 11:33:27 -08:00  
				
					
						
							
							
								 
						
							
							
								e9eef31344 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor list item removal into a library fn  
							
							
							
						 
						
							2021-08-19 19:51:25 -07:00  
				
					
						
							
							
								 
						
							
							
								5b960b97bc 
								
									
								
							
								 
							
						 
						
							
							
								
								fix comment for Maps::getSize(); add getTileSize()  
							
							
							
						 
						
							2021-07-30 13:09:12 -07:00