Commit Graph

57 Commits (6b7594dbd7abf93f2ecd25aea428a844abe587ed)

Author SHA1 Message Date
Alexander Gavrilov cb125f3d89 Add a script to fix population cap problems. 2012-08-29 19:20:38 +04:00
Alexander Gavrilov 8171652323 Support permaflow in liquids, including the gui. 2012-08-26 20:08:28 +04:00
Alexander Gavrilov 41ad42d0fd Expose the liquids plugin engine to lua, and make a wrapper gui script. 2012-08-25 10:37:03 +04:00
Alexander Gavrilov 8359e80b23 Expose a few API functions to lua, and implement a room browser overlay. 2012-08-24 18:26:18 +04:00
Alexander Gavrilov d52c54cc76 Pull some minor stuff from mechanisms into main libs. 2012-08-24 13:49:22 +04:00
Alexander Gavrilov 296f82b02f Try using the Objective-C 'alloc + init' idiom for lua screen objects. 2012-08-24 13:28:34 +04:00
Alexander Gavrilov e825dc5ddb Tweak the API for current viewscreen, and dispatch show/dismiss from C++. 2012-08-24 13:20:08 +04:00
Alexander Gavrilov cf4b8a0196 Improve viewport manipulation utilities and support scroll in mechanisms.
I.e. allow the user to scroll around with cursor keys,
provided that keeps the cursor still visible.
2012-08-22 22:29:01 +04:00
Alexander Gavrilov 6e8b68fb29 Add yet one more frame style. 2012-08-22 13:06:06 +04:00
Alexander Gavrilov 44e3e318d0 Add a key handler to refresh the mechanism screen without exiting it. 2012-08-21 20:34:15 +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 be7bce1541 Immediately step once when showing the mechanism list. 2012-08-20 23:59:54 +04:00
Alexander Gavrilov 601a3a7927 Add a script that implements a linked mechanism browser. 2012-08-20 23:04:01 +04:00
Alexander Gavrilov cacb082416 Add a stupid example of a lua-controlled viewscreen. 2012-08-19 17:53:25 +04:00
jj eb52410565 fix/loyaltycascade: reset enemy_status_cache.next_slot too 2012-08-12 00:46:03 +02:00
jj 030bd8ab57 fix/loyaltycascade: clear the enemy status cache, dont require a save/reload anymore 2012-08-12 00:24:34 +02:00
jj 85f1a6fa6a add fix/loyaltycascade script 2012-08-11 22:25:40 +02:00
jj cb04a082fd move script/fixstuckdoors to script/fix/stuckdoors 2012-08-11 21:41:47 +02:00
jj 64a8443b5a slayrace: add single-creature targetting, add magma column mode 2012-08-03 17:00:06 +02:00
jj c1bcd270e9 ruby: add spawn_water/spawn_magma methods to MapTile 2012-08-03 17:00:02 +02:00
Kelly Martin ab4c4b63c0 Merge remote-tracking branch 'jjyg/master' 2012-07-16 20:52:15 -05:00
jj 9c0bc3144a magmasource: add documentation 2012-07-12 14:50:59 +02:00
jj c823f12737 add scripts/magmasource to generate an infinite magma source 2012-07-12 14:35:49 +02:00
Petr Mrázek a4194cc5b9 Even more derp. 2012-07-12 11:54:03 +02: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
jj c20951c30b Merge branch 'master' of git://github.com/angavrilov/dfhack 2012-07-06 20:37:14 +02:00
jj 1d6160de02 added fixstuckdoors.rb script 2012-07-03 18:01:56 +02:00
Alexander Gavrilov 07dc20055a Tweak documentation for utils.make_sort_order and devel/prepare-save 2012-06-30 16:25:41 +04:00
jj b421c08d31 growcrops: allow any unambiguous substring among existing seed types 2012-06-29 14:09:11 +02:00
jj 7971925f7a slayrace: ignore caged units 2012-06-29 13:23:44 +02:00
jj a72a59b2f9 add scripts/removebadthoughts 2012-06-29 11:38:58 +02:00
jj 412e8608d8 ruby: add method for basic xml ref-target support, tweak scripts/slayrace 2012-06-25 19:05:50 +02:00
jj 17d06b969b ruby: move all ruby invocations inside a CoreSuspend lock, remove ruby suspend method 2012-06-25 17:06:37 +02:00
jj d1762e3cb8 ruby: add growcrops script, add doc for methods in README 2012-06-24 21:44:40 +02:00
jj 552da8417e ruby: handle .rb files in df/hack/scripts/ 2012-06-24 20:24:46 +02: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
Petr Mrázek a5c9bf53c5 Merge https://github.com/warmist/dfhack 2012-06-14 00:01:09 +02:00
Alexander Gavrilov 6ca5a03008 Add 3 more lua scripts. 2012-06-13 10:54:28 +04:00
Alexander Gavrilov d35d8d3431 Add the script to fix lagging fat dwarves. 2012-06-05 14:06:29 +04:00