Commit Graph

6805 Commits (d0c28d3f50ba9178462681114dcaef74addc15b1)
 

Author SHA1 Message Date
lethosor d0c28d3f50 Prevent plugins with active viewscreens from being unloaded
This requires plugins to pass plugin_self to Screen::show(), but
avoids the need to implement special checks in plugin_onstatechange
for the SC_BEGIN_UNLOAD event.
2016-01-01 11:15:29 -05:00
lethosor ef62c044a3 Update NEWS, xml 2016-01-01 10:30:02 -05:00
lethosor 31745f4a36 Fix a couple exportlegends issues and update xml 2015-12-31 14:32:31 -05:00
lethosor 090787e927 Update xml 2015-12-31 13:41:46 -05:00
lethosor d775333c00 fix-unit-occupancy: Account for wagon occupancy correctly
Previously, non-central wagon tiles would have their occupancy flag
cleared.
2015-12-31 13:38:38 -05:00
lethosor d284d9e83a exportlegends cleanup
* Remove unnecessary string concatenations (e.g.
  `write("</sites>".."\n")`)
* Open a separate file instead of rerouting stdout - this ensures that
  stdout doesn't point to the xml file if the export fails for some
  reason
* Encode artifact descriptions properly
2015-12-30 14:45:15 -05:00
lethosor aaae6d54cd exportlegends: Fix issues with entities with no race
Some, such as specific site governments, have races of -1

Fixes #780
2015-12-30 12:15:01 -05:00
lethosor 26f66ce8e2 Bump version to 0.42.04 2015-12-30 11:27:19 -05:00
lethosor bd7039f4e0 Don't show prerelease message during worldgen 2015-12-30 10:11:27 -05:00
lethosor 2079093d5a Fix new addresses in export-dt-ini 2015-12-28 23:19:02 -05:00
lethosor 51164d5547 Add standing orders scans to find-offsets 2015-12-28 21:35:47 -05:00
lethosor 22283066ca Update xml 2015-12-28 17:30:05 -05:00
lethosor 0a4287afba gps scan: fall back to data section 2015-12-28 17:28:50 -05:00
lethosor 7431329e2d New script: devel/save-version.lua 2015-12-28 17:01:47 -05:00
lethosor 6637a85164 Don't hardcode line numbers in script documentation check 2015-12-28 16:31:36 -05:00
lethosor 9dbb5b92f9 Fix some issues in devel/export-dt-ini.lua 2015-12-28 15:55:09 -05:00
lethosor 39086acf64 Merge export-dt-ini changes from splintermind/Dwarf-Therapist 2015-12-28 15:46:42 -05:00
lethosor 2ef24a3daf Prevent nested command invocations in command-prompt
For example, running "devel/send-key SELECT" in command-prompt would
blow up the stack by recursively calling submit()
2015-12-27 22:35:14 -05:00
lethosor c23ac50250 Always run dfhack.init-example if dfhack.init doesn't exist
This previously only happened if no files matching *dfhack*.init
existed
2015-12-27 16:39:10 -05:00
lethosor e075a06486 Add search controls to all viewscreen_petst subpages 2015-12-27 15:49:10 -05:00
lethosor d087f4f741 Expose process MD5/PE to Lua (useful in export-dt-ini) 2015-12-27 14:59:18 -05:00
lethosor a977f274b1 Update xml 2015-12-26 20:00:09 -05:00
lethosor fabff1ddfb Fix df::occupation usage 2015-12-26 19:59:54 -05:00
lethosor c8b937b115 Update 3rdparty/lethosor (install devel/send-key) 2015-12-26 14:25:25 -05:00
lethosor 5263d425a2 Merge remote-tracking branch 'BenLubar/benlubar-init-args' into develop 2015-12-26 13:47:58 -05:00
Ben Lubar 106891f6e0 vim-style +-args. for example, "./dfhack +echo foo" would be equivalent to running ./dfhack and then typing "echo foo" into the console. uses shell argument splitting, so "./dfhack +somecommand 'foo bar' baz" does the right thing. See DFHack#755. 2015-12-26 12:10:44 -06:00
lethosor 9a82f59518 Merge remote-tracking branch 'BenLubar/benlubar-init-args' into develop 2015-12-26 11:49:45 -05:00
lethosor 05926d9734 New tweak: title-start-rename
Adds a safe rename option to the title screen "Start Playing" menu
2015-12-26 11:47:58 -05:00
lethosor a9ad2f40f1 Add a location retirement confirmation 2015-12-25 11:18:55 -05:00
lethosor 64d861bf6b Add support for viewscreen_locationsst to various gui functions 2015-12-25 11:09:13 -05:00
lethosor d4b631d9fd tweak prerelease pack warning 2015-12-25 10:53:48 -05:00
lethosor 7fe71c94f6 A few devel/unit-path fixes
* Handle unrecognized unit_path_type values
* Handle getSelectedUnit()
* Only zoom to path.dest if it's valid
2015-12-25 10:05:13 -05:00
lethosor de160de0e8 showmood: use correct console encoding 2015-12-24 21:34:38 -05:00
lethosor 25e808be38 Update xml 2015-12-23 17:45:08 -05:00
lethosor e3e68a8df9 Add a search option to the location occupation menu 2015-12-23 16:57:43 -05:00
lethosor 9bf7e550a7 Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-12-22 19:35:52 -05:00
lethosor a75a8cb496 Update version in CMakeLists.txt 2015-12-22 19:35:40 -05:00
lethosor 14f1e6b06c Improve prerelease warning somewhat 2015-12-22 19:34:54 -05:00
Lethosor 9fb1cf590d Merge pull request #775 from txtsd/distrofix
Use distro_fixes.sh from LNP if it exists
2015-12-22 14:28:42 -05:00
txtsd 07e59139fd Use distro_fixes.sh from LNP if it exists 2015-12-23 00:38:03 +05:30
lethosor 2a2ab00ca9 Add "map" parameter to a lot of drawing functions
Ref #746
2015-12-22 11:42:51 -05:00
lethosor c9eab65c96 Fix more produce() calls 2015-12-22 09:54:00 -05:00
lethosor 10c72a3d5d Fix produce() call in modules/Items.cpp 2015-12-22 09:46:01 -05:00
lethosor f6e30efee7 Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-12-22 09:43:33 -05:00
lethosor e4ff4fe64c Update xml 2015-12-22 09:43:17 -05:00
Lethosor 285d48fb60 Merge pull request #774 from TheBloke/Docs_misc
Compile docs: Misc changes: Linux re building docs/pip; Windows re MSVC requirement and vs VStudio; Windows re command line compile with Bash.
2015-12-21 21:50:22 -05:00
TheBloke ce0322e8fd Word addition 2015-12-22 02:02:12 +00:00
TheBloke 203b6b967d Windows: new section on using Bash to compile on command line under Windows 2015-12-22 01:57:39 +00:00
TheBloke 017afec271 Word order 2015-12-22 01:44:49 +00:00
TheBloke df7edaf37d Windows: clarification on requirement of MSVC vs Visual Studio and basic explanation why 2015-12-22 01:43:38 +00:00