Commit Graph

4331 Commits (33469f5bb2f4eb393fdac4e5bd7ed72b6b6868af)
 

Author SHA1 Message Date
Alexander Gavrilov 33469f5bb2 Use a better hash function in the Perlin noise generator. 2013-10-02 18:55:41 +04:00
Alexander Gavrilov 864baa2241 Fix the lua script not printing any errors if executing a file fails. 2013-10-01 18:58:56 +04:00
Alexander Gavrilov e175efa689 Implement a template-based classical Perlin noise generator.
The mask argument of the Impl template is there because apparently
an inner template cannot be fully specialized, so there needs to be
some argument besides i.
2013-10-01 18:58:04 +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 9e81d27cd1 Implement the same random generator as DF uses for DFHack. 2013-09-30 19:46:39 +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
Alexander Gavrilov df2e04db26 Update xml definitions. 2013-08-16 18:25:16 +04:00
jj 308e7b6820 fix renamed pregnancy_ptr/mystery to pregnancy_genes/caste 2013-08-10 01:57:11 +02:00
jj 090d7defc5 add NEWS entry for arena SC_WORLD_LOADED 2013-07-07 23:53:17 +02:00
jj 6f5c03b912 core: generate SC_WORLD_LOADED for arena too 2013-07-07 23:36:22 +02:00
jj 297fa86c34 follow df-structures change to drawBuilding 2013-07-07 17:40:28 +02:00
Alexander Gavrilov e15f5c451f Fix search for cur_season_tick and cur_season in devel/find-offsets.
It seems the one-off error is a problem with the original
save I used, and not the result of some general behavior.
2013-06-20 18:18:02 +04:00
Alexander Gavrilov 21dc3afede Find cur_year_tick_advmode in devel/find-offsets.lua 2013-06-20 17:20:04 +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
Alexander Gavrilov 49409d4630 Follow xml changes. 2013-06-11 16:10:42 +04:00
Alexander Gavrilov 4ae8594fca Merge pull request #7 from tareqak/add_missing_entries_from_splintermind_attributes
Add & correct offsets for splintermind-attributes
2013-05-12 01:19:44 -07:00
Tareq A Khandaker 89d91eddb6 Add & correct offsets for splintermind-attributes 2013-05-11 13:08:01 -04:00
Alexander Gavrilov cafa966be4 Subtract the ASLR rebase delta in the export-dt-ini script. 2013-05-09 18:58:52 +04:00
Alexander Gavrilov 8924d7e7a6 Merge pull request #5 from tareqak/add_missing_entries_from_splintermind_attributes
Add entries to match splintermind-attributes DT
2013-05-09 07:34:33 -07:00
Tareq A Khandaker 29c77ff85a Add entries to match splintermind-attributes DT
The added address/offset entries correspond to those found in the
splintermind-attributes branch of Dwarf Therapist for Dwarf Fortress v0.34.11
SDL (windows).

These entries can be found the following location:

https://code.google.com/r/splintermind-attributes/source/detail?spec=svneeeac8544d94c133ef2eb7c9a4ef8f2865906b19&r=614f1a76b56a081048626e3acaa5c87bcd313fef

under etc/memory_layouts/windows/v0.34.11_graphics.ini
2013-05-08 15:39:32 -04:00
jj e5fd918b0c job: unk2 -> subtype 2013-05-05 03:55:08 +02:00
Alexander Gavrilov c496b9f76a Translate make-dt.pl from df-structures into lua to avoid lisp dependency. 2013-05-01 14:43:00 +04:00
jj dd739313b1 ruby: tweak item_isfree 2013-04-30 18:38:52 +02:00
jj 578b178ac0 scripts/startdwarf 2013-04-30 18:38:51 +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 d7145d9b69 Fix bug #188, eggy hook 2013-04-24 17:50:34 +02:00
Petr Mrázek c39f4bc182 Fix build bug in automaterial. 2013-04-24 17:49:18 +02:00
Petr Mrázek 6a907e3584 Fix issue #195 - off by one error in building dimensions 2013-04-24 17:41:25 +02:00
Petr Mrázek f5ef1464d8 Merge https://github.com/warmist/dfhack 2013-04-24 17:38:47 +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 3d7671507a Tweak NEWS - add autobutcher script 2013-04-24 17:26:43 +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 3d6cbd9256 Add restrictice/liquid to readme and NEWS 2013-04-24 16:20:10 +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
Petr Mrázek 94ceb752d8 Merge branch 'master' of https://github.com/NickHu/dfhack 2013-04-24 16:11:48 +02:00
Anuradha Dissanayake 300b24b401 Add example keybindings 2013-04-24 23:47:37 +12: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