Alexander Gavrilov
2222757e77
Implement context-sensitive keybinding support.
...
Allow defining commands with guard conditions, and binding
one or more commands to alphabetic and function keys. When
the relevant key is pressed, the first listed command with
successfully evaluated guard is chosen.
For consistency, the guard is also checked when the command
is invoked from the console; this requires suspending the
core inside PluginManager, before invoking plugin code.
2011-12-30 23:25:50 +04:00
Alexander Gavrilov
53346328e8
Notify plugins about game being loaded or unloaded.
...
As a test, make seadwatch deactivate on these events.
2011-12-30 18:12:15 +04:00
Petr Mrázek
e6ff6b04fc
Merge https://github.com/warmist/dfhack
2011-12-30 03:12:29 +01:00
Petr Mrázek
614605a2be
Fixed integer truncation in filltraffic.
2011-12-30 03:10:31 +01:00
Petr Mrázek
5c4ba8c1df
Merge https://github.com/rampaging-poet/dfhack
2011-12-30 03:08:20 +01:00
Petr Mrázek
9a48c98162
designed -> designated in tiletypes plugin
2011-12-30 03:05:53 +01:00
Petr Mrázek
a1e1d7cfce
Merge https://github.com/feng1st/dfhack
...
Conflicts:
plugins/tiletypes.cpp
2011-12-30 02:50:30 +01:00
Alexander Gavrilov
298e2fe92d
Add a plugin to rename squads and hotkeys (without the 9 char limit).
2011-12-29 17:37:07 +04:00
Alexander Gavrilov
d7faa6c471
Properly cleanup state when copystock in q during rect selection.
2011-12-29 16:46:08 +04:00
Warmist
2643e0c5a7
Merge branch 'master' of git://github.com/peterix/dfhack
2011-12-28 22:49:31 +02:00
Warmist
5e34284e5d
Fix for give sentience.
2011-12-27 23:09:53 +02:00
Warmist
bc539672d5
Split some plugins to plugin/init pairs (for dfusion init mode)
2011-12-27 23:08:06 +02:00
Warmist
52a049cec3
Removed thready argument to dfusion, replaced with init (just sets stuff up, running everything in non interactive mode)
2011-12-27 23:07:23 +02:00
Warmist
71e2321fef
Added getKeys method to lua offsetgroup and a way to cast versioninfo to offsetgroup
2011-12-24 16:00:43 +02:00
Warmist
0bc41ccb10
Added header files to dfusion's project
2011-12-24 15:59:53 +02:00
Warmist
dc78e99f75
Added getKeys to OffsetGroup (for easy lua access to all things that memory.xml has)
2011-12-24 13:53:59 +02:00
Petr Mrázek
5bee16dbd8
Merge https://github.com/angavrilov/dfhack
2011-12-24 12:27:59 +01:00
Petr Mrázek
cfd2c95eab
Slight reformat in versionosd.
2011-12-24 12:27:34 +01:00
Alexander Gavrilov
79ac2a781a
Add infrastructure necessary to use the generated headers.
...
As a usage example, allow toggling water level display and idlers,
and implement a ui tweak for easily copying stockpiles.
Also disable df2mc by default - default options shouldn't
require anything not in the base package.
2011-12-24 14:51:58 +04:00
Warmist
2008ac5564
Added utils.lua with usefull lua utils.
2011-12-18 16:58:34 +02:00
Warmist
e84841e94f
Added autorunning initcustom.lua (for place to put private scripts) autorunning save files, and friendship_civ (still buggy)
2011-12-12 20:25:37 +02:00
Warmist
9b48d4946e
Added autorunning initcusom.lua if it exists (for custom scripts)
2011-12-11 02:28:15 +02:00
Warmist
a25c0b81de
Merge branch 'master' of git://github.com/peterix/dfhack
2011-12-07 23:15:11 +02:00
Petr Mrázek
b36e5ac248
Add missing files.
2011-12-07 20:50:37 +01:00
Petr Mrázek
647916e109
Graphic module
2011-12-07 20:37:09 +01:00
Warmist
e7a8c8c684
Lua function calling.
2011-12-04 18:45:34 +02:00
Petr Mrázek
f7d78539d3
Renaming Creatures to Units
2011-12-02 10:56:40 +01:00
Petr Mrázek
c0a6036cde
zeromq windows version
2011-11-25 23:21:31 +01:00
Petr Mrázek
780b659210
Zeromq hello world plugin.
2011-11-25 22:14:36 +01:00
Petr Mrázek
57b5ed8fa7
Made invalid tile types really invalid, license and unused depends cleanup.
2011-11-25 18:54:50 +01:00
feng1st
dd3e1f4a39
Able to filter tiles via designation.
2011-11-20 15:40:01 +08:00
rampaging-poet
95aaf4cc2e
Working full-map framework.
2011-11-17 19:31:56 -08:00
Petr Mrázek
370681848d
Update stonesense.
2011-11-17 21:45:57 +01:00
Petr Mrázek
1b0bbbe9e4
Update stonesense.
2011-11-15 22:00:58 +01:00
Petr Mrázek
2547e2ff06
Killed lambas :(, fixed bug with 'digcircle unset' that made it behave exactly like 'digcircle set'
2011-11-15 21:58:38 +01:00
Petr Mrázek
46f55c1577
Update df2mc.
2011-11-06 03:28:38 +01:00
Petr Mrázek
fe77d55e1e
Tweak tiletypes so that tile variants are not strictly required to match.
2011-11-06 01:27:16 +01:00
Petr Mrázek
5007419fcd
Add nopause command.
2011-11-06 01:26:57 +01:00
Feng
229750c7db
+ Able to set variant attribute.
...
+ Able to set hidden, light, subterranean and skyview flags.
* Paint empty space correctly.
* Remove direction from directionless tiles.
* Remove liquid from walls correctly.
2011-11-05 18:55:23 +08:00
Petr Mrázek
d1849e6bef
Update df2mc, fix build.
2011-11-05 02:22:15 +01:00
rampaging-poet
9a45e8d328
Merge git://github.com/peterix/dfhack
2011-11-04 18:06:08 -07:00
rampaging-poet
73dc0a7d94
Fixed a typo in filltraffic's help.
2011-11-04 18:05:43 -07:00
Petr Mrázek
25257fe598
Move df2mc back.
2011-11-05 02:00:51 +01:00
Petr Mrázek
af46b262b5
More init hardening.
2011-11-04 09:08:29 +01:00
Petr Mrázek
0ff7a48848
Update stonesense
2011-11-03 20:18:00 +01:00
rampaging-poet
df3e11d1e4
Merge git://github.com/peterix/dfhack
2011-11-03 01:04:34 -07:00
rampaging-poet
3593e37202
Renamed tiletraffic to alltraffic. Added a helper function for full-map changes and a test function. Not actually tested yet, but it compiles.
2011-11-03 01:04:05 -07:00
Petr Mrázek
4f0695a6d5
Messing with materials.
2011-11-03 04:30:59 +01:00
Petr Mrázek
dc629bc251
Fix cleanowned plugin.
2011-11-03 02:40:37 +01:00
Petr Mrázek
dcce48c243
Add simple creature probe, fix current civ address on windows, update df2mc.
2011-11-02 00:26:45 +01:00
Petr Mrázek
6bbc27dbce
Update df2mc
2011-11-01 13:13:03 +01:00
Petr Mrázek
f0417e12dd
Hardening.
2011-11-01 13:06:27 +01:00
Petr Mrázek
7f6fa2a008
Add an enum for base material types.
2011-10-30 21:32:43 +01:00
Petr Mrázek
a8d3e19fef
Update stonesense, again.
2011-10-30 21:08:22 +01:00
Petr Mrázek
9c2743dba1
Update stonesense.
2011-10-30 21:01:52 +01:00
Petr Mrázek
2dfee0a9f9
Move df2mc to devel
2011-10-30 19:56:08 +01:00
Petr Mrázek
063894276c
Tiny type fixes for spatter veins, updated df2mc.
2011-10-30 15:25:29 +01:00
Petr Mrázek
d6ed4b875a
Update df2mc, again.
2011-10-30 05:16:41 +01:00
Petr Mrázek
f6ea3e52dc
Update df2mc
2011-10-30 04:04:31 +01:00
Petr Mrázek
a3a1629521
Fix seedwatch some more.
2011-10-30 02:52:25 +01:00
Petr Mrázek
13ca2e608f
Added df2mc (TroZ) and drybuckets (Quietust) plugins
2011-10-30 02:50:29 +01:00
Petr Mrázek
6e3dbbdd72
Better handling of plants in getplants plugin.
2011-10-29 02:15:36 +02:00
Petr Mrázek
a3179093ef
Seedwatch help text is now better, update of readme.
2011-10-28 23:18:10 +02:00
Petr Mrázek
c936333305
Add spot cleaning tool.
2011-10-28 07:35:42 +02:00
Petr Mrázek
4688f6557e
Fix problem with magic numbers in fastdwarf.
2011-10-28 06:22:07 +02:00
Petr Mrázek
9f9e8f012d
Added a basic plant raw check to rawdump plugin.
2011-10-28 05:10:18 +02:00
Petr Mrázek
4d6e93988a
Delete spatter objects while cleaning items and creatures.
2011-10-28 04:52:20 +02:00
Petr Mrázek
fc6cb72f33
Merged the spatter clean plugins into one
2011-10-28 04:40:00 +02:00
Petr Mrázek
61be3413e3
Make seedwatch work on linux, still with ugly hacks.
2011-10-27 03:31:13 +02:00
Petr Mrázek
8838d8c3d6
Merge https://github.com/gsvslto/dfhack
2011-10-27 02:06:57 +02:00
Petr Mrázek
81391f91be
Added cleanunits by Q.
2011-10-27 01:31:47 +02:00
Petr Mrázek
335ad28fe5
Add item contaminants vector to df_item, fixed up cleanitems plugin to use it.
2011-10-27 01:08:59 +02:00
Petr Mrázek
f2205364b8
Add cleanitems by Q.
2011-10-27 00:37:59 +02:00
Petr Mrázek
1f0e91c3d0
Add enum for item types.
2011-10-26 23:12:20 +02:00
Petr Mrázek
b545de7f43
Items refactor. readItem turned into copyItem, most Items methods now accept plain df_item * instead of the copies.
2011-10-26 22:18:13 +02:00
Petr Mrázek
70ebacead0
Add possibility to reveal hell without pausing.
2011-10-25 21:36:22 +02:00
Petr Mrázek
866b63f567
More of the items overhaul
2011-10-25 13:30:41 +02:00
Petr Mrázek
8648b2f080
Fix prospector under MSVC.
2011-10-25 05:34:11 +02:00
Petr Mrázek
2adf1d22eb
Item description method found!
2011-10-25 05:31:37 +02:00
Petr Mrázek
04495a304c
Kill item variable accessors. YES.
2011-10-25 04:48:06 +02:00
Petr Mrázek
452ddd3e2c
Add z-level spans of material presence to prospector output.
2011-10-25 02:39:15 +02:00
Petr Mrázek
0c2a207fcd
Fix liquids bug with block brush, fix liquids bug with out-of-map painting.
2011-10-25 02:38:21 +02:00
John Shade
716e92fafd
first commit
2011-10-24 16:53:31 +01:00
Petr Mrázek
998d85919f
Windows offset for save name, some tweaks, updated stonesense submodule to current.
2011-10-23 22:23:54 +02:00
Mrazek Petr
56e8e8009a
Merge git://github.com/rampaging-poet/dfhack
2011-10-20 11:46:01 +02:00
Mrazek Petr
2379d0908a
Merge git://github.com/warmist/dfhack
2011-10-20 11:45:40 +02:00
rampaging-poet
3ef2cace1a
Moved buildprobe to developer plugins
2011-10-13 18:27:59 -07:00
rampaging-poet
8dea0db83f
Initial commit
2011-10-13 17:15:19 -07:00
Petr Mrázek
b09ff94b24
STUFF!
2011-10-07 03:53:58 +02:00
Warmist
c13f142092
Start of building hacking
2011-10-02 13:21:36 +03:00
Petr Mrázek
5d54bfca96
Make qtplug compile again.
2011-09-27 00:11:13 +02:00
Petr Mrázek
a83d9fa944
Added mouse position and designation coord, along with a 'trackpos' command for kittens plugin.
2011-09-26 03:39:27 +02:00
Petr Mrázek
83ae8d6c12
Creature likes (at least the structures are back), malloc wrapper that sets memory to 0xCC.
2011-09-25 01:29:55 +02:00
Warmist
986a3e0f56
Merge branch 'master' of git://github.com/peterix/dfhack
2011-09-21 22:53:40 +03:00
Warmist
8e70a02941
Better onfunction hints, new onfunction location (Hurt)
2011-09-21 22:52:26 +03:00
Warmist
6a56eabd71
Added calldf function to call df functions (did not find any working function yet). Added 3 new function for onfunction.
2011-09-21 21:35:58 +03:00
Petr Mrázek
ff20faa0c5
Merge https://github.com/warmist/dfhack
2011-09-21 13:48:20 +02:00
Petr Mrázek
1df71d2b7a
More tweaks related to creatures, murder implication flag for items/corpse pieces.
2011-09-21 13:47:12 +02:00
Petr Mrázek
dca4c43b0b
Creatures module rewrite
2011-09-18 13:49:10 +02:00
Warmist
ab448d4109
Small fixes + lua_bit lib (fixes flag manipulations)
2011-09-17 14:59:10 +03:00
Petr Mrázek
d47e9b35a0
Update stonesense, fix small text alignment error.
2011-09-04 14:16:12 +02:00
Petr Mrázek
8cdeb0b59c
Add a salt/stagnant flag removal command to the liquids tool.
2011-09-02 01:25:01 +02:00
Petr Mrázek
d451c6910b
Add stonesense as a submodule, fix MSVC build of vdig module
2011-08-28 22:28:23 +02:00
Petr Mrázek
e5f0c7637e
Fixes to help/readme entries related to digcircle.
2011-08-27 15:12:03 +02:00
Petr Mrázek
a3552301a8
Merge https://github.com/warmist/dfhack
2011-08-27 15:05:33 +02:00
Petr Mrázek
e9a04dfa65
Circle designator uses diameter instead of radius, has no overdraw.
2011-08-27 05:50:14 +02:00
Warmist
25b689b778
Fixes so that windows ver would build (and work)
2011-08-25 07:22:31 +03:00
Warmist
064719375c
Small changes to memview.
2011-08-24 23:34:49 +03:00
Petr Mrázek
4d54ac44e9
Merge https://github.com/warmist/dfhack
2011-08-23 21:24:43 +02:00
Warmist
fcb7392aa3
Moved all the logic to onupdate, somehow does not print anything.
2011-08-23 18:32:25 +03:00
Petr Mrázek
4447bcbe34
Move memview plugin to devel.
2011-08-23 15:00:31 +02:00
Petr Mrázek
8ab5697f4a
Merge https://github.com/warmist/dfhack
2011-08-23 13:47:04 +02:00
Petr Mrázek
e42cf32272
More options for circle designator.
2011-08-23 12:51:11 +02:00
Warmist
0975b7352e
Memview plugin.
2011-08-22 16:21:13 +03:00
Petr Mrázek
4922be0a75
Circle dig designation tool.
2011-08-22 15:18:35 +02:00
Petr Mrázek
b1868f802c
Make autodump fix the block-local item ID vectors.
2011-08-21 23:02:05 +02:00
Warmist
cc73dd3140
Refactored onfunction a bit, added function hints.
2011-08-21 20:29:35 +03:00
Warmist
78ed7d314b
Linux support for onfunction/Die.
2011-08-21 16:27:01 +03:00
Warmist
246f704c68
Move function found for linux.
2011-08-21 15:56:42 +03:00
Warmist
8e68b50ed7
Linux tinkerings, moved few offsets and part of creature pattern into memory.xml model
2011-08-21 01:46:16 +03:00
Warmist
1a99121ead
Started migration to init/plugin scheme (init files for noninteractive parts). Also added WINDOWS/LINUX flags
2011-08-21 00:15:40 +03:00
Warmist
150e06f115
OnFunction got new functions to make function callbacks easier (namely SetCallback(name,function) and AddFunction(addr,name))
2011-08-20 23:13:14 +03:00
Warmist
97a85f274c
Replaced test function with OnCreature move...
2011-08-20 20:23:47 +03:00
Warmist
3e75ac015c
more registers supported
2011-08-20 17:51:00 +03:00
Warmist
f9c1556f7f
Working onfunction...
2011-08-20 17:20:04 +03:00
Warmist
e901f615c9
Almost working onfunction plugin... need to work out few bugs
2011-08-20 02:33:57 +03:00
Warmist
b29c719538
Started working on new plugin
2011-08-20 01:12:30 +03:00
Warmist
68fbd4a78d
fixed few formating things, and annoying 'g' error. (work-around somehow the '..' operator does not work with numbers)
2011-08-19 19:12:25 +03:00
Warmist
97712089bd
Added dfusion thready flag to spawn another thread
2011-08-19 18:09:00 +03:00
Petr Mrázek
eeb030dc7e
And don't designate over non-terrain tiles.
2011-08-17 14:29:30 +02:00
Petr Mrázek
e1dceda766
Add a crosshair mode to expdig.
2011-08-17 14:27:24 +02:00
Petr Mrázek
09cb6a6828
Added exporatory mining patterns tool.
2011-08-17 13:26:03 +02:00
Petr Mrázek
e14548ba4c
Added menu ID watcher command and some info on bug reporting/error logs
2011-08-15 06:48:25 +02:00
Petr Mrázek
247592e30c
Put warning in tiletypes tool.
2011-08-15 01:59:57 +02:00
Petr Mrázek
292074116e
Fix crash bugs in liquids and tiletypes.
2011-08-15 01:30:15 +02:00
Petr Mrázek
a0f99ef707
Many tweaks to plugins, reorganized the build system and removed more cruft.
2011-08-14 08:42:21 +02:00
Petr Mrázek
9ecbaecc13
Merge https://github.com/warmist/dfhack
...
Conflicts:
plugins/Dfusion/dfusion.cpp
2011-08-13 14:44:54 +02:00
Petr Mrázek
81e6bce92c
Command history separated from Console.
2011-08-13 14:42:09 +02:00
Petr Mrázek
1cbcb99dd5
Port tiletypes tool.
2011-08-11 04:39:12 +02:00
Warmist
3f6f33fb94
Embark plugin to memory.xml model
2011-08-09 11:37:59 +03:00
Warmist
a94ba4392c
small fixes to VersionInfo wrapper, added Current_Race in Memory.xml to new version and ported friendship plugin to memory.xml model
2011-08-09 11:31:51 +03:00
Warmist
148afde4eb
finnaly fixed the VersionInfo. Should work now.
2011-08-09 11:00:20 +03:00
Petr Mrázek
edb2a14c51
Merge https://github.com/warmist/dfhack
2011-08-09 03:35:08 +02:00
Warmist
179a41adff
Rest of methods (editing not implemented)
2011-08-09 03:54:33 +03:00
Petr Mrázek
f54e5ef4f1
Ported flows tool.
2011-08-09 02:07:29 +02:00
Petr Mrázek
cc19180ac0
Add 'help' options to a bunch of commands.
2011-08-09 01:50:22 +02:00
Warmist
6a8c92e088
versionInfo wrapper, no offsetgroup methods yet
2011-08-09 02:46:32 +03:00
Warmist
c1273982cf
Merge branch 'master' of https://github.com/peterix/dfhack
2011-08-09 00:34:49 +03:00
Petr Mrázek
8fd437dbc1
Make dfusion use the static lua lib.
2011-08-08 23:30:30 +02:00
Warmist
1b972fe304
Merge branch 'master' of https://github.com/peterix/dfhack
2011-08-09 00:27:40 +03:00