Petr Mrázek
f8721c88b5
dev version. update structures, stonesense
2012-02-27 20:10:31 +01:00
Petr Mrázek
46a99084ee
Track stonesense
2012-02-26 18:35:20 +01:00
Petr Mrázek
8afafd0430
Get rid of ntdll, update stonesense
2012-02-25 22:59:32 +01:00
Petr Mrázek
30fe1f63ed
Track stonesense
2012-02-25 15:44:15 +01:00
Alexander Gavrilov
ad7b9d42a1
Add a command for swapping body with another units in adventure mode.
...
Based on dfusion code, with lots of safety checks added. Supports two
swap modes: transient and permanent; the former does a minimal change
and is intended for managing companion inventory. The permanent one
performs all known actions necessary to turn it into the real adventurer.
Note: the transient mode is a hack and may cause the game to crash
if not reverted while within range of the real adventurer unit.
2012-02-25 17:08:05 +04:00
Quietust
bca78088e2
Add "changevein" plugin, lets you change what mineral inclusions are made of
2012-02-24 14:07:04 -06:00
Petr Mrázek
60b83b41ef
Merge https://github.com/warmist/dfhack
2012-02-23 08:56:40 +01:00
Petr Mrázek
dfb0e41c87
Update stonesense
2012-02-23 07:47:53 +01:00
Warmist
e2c677b020
Pattern reader to a tree
2012-02-23 01:32:38 +02:00
Warmist
8d9fa86804
Added dfusion plugin name.
2012-02-23 00:41:27 +02:00
Warmist
da57a66850
fixed build errors with offsetgroup
2012-02-23 00:21:50 +02:00
Petr Mrázek
c26b1571a4
Merge https://github.com/quietust/dfhack
2012-02-22 22:58:20 +01:00
Petr Mrázek
252176d064
Add abuse mode to mode plugin.
2012-02-22 22:46:12 +01:00
Quietust
491c3aa0c9
Add "-a" option to getplants, selects every type of plant
2012-02-22 15:31:34 -06:00
Quietust
e9b45a5b6d
Add "dumpmats" devel plugin
2012-02-22 14:00:37 -06:00
Mike Stewart
a779ac475d
Make follow work as a hotkey plugin.
2012-02-22 09:43:14 -08:00
Petr Mrázek
4fe49d0028
Merge https://github.com/angavrilov/dfhack
2012-02-22 15:23:28 +01:00
Petr Mrázek
8848f5a854
Merge branch 'vdig-fix' of https://github.com/plaes/dfhack
2012-02-22 15:23:06 +01:00
Petr Mrázek
0807baf0c0
Merge https://github.com/mikestewart/dfhack
2012-02-22 15:22:19 +01:00
Petr Mrázek
8ee27e182a
Hidden weather command raw value override
2012-02-22 15:21:29 +01:00
Alexander Gavrilov
e88d5cb035
Fix rename squad: use entity data to skip squads from abandoned forts.
2012-02-22 17:44:36 +04:00
Priit Laes
bc012ea7c7
vdig: Fix typo and update wiki link
2012-02-22 13:46:47 +02:00
Mike Stewart
baea253578
Merge remote-tracking branch 'upstream/master'
2012-02-21 23:31:53 -08:00
Mike Stewart
14b471a459
Add ability menu/area map width reading and writing to the Gui module, and use the new information in follow to properly center the screen regardless of menu configuration. Also general fixing and cleanup in follow.
2012-02-21 23:30:44 -08:00
Petr Mrázek
34c9c2d663
Fix stonesense, MSVC fail
2012-02-21 18:30:31 +01:00
Petr Mrázek
2cd2ee9b0c
New plugin interface
2012-02-21 18:19:17 +01:00
Petr Mrázek
0b9e849096
Update submodules, sort 'ls' output.
2012-02-21 15:21:50 +01:00
Mike Stewart
f8d0b83b0a
Add new follow plugin that makes the DF window center on and follow a selected unit.
2012-02-21 00:44:10 -08:00
Mike Stewart
2524f81ae0
Fix tile materials in mapexport.
2012-02-20 19:32:58 -08:00
Petr Mrázek
10a2f3ed1b
Merge https://github.com/mikestewart/dfhack
2012-02-20 17:55:16 +01:00
Alexander Gavrilov
1ca500ff25
Update the assumed identity in rename unit.
2012-02-20 18:04:58 +04:00
Petr Mrázek
80cedd2ff8
Fix header includes, update structures.
2012-02-20 11:42:40 +01:00
Mike Stewart
166213c150
Fix protobuf files to mirror changes to tiletype enums
2012-02-19 20:35:45 -08:00
Petr Mrázek
a98f579828
Update stonesense
2012-02-19 20:33:19 +01:00
Petr Mrázek
33f77c8837
Merge https://github.com/quietust/dfhack
2012-02-19 20:28:08 +01:00
Petr Mrázek
27e3e0f2c2
Update submodules
2012-02-19 20:08:29 +01:00
Quietust
e4a0b2aaf9
Fix reveal and tiletypes - RIVER and POOL are no longer tile shapes
2012-02-18 11:36:06 -06:00
Quietust
7b20690db0
Merge branch 'master' of git://github.com/peterix/dfhack
2012-02-18 10:37:29 -06:00
Petr Mrázek
1511a6b7ed
Use hexadecimal numbers in tilesieve
2012-02-18 15:07:55 +01:00
Quietust
d908789dfa
Add useless dev plugin - set all "frozen liquid" tiles to be either Water or Magma
2012-02-17 16:20:17 -06:00
Petr Mrázek
fa6ec63535
Add zoom to kittens, fix tilesieve.
2012-02-17 05:30:34 +01:00
Petr Mrázek
28059a7f35
Tilesieve devel tool
2012-02-16 16:22:05 +01:00
Petr Mrázek
1bf5080828
Fixage. Runs with 34.01
2012-02-15 21:35:44 +01:00
Petr Mrázek
448e270421
Merge https://github.com/quietust/dfhack
...
Conflicts:
plugins/mapexport/mapexport.cpp
2012-02-14 09:59:33 +01:00
Petr Mrázek
bdbfbf5988
Fix catsplosion.
2012-02-14 09:37:30 +01:00
Quietust
091bf62aa8
DFhackCExport is only needed on the plugin_* functions
2012-02-13 22:54:08 -06:00
Quietust
b152a40e83
Fix remaining issues
2012-02-13 19:56:55 -06:00
Quietust
d15d38d536
Finish conversion, fix compile errors
2012-02-13 19:17:38 -06:00
Quietust
d0a8c2edd8
Move TileTypes to XML, part 1 - a bunch of stuff is now broken
2012-02-13 16:56:33 -06:00
Petr Mrázek
f600928ec1
Move catsplosion, tweak for build targets under MSVC.
2012-02-13 17:43:41 +01:00
Mike Stewart
9163dda076
Missing newline in mapexport help output.
2012-02-12 18:42:25 -08:00
Mike Stewart
1b3d517a61
Fixed material output -- material_type and material_index were being used backwards.
2012-02-12 18:39:43 -08:00
Petr Mrázek
8f680dcf94
Make it build and run on linux (no stonesense, df2mc, dfusion)
2012-02-09 03:07:26 +01:00
Petr Mrázek
8f1a2ebf7f
Added missing keybinding mention to 'ls', DFusion hotfix.
2012-02-06 04:47:13 +01:00
Petr Mrázek
20b1d09fdc
Merge https://github.com/mikestewart/dfhack
2012-02-05 23:04:06 +01:00
Mike Stewart
cdb171e9b1
Fixed an issue with hidden plants.
2012-02-05 13:51:49 -08:00
Petr Mrázek
6fe0867c46
Rename export to dwarfexport.
2012-02-05 20:41:12 +01:00
Petr Mrázek
2b22b0b336
Make dwarf export optional. Update structures.
2012-02-05 20:16:00 +01:00
Petr Mrázek
7d8a176e59
Merge branch 'export-plugin' of https://github.com/espenhw/dfhack
2012-02-05 20:05:19 +01:00
Petr Mrázek
71b29b67cf
Merge https://github.com/mikestewart/dfhack
2012-02-05 19:50:15 +01:00
Alexander Gavrilov
ec5f3cc4b3
Update fixpositions to match the new data definition naming.
2012-02-05 16:13:19 +04:00
Mike Stewart
6ac50fccbd
Fixed mapexport's plant saving.
2012-02-04 23:51:26 -08:00
Petr Mrázek
e51e4f6bd2
More docs work.
2012-02-05 06:02:44 +01:00
Petr Mrázek
ebeae664d7
Merge https://github.com/mikestewart/dfhack
2012-02-05 04:28:53 +01:00
Petr Mrázek
b79c6880e2
Merge https://github.com/quietust/dfhack
2012-02-05 04:28:37 +01:00
Petr Mrázek
8ddc2f87c9
Update docs.
2012-02-05 04:28:20 +01:00
Quietust
e9118dceeb
Add fixpositions plugin - adds Elven Diplomats and Human Merchant Nobles to existing worlds
2012-02-04 20:45:45 -06:00
Quietust
4c8717477c
Fix really stupid typo
2012-02-04 16:38:54 -06:00
Mike Stewart
b9020a70a9
Merge.
2012-02-04 13:08:08 -08:00
Mike Stewart
e5b2c78122
Added plant and material export to mapexport, and made constructions have the proper material.
2012-02-04 13:05:41 -08:00
Petr Mrázek
5ad9274689
Update structures, stonesense.
2012-02-04 21:17:52 +01:00
Petr Mrázek
cf3c5ff5d0
Merge https://github.com/angavrilov/dfhack
2012-02-04 20:54:41 +01:00
Mike Stewart
4b3a2bfe05
Merge.
2012-02-03 23:29:05 -08:00
Petr Mrázek
24368df553
Update stonesense
2012-02-04 07:47:57 +01:00
Alexander Gavrilov
6bf55978a4
Modify embark-time prospect using the randomized material hypothesis.
...
Assume that the game generates a fixed number of veins of each
type, but randomly chooses the material, using unk_38 as weight.
This seems to bring some numbers closer to the real counts.
2012-02-03 12:48:38 +04:00
Alexander Gavrilov
d4163fcde3
Improve results of the embark-time prospector.
2012-02-03 11:43:13 +04:00
Petr Mrázek
1e89b8d79b
Merge https://github.com/angavrilov/dfhack
2012-02-03 06:48:44 +01:00
Petr Mrázek
81f434d5f7
Update stonesense, again.
2012-02-02 21:12:30 +01:00
Alexander Gavrilov
878bc3d3a1
Implement pre-embark estimate in prospector.
...
Requires careful tuning of the vein density computation.
2012-02-02 22:14:49 +04:00
Petr Mrázek
3770f141e0
Merge https://github.com/quietust/dfhack
2012-02-02 06:21:37 +01:00
Petr Mrázek
e751f9a3eb
Update stonesense, safe-ish CXXFLAGS for linux.
2012-02-02 05:43:43 +01:00
Quietust
fc3644bf4a
Optimize seedwatch to only look in the SEEDS-specific item vector (just like 'Plant Seeds' jobs do)
2012-02-01 08:09:11 -06:00
Quietust
425b293cd5
Merge https://github.com/peterix/dfhack
2012-02-01 07:57:31 -06:00
Petr Mrázek
22aeb6e2ac
Added linkage to libdl, fix for mode.
2012-02-01 04:12:15 +01:00
Quietust
cad31c505e
Some fixes for fixveins
...
* Ignore map feature tiles if the map feature does not specify a material
* Ignore mineral tiles if a map feature material is also present
2012-01-31 20:10:21 -06:00
Mike Stewart
7d55b84545
Merge remote-tracking branch 'upstream/master'
2012-01-31 11:45:20 -08:00
Quietust
9afcea3deb
In all loops that iterate across a vector, use a size_t as the index
2012-01-31 10:55:38 -06:00
Mike Stewart
3816bd7789
Merge remote-tracking branch 'origin/master'
2012-01-31 08:42:41 -08:00
Mike Stewart
09f197fa6d
Fixed mapexport build on Linux.
2012-01-31 08:42:25 -08:00
Quietust
a82f4c9138
Cleanup code to get rid of MSVC warning C4482
2012-01-31 10:17:27 -06:00
Mike Stewart
5c550b9e2f
Made mapexport put out some (but certainly not all) tile materials.
2012-01-30 21:12:35 -08:00
Mike Stewart
3dece3395d
Merge remote-tracking branch 'upstream/master'
2012-01-29 12:04:33 -08:00
Alexander Gavrilov
04b505cde4
Actually scan through all parameters in autodump.
2012-01-29 18:17:06 +04:00
Mike Stewart
05c37af4c9
Mapexport now puts stuff out to a binary file compressed with zlib. Added liquid type and flow size to output as well.
2012-01-28 23:55:42 -08:00
Mike Stewart
bd26c54259
Merge remote-tracking branch 'quietust/master'
2012-01-28 13:33:26 -08:00
Mike Stewart
b07d3b25b5
Merge upstream/master
2012-01-28 13:32:48 -08:00
Alexander Gavrilov
683c989d0f
Add options to autodump that filter on the forbidden and hidden flags.
...
This allows processing only a specific subset of items by first
setting an unlikely combination of flags, like dump+hide+forbid.
2012-01-28 17:40:09 +04:00
Alexander Gavrilov
fa4fb4b407
Modify a number of commands to use CR_WRONG_USAGE for displaying help.
2012-01-28 16:03:56 +04:00
Alexander Gavrilov
c59f5c1642
Allow using the job command with jobs highlighted in the unitjobs screen.
2012-01-28 15:00:24 +04:00
Alexander Gavrilov
f6b19045dd
Merge remote-tracking branch 'q-github/master'
2012-01-28 12:14:30 +04:00
Quietust
7949aab199
Make sure showmood has access to Translation
2012-01-27 22:02:43 -06:00
Quietust
a36e7f4298
Cleanowned doesn't need Materials, but it does need Translation in order to print names
2012-01-27 22:02:25 -06:00
Quietust
116e5d60be
Update Translation::TranslateName to include the first name, plus have it follow the init setting for nickname display (in Dwarf mode)
2012-01-27 21:36:01 -06:00
Mike Stewart
b89cd43b85
More work on getting the map exporter up to speed.
2012-01-27 17:32:52 -08:00
Quietust
331be2c821
Update fixveins to also handle feature stones (e.g. adamantine vein floors)
2012-01-27 11:33:51 -06:00
Alexander Gavrilov
ef256e1453
Detect incomplete thread and cloth items in workflow.
2012-01-27 21:17:50 +04:00
Espen Wiborg
5072c6e1f4
Update the export plugin for new API
2012-01-27 14:46:42 +01:00
Espen Wiborg
cfb975a522
Track upstream changes
2012-01-27 12:06:57 +01:00
Espen Wiborg
26880d9108
Merge branch 'master' into export-plugin
2012-01-27 11:00:34 +01:00
Espen Wiborg
018f4083a3
Merge git://github.com/peterix/dfhack
2012-01-27 10:59:57 +01:00
Petr Mrázek
1d7ed14442
Merge https://github.com/quietust/dfhack
...
Re-add some get* forms of module calls.
Conflicts:
plugins/mapexport/mapexport.cpp
2012-01-27 06:27:57 +01:00
Petr Mrázek
d5d4875532
Make things work properly.
2012-01-27 05:54:26 +01:00
Quietust
be51221939
Add plugin "fixveins", restores mineral floors that were erased by placing/removing constructions
2012-01-26 10:06:03 -06:00
Quietust
40b82d4e6c
Fix compilation of mapexport - was trying to load the old Vegetation module (even though it didn't actually use it)
2012-01-26 09:58:24 -06:00
Espen Wiborg
b6ef14bafa
Merge branch 'master' into export-plugin
2012-01-26 13:57:01 +01:00
Espen Wiborg
b48c110438
Merge git://github.com/peterix/dfhack
2012-01-26 13:56:45 +01:00
Petr Mrázek
0375be549c
Merge https://github.com/mikestewart/dfhack
2012-01-26 05:37:50 +01:00
Quietust
fbadb3ee33
Removed unused var
2012-01-24 16:13:55 -06:00
Mike Stewart
e68cdee95b
Merge remote-tracking branch 'quietust/master'
2012-01-24 12:27:38 -08:00
Quietust
8861e93848
Kill the Vegetation module, replacing it with the same 3 simple methods used in Engravings
2012-01-24 12:02:12 -06:00
Quietust
cc7c7795a1
Kill the Units module, and add another pair of methods to the Items module to simplify some things
2012-01-24 11:32:34 -06:00
Quietust
466bf89578
Goodbye, Translation module
2012-01-24 10:54:12 -06:00
Quietust
06547c8948
Update showmood to recognize corpses (fell mood) and remains (macabre mood)
2012-01-24 10:03:28 -06:00
Alexander Gavrilov
174d9d0739
Tweak showmood, add a few validity checks, commit a dfhack.init example.
2012-01-24 15:36:30 +04:00
Quietust
6502f0f6ae
Print mood item flags if it's an unrecognized body part
2012-01-23 16:08:37 -06:00
Quietust
e3f875b9a5
Add "showmood" plugin, provides a detailed description of the currently
...
active mood (if any)
2012-01-23 16:03:29 -06:00
Espen Wiborg
8e2fef0c97
Merge branch 'master' into export-plugin
2012-01-23 10:43:24 +01:00
Espen Wiborg
0cf3ee3dc6
Merge branch 'master' of git://github.com/peterix/dfhack
2012-01-23 10:43:07 +01:00
Mike Stewart
5bf5908582
Made liquids not crash when a map isn't loaded.
2012-01-22 15:47:58 -08:00
Mike Stewart
031119ac73
Made mapexport build with latest Material changes.
2012-01-22 15:47:39 -08:00
Mike Stewart
0d79fd9b15
Merge remote-tracking branch 'quietust/master'
2012-01-22 15:31:34 -08:00
Quietust
2cc6bcf0e9
Use CoreSuspender and namespace df::enums
2012-01-21 18:31:15 -06:00
Quietust
ccf22bed10
Replace df_plant with df::plant - this leaves the Vegetation module a bit empty, but I'll leave it in case we decide to add something new there
2012-01-21 17:54:57 -06:00
Mike Stewart
debeebb7c4
Merge remote-tracking branch 'quietust/master'
2012-01-21 11:26:12 -08:00
Quietust
7b2835e2a9
Get rid of df_name
2012-01-21 13:12:40 -06:00
Quietust
8052305c2e
Cleanup the Units module
2012-01-21 13:03:39 -06:00
Quietust
118e5c6617
Major cleanup of Materials modul, precursor to eventually nuking it
2012-01-21 10:12:26 -06:00
Mike Stewart
df08914549
Better fix for building protobufs with C++0x turned on.
2012-01-20 16:21:50 -08:00
Mike Stewart
f02f4510dd
Added very basic export functionality to mapexport, taken almost directly from prospector. Only tile shapes are exported for now.
2012-01-20 14:51:51 -08:00
Mike Stewart
bf60f5975a
Cleaned up the protobuf and mapexport build scripts a lot, and added two more simple proto files to store map geometry information.
2012-01-20 11:21:29 -08:00
Mike Stewart
9b0b0d53f9
Merge remote-tracking branch 'quietust/master'
2012-01-20 09:47:32 -08:00
Mike Stewart
941c643b5c
Cleaned up the protobuf build a bit, and made git ignore files generated in doing so. Fixed building mapexport on Linux by forcing CMake to create a directory for protobuf output files.
2012-01-20 09:17:08 -08:00
Quietust
1b419313f4
Merge https://github.com/angavrilov/dfhack
2012-01-20 10:40:25 -06:00
Alexander Gavrilov
3a908eb64b
Support reporting the Z range of holes in the adamantine tubes.
2012-01-20 20:29:51 +04:00
Quietust
cbac8259ed
Fix unreveal
2012-01-20 10:13:34 -06:00
Alexander Gavrilov
cc510a2c4b
Replace DFCoord with df::coord and df::coord2d.
2012-01-20 14:28:00 +04:00
Mike Stewart
fb41e457c4
Added a plugin that starts up and shuts down protobufs. Will add actual map export functionality to it tomorrow.
2012-01-19 22:15:51 -08:00
Quietust
d35d070ff3
Only skip refilling tiles beneath non-featstone tiles if said tiles don't already have floors; also skip tiles filled with liquid
2012-01-19 22:41:59 -06:00
Quietust
7da633b6ef
Optimize reveal - instead of walking the entire map, just iterate across the list of blocks
2012-01-19 22:36:34 -06:00
Quietust
9dddb79165
Optimize tubefill, and also try to handle the floors above newly filled tiles (as well as tiles which were floors to begin with)
2012-01-19 22:34:06 -06:00
Quietust
3a11d0c86e
Switch deramp to using Maps::getBlockAbs()
2012-01-19 22:12:51 -06:00
Quietust
6a000811aa
Cleanowned doesn't touch the Maps module
2012-01-19 22:12:26 -06:00
Quietust
e7ecda1434
Kill the Maps module
2012-01-19 21:44:17 -06:00
Quietust
4bb724cd6c
Significant cleanup of Maps module - next step will be to kill it properly
2012-01-19 14:11:52 -06:00
Alexander Gavrilov
7db467a740
Update code to accomodate the new coord/coord2d/coord_path structs.
...
Also replicate the methods of DFCoord.
2012-01-19 14:30:22 +04:00
Alexander Gavrilov
d75292acc7
Merge remote-tracking branch 'q-github/master'
2012-01-19 12:07:00 +04:00
Quietust
35ad84c58a
angavrilov changed general_ref_type to be all uppercase
2012-01-18 08:26:08 -06:00
Alexander Gavrilov
1aec9649c5
Support including material value in the prospector output.
2012-01-17 20:04:54 +04:00
Alexander Gavrilov
43476b2ea7
Fix Z level computation in prospect, and add levels for flows & aquifer.
2012-01-17 20:04:49 +04:00
Quietust
fd653a0227
Kill the Items module
2012-01-16 22:12:58 -06:00
Quietust
e75291ee91
Unlink seedwatch plugin from Materials module
2012-01-16 21:29:09 -06:00
Quietust
9d8c67b710
Kill the Kitchen module (which was never really a proper module to begin with)
2012-01-16 21:22:42 -06:00
Quietust
64b55acf37
df_item -> df::item, t_itemflags -> df::item_flags
2012-01-16 20:16:16 -06:00
Alexander Gavrilov
89cb12add1
Merge remote-tracking branch 'q-github/master'
2012-01-16 19:55:47 +04:00
Alexander Gavrilov
4811d2945e
Count hospital supplies as busy, and detect soap-producing reactions.
2012-01-16 19:45:38 +04:00
Quietust
e84904f5c5
Typo - "desctruction" -> "destruction"
2012-01-15 15:01:40 -06:00
Quietust
0e0bca5dbb
Fix deadlock in autodump
2012-01-15 14:59:47 -06:00
Quietust
e82055986e
Only use #include <> for system libraries - for everything else, use ""
2012-01-15 14:54:14 -06:00
Quietust
f3cbf07a01
Use general_ref::getType() instead of strict_virtual_cast<>
2012-01-15 13:59:34 -06:00
Petr Mrázek
d972b07d57
Merge https://github.com/quietust/dfhack
...
Conflicts:
plugins/autodump.cpp
plugins/cleaners.cpp
2012-01-15 19:51:34 +01:00
Alexander Gavrilov
f0f354f3c7
Don't count stuff in flasks and backpacks as available in workflow.
2012-01-15 20:45:02 +04:00
Alexander Gavrilov
8158733745
Support changing the custom profession via rename.
...
Likewise, it works for any unit, including animals and enemies.
2012-01-15 15:57:33 +04:00
Alexander Gavrilov
bcb51d8ff7
Use the announcement API to report starting and stopping workflow jobs.
2012-01-15 15:39:20 +04:00
Alexander Gavrilov
54485d2551
Move plant material detection to guess_job_material in workflow.
...
So that the data will be available to shortJobDescription.
2012-01-15 12:58:36 +04:00
Alexander Gavrilov
8135420d87
Let job-material use any material in the build item selection mode.
2012-01-15 12:50:53 +04:00
Alexander Gavrilov
990a69ce9b
Add hotkey commands to destroy items under cursor, and a specific item.
2012-01-14 21:13:30 +04:00
Alexander Gavrilov
a31542862a
Add utility functions to retrieve the selected job/unit/item.
...
Units can be selected via 'u', 'j', 'v' and 'k'; full-screen
unit details view not supported.
Items can be selected via 't', 'k', 'v'->inventory.
Also, when viewing a container item full-screen, the selected
contained item or unit is returned; never the container itself.
The api is used in rename to allow setting nicknames for
arbitrary units, including animals and enemies.
2012-01-14 19:31:43 +04:00
Alexander Gavrilov
53e9a1659b
Add automatic drybucket and melting to workflow.
2012-01-12 20:07:53 +04:00
Quietust
59b66a2681
Fix output formatting
2012-01-11 11:04:20 -06:00
Quietust
18f2459b5d
Add missing newline to "clean" usage
2012-01-11 11:04:06 -06:00
Quietust
bb0959e470
Fix confusion between "cout" and "c->con"
2012-01-11 10:59:56 -06:00
Quietust
555183cb25
Remove unreferenced variables
2012-01-11 10:57:05 -06:00
Quietust
5173be649f
Silence warning
2012-01-11 10:49:42 -06:00
Quietust
a3d2cf3a85
Minor cleanup
2012-01-11 10:31:23 -06:00
Quietust
b0be2f55c6
Cleanup plugin 'flows'
2012-01-11 10:29:59 -06:00
Quietust
29b0c4273e
Cleanup fastdwarf plugin, no longer relies on modules
2012-01-11 10:17:25 -06:00
Alexander Gavrilov
9a86087db5
Add timeouts when a job is cancelled, and color the command output.
2012-01-11 20:04:04 +04:00
Quietust
9cc774fc9d
Update deramp plugin, no longer relies on modules
2012-01-11 09:53:48 -06:00
Quietust
524b53935d
block_index is declared correctly now
2012-01-11 09:53:28 -06:00
Quietust
1f8a005818
Update cleaners/drybuckets, Materials module now gone
2012-01-11 08:58:26 -06:00
Alexander Gavrilov
7f5aa4de62
Support the most important job types in workflow.
2012-01-10 17:23:37 +04:00
Petr Mrázek
571498ea21
Vermin tweaks.
2012-01-10 00:45:43 +01:00
Petr Mrázek
1652e99a0b
Merge https://github.com/angavrilov/dfhack
2012-01-09 20:43:55 +01:00
Petr Mrázek
263bed7d95
Merge https://github.com/angavrilov/dfhack
...
Conflicts:
library/xml
2012-01-09 20:43:31 +01:00
Alexander Gavrilov
c3d564dc7a
Count items matching constraints, and suspend/resume jobs based on it.
2012-01-09 21:25:55 +04:00
Alexander Gavrilov
ba338be350
Allow specifying constraints on item amounts, and match jobs to them.
2012-01-09 19:20:28 +04:00
Alexander Gavrilov
3e147fe902
Modify the workflow plugin to protect all repeat jobs when enabled.
2012-01-09 17:29:28 +04:00
Alexander Gavrilov
50386f66a3
Update structures and implement modifying the job_item item type.
2012-01-09 16:20:17 +04:00
Alexander Gavrilov
ea790f1346
Move a few functions into the core, and add some more.
2012-01-08 20:02:12 +04:00
Petr Mrázek
f31d7c792a
Merge https://github.com/warmist/dfhack
2012-01-08 16:21:23 +01:00
Petr Mrázek
175b3ed060
Fix getplants - duplicate variable.
2012-01-08 16:18:31 +01:00
Petr Mrázek
3a8bc4dbb5
Merge https://github.com/quietust/dfhack
2012-01-08 16:17:28 +01:00
Alexander Gavrilov
64a9a49ec0
Merge remote-tracking branch 'origin/master'
2012-01-08 16:19:58 +04:00
Petr Mrázek
8a46386502
Dissolve vermin module.
2012-01-08 06:59:52 +01:00
Quietust
fd2563d0d5
Cleanup "getplants" plugin, minimize reliance on modules
2012-01-07 23:31:23 -06:00
Quietust
c484d7ceae
Cleanup "fixwagons" plugin
2012-01-07 23:28:37 -06:00
Quietust
153efe9a69
Cleanup "drybuckets" plugin, minimize reliance on modules
2012-01-07 23:05:45 -06:00
Quietust
2ccb15524b
Cleanup "cleaners" plugin, minimize reliance on modules
2012-01-07 23:04:31 -06:00
Petr Mrázek
72016d9188
Buildings aren't a module anymore, fix probe segfaults.
2012-01-08 02:22:13 +01:00
Alexander Gavrilov
87009c0535
Add a plugin that protects specific repeat jobs from disappearing.
...
If they do disappear, they are re-added in a suspended state.
2012-01-07 21:47:23 +04:00
Alexander Gavrilov
f5e121a196
Move a bunch of stuff from the jobutils plugin into the core.
2012-01-07 19:21:07 +04:00
Espen Wiborg
6d79255131
Make gcc happy, too
2012-01-06 12:10:30 +01:00
Espen Wiborg
e068552c04
Make gcc happy, too
2012-01-06 12:10:11 +01:00
Warmist
571c249522
Fixed crash with dfusion migrants plugin.
2012-01-06 10:25:58 +02:00
Warmist
3115fb17c7
Merge branch 'master' of git://github.com/peterix/dfhack
2012-01-06 10:24:46 +02:00
Tim Walberg
890824dd38
Merge patch with new dig patterns for vdig plugin
...
Signed-off-by: Petr Mrázek <peterix@gmail.com>
2012-01-06 02:27:27 +01:00
Petr Mrázek
8312c39ab1
Merge https://github.com/quietust/dfhack
...
Conflicts:
plugins/CMakeLists.txt
2012-01-06 02:15:12 +01:00
Petr Mrázek
a2cad00dbb
Remove GetCustomWorkshopType, custom workshop types are now saner.
2012-01-06 01:08:30 +01:00
Espen Wiborg
8b7da08638
Add flood-fill brush to liquids (for wclean)
2012-01-06 00:35:38 +01:00
Espen Wiborg
06f1cffcbf
Add flood-fill brush to liquids (for wclean)
2012-01-06 00:35:05 +01:00
Petr Mrázek
756b8131c1
Small fix in Buildings, update stonesense.
2012-01-06 00:09:49 +01:00
Petr Mrázek
72a4698968
Merge https://github.com/angavrilov/dfhack
2012-01-05 23:54:33 +01:00
Petr Mrázek
78a98de37e
Fix MSVC builds, break buildings :D
2012-01-05 23:39:14 +01:00
Alexander Gavrilov
687245abd9
Allow setting job item materials.
2012-01-05 22:04:05 +04:00
Warmist
d612db0935
Added binding to suspend/resume (engine.suspend and engine.resume in lua)
2012-01-05 10:58:53 +02:00
Alexander Gavrilov
4a59690968
Don't print empty parentheses without any flags to fill them.
2012-01-04 20:22:56 +04:00
Alexander Gavrilov
284009e873
Add a hotkey command to duplicate jobs in workshops.
2012-01-04 19:39:38 +04:00
Alexander Gavrilov
99dda069de
Update data definitions.
2012-01-04 18:46:39 +04:00
Petr Mrázek
86464b99cc
Remove DfVector, break MSVC builds until further notice.
2012-01-04 01:45:11 +01:00
Alexander Gavrilov
1d1cd63800
Implement printing job details.
2012-01-03 22:56:05 +04:00
Alexander Gavrilov
f8814909a9
Move the MaterialInfo class to the main library.
2012-01-03 19:25:55 +04:00
Quietust
2af3b49e09
Add "regrass" plugin, regrows grass for pre-0.31.19 fortresses
2012-01-02 20:13:27 -06:00
Alexander Gavrilov
326c58f793
Add a plugin to tweak inorganic materials in jobs.
...
It also auto-seeks in the build item list if used in that context.
2012-01-02 18:46:24 +04:00
Espen Wiborg
e9c4d12d2a
Track upstream changes
2012-01-02 12:52:09 +01:00
Espen Wiborg
5918cb773d
Merge branch 'master' into export-plugin
2012-01-02 12:49:23 +01:00
Alexander Gavrilov
6476d61e59
Update structure definitions & add the fixwagons plugin from Q.
2012-01-01 23:05:45 +04:00
Petr Mrázek
f35cdb84cd
Merge https://github.com/angavrilov/dfhack
...
Conflicts:
library/Core.cpp
library/PluginManager.cpp
library/include/Core.h
library/include/PluginManager.h
library/modules/Gui.cpp
plugins/stockpiles.cpp
2011-12-31 13:09:12 +01:00
Petr Mrázek
9db20bd84d
Header changes/cleanup.
2011-12-31 12:48:42 +01:00
Alexander Gavrilov
b652ec4132
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-31 13:25:46 +04:00
Petr Mrázek
1284b30f79
Merge https://github.com/angavrilov/dfhack
2011-12-31 01:40:08 +01:00
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
Espen Wiborg
21d81c8804
Make sure the encoding is right
2011-12-28 23:35:42 +01:00
Espen Wiborg
6c0d5d3cd2
Make sure the export plugin is built
2011-12-28 23:35:41 +01:00
Espen Wiborg
12446a62e2
Export exact trait value
2011-12-28 23:35:40 +01:00
Espen Wiborg
89e3361140
Plugin to export for dfcareers
2011-12-28 23:35:32 +01: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
Warmist
eb097fc625
some mockery with linux offset finding to test if it's working
2011-08-09 00:21:10 +03:00
Petr Mrázek
aa2ad1b64c
Merge https://github.com/warmist/dfhack
2011-08-08 23:21:09 +02:00
Warmist
056fd51e96
lua file fixes for linux (hopefully does not break windows)
2011-08-08 23:38:09 +03:00
Warmist
71dc85d35a
Linux compatibilty run, not sure if windows is not broken...
2011-08-08 22:19:04 +03:00
Petr Mrázek
b75072f89e
Reworked readme file.
2011-08-08 05:45:35 +02:00
Petr Mrázek
2de20929c5
Move devel plugins into plugins/devel
2011-08-08 00:55:17 +02:00
Warmist
bead6cd350
Lua versioninfo start, small ressurection tool update.
2011-08-07 15:21:52 +03:00
Petr Mrázek
4fdcb811d3
Send the cleartask plugin where it really belongs - /dev/null
2011-08-07 08:42:45 +02:00
Petr Mrázek
fedb6150f4
Merge https://github.com/warmist/dfhack
2011-08-06 21:00:54 +02:00
Petr Mrázek
cb93b5542e
Fix problem with running interactive commands from hotkeys.
2011-08-06 04:37:29 +02:00
Petr Mrázek
24bdc538e9
Fix cleanowned output.
2011-08-05 15:05:57 +02:00
Petr Mrázek
4d6ad9e073
A whole bunch of fixes for crash bugs.
2011-08-05 05:02:36 +02:00
Petr Mrázek
be358ec1de
Ported deramp, cleanowned and cleartask tools.
2011-08-05 00:41:31 +02:00
Warmist
f2b8ff1280
All plugins added, triggers not working yet other +- work
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-08-05 00:44:56 +03:00
Warmist
835581e5d3
Embark and friendship working
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-08-05 00:22:25 +03:00
Warmist
89c1dba637
.o file reader source files
2011-08-04 21:52:22 +03:00
Warmist
e66a03e654
Beggining of auto-offset finder port. (not working yet)
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-08-04 20:57:53 +03:00
Petr Mrázek
02d5f2273b
Fix colonies plugin.
2011-08-04 04:18:38 +02:00
Petr Mrázek
a8543f5ef0
Ported autodump tool
2011-08-04 04:04:46 +02:00
Warmist
e7174e6736
DWORD_ fix, not sure if correct
2011-08-03 18:15:58 +03:00
Warmist
ef4a459214
Ported items plugin with more stuff
2011-08-03 17:59:06 +03:00
Warmist
e98e4a5111
Fixes to hexsearch
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-08-03 16:27:04 +03:00
Warmist
f4179652fa
Lots of changes, including hexsearch and wrapper for lua, also LUNE - an object oriented lua wrapper
2011-08-03 16:07:57 +03:00
Petr Mrázek
ff4d545ae7
Port tubefill tool.
2011-08-02 16:25:10 +02:00
Petr Mrázek
e04dd8f101
The old unreveal flood fill is now the revflood command.
2011-08-02 03:48:59 +02:00
Petr Mrázek
6cc66d3434
Merged grow and immolate tools into plants plugin.
2011-08-02 02:21:25 +02:00
Petr Mrázek
a36d8b0619
Merge https://github.com/warmist/dfhack
2011-07-31 23:29:34 +02:00
Petr Mrázek
262e915b93
Make building DFusion optional.
2011-07-30 22:08:24 +02:00
Petr Mrázek
9cf69164ed
BitArray implementation, now used in Maps for the flags.
2011-07-30 16:47:49 +02:00
Warmist
5f729ffc0f
Added script files and cmake install script for them
2011-07-28 04:22:15 +03:00
Warmist
6c2a822494
small bugfix (lua_Process.cpp) and onTick rate slowed
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-28 04:08:57 +03:00
Petr Mrázek
a9a3a3ff5f
Merge branch 'topic_tools'
2011-07-28 02:36:25 +02:00
Petr Mrázek
01c1fc6c6a
Quick and dirty liquids port, some work on tiles.
2011-07-28 02:35:45 +02:00
Warmist
0799cde3af
Small fixes and lua port of Process
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-28 03:11:33 +03:00
Warmist
e30975f8f3
Functioncall minilib quickfix for unix.
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-28 01:28:50 +03:00
Warmist
f1d32ef766
Peek and pokes with lua bindings. Also interpreter implemented
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-28 00:21:09 +03:00
Warmist
d262986740
Added simple readme, fixed sdl_threads and moved to tinythreads (mutex for lua engine). Other small fixes
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-27 23:10:20 +03:00
Petr Mrázek
8dec3546a3
More plugin work
2011-07-26 11:01:16 +02:00
Petr Mrázek
e92bacbcc9
Don't build dfusion on linux, gcc can't do explicit __thiscall
2011-07-25 11:09:29 +02:00
Petr Mrázek
761d0de74a
Merge branch 'dfapi' of https://github.com/warmist/dfhack
2011-07-25 10:36:43 +02:00
Petr Mrázek
d65f5596cb
Ported mode, probe. Some changes required for that.
2011-07-25 10:14:58 +02:00
Matthew Cline
109f34cd6e
Improved Items module and itemhacks plugin
...
Items module:
* Identified flags for "owned by hostile" and "owned by trader".
* Identified an unknown uint32_t field as being the item age.
* Added and documented ClassNameCheck for more item ref types, though
they aren't used yet (other than to mark that item ref class as a
"known" class).
* Added method to get list of an item's unknown item ref classes.
* Made all unknown flags have name 'unk#', instead of some also having
the name 'u_ngrd#'.
Itemhacks plugin:
* Folded second command into "dumpitems unknown", which will list
any items which have the unknown vector field non-empty (which seems
to be associated with tasked items).
* "dumpitems unknown" will also dump any item with a set unknown flag
or with item refs of an unknown class.
2011-07-24 21:35:50 -07:00
Petr Mrázek
caf6f881df
Minimize notes module.
2011-07-23 03:25:42 +02:00
Petr Mrázek
e00a4e8888
Fix ore/gem sorting.
2011-07-22 03:00:56 +02:00
Petr Mrázek
131c32494a
Added DF material structs reversed by Quietust
2011-07-21 22:37:02 +02:00
Petr Mrázek
26dfa7ab39
Merge branch 'dfapi' of github.com:peterix/dfhack into dfapi
2011-07-21 11:30:21 +02:00
Petr Mrázek
262a5c9da3
Callgrind in dfhack script, added an option for building stonesense.
2011-07-21 11:29:26 +02:00
Petr Mrázek
2e40319e40
Merge pull request #114 from matthew-cline/TOPIC-vector-fix
...
mightBeVec() fix
2011-07-21 02:27:51 -07:00
Matthew Cline
5e4637dd03
mightBeVec() fix
...
Vector length might not be a multiple of 4 if, for example, it's a
vector of uint8_t or uint16_t. However, the actual memory allocated to
the vector should be 4 byte aligned, so test for that instead.
2011-07-21 02:19:23 -07:00
Matthew Cline
86577d4f8a
Notes module
...
Gets a vector of pointers to note structs
2011-07-20 18:26:52 -07:00
Petr Mrázek
bde3616015
Merge pull request #110 from matthew-cline/TOPIC-inorganic
...
More info on inorganic materials
2011-07-20 12:35:58 -07:00
Petr Mrázek
9582af667b
Merge branch 'dfapi' of github.com:peterix/dfhack into dfapi
2011-07-20 20:59:37 +02:00
Petr Mrázek
873cbd8388
Make 'die' plugin a builtin, made the console interaction less confusing.
2011-07-20 20:58:19 +02:00
Petr Mrázek
bdbf2c033c
Merge pull request #109 from matthew-cline/TOPIC-clearvec
...
command clearvec: clear vector
2011-07-20 11:11:40 -07:00
Matthew Cline
6631f97a6a
More info on inorganic materials
...
Get value, wall tile, boulder tile, smelting info and strand extraction
info for inorganic materials. Prospector uses this to separete out vein
materials into ores, gems and other.
Offsets provided for both Linux and Windows, but only tested on Linux.
2011-07-20 06:18:50 -07:00
Petr Mrázek
0defcc9889
Making Items a bit more sane. It's still using Accessors though.
2011-07-20 10:41:13 +02:00
Warmist
f003a19e40
Functioncalling minilib
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-19 16:45:54 +03:00
Matthew Cline
5bb6c3e037
command clearvec: clear vector
...
Added command "clearvec" to plugin "vectors". Takes a list of addresses
of vectors (or pointers to vectors), and sets each vector to zero length
by setting it's end to it's start. Leaks memory, of course, but this
is just to poke at the game to see what happens when a vector's
contents disappear.
2011-07-19 01:17:11 -07:00
Petr Mrázek
00cf7bc39e
Merge branch 'dfapi' of github.com:peterix/dfhack into dfapi
2011-07-18 16:28:06 +02:00
Petr Mrázek
84f74bc091
Added plugin loading/unloading/reloading. Many locks. Too many damn locks.
2011-07-18 16:22:49 +02:00
Petr Mrázek
38998a57ca
Merge pull request #107 from matthew-cline/TOPIC-vector
...
Vectors plugin: searches memory for vectors
2011-07-17 13:06:18 -07:00
Matthew Cline
7d1d916570
Vectors plugin: searches memory for vectors
...
Lists embeded STL vectors and pointers to STL vectors found in the given
memory range.
Linux only, enabled with BUILD_VECTORS cmake option.
2011-07-17 03:05:14 -07:00
Petr Mrázek
fdb5397a1d
Safer console shutdown.
2011-07-17 11:06:45 +02:00
Warmist
d0c2f3b9f5
Functioncall minilib testing
2011-07-17 12:00:29 +03:00
Warmist
6c75e8cd88
Merge branch 'dfapi' of git://github.com/peterix/dfhack into dfapi
...
Conflicts:
plugins/CMakeLists.txt
2011-07-17 00:11:21 +03:00
Warmist
fc68387ea3
Improved error checking (and flood protection)
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 22:23:44 +03:00
Warmist
e47d05eeb4
Full DFHack::Console to lua binding.
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 22:08:58 +03:00
Petr Mrázek
fdff604a44
Added missing texture for Qt plugin. It now builds properly on windows, but doesn't render in my VM...
2011-07-16 20:17:03 +02:00
Warmist
3106606a4e
OnTick working!
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 20:43:57 +03:00
Warmist
3afa35df61
Added lua c++ wrapper
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 19:29:46 +03:00
Petr Mrázek
d6d108dd34
Qt plugin fixes for windows, renamed interface to df_interface in Gui.
2011-07-16 18:10:08 +02:00
Warmist
7969a701c3
Lua integrated.
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 18:34:24 +03:00
Warmist
75cffcb347
First dfusion plugin commit
...
Signed-off-by: Warmist <Warmist@gmail.com>
2011-07-16 17:22:45 +03:00
Petr Mrázek
3f42479e77
Only build the qt plugin on linux
2011-07-16 15:34:29 +02:00
Petr Mrázek
70dbc3cef9
Test integrating a Qt app into a DFHack plugin. It was a success!
2011-07-16 12:26:31 +02:00
Petr Mrázek
83b190b5d8
Merge pull request #104 from matthew-cline/TOPIC-die
...
Linux only plugin: use "die" command to kill game
2011-07-15 22:54:40 -07:00
Petr Mrázek
9eea07fb66
The console is now awesome when you use C++ streams too.
2011-07-16 00:15:20 +02:00
Petr Mrázek
459d48d75a
Made the linux console super awesome. The dfhack script won't LD_PRELOAD dfhack for gdb.
2011-07-15 15:55:01 +02:00
Petr Mrázek
3ecf244e67
Nuke linenoise. Now it's integrated in Console.
2011-07-14 12:21:07 +02:00
Petr Mrázek
d21b196766
Error printing call for Console, the NYAN CAT!
2011-07-14 11:15:23 +02:00
Matthew Cline
8ad6a56704
Linux only plugin: use "die" command to kill game
...
Since you can't do "Ctrl-Z kill -9 %1" from the console, instead just
give the "die" command to terminate the game without saving. Linux
only, since _exit() probably doesn't work on Windows.
Need to set cmake option BUILD_KILL_GAME to ON to compile this plugin.
2011-07-13 23:52:06 -07:00
Petr Mrázek
96153a7b05
Merge branch 'dfapi' of github.com:peterix/dfhack into dfapi
2011-07-14 04:06:12 +02:00
Petr Mrázek
792d272fbf
Windows side of the Console rewrite
2011-07-14 04:05:27 +02:00
Matthew Cline
d7213da5a3
Fix colonies to use new console output stuff
2011-07-13 17:36:39 -07:00
Petr Mrázek
a40153a8e1
Merge pull request #98 from matthew-cline/TOPIC-vermin
...
Vermin module and colonies plugin
2011-07-13 04:24:38 -07:00
Petr Mrázek
630b746cfe
Integrate linenoise into Console - Linux part
2011-07-13 11:45:30 +02:00
Matthew Cline
d1170d54c3
Vermin module and colonies plugin
...
This is the start of the vermin module. Right now it just gets a list
of the positions at which vermin are created (spawn points). Most
spawn points are invisible and transient, but colonies (ant hills and
such) are permanent and visible. The address of the spawn points vector
is only provided for Linux 0.31.25
The colonies plugin uses the vermin module to list the location and
species of colonies, and can either wipe them all out or turn them all
into honey bee colonies.
2011-07-12 23:17:51 -07:00
Petr Mrázek
3a67a4d3c7
Added linenoise library to allow line editing in the terminal.
2011-07-12 12:13:14 +02:00
Petr Mrázek
aeeece5c5f
Made kittens plugin optional, and disabled by default.
2011-07-12 00:07:59 +02:00
Petr Mrázek
4015586d89
Eliminated the core suspend latency, possibly added a heap of race conditions. Added vdig.
2011-07-11 22:23:13 +02:00
Petr Mrázek
3850954449
Hotkey input works on windows/under wine. Added skeleton for the veindigger plugin.
2011-07-10 21:07:14 +02:00
Petr Mrázek
5209162403
reveal - shorter commands, reversed safe and hell mode (safe is now default)
2011-07-09 13:52:00 +02:00
Petr Mrázek
d894ef0ffa
Hotkey UI for linux.
2011-07-09 11:33:58 +02:00
Petr Mrázek
d865ff1014
Forgot suspend and resume in cleanmap, leading to race conditions and segfaults.
2011-07-07 13:09:17 +02:00
Petr Mrázek
367d79bcfa
Weather plugin to mirror the weather tool.
2011-07-07 10:57:57 +02:00
Petr Mrázek
8b298f8d91
More maps tweaks, function for block event removal, added cleanmap version that nukes spatter objects instead of rewriting their
...
bitmaps.
2011-07-07 09:49:58 +02:00
Petr Mrázek
4cd80fa5d4
Only warn user when needed.
2011-07-06 12:52:16 +02:00
Petr Mrázek
8318213b97
Safe version of reveal (no hell)
2011-07-06 12:26:45 +02:00
Petr Mrázek
56a409d9a4
sync, some map data structures, commented out some dead code
2011-07-06 11:13:36 +02:00
Petr Mrázek
b1d4163095
Fixed prospector, added the command list back, removed the plugin init console spam.
2011-06-27 04:49:56 +02:00
Petr Mrázek
00ddb45dbd
Added optional plugin_onupdate function, called each Core update.
2011-06-27 02:13:01 +02:00
Petr Mrázek
722531f590
Added destructor code for PluginManager, console color reset funstion.
2011-06-25 08:05:17 +02:00
Petr Mrázek
6fd7d42f00
Plugin manager, reworked kittens and reveal.
2011-06-25 05:35:29 +02:00
Petr Mrázek
0bb097296a
Prospector prints text again. Plugin lookup is better (ignores more non-library files)
2011-06-24 02:48:56 +02:00
Petr Mrázek
857decbcce
Plugins go into a folder, disabled console close button on windows because of bugs.
2011-06-22 18:04:22 +02:00
Petr Mrázek
f8cdd95b09
Console revamp - linux part.
2011-06-22 08:14:21 +02:00