Commit Graph

33 Commits (9be928541cc27ae5e46c76bdcc072fef6a6ed49d)

Author SHA1 Message Date
lethosor 52f99f4285 Fix cursor position directions for process_dig/jobs scan 2016-05-10 17:49:12 -04:00
lethosor 2935d8d6be Make ui_sidebar_menus scan open menu automatically 2016-03-26 23:23:34 -04:00
lethosor fd8c9d9b44 fix find-offsets gps fallback scan 2016-03-26 11:09:45 -04:00
lethosor b888dbf25e find-offsets: automate several more scans and aid in cursor positioning
- ui_menu_width (and ui_area_map_width)
- ui_workshop_job_cursor
- process_jobs
- process_dig

Also attempt to maintain cursor position between ui_building_in_assign and
ui_building_in_resize scans
2016-03-25 22:12:25 -04:00
lethosor 7eb442e98c Feed D_ORDERS instead of relying on sidebar mode enum 2016-01-04 20:09:05 -05:00
lethosor 9ae55177ef Stop feed_menu_choice exit sequence from triggering after restarting scan 2016-01-04 20:05:45 -05:00
lethosor aa435a14d7 find-offsets: Look up colors from colors.txt if possible 2016-01-04 19:55:12 -05:00
lethosor bdd4b11e2d Add an option to scan for all "standing_orders_*" globals 2016-01-04 19:30:10 -05:00
lethosor 51164d5547 Add standing orders scans to find-offsets 2015-12-28 21:35:47 -05:00
lethosor 0a4287afba gps scan: fall back to data section 2015-12-28 17:28:50 -05:00
lethosor 97a39e0c53 Merge branch 'develop' of https://github.com/dfhack/dfhack into develop 2015-12-19 17:09:47 -05:00
lethosor eb1ae54d63 Add ui_lever_target_type scan to find-offsets 2015-12-19 17:09:29 -05:00
Alexander Gavrilov 5eccb1ed1c Fix find-offsets for cur_year_tick on windows.
The old reference moved far away, so switch to a new one.
2015-12-19 23:03:40 +03:00
PeridexisErrant 5018af9a9e Document devel scripts 2015-11-06 10:15:18 +11:00
Alexander Gavrilov 04ec2c9932 Update version to v0.40.14 and hack things so they compile.
Also make the find-offsets script less likely to crash if the
unit structure is misaligned and add more integrity checks.
2014-10-26 16:40:39 +03:00
Alexander Gavrilov 002bd5240b Bump version to v0.40.07 and update find-offsets to new pressure plate UI. 2014-08-11 14:14:42 +04:00
lethosor 14208577dd Display all found offsets on completion 2014-08-03 22:02:15 -04:00
Alexander Gavrilov 4902c577b3 Fix some crashes when running without globals and update structures. 2014-07-24 23:10:37 +04:00
Quietust 34ce7f61de Update find-offsets, find gview properly even if INTRO is enabled 2014-07-22 16:38:18 -05:00
Quietust 9435d8f4d9 Fix crashes caused by missing globals 2014-07-21 19:14:43 -05: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
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 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
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