Commit Graph

7228 Commits (7920f71517622ef2f28cdd1cab6be2d0ec25d191)
 

Author SHA1 Message Date
lethosor b97d33ca28 moveToBuilding improvements
- Don't set in_building by default when use_mode is 0 (consistent with most vanilla DF items)
- make use_mode optional and default to 0 (including in Lua API)

Resolves #885
2016-04-05 11:43:02 -04:00
lethosor d9e368cab4 Update xml 2016-04-03 21:10:02 -04:00
lethosor e0ae7bde79 Add Lua primitives: ptr-string, pointer, ptr-vector, bit-vector, bit-array
These are most useful with df.reinterpret_cast, but df.new can also be used for
most of these (except ptr-string)
2016-04-03 20:48:57 -04:00
lethosor f5d10ecf61 vectors: attempt to identify instances of virtual classes
Also:
- don't restrict to heap ranges (e.g. allow globals)
- stylistic cleanup
2016-04-03 20:47:21 -04:00
lethosor 37c81df21c Add reverse vtable name lookup 2016-04-03 20:45:44 -04:00
lethosor a49f313f84 update xml 2016-04-03 13:34:52 -04:00
Japa 869a4af50e Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2016-04-03 11:09:42 +05:30
Japa 39bcee11d8 fixed a crash in remotefortressreader.cpp that occured if Armok Vision is connected while saving. 2016-04-03 11:09:16 +05:30
lethosor 483a32a7e8 Add default script-paths.txt 2016-03-31 23:00:25 -04:00
lethosor ec5e91bd6a Update xml 2016-03-28 21:00:27 -04:00
lethosor 1914430ac9 Update NEWS 2016-03-27 21:42:59 -04:00
lethosor b115fdc73f Load script paths from dfhack-config/script-paths.txt 2016-03-27 15:56:23 -04:00
lethosor 2935d8d6be Make ui_sidebar_menus scan open menu automatically 2016-03-26 23:23:34 -04:00
lethosor 85cfaa6dbd Enable IRC notifications for build failures 2016-03-26 11:27:59 -04:00
lethosor 866d31f121 Update xml 2016-03-26 11:12:06 -04:00
lethosor a53197960b Merge branch 'static-fields-groups' into develop 2016-03-26 11:11:29 -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 af4a3428a6 Split DataStaticsFields into multiple compilation units 2016-03-22 17:34:25 -04:00
lethosor b8bbf5f545 field_offset: Use actual type instances instead of reinterpret_cast(type, 1)
ui_build_selector is a virtual class as of 0.42.06, so reinterpret_cast-ing it
with bad addresses will crash. 'df.new(df.ui_build_selector)' works just fine.
2016-03-22 17:27:53 -04:00
Japa ede81c0f09 Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2016-03-21 22:57:22 +05:30
Japa 4d95395afc added a function to remotefortressreader.cpp to insert keyboard events 2016-03-21 22:56:48 +05:30
lethosor e5b78f1f5c Merge remote-tracking branch 'lethosor/travis-multiple-gcc' into develop 2016-03-20 13:42:37 -04:00
lethosor 122918c30f travis: use gcc 4.5 and 4.8 2016-03-20 13:39:29 -04:00
Japa 2f4a5e8449 Fix missing return 2016-03-20 22:04:21 +05:30
Japa a3ddc63836 Merge branch 'develop' of https://github.com/DFHack/dfhack into develop
Conflicts:
	plugins/remotefortressreader.cpp
2016-03-20 16:30:49 +05:30
Japa 14e61db99d Add ability for remotefortressreader.cpp to send over the current screen 2016-03-20 16:27:05 +05:30
lethosor e505bf0a58 Update xml 2016-03-18 17:05:59 -04:00
lethosor 7a9bf5b3ba Update news 2016-03-18 16:39:07 -04:00
lethosor e467c2010a Merge remote-tracking branches 'Putnam3145/patch-24' and 'BenLubar/rfr-follow' into develop 2016-03-18 16:37:37 -04:00
Putnam3145 de899c5966 DF measures density in kg/m^3
https://www.reddit.com/r/dwarffortress/comments/4aq6wp/thats_1520000_kgm3/
2016-03-16 21:55:19 -07:00
lethosor d2a8495a42 extra-gamelog: Fix season messages, error when loading spring saves
e0346ede56, #754
2016-03-14 20:58:44 -04:00
Ben Lubar 197e163a42 add follow_unit_id and follow_item_id to RemoteFortressReader 2016-03-14 13:54:46 -05:00
lethosor 76793045a9 Only block keyboard events in OS X SDL_PollEvent hook without focus
Blocking all events causes issues with window manager controls when the window
is not focused - for example, DF doesn't resize certain screen buffers, leading
to flickering in OpenGL print modes.
2016-03-13 10:33:25 -04:00
Japa 2f86683d37 Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2016-03-13 18:31:52 +05:30
Japa 2fc784f825 Add world pole orientation to remotefortressreader.cpp. 2016-03-13 18:31:27 +05:30
expwnent 5bb98295b3 Merge pull request #810 from PeridexisErrant/colonies
Colonies as a script, + place feature by Warmist
2016-03-13 08:32:05 -04:00
expwnent b24cbe6f84 Merge pull request #803 from robertjanetzko/additional-exports
Additional exports (masterpiece events, occasions and schedules)
2016-03-13 08:29:57 -04:00
expwnent 0a2cb08dba Merge pull request #754 from PeridexisErrant/better-gamelog
Merge gamelog scripts to modtools/extra-gamelog
2016-03-13 08:27:11 -04:00
expwnent b71c1b9e7c Merge pull request #751 from PeridexisErrant/remove-dfusion
Remove dfusion, df2mc, mapexport, dwarfexport
2016-03-13 08:22:07 -04:00
expwnent c4528d4e0e Merge pull request #866 from warmist/building_hacks_update
Add auto-gears mode for building hacks
2016-03-13 07:45:17 -04:00
Warmist eb621d6819 Update NEWS.rst 2016-03-13 13:38:26 +02:00
Warmist bc02e2a844 Add auto-gears mode for building hacks for automatic animation and gear positions. 2016-03-13 13:37:36 +02:00
expwnent 91235ff806 Merge pull request #867 from warmist/eventful-change
Change eventful to have sane(r) callback for produce
2016-03-13 07:34:17 -04:00
Warmist 45643ef2e3 Update NEWS.rst 2016-03-13 13:25:10 +02:00
Warmist 5895621eec Change eventful to have sane(r) callback for produce 2016-03-13 12:57:36 +02:00
Japa 4a5971966a Merge branch 'develop' of https://github.com/DFHack/dfhack into develop 2016-03-12 21:53:17 +05:30
expwnent 6fd904fd9e Bump version, tweak whitespace. 2016-03-10 09:16:03 -05:00
expwnent fe6bb1fe58 Update NEWS. 2016-03-10 09:04:08 -05:00
expwnent 5ae3e350dd Merge pull request #839 from sv-esk/teledwarf
fix teledwarf bug (leaves babies lying on ground)
2016-03-10 08:58:48 -05:00