Commit Graph

1856 Commits (6d0e6cf7d589dbaacfe7325e64ed8cd869a6e852)

Author SHA1 Message Date
Alexander Gavrilov a273327c6a Remove "using namespace std" from MiscUtils.h. 2013-10-10 12:15:50 +04:00
Alexander Gavrilov 6852adbd91 Expose new MapCache features in probe and tiletypes. 2013-10-10 12:15:50 +04:00
jj 4ba4f90147 ruby: add support for enable/disable plugin 2013-10-07 13:58:28 +02:00
jj a18347608a ruby: vectors default to int32_t 2013-10-07 13:33:21 +02:00
Alexander Gavrilov 32a6073dad Remove lambdas from dwarfmonitor and resume. 2013-10-03 16:30:06 +04:00
Alexander Gavrilov f3be0ee187 Remove the use of lambdas in buildingplan. 2013-10-02 19:55:48 +04:00
Alexander Gavrilov 599af0a4d9 Fix linux and windows build issues.
- Linux makefile overrides and removes the optimization flags.
- Old linux gcc doesn't understand lambdas.
- MSVC doesn't like extern and explicit instantiation in same file.
2013-09-30 22:51:29 +04:00
Alexander Gavrilov d7e35c2d23 Add built-in enable and disable commands. 2013-09-30 13:19:51 +04:00
jj a487ede2b9 autodump: typo in errmsg 2013-09-23 21:28:27 +02:00
Alexander Gavrilov b885123d4e Fix a crash in beehive code if bees die with yet uncollected products.
http://www.bay12games.com/dwarves/mantisbt/view.php?id=6368
2013-08-26 16:55:30 +04:00
Alexander Gavrilov 896cd11fe9 Track readable names of vmethod hooks for diagnostic messages.
Note that this changes the ABI of all plugins that use hooks.
2013-08-22 12:14:45 +04:00
Alexander Gavrilov 70a2ab9141 Fix crash due to incorrect loop bounds in add-spatter.
This caused a buffer overrun bug if an ADD_SPATTER
reaction had any non-improvement outputs.
2013-08-22 11:22:18 +04:00
jj 308e7b6820 fix renamed pregnancy_ptr/mystery to pregnancy_genes/caste 2013-08-10 01:57:11 +02:00
jj 297fa86c34 follow df-structures change to drawBuilding 2013-07-07 17:40:28 +02:00
expwnent c1fef35b52 Renamed digSmart to digFlood. 2013-06-25 19:57:17 -04:00
expwnent f459bfc4f1 diggingInvaders: added per-creature dig times and differentiated between smooth and rough constructions. 2013-06-15 23:04:15 -04:00
Quietust 8c6881beb6 Cleanup 2013-06-14 14:46:10 -05:00
Quietust 4193d9b5b3 Add new plugin for cleaning up construction building materials 2013-06-14 14:40:02 -05:00
expwnent 776d088eb9 diggingInvaders: tweaks. 2013-06-11 07:25:07 -04:00
expwnent f557376c3a diggingInvaders: make invaders dig slowly, in a configurable way. 2013-06-11 05:14:56 -04:00
expwnent 0378bbb896 diggingInvaders: proper user interface. 2013-06-10 01:58:27 -04:00
expwnent 07a4839d8b diggingInvaders: made it easy to flip between int64 and int32 for distance cost. It did not make a significant difference in performance when I timed it. 2013-06-09 23:26:07 -04:00
expwnent 4e715ca44b diggingInvaders: made it only do a little work each frame instead of all at once with the pathfinding. 2013-06-09 23:07:51 -04:00
expwnent c4533dcb0c diggingInvaders: only path from one guy, and other minor tweaks. 2013-06-09 17:52:13 -04:00
expwnent d26b11eb40 diggingInvaders: cleaned up pick creation. 2013-06-09 17:20:23 -04:00
expwnent 638affee06 diggingInvaders: tweaked pick creation. Don't recreate if they already have one. 2013-06-09 16:23:41 -04:00
expwnent 08114cf574 diggingInvaders: more fixes. Still a few issues with ramps probably. 2013-05-31 20:39:43 -04:00
expwnent 2b7dfca21e diggingInvaders: cleanup, tweaks. Works for simple situations. 2013-05-31 19:27:22 -04:00
expwnent f8261348ff Merge branch 'master' into diggingInvaders
Also make edgeCost.cpp compile because I stopped midsentence for some reason.

Conflicts:
	library/modules/Maps.cpp
2013-05-31 16:28:05 -04:00
expwnent 909d686ae4 digSmart: remove print statement. 2013-05-31 13:41:31 -04:00
expwnent b82b3f2283 digSmart: added user interface and documentation. 2013-05-31 13:32:56 -04:00
expwnent b945b36016 digSmart: framework in place for finding the bug. When a tile is actively being dug, the dig designation is cleared. If you designate the tile again for digging, multiple dwarves might try to dig it at the same time, leading to job cancellation spam when one finishes. 2013-05-31 12:23:28 -04:00
expwnent 20fa38da7e digSmart: still doesn't working, but learning more. Something weird happens with dig designations. 2013-05-31 00:49:35 -04:00
expwnent 4ba73bc171 Merge branch 'master' into digSmart 2013-05-30 22:22:16 -04:00
expwnent 8982abc163 treefarm: automatically chop trees and dig obsidian 2013-05-30 22:18:08 -04:00
expwnent 594247b57e skeletonShort: slightly easier to copy+paste it to start new plugins, but is more illegible to new DFHackers. 2013-05-30 19:07:22 -04:00
expwnent ee9bddf831 autoSyndrome comment tweaks 2013-05-25 20:23:59 -04:00
expwnent 3403146461 Merge remote-tracking branch 'peterix/master'
Conflicts:
	plugins/CMakeLists.txt
	plugins/autoSyndrome.cpp
2013-05-25 20:08:56 -04:00
expwnent 83a9e5c837 autoSyndrome: added reset policies, allowing modders to specify what to do if a unit already has the syndrome in question. 2013-05-25 14:26:42 -04:00
expwnent 22f31ca3ad workNow tweaks 2013-05-25 12:23:38 -04:00
expwnent 5cca0b84a3 fastdwarf: made it work better when both fastdwarf and teledwarf are enabled. 2013-05-25 11:07:59 -04:00
expwnent 141043363d autoSyndrome: need to check JOB_COMPLETED very often to catch cancelled jobs properly. 2013-05-25 10:20:22 -04:00
expwnent b44cd86dc9 EventManager: completely overhauled JOB_COMPLETED event detection, and tweaked Job::cloneJobStruct. 2013-05-25 09:44:17 -04:00
expwnent 01c311cf13 Weird compilation error. 2013-05-24 15:55:40 -04:00
expwnent 170fe6a0ef autoSyndrome/syndromeTrigger: made things off by default. 2013-05-24 15:55:19 -04:00
expwnent 63e1f61f4f autoSyndrome/syndromeTrigger: deal with overlap better for commands. 2013-05-12 12:43:45 -04:00
expwnent c127ad052e autoSyndrome and syndromeTrigger documentation. 2013-05-11 19:20:02 -04:00
expwnent 29b5e20575 autoSyndrome should now work with syndromeTrigger. 2013-05-11 16:46:37 -04:00
jj dd739313b1 ruby: tweak item_isfree 2013-04-30 18:38:52 +02:00
Alexander Gavrilov f3e357d161 Fix detection of GET_MATERIAL_FROM_REAGENT results in workflow.
Dereference pointer to strings. Also just return undefined
material instead of skipping the product if it still fails.
2013-04-30 19:42:51 +04:00
Petr Mrázek 18a91ef221 Merge https://github.com/ab9rf/dfhack
Conflicts:
	library/xml
	plugins/stonesense
2013-04-24 18:00:40 +02:00
Petr Mrázek c39f4bc182 Fix build bug in automaterial. 2013-04-24 17:49:18 +02:00
Petr Mrázek 222c61ab25 Merge branch 'IsoRemote' of https://github.com/JapaMala/dfhack 2013-04-24 17:36:22 +02:00
Petr Mrázek 2e379c4d3f Merge https://github.com/Falconne/dfhack
Conflicts:
	plugins/CMakeLists.txt
	plugins/stonesense
2013-04-24 17:24:03 +02:00
Petr Mrázek df6355a092 Merge https://github.com/jjyg/dfhack 2013-04-24 16:24:14 +02:00
Petr Mrázek 0efbc74ac2 Merge https://github.com/quietust/dfhack
Conflicts:
	NEWS
2013-04-24 16:21:59 +02:00
Petr Mrázek aad5296f91 Merge branch 'master' of https://github.com/rampaging-poet/dfhack 2013-04-24 16:14:30 +02:00
Petr Mrázek 3e59794733 Merge branch 'master' of https://github.com/cherrydev/dfhack
Conflicts:
	Readme.html
2013-04-24 16:13:27 +02:00
Robert Heinrich ce47033190 fix in zone UI filters: lower case 'f' conflicted as hotkey with toggling between pit and pond in the pit screen. So now the filter keys use upper case letters instead. 2013-04-24 23:37:05 +12:00
Robert Heinrich 024a3d766b Added some more commands to autobutcher UI script.
Changed autobutcher behavior a bit:
now protected units count towards the target quota,
units available for adoption are considered as protected.
Added filters for caged, male and female to assignement UI
for cages, pastures and pits.
2013-04-24 23:37:05 +12:00
Robert Heinrich fd265b37d6 Added lua GUI front-end for autobutcher. 2013-04-24 23:37:05 +12:00
Anuradha Dissanayake 80de3c05fa Stocks plugin: Add keywords to search for flags. 2013-04-24 23:31:37 +12:00
Anuradha Dissanayake eb8b2faf66 Stocks plugin: fix inventory check, add trade assignments, better hotkets. 2013-04-23 22:15:25 +12:00
jj c9776f481c ruby: add construction/siegeengine bld subtypes in building_alloc 2013-04-21 22:29:51 +02:00
Anuradha Dissanayake e70d7b404a Don't exclude webs, check for items in inventory before discarding those without a valid position. 2013-04-20 12:09:07 +12:00
jj de5e713c51 ruby: add rb dfhack command shortcut 2013-04-16 21:54:03 +02:00
Anuradha Dissanayake 811bd191d5 Add wear filter 2013-04-15 20:43:13 +12:00
falconne d99b930f58 Better Stocks - Quality & Wear filters 2013-04-14 16:39:21 +12:00
jj 13451bd487 ruby: fix crash on Compound#_cpp_delete 2013-04-14 01:17:44 +02:00
falconne 17513283d4 Better Stocks screen - WIP 2013-04-14 00:45:06 +12:00
jj 40f9f06360 dig: ignore tile shape if hidden 2013-04-12 15:23:16 +02:00
jj b2e22a2c42 ruby: add facility to queue dfhack commands 2013-04-12 15:23:13 +02:00
Anuradha Dissanayake d0ba4f5881 Better Stocks screen - WIP 2013-04-11 20:52:46 +12:00
Quietust 399fd107e4 Make createitem create shoes in pairs (as well as gloves) 2013-04-08 08:29:50 -05:00
Petr Mrázek 658e64c1b2 Fix allegro, stonesense/deplibs is now hack/libs, sync isoworld and stonesense 2013-04-07 20:25:38 +02:00
expwnent fc6cb3ae42 Merge branches 'autoSyndrome', 'outsideOnly' and 'syndromeTrigger' 2013-04-07 14:00:24 -04:00
expwnent 959321ec22 syndromeTrigger: logic tweak. 2013-04-07 13:56:12 -04:00
expwnent 1c78f06a1c syndromeTrigger: only complain once. 2013-04-07 13:22:38 -04:00
expwnent b057a0d82a Merge branch 'once' into syndromeTrigger 2013-04-07 13:19:18 -04:00
expwnent ddc4cad73b autoSyndrome: fixed a bug when a reaction didn't have a valid mat_index. 2013-04-07 13:17:00 -04:00
expwnent 329538edfd digsmart temp commit. 2013-04-07 13:08:32 -04:00
Japa 3b921feb61 Skip ice and brook floors. 2013-04-06 17:07:46 +05:30
Anuradha Dissanayake efaa247d2a Stocks start 2013-04-06 17:40:07 +13:00
Japa 660ce50542 Floors are loaded one level below solid blocks. 2013-04-06 02:42:51 +05:30
Japa 541e4f0947 Changed liquids to use an enum. 2013-04-04 14:28:43 +05:30
jj f1410c10c6 digcircle: fix bug #181 (help: radius -> diameter) 2013-04-03 22:16:36 +02:00
Petr Mrázek 575b1c45fc Sync isoworld, linux fixes 2013-04-03 01:10:06 +02:00
Petr Mrázek 3580409cc1 Sync isoworld, some protobuf building changes 2013-04-02 22:37:41 +02:00
Petr Mrázek c361ba7bf4 Sync, fix isoworld in .gitmodules 2013-04-02 19:19:29 +02:00
Petr Mrázek 5ff9947a06 Merge branch '0.34.11-r3-bugfixes' 2013-04-02 19:17:32 +02:00
Petr Mrázek fe922e3528 Merge branch 'IsoRemote' of https://github.com/JapaMala/dfhack 2013-04-02 19:01:46 +02:00
Japa 33f0f0d3f3 Isoworldremote plugin now gives material lists, and verifies weather a map block has anything in it. 2013-04-02 22:03:32 +05:30
Alexander Gavrilov 9d6f202988 Fix the search plugin crashing the military screen.
The cause of the crash is that the right list is used for multiple
different things in different pages, so when cleaning up after a
page switch it is not acceptable to mess with it in any way. However
the search plugin changed its length, thus causing a crash if the
new contents were shorter than the original candidate list.
2013-04-02 22:42:55 +13:00
Alexander Gavrilov 462a08a4ea Fix the search plugin crashing the military screen.
The cause of the crash is that the right list is used for multiple
different things in different pages, so when cleaning up after a
page switch it is not acceptable to mess with it in any way. However
the search plugin changed its length, thus causing a crash if the
new contents were shorter than the original candidate list.
2013-04-02 12:03:37 +04:00
Japa c0a4db32e9 Fixed the single tile reported coordinates. 2013-04-02 11:57:30 +05:30
Japa b2f4029f42 Added in more sanity checks.
Signed-off-by: Japa <japa.mala.illo@gmail.com>
2013-04-02 02:58:06 +05:30
Petr Mrázek 29a2f36e4a Fix small bug in the tweak plugin 2013-04-01 17:42:02 +02:00
Petr Mrázek b0ee4fe9d9 Update stonesense 2013-04-11 21:08:33 +02:00
Anuradha Dissanayake d7c91975c0 Fix warnings 2013-04-01 20:02:39 +13:00
Anuradha Dissanayake 1070eec016 Make planned doors pet passable 2013-04-01 19:52:34 +13:00