Commit Graph

3711 Commits (0c70a448d0f88823dd6ac236e8d123fa79da966f)
 

Author SHA1 Message Date
Petr Mrázek 0c70a448d0 Update submodules 2012-11-07 23:06:02 +01:00
Alexander Gavrilov f6b6d730a0 Fix fix-armory constantly trying to store ammo already stored in chest. 2012-11-07 22:49:40 +04:00
Alexander Gavrilov ff982dcf73 Fix representation and parsing of built-in materials.
The trick is to support both FOO and FOO:NONE for all of them,
including INORGANIC[:NONE]. Otherwise the workflow gui scripts
have problems.
2012-11-07 13:31:36 +04:00
Alexander Gavrilov 20e98d4926 Add a script for viewing and poking at local populations. 2012-11-04 20:51:13 +04:00
Alexander Gavrilov edf80ff748 Show the sex of the unit in the bottom line of Dwarf Manipulator. 2012-11-04 18:03:02 +04:00
Alexander Gavrilov bd8c59462c Add documentation for the core lua gui library stuff. 2012-11-04 17:06:32 +04:00
Alexander Gavrilov 9598316855 Add a native pen object for lua with a more checked behavior. 2012-11-03 20:06:33 +04:00
Alexander Gavrilov d6f1bb93b5 Add documentation for the search plugin. 2012-11-03 15:49:34 +04:00
Alexander Gavrilov 9bf24bde10 More various updates for search.
- Keep the search state as long as the screen is alive.
- Properly forget saved state when clearing search.
- Fix the start column in render for stocks screen.
- Allow search by profession in all Units pages.
- Dismiss search when trying to trade.
2012-11-03 15:34:04 +04:00
Alexander Gavrilov 8bccfb1e9a Fix gcc compiler errors and warnings in search, reindent plugin_init, etc. 2012-11-03 14:31:07 +04:00
Alexander Gavrilov 43ab172652 Merge remote-tracking branch 'falconne/master'
Conflicts:
	plugins/zone.cpp
2012-11-03 14:07:42 +04:00
Alexander Gavrilov 71c1ba84e3 Merge remote-tracking branch 'q-github/master' 2012-11-03 14:05:15 +04:00
Quietust 3257eb80a1 Add checks to avoid crashing if we encounter a soulless unit 2012-11-02 16:28:48 -05:00
jj 0a78064467 ruby: raise on invalid enum symbols 2012-10-31 16:11:06 +01:00
Alexander Gavrilov 69bdb0f8b8 Update fix-armory documentation and comments. 2012-10-31 11:31:31 +04:00
Alexander Gavrilov 05b73af9bb Extend fix-armory with support for storing ammo in barracks. 2012-10-30 23:20:34 +04:00
Quietust c4f544d796 Fix stupid MSVC 2012-10-30 13:50:14 -05:00
Quietust b46885bb3c Fix compile 2012-10-30 11:48:28 -05:00
Alexander Gavrilov 4fa826d2b9 Block instant creation of store in stockpile jobs when removing uniforms. 2012-10-30 13:11:57 +04:00
Alexander Gavrilov 3ff5d38a5c Add a few utility functions to the main library. 2012-10-30 12:40:26 +04:00
Alexander Gavrilov dc2805b1f3 Link the renderer vtable from libgraphics on linux. 2012-10-30 10:38:32 +04:00
Quietust cd14bdfd43 Disable dfstream by default 2012-10-29 22:29:07 -05:00
Quietust 3a6b0357a2 Fix compilation on Windows, incorporate latest df-structures data 2012-10-29 16:56:22 -05:00
Quietust c69ae2fc4a Merge https://github.com/Mortal/dfhack 2012-10-29 16:34:26 -05:00
Mathias Rav 7646fa6aa3 Add dfstream plugin. Broadcasts the Dwarf Fortress display on TCP port 8008. For use with https://github.com/Mortal/dfstream 2012-10-29 22:18:50 +01:00
Alexander Gavrilov abeb9d0f0c Add documentation. 2012-10-29 20:32:39 +04:00
Alexander Gavrilov 7219200d17 Split the armory tweak into a separate plugin - it is too big now. 2012-10-28 22:05:00 +04:00
Alexander Gavrilov ed4904fb66 Add a tweak that makes dwarves haul equipment from stockpiles to the armory. 2012-10-28 21:13:28 +04:00
Alexander Gavrilov fa88ee5f17 Update the armory tweak to protect other potential squad equipment.
Specifically clothing in cabinets and flasks/backpacks/quivers in boxes.
2012-10-28 15:37:16 +04:00
Alexander Gavrilov 4aa1999347 Add a lua api function for patching multiple individual bytes. 2012-10-28 11:50:28 +04:00
Alexander Gavrilov fdaa2a35a1 Fix name ambiguity in MemoryPatcher constructor. 2012-10-28 09:34:50 +04:00
Alexander Gavrilov 92a3277777 Add a MemoryPatcher class as an optimization of scattered patchMemory.
This class can cache the set of memory regions during its lifetime,
and make them writable only once. This avoids e.g. re-reading
/proc/*/maps once for every modified vtable in interpose code.
2012-10-27 21:58:40 +04:00
Alexander Gavrilov e353f5f03e Add a script to complement the weapon rack binary patch. 2012-10-27 20:16:27 +04:00
Alexander Gavrilov 34f33a8c91 Fix the error message produced by binpatch when a mismatch is detected. 2012-10-27 15:35:11 +04:00
Alexander Gavrilov 4c2c6a1911 Fix handling of Collect Webs jobs in workflow. 2012-10-26 23:53:18 +04:00
Alexander Gavrilov c5d8bd9db6 Add a tweak to stop stockpiling items on weapon racks and armor stands. 2012-10-26 23:30:44 +04:00
Alexander Gavrilov b976e01b8c Follow the change in the base-type of job_skill. 2012-10-26 20:29:21 +04:00
Alexander Gavrilov e23052a570 Fix an error in gui/workflow when enabling, and tweak color. 2012-10-26 11:52:41 +04:00
jj 1b9d11090f ruby: ANY_FREE/IN_PLAY 2012-10-25 13:44:01 +02:00
Alexander Gavrilov 1f994295b8 Consider assigned vehicles in use, and tweak text color rendering. 2012-10-25 13:20:41 +04:00
Alexander Gavrilov 79d2cb1a5c Remove the C++ version of the job output deduction code and switch to lua. 2012-10-25 12:44:23 +04:00
Alexander Gavrilov 8eebfa007c Tweak the workflow gui script to make the UI operate smoother. 2012-10-25 12:15:18 +04:00
Alexander Gavrilov a1dd31aab3 Tweak the mechanics for showing and rendering lua screens.
- Place new screens below any dismissed ones on top.
- When asked to render a dismissed lua screen, call render() on its
  parent to avoid producing a black screen frame when unlucky.
2012-10-25 12:09:39 +04:00
Quietust 2d83b4fa39 We don't need docutils 2012-10-24 14:07:46 -05:00
Alexander Gavrilov a7f1ceb75d Link lua to workflow. 2012-10-24 23:01:31 +04:00
Alexander Gavrilov 59ec9b304e Implement adding workflow constraints from gui/workflow. 2012-10-24 21:49:30 +04:00
Alexander Gavrilov 616c57257d Support changing the constraint ranges from the workflow gui script.
TODO: implement creating completely new constraints.
2012-10-24 19:25:06 +04:00
Alexander Gavrilov cd852e2240 Fix one more place that was using ANY_FREE. 2012-10-24 17:51:47 +04:00
Alexander Gavrilov 7b67df4b4e Merge remote-tracking branch 'q-github/master' 2012-10-24 16:49:12 +04:00
Alexander Gavrilov 09f8e8e419 Start working on gui for workflow. 2012-10-23 21:42:03 +04:00