Commit Graph

42 Commits (4d9b7bd23d87309b37b431de10e7497428ab4dde)

Author SHA1 Message Date
Warmist 66036a9018 Merge branch 'master' of git://github.com/jjyg/dfhack 2013-06-24 10:19:22 +03:00
Warmist 4ab750e9f3 light.lua: more help, changed screen exit key to '`'. Made it recalculate only when needed. 2013-06-23 13:28:22 +03:00
Warmist f7f70f4062 Light now fallsoff according to tile contents (water for now only) 2013-06-23 12:55:14 +03:00
Warmist e3ee876a11 New line algo for lights 2013-06-23 12:20:35 +03:00
Warmist 17cf52206a Added light script. Can be ran with "static" to recalculate only on '~' press. 2013-06-22 23:18:09 +03: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
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
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
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 2776123274 add scripts/devel/unforbidall and scanitemother 2013-04-08 23:16:49 +02:00
Alexander Gavrilov 10667dfb9e Make the inspect screen background look more sane on some tilesets.
Namely where ' ' is not totally transparent.
2012-12-08 14:45:17 +04:00
Alexander Gavrilov 6fd306b558 Add tiles colored separately by fg and bg in inspect-screen. 2012-12-08 09:51:09 +04:00
Alexander Gavrilov 99e9785826 Add a script for inspecting screen tile parameters. 2012-12-07 18:10:24 +04:00
Alexander Gavrilov 3a522768a2 Implement feed-based finders for the remaining applicable globals. 2012-10-03 19:07:04 +04:00
Alexander Gavrilov 33aead34b4 Implement a more automated search mode based on keys for some globals. 2012-10-02 19:53:16 +04:00
Alexander Gavrilov 6f67a71e00 Search for cur_season and cur_season_tick in devel/find-offsets. 2012-09-22 14:52:08 +04:00
Alexander Gavrilov f7e414e397 Add a devel script to inject raw definitions into an existing world. 2012-09-21 19:00:18 +04:00
Alexander Gavrilov bfa6ed3e08 Support setting the target area for the siege engine. 2012-09-08 13:46:02 +04:00
Alexander Gavrilov 1618ccf5bb Fix steam-engine build on msvc, and add a script for listing mem ranges. 2012-09-03 10:28:17 +04:00
Alexander Gavrilov cb125f3d89 Add a script to fix population cap problems. 2012-08-29 19:20:38 +04:00
Alexander Gavrilov 15235cc938 More work on utilities for making lua viewscreens. 2012-08-21 19:40:37 +04:00
Alexander Gavrilov 451e965936 Add a Painter class for lua viewscreens, and extract other utilities.
Painter clips to an arbitrary rectangle window, and
tracks current cursor and color state.
2012-08-21 11:35:39 +04:00
Alexander Gavrilov cacb082416 Add a stupid example of a lua-controlled viewscreen. 2012-08-19 17:53:25 +04:00
Petr Mrázek 1c9194d1c4 While installing scripts, do not copy ~ files. 2012-07-12 02:24:32 +02:00
Petr Mrázek eae94693f7 Eliminate magic numbers from the fixnaked script. 2012-07-12 02:17:01 +02:00
Petr Mrázek 8f8f25384c Merge pull request #167 from amezick/master
Removing Bad Thoughts from Dwarves
2012-07-08 19:22:20 -07:00
Alexander Gavrilov 07dc20055a Tweak documentation for utils.make_sort_order and devel/prepare-save 2012-06-30 16:25:41 +04:00
Alexander Gavrilov 65e82f7c12 Support controllable error presentation verbosity in lua code.
Use qerror to squash stack traces and location prefix.
2012-06-22 16:36:50 +04:00
Alexander Gavrilov f207714d42 Add finders for enabler, gps and init. 2012-06-21 21:08:36 +04:00
Angus Mezick a17a4a2ce2 Script to remove certain bad thoughts 2012-06-20 14:45:09 -04:00
Alexander Gavrilov ed4acbdedb Add a searcher for current_weather, using a prepared save. 2012-06-20 10:12:26 +04:00
Alexander Gavrilov f989ef213e Add 5 more finders to the script; these use relative location heuristics. 2012-06-19 22:43:31 +04:00
Alexander Gavrilov bd5b675fa5 Add ui_menu_width finder, tweak instructions, and add a case for win exe. 2012-06-18 21:11:54 +04:00
Alexander Gavrilov a6bfc67038 Find a tweak to make two search recipes work, and add two more. 2012-06-17 21:40:08 +04:00
Alexander Gavrilov dc6cb61979 Add more offset finders to the script. 2012-06-17 18:44:59 +04:00
Alexander Gavrilov 67536da2fe Add an interactive script finding a limited subset of linux offsets. 2012-06-16 19:51:15 +04:00
Alexander Gavrilov 6ca5a03008 Add 3 more lua scripts. 2012-06-13 10:54:28 +04:00
Alexander Gavrilov 8185eec95c Add two more development related lua scripts. 2012-05-16 17:46:44 +04:00
Alexander Gavrilov 642a625586 Support custom buildings in dfhack.buildings.getFiltersByType.
Also document it and constructBuilding in Lua API docs.
2012-05-13 18:39:00 +04:00
Alexander Gavrilov 191071beb6 Add more lua scripts. 2012-05-08 12:55:06 +04:00