Commit Graph

1919 Commits (50963c73faf5aadc9cca03a1df2968c7f2b85723)

Author SHA1 Message Date
Japa 2fef60708d Added some more operators to the cell color class. 2014-03-07 19:58:32 +02:00
Japa 04f2d4ea58 Made windows transmit colored light. 2014-03-07 19:58:31 +02:00
Warmist a19200fbfe C++ version of light engine. 2014-03-07 19:58:30 +02:00
Warmist 446b4b9d50 New line algo for lights 2014-03-07 19:58:28 +02:00
Warmist eb999cd0ad Another file forgotten 2014-03-07 19:58:27 +02:00
Warmist 843237d1c9 Fixed bug. 2014-03-07 19:58:27 +02:00
Warmist 39da5babee Implemented lua interface. 2014-03-07 19:58:25 +02:00
Warmist 584640f12c Added help for truecolor light testing thing. Also added colors. 2014-03-07 19:58:24 +02:00
Warmist f68852b721 Forgot to add the plugin itself. Also some improvements 2014-03-07 19:58:24 +02:00
Warmist 55d845992c rendermax: removed all the opengl and sdl stuff. Now it work with magic alone. 2014-03-07 19:58:23 +02:00
Warmist dec0b202ee Added rendermax plugin- a bunch of rendering hax in one. Small fix to skeleton. 2014-03-07 19:58:22 +02:00
Quietust dd268d43d9 Merge branch 'master' of https://github.com/jjyg/dfhack 2014-02-27 15:49:18 -06:00
Quietust 5a158b21cf Update plugins to match fixed field names in cage/civzone 2014-02-27 14:51:45 -06:00
jj 6d0e6cf7d5 remove old unused code from when dfhack was out of process 2014-02-26 12:44:10 +01:00
Quietust 5ced804312 Merge branch 'master' of https://github.com/angavrilov/dfhack 2014-02-20 12:42:57 -06:00
Quietust 73a112e06c Update tubefill to skip hollow tubes by default, and update docs 2014-02-14 11:06:33 -06:00
Quietust 67b7681ba6 Fix reaction errors, make quantities more consistent 2014-02-13 11:37:04 -06:00
jj 387cc983f9 Merge branch 'osx_shenanigans' of git://github.com/tareqak/dfhack 2014-02-02 23:50:21 +01:00
jj c0d3e9189d showmood: fix item count for real 2014-01-27 12:40:21 +01:00
jj 7f411e1cbf Merge branch 'plant' 2014-01-27 10:45:30 +01:00
Quietust 56f935aea6 Add bugfix for #6420 2014-01-26 18:55:52 -06:00
Quietust 5c28d7eaf6 Not enough mood tickets given out 2014-01-25 09:15:43 -06:00
Tareq A Khandaker f0eeba93ce DFHack compiles under OS X now. 2014-01-25 03:21:56 -05:00
Quietust 7f14e109fa Use DF-compatible RNG for better randomness 2014-01-19 20:31:15 -06:00
Quietust 89b3c7bb67 Change syntax for specifying mood type, also allow overriding mood skill 2014-01-19 20:21:41 -06:00
Quietust baf377afba Meant to move this, not copy it 2014-01-18 22:56:56 -06:00
Quietust 24fbf570e6 Add "strangemood" plugin, lets you trigger a strange mood 2014-01-18 22:45:42 -06:00
jj 04f88ef8fb showmood: fix count of gotten items 2014-01-05 02:29:01 +01:00
jj 7adb6b2ee9 ruby: codegen unit.caste_tg helper 2014-01-04 15:04:56 +01:00
Quietust 91a7280ac3 Need to include tool_uses.h 2014-01-03 16:42:24 -06:00
Quietust 69fc2bec6d A bit of cleanup 2013-12-27 13:01:34 -06:00
Quietust 540bcc1f46 Enhance createitem, can now place items into containers or buildings 2013-12-27 12:53:33 -06:00
Quietust 5c51f7dd2a Merge branch 'master' of git://github.com/angavrilov/dfhack 2013-11-10 14:04:48 -06:00
Alexander Gavrilov 7ce5831257 Get rid of the std exception. 2013-11-07 11:58:11 +04:00
Quietust 4d2e5b80bf Use df::allocate here for proper compatibility with 40d and earlier 2013-11-04 14:55:31 -06:00
jj 883d89bb68 plants: move all commands as "plant" subcommands, update NEWS/Readme 2013-11-02 18:54:29 +01:00
Quietust 463bb8d498 Update plugins to use CR_WRONG_USAGE where appropriate 2013-10-30 15:58:14 -05:00
Quietust ff939e36bb Missed parameter in plugin command init 2013-10-30 14:25:35 -05:00
Quietust b97a13fa63 Update "plants" plugin
* Add "createplant" command, creates a shrub or sapling at the cursor.
* Put help text in command definitions so CR_WRONG_USAGE works properly
2013-10-30 14:19:52 -05:00
expwnent 8ccb04236f Merge remote-tracking branch 'angavrilov/master' into 0.34.11-r4 2013-10-25 11:47:03 -04:00
Alexander Gavrilov 54b45349c5 Improve pre-embark prospect using new knowledge about soil depth. 2013-10-25 14:37:37 +04:00
Alexander Gavrilov e4978a1da7 Relax 3dveins preconditions to account for soil quirks and volcanoes. 2013-10-25 12:51:06 +04:00
expwnent 329741f235 EventManager: added EQUIPMENT_CHANGE event and exposed it to lua. 2013-10-24 19:32:52 -04:00
expwnent c409289ee4 EventManager: TICK events should unregister correctly when requested and after they fire, other tweaks.
- fixed unregister to allow unregistering individual TICK events
 - make registerTick return the resulting freq you have to put back in to the handler in order for it to be unregisterable
- when TICK events fire, they now automatically remove themselves from handlers[TICK], as they should
- make sure manageTickEvent fires once per tick
2013-10-20 22:54:25 -04:00
expwnent a0ee74b3a5 eventful: no longer possible to disable an event type, event frequency is the minimum request frequency (most frequent), added array of event handler function pointers to simplify code 2013-10-20 19:56:48 -04:00
expwnent e81c060627 Added EVENT_MAX just in case someone wants it. 2013-10-20 15:24:31 -04:00
expwnent d4542b32fa eventful: removed extra EventManager::unregisterAll. 2013-10-20 15:24:04 -04:00
expwnent 6ef360f4d6 Merge remote-tracking branch 'warmist/dev-EventManager-lua' into 0.34.11-r4 2013-10-20 14:52:40 -04:00
Warmist d179812c22 Small bug fix for autolabor crashing on script created creatures. 2013-10-20 21:50:22 +03:00
Warmist 0dff26aa23 Added lua interface (in eventful) for EventManager module. 2013-10-20 21:44:07 +03:00
expwnent 39553cfb6d EventManager: fixed a problem with constructionHandler. 2013-10-20 14:14:02 -04:00
expwnent ee056f4422 Merge remote-tracking branch 'angavrilov/master' into 0.34.11-r4
Conflicts:
	NEWS
2013-10-20 11:09:40 -04:00
Alexander Gavrilov b2d2a074c8 Validate vein types in the scan phase and leave unexpected ones alone. 2013-10-20 12:33:17 +04:00
expwnent 6805656dd0 Added enable/disable functionality to diggingInvaders. 2013-10-19 21:42:24 -04:00
expwnent 9d3ee11349 Merge branch 'diggingInvaders' into 0.34.11-r4
Conflicts:
	scripts/devel/invasion-now.lua
2013-10-19 21:26:50 -04:00
expwnent 0bf427c689 Added enable/disable functionality to new plugins. 2013-10-19 21:19:39 -04:00
expwnent ef9d3b1521 Merge remote-tracking branch 'jjyg/master' into 0.34.11-r4 2013-10-19 20:28:30 -04:00
expwnent 57fc0f3e89 Merge remote-tracking branch 'angavrilov/master' into 0.34.11-r4
Conflicts:
	NEWS
	library/xml
	plugins/CMakeLists.txt
	plugins/autoSyndrome.cpp
2013-10-19 20:19:29 -04:00
jj 1bd6d5f96d ruby: add FEATURE/ice map tile materials 2013-10-14 01:58:55 +02:00
jj 3d7661e7e9 ruby: fix map tile material reading 2013-10-14 00:01:26 +02:00
Alexander Gavrilov 78de739d75 Update aquifers when generating 3D vein layout. 2013-10-11 19:23:32 +04:00
Alexander Gavrilov 5bcae49249 Implement generation of 3D veins that match the existing mineral counts.
Vein distributions may need some improvement.
2013-10-10 12:50:52 +04:00
Alexander Gavrilov 86d0022c58 Implement reading and writing the map for 3D veins plugin.
This should completely erase all veins from the map when run.
2013-10-10 12:15:50 +04:00
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