Commit Graph

3694 Commits (ebf2bf0c1498b578ec6d8fabdad4ed5b7ce0f47a)
 

Author SHA1 Message Date
Alexander Gavrilov 5388ad475f Fix a bug in lua wrapper caused by the recent pairs() addition.
It inadvertently removed all functions like df.new from the df table.
2012-10-20 20:14:50 +04:00
Alexander Gavrilov 2b1d856214 Add a few utility functions to the lua api. 2012-10-20 17:06:33 +04:00
Alexander Gavrilov 687dc7105f Merge remote-tracking branch 'kmartin/master' 2012-10-20 15:39:20 +04:00
Alexander Gavrilov cc0d92f4ba Merge remote-tracking branch 'peterix/master' 2012-10-20 15:38:46 +04:00
Alexander Gavrilov 1e2570f4cb Add an extremely simple item selection dialog by wrapping ListBox. 2012-10-17 21:42:06 +04:00
Alexander Gavrilov 2bbd00a8ec Add pairs and ipairs support for objects in df tree. 2012-10-17 20:58:37 +04:00
Alexander Gavrilov 2d4935bc17 Add lua API functions for verifying item and material vs job_item flags. 2012-10-17 19:16:18 +04:00
Alexander Gavrilov 4f7895f571 Support restricting the set of materials presented in the dialog. 2012-10-17 18:29:15 +04:00
Quietust 5f4f540bfa Fix "fastdwarf" command to print syntax where appropriate, silence warning 2012-10-17 07:57:14 -05:00
jj ffe70e9ee7 ruby: unregister onupdate callback on exception 2012-10-17 14:40:28 +02:00
Alexander Gavrilov 0046b093f7 Link visibility and event handling order.
- Hidden widgets don't receive events.
- Children handle events in top to bottom order.
2012-10-17 11:49:11 +04:00
Alexander Gavrilov ad4f9908fb Extract a generic filtered list widget from the materials dialog. 2012-10-17 10:41:50 +04:00
Alexander Gavrilov b14e4e97f5 Natively support entry icons in the List widget. 2012-10-17 09:41:48 +04:00
Kelly Martin 8fd1dd04bb Display dfhack version number at end of baseline 'help' message. 2012-10-16 19:27:48 -05:00
Timothy Collett 7aae869d72 Add OS X build instructions to the Compile file 2012-10-16 15:58:34 -04:00
Alexander Gavrilov 023dc82564 Implement a material selection dialog. 2012-10-16 18:33:00 +04:00
Alexander Gavrilov d336abfd97 Add label and list widgets, and switch stock dialogs to them. 2012-10-16 14:18:35 +04:00
Alexander Gavrilov abfe2754fb Start implementing common widgets for lua screens. 2012-10-15 20:03:18 +04:00
Alexander Gavrilov 33bd8103de Extract an abstract View superclass from Screen to handle widget trees. 2012-10-15 15:30:00 +04:00
Kelly Martin 5abecf32e7 Merge remote-tracking branch 'angavrilov/master' 2012-10-12 20:33:15 -05:00
Kelly Martin 0003fe0b2a Merge remote-tracking branch 'jjyg/master' 2012-10-12 20:33:07 -05:00
Alexander Gavrilov adfb307942 Merge remote-tracking branch 'kmartin/master' 2012-10-12 16:02:42 +04: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
ab9rf 12eeb9e5c0 Correct wrong variable use in start_autonestbox. 2012-10-12 00:38:45 -05:00
jj 424c37c0ea ruby: fix codegen to handle composite vtables 2012-10-11 17:51:49 +02:00
Alexander Gavrilov 5f9489a843 Start making a script for viewing and changing minecart Guide paths. 2012-10-11 19:32:41 +04:00
Alexander Gavrilov 2865e1373a Experimental API for associating tile bitmasks with persistent data.
Use block_square_event_world_constructionst objects with the same
bogus negative id as the matching historical figure object.
2012-10-11 17:34:34 +04:00
Alexander Gavrilov 5206236b01 Look through missing intermediate bases when interposing subclasses. 2012-10-11 15:10:19 +04:00
Alexander Gavrilov 010417c812 Compute detailed focus string for the hauling menu. 2012-10-11 12:36:17 +04:00
ab9rf 39a25856cd Merge https://github.com/jjyg/dfhack 2012-10-11 00:05:25 -05:00
ab9rf 599577780a Sync structures 2012-10-10 23:46:01 -05:00
jj 9148079745 Merge branch 'master' of git://github.com/angavrilov/dfhack 2012-10-10 19:47:01 +02:00
jj b5f5d1f85b removebadthoughts: add --dry-run option 2012-10-10 19:45:16 +02:00
jj b3b93f818d slayrace: show number of creatures per race 2012-10-10 19:25:30 +02:00
jj e3e01107b9 fix deathcause for new df-structures 2012-10-10 18:56:23 +02:00
jj 46a24a83fb ruby: fix item_find(:selected) in item details screen 2012-10-10 18:01:57 +02:00
Alexander Gavrilov 41de37a5c1 Add a special workshop for add spatter reactions into example raws. 2012-10-10 18:29:59 +04:00
Alexander Gavrilov 7c969f774f Split the liquipowder fix-dimensions hook into separate liquid and powder.
The item_liquipowder vtable is completely optimized out by MSVC.
2012-10-10 18:22:01 +04:00
jj 5cf42fd6f8 ruby: add Matinfo#=== 2012-10-10 14:57:45 +02:00
Alexander Gavrilov 7224c8746a Print the new md5 hash after modification in binpatch. 2012-10-08 16:47:52 +04:00
Alexander Gavrilov 28f0fed0aa Redo the way binpatch backs up, so as not to lose the executable perms. 2012-10-08 16:22:35 +04:00
Alexander Gavrilov 408f0cb06e Add a small stand-alone utility for managing binary patches. 2012-10-08 12:10:02 +04:00
Quietust ab90e3eefe Manipulator - take false identities into account 2012-10-07 17:35:41 -05:00
Alexander Gavrilov 459c69046b Dissolve the World module class into a namespace.
It made accessing persistent data way too cumbersome.
2012-10-06 13:46:20 +04:00
Alexander Gavrilov 696cc4a911 Stop autobutcher and autonestbox crashing if started without world. 2012-10-06 13:07:11 +04:00
Alexander Gavrilov 6fefd09072 Fix re-enabling autobutcher after being disabled. 2012-10-06 12:51:34 +04:00
Alexander Gavrilov 5396a67465 Some tweaking and edited NEWS. 2012-10-06 12:40:46 +04:00
jj cbbb164dad ruby: add MapTile distance_to and spiral_search 2012-10-05 20:44:29 +02:00