Commit Graph

263 Commits (f32757fa0910c178bf3174c1d9daf03de3a86c49)

Author SHA1 Message Date
Ben Lubar 197e5ca2d9 update the name of the pressure plate field in ruby
https://github.com/DFHack/dfhack/blob/0.42.04-alpha2/library/modules/Buildings.cpp#L365-L371
2016-01-30 08:46:16 -06:00
Ben Lubar aab5c61923 set well bucket z correctly when allocating it in ruby
https://github.com/DFHack/dfhack/blob/0.42.04-alpha2/library/modules/Buildings.cpp#L347-L352
2016-01-29 14:51:32 -06:00
lethosor 786581689f Move get_dfhack_version() to a separate namespace and add a few other version-related functions 2015-04-02 16:37:58 -04:00
lethosor 6a64525284 Include a ruby library for OS X
See #560
2015-02-21 21:53:08 -05:00
lethosor d7897caec7 Display a more user-friendly error message when the ruby library is not available 2015-02-21 21:50:25 -05:00
lethosor 0f77a1a578 Move DFHack version to a separate (static) library
This allows the DFHack version to be changed without recompiling
everything
2015-02-19 12:08:23 -05:00
lethosor 10cfef0553 Fix whitespace issues 2015-02-14 22:53:06 -05:00
Yoann Guillot 889bd06ffc ruby: fix windows platform detection 2014-11-16 13:00:38 +01:00
Yoann Guillot 8042c5d342 ruby: load arch-specific ruby-autogen 2014-11-14 12:49:08 +01:00
Yoann Guillot 696380e749 ruby: distinguish ruby-autogen.rb name based on architecture 2014-11-14 12:47:42 +01:00
Yoann Guillot e2229f6a6a ruby: remove DL_RUBY cmake option 2014-11-14 12:38:24 +01:00
jj eed684a8df fix superdwarf 2014-09-26 11:39:05 +02:00
jj 0766538ecd ruby: add df.print_color(col, string) 2014-09-25 15:53:03 +02:00
jj 1a38c72763 ruby: add stl-fstream to codegen 2014-09-25 13:19:00 +02:00
jj c894346639 ruby: call RUBY_INIT_STACK 2014-09-19 21:38:22 +02:00
hobotron-df e115a392f7 Added binary tarballs for ruby dependencies to work around cmake download failures against github (http://cloud.github.com/downloads/jjyg/dfhack/) 2014-08-29 19:52:23 -05:00
jj 0f99ea0ccb ruby: fix spawn_liquid for 40.06 2014-08-11 01:11:46 +02:00
Ben Lubar d1aee89491 remove space before hyphen 2014-05-18 13:01:07 -05:00
Ben Lubar 76ec3ba58c Fix English names containing the word "the"
See DFHack/dfhack#245
2014-05-17 18:40:15 -05:00
jj eac126c884 ruby: use placement-new instead of hack 2014-04-01 15:12:52 +02:00
jj 7adb6b2ee9 ruby: codegen unit.caste_tg helper 2014-01-04 15:04:56 +01:00
jj 1bd6d5f96d ruby: add FEATURE/ice map tile materials 2013-10-14 01:58:55 +02:00
jj 3d7661e7e9 ruby: fix map tile material reading 2013-10-14 00:01:26 +02:00
jj 4ba4f90147 ruby: add support for enable/disable plugin 2013-10-07 13:58:28 +02:00
jj a18347608a ruby: vectors default to int32_t 2013-10-07 13:33:21 +02:00
jj dd739313b1 ruby: tweak item_isfree 2013-04-30 18:38:52 +02:00
jj c9776f481c ruby: add construction/siegeengine bld subtypes in building_alloc 2013-04-21 22:29:51 +02:00
jj de5e713c51 ruby: add rb dfhack command shortcut 2013-04-16 21:54:03 +02:00
jj 13451bd487 ruby: fix crash on Compound#_cpp_delete 2013-04-14 01:17:44 +02:00
jj b2e22a2c42 ruby: add facility to queue dfhack commands 2013-04-12 15:23:13 +02:00
jj 135289e89a ruby: add MapTile#burrow 2013-03-30 20:22:25 +01:00
jj 4fe37b4bd5 ruby: fix DfFlagarray.inspect when no indexenum 2013-03-16 21:06:31 +01:00
jj 6b70a89321 ruby: typo in autogen/int8_t 2013-02-17 02:05:01 +01:00
jj bba96494f3 ruby: add unit_hostiles to list hostiles units (duh) 2012-12-13 17:20:21 +01:00
jj 662d3101c7 ruby: fix onupdate tick limiting + advmode, add pageprotect, add :script_finished 2012-12-11 17:25:51 +01:00
jj 6bc791d985 follow df-structure rename unit.unknown8 + able_stand_* 2012-12-10 22:50:33 +01:00
jj e1b70d171c ruby: tweak is_citizen test 2012-12-06 12:48:16 +01:00
jj 74ebe7d207 ruby: add df-static-flagarray 2012-12-04 17:55:29 +01:00
jj 0b80dff09d ruby: add d-float support 2012-12-04 17:18:09 +01:00
jj d7f7538d01 ruby: fix Pointer assignment 2012-11-29 17:11:29 +01:00
jj 771a5ac50b ruby: tweak flagarray#inspect 2012-11-28 20:08:34 +01:00
jj 8f0d552556 ruby: add DFHack::VERSION 2012-11-28 13:33:07 +01:00
jj 76bb5f0196 ruby: items in containers are free 2012-11-26 20:09:56 +01:00
jj f091284a75 ruby: avoid crash on ArgumentError in onupdate 2012-11-25 17:29:03 +01:00
jj e73274d281 ruby: add description field to onupdate_register 2012-11-24 16:10:55 +01:00
jj 5b5c674f6e ruby: update map_tile.mat_info for soil/stone special cases 2012-11-20 21:17:33 +01:00
jj 423c122424 ruby: fix unit_find for advmode 2012-11-16 17:59:39 +01:00
Quietust 766aca4911 Rename general_ref vectors for consistency 2012-11-12 08:27:58 -06:00
jj 0a78064467 ruby: raise on invalid enum symbols 2012-10-31 16:11:06 +01:00
jj 1b9d11090f ruby: ANY_FREE/IN_PLAY 2012-10-25 13:44:01 +02:00
jj 1f7a01d685 follow rename unit.military.squad_index to squad_id in df-structures 2012-10-20 22:35:39 +02:00
jj ffe70e9ee7 ruby: unregister onupdate callback on exception 2012-10-17 14:40:28 +02:00
jj c089534f73 ruby: fix assigning value to pointer to number 2012-10-12 13:33:58 +02:00
jj 1f88c0eeed ruby: codegen: avoid bad vector_reftg accessor 2012-10-12 11:42:42 +02:00
jj 0547ee7f83 ruby: add magic "nolock " prefix to run ruby without Suspending main df 2012-10-12 11:12:31 +02:00
jj 424c37c0ea ruby: fix codegen to handle composite vtables 2012-10-11 17:51:49 +02:00
jj 46a24a83fb ruby: fix item_find(:selected) in item details screen 2012-10-10 18:01:57 +02:00
jj 5cf42fd6f8 ruby: add Matinfo#=== 2012-10-10 14:57:45 +02:00
jj cbbb164dad ruby: add MapTile distance_to and spiral_search 2012-10-05 20:44:29 +02:00
jj 150704f1af ruby: raise when using unknown symbols in viewscreen.feed 2012-10-01 16:05:07 +02:00
jj fbc2d85609 ruby: rename building_isitemfree to item_isfree, add trader flag check 2012-10-01 11:14:00 +02:00
jj 4de245d691 ruby: install generated autogen after copying *.rb 2012-09-30 17:08:03 +02:00
jj 6fd002382f ruby: fix cmake dependency on codegen.out.xml 2012-09-29 12:13:04 +02:00
jj 44a74ddc38 ruby: remove unused var 2012-09-28 22:58:26 +02:00
jj 7cc29250f8 fix for updated viewlist_petst 2012-09-26 18:22:07 +02:00
jj d975ce5135 ruby: add onstatechange_register_once 2012-09-26 15:08:54 +02:00
jj f628c3732a ruby: avoid smoothing grass/trees 2012-09-24 19:19:34 +02:00
jj a622ee52e9 ruby: fix building_alloc Trap, and init Floodgates as closed 2012-09-24 19:11:42 +02:00
jj a2bb322344 ruby: item_find now works in z/stocks 2012-09-24 15:40:35 +02:00
jj aefedb9887 ruby: MapTile#offset, tweak #dig to check for existing jobs 2012-09-23 23:26:57 +02:00
jj f2199c2951 ruby: fix activity zone_num 2012-09-23 11:44:27 +02:00
jj f7272e4a8f ruby: use cursor as default map_tile_at arg 2012-09-23 10:58:31 +02:00
jj ebd4b94c2d ruby: add onupdate_register_once 2012-09-22 11:57:33 +02:00
jj b115edcf68 ruby: return selected zone in building_find 2012-09-20 19:57:43 +02:00
jj e154d5447b ruby: fix building linking more 2012-09-20 01:33:10 +02:00
jj 2d5942d5d7 ruby: fix building linking 2012-09-20 00:33:22 +02:00
jj b6d9863172 ruby: allow Civzone constants in building_alloc 2012-09-19 19:19:58 +02:00
jj 45c057b3d2 ruby: handle ptr-strings in df-structures 2012-09-19 14:25:14 +02:00
jj b470abed90 ruby: misc tweaks 2012-09-18 18:13:22 +02:00
jj 57d01f0008 ruby: use ui.follow_item/unit in unit_find, show non-english names by default 2012-09-18 10:17:33 +02:00
jj 72141a3c9b ruby: use implicit init-value -1 for ref-target/refers-to in codegen 2012-09-18 10:17:32 +02:00
jj eacca723e0 ruby: fix building subtype/customtype init value 2012-09-18 10:17:32 +02:00
jj b05905a0ba ruby: basic stl::set<uint32> support, add Viewscreen.feed_keys 2012-09-14 13:55:22 +02:00
jj a9ce19b826 ruby: add raw_rtti_classname to read real classname from RTTI info 2012-09-13 19:07:37 +02:00
jj 19a150fb38 ruby: fix dig smooth overdigging 2012-09-12 20:59:37 +02:00
jj cda17954c8 ruby: add MapTile.dig(:Smooth) 2012-09-12 01:07:19 +02:00
jj e09b98216f ruby: fix vector[length+50] = 0 segfault 2012-09-05 20:39:13 +02:00
jj afbace8af6 ruby: alloc_building(:Furnace, :Smelter) 2012-09-05 19:18:21 +02:00
jj a4c028b3b7 ruby: buildings tweaks 2012-09-02 01:38:58 +02:00
jj acdf0ffb42 ruby: fix create building map occupancy 2012-09-01 03:35:47 +02:00
jj dcc9498dbc ruby: tweak apis 2012-09-01 03:22:48 +02:00
jj ce608e4f6a ruby: yield announcements for further customization 2012-08-31 19:16:13 +02:00
jj 54780cac3f ruby: allow vmethod call with 6 args, use direct fptr 2012-08-31 15:51:22 +02:00
jj c339c7085a ruby: add memory_check / memory_patch native methods 2012-08-23 18:44:03 +02:00
jj e659d845ab ruby: fix LinkList.next= 2012-08-13 02:06:56 +02:00
jj 53a0536506 ruby: typo in building_deconstruct 2012-08-13 00:46:27 +02:00
jj@jj 5a880d619c ruby: add MapTile#dig, tweak unit_iscitizen 2012-08-12 22:36:54 +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 2362bb8eea ruby: add popup_announcement method 2012-08-11 22:25:08 +02:00
jj 4c720c7504 ruby: add explicit paths everywhere for ruby-autogen 2012-08-11 20:11:00 +02:00