Alexander Gavrilov
|
795961bfc4
|
Fix the treatment of non_economic in Materials/Items modules.
non_economic == !(is boulder && is inorganic && is economic)
|
2012-10-20 20:31:45 +04:00 |
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
|
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 |
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 |
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 |
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 |
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 |
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
|
5396a67465
|
Some tweaking and edited NEWS.
|
2012-10-06 12:40:46 +04:00 |
Alexander Gavrilov
|
9f687f64a4
|
Fix build.
|
2012-10-03 12:58:05 +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
|
bd3d3061ae
|
Add a module that wraps the dialogs as "blocking" coroutine functions.
|
2012-10-02 18:01:28 +04:00 |
Alexander Gavrilov
|
abf503fcdc
|
Fix the ListBox dialog to behave in a more consistent way.
|
2012-10-02 16:45:17 +04:00 |
Alexander Gavrilov
|
9d5adf1b2f
|
Update the lua screens to use the new key display string API function.
|
2012-10-02 15:25:59 +04:00 |
Alexander Gavrilov
|
7440e80e6c
|
Add an API function to retrieve interface key bindings for display.
|
2012-10-02 13:49:31 +04:00 |
Petr Mrázek
|
ba5b8638a9
|
Merge https://github.com/jjyg/dfhack
Conflicts:
fixTexts.sh
|
2012-09-30 23:29:13 +02:00 |
Petr Mrázek
|
8812238bf6
|
Update license, add contributors file, bump release number
|
2012-09-30 04:03:37 +02:00 |
Petr Mrázek
|
b1ad92e310
|
Track structures
|
2012-09-30 02:52:30 +02:00 |
Alexander Gavrilov
|
62cde96724
|
Add a script to reclassify 'individual choice' weapons based on unit skill.
|
2012-09-29 17:21:49 +04:00 |
Alexander Gavrilov
|
48da06ec37
|
Add an API function for reading the nominal skill level.
|
2012-09-29 15:18:04 +04:00 |
Alexander Gavrilov
|
eaddd0e646
|
Try shutting up a few random warnings.
|
2012-09-29 12:47:41 +04:00 |
Petr Mrázek
|
53c6ee4673
|
Track structures and stonesense
|
2012-09-28 21:57:12 +02:00 |
Alexander Gavrilov
|
164c61b638
|
Forbid stuff from bins in siege-engine, if forbid ammo standing order set.
|
2012-09-27 10:43:42 +04:00 |
Alexander Gavrilov
|
2e5f3c4620
|
Merge remote-tracking branch 'jjyg/master'
|
2012-09-27 10:36:14 +04:00 |
jj
|
7cc29250f8
|
fix for updated viewlist_petst
|
2012-09-26 18:22:07 +02:00 |
Alexander Gavrilov
|
627f036830
|
Implement a special command parsing mode with one verbatim argument.
Intended for script expressions, e.g. rb_eval.
|
2012-09-24 19:13:33 +04:00 |
Kelly Martin
|
8e25158811
|
Sync up df-structures
|
2012-09-23 19:40:04 -05: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
|
038d62367e
|
Implement explicit hook priority in vmethod interpose.
This resolves a getName order conflict between power-meter and rename.
|
2012-09-22 13:14:06 +04:00 |
Alexander Gavrilov
|
82dc1445cf
|
Support the Room list in getSelectedBuilding.
|
2012-09-20 11:55:53 +04:00 |
Alexander Gavrilov
|
c39a337223
|
Add unit/item/job/building getter hook vmethods to dfhack_viewscreen.
|
2012-09-20 11:11:20 +04:00 |
Alexander Gavrilov
|
7ce772ae0e
|
Add an API function that returns the selected building.
|
2012-09-20 10:41:03 +04:00 |
Alexander Gavrilov
|
a4799a384b
|
Catch C++ exceptions in dfhack.buildings.setSize
|
2012-09-18 20:45:59 +04:00 |
Alexander Gavrilov
|
57b72831ca
|
Overhaul the concept of lua 'class' initialization yet again.
|
2012-09-18 20:30:25 +04:00 |
Alexander Gavrilov
|
d70a79deb9
|
Follow changes in XML defs.
|
2012-09-18 13:11:11 +04:00 |
Alexander Gavrilov
|
be928a9dc5
|
Fix a data structure integrity bug in VMethodInterposeLinkBase.
This causes assertion failure and abort later on.
|
2012-09-18 10:40:14 +04:00 |
Alexander Gavrilov
|
36e44c682c
|
Add a plugin implementing 'add spatter to item' reactions.
|
2012-09-17 21:15:51 +04:00 |
Alexander Gavrilov
|
c1e20c6f05
|
Follow changes to structures.
|
2012-09-17 12:47:18 +04:00 |
Alexander Gavrilov
|
811c096c0e
|
Vaporize liquids from barrels, and destroy bin contents in siege engine.
|
2012-09-14 20:22:49 +04:00 |
Alexander Gavrilov
|
24772f4dbc
|
Add an api function for destroying items.
|
2012-09-14 18:49:02 +04:00 |
Alexander Gavrilov
|
d22591e240
|
Fix a file descriptor leak and a crash in linux getMemRanges.
|
2012-09-14 12:35:55 +04:00 |
Quietust
|
1d8c9a6a5f
|
Merge https://github.com/danaris/dfhack
|
2012-09-13 14:30:44 -05:00 |
Timothy Collett
|
24b93ea61f
|
Library location fixing script
|
2012-09-13 14:58:52 -04:00 |
Quietust
|
46321a6a01
|
Rename world_data.unk_204 to feature_map
|
2012-09-12 13:41:59 -05:00 |
Alexander Gavrilov
|
f06f9af6b8
|
Throw items from bins around in siege engine, like minecarts do.
|
2012-09-12 20:57:25 +04:00 |
Alexander Gavrilov
|
7c71aeab5f
|
Add function for making item projectiles.
|
2012-09-12 18:17:42 +04:00 |
Alexander Gavrilov
|
3a075f4bc7
|
Trivial siege engine aiming at units, with logic in lua.
|
2012-09-11 19:17:24 +04:00 |
Timothy Collett
|
ccefd02ee3
|
Merge branch 'master' of git://github.com/angavrilov/dfhack
|
2012-09-10 11:56:23 -04:00 |
Timothy Collett
|
96abc903ab
|
Merge branch 'master' of http://github.com/peterix/dfhack
|
2012-09-10 11:54:56 -04:00 |
Timothy Collett
|
274d6038ad
|
Merge further changes (???)
|
2012-09-10 09:19:21 -04:00 |
Timothy Collett
|
270351f510
|
Merge branch 'master' of https://github.com/danaris/dfhack
|
2012-09-10 09:18:24 -04:00 |
Alexander Gavrilov
|
9679b7729c
|
Clean up the movement speed calculation function and move into the core.
|
2012-09-09 17:04:58 +04:00 |
Alexander Gavrilov
|
ec3d489bda
|
Move curse-affected attribute value getters to the core.
|
2012-09-09 12:51:08 +04:00 |
Alexander Gavrilov
|
a36fe25e72
|
Finish the effective skill computation function, and move to core.
|
2012-09-09 12:27:40 +04:00 |
Alexander Gavrilov
|
94b729579e
|
Reindent to remove tabs.
|
2012-09-09 10:53:08 +04:00 |
warmist
|
8e0f3e3bce
|
Added ListBox to gui.dialogs
A listbox class. Can be either filled with table of strings, or string+callback tables. Needs some code revision :)
|
2012-09-09 02:28:07 +03:00 |
Alexander Gavrilov
|
fb88aad51d
|
Reverse-engineer unit speed computation from DF code.
|
2012-09-08 21:07:18 +04:00 |
Alexander Gavrilov
|
bfa6ed3e08
|
Support setting the target area for the siege engine.
|
2012-09-08 13:46:02 +04:00 |
Alexander Gavrilov
|
325e294af2
|
Start the siege engine plugin with code to highlight obstacles on screen.
|
2012-09-07 19:54:32 +04:00 |
Alexander Gavrilov
|
e925d8f4d9
|
Add an API function for reading tiles from the screen buffers.
|
2012-09-07 11:36:45 +04:00 |
Alexander Gavrilov
|
c971a819de
|
Experimental creation of map blocks in gui/liquids script.
|
2012-09-06 22:45:19 +04:00 |
Alexander Gavrilov
|
d5ea05ebb8
|
Implement a pressure plate sensitive to machine power.
When built next to a gearbox, it will monitor its powered state.
|
2012-09-06 12:37:29 +04:00 |
Alexander Gavrilov
|
8d876cc7d9
|
Support renaming some buildings, and arbitrary units, via gui script.
|
2012-09-05 21:27:42 +04:00 |
Alexander Gavrilov
|
57086ac56e
|
Add stock MessageBox and InputBox dialog screens for lua scripts.
|
2012-09-05 19:45:45 +04:00 |
Alexander Gavrilov
|
27f169e298
|
Provide a partial application utility function to lua.
Implemented in C++ for efficiency.
|
2012-09-05 17:37:36 +04:00 |
Alexander Gavrilov
|
3b8e3d1459
|
Fix wrong assumptions in lua wrapper for BitArray.
|
2012-09-02 17:18:01 +04:00 |
Alexander Gavrilov
|
3713c5ea9e
|
Add some APIs required by steam engine to the core.
|
2012-09-02 14:10:58 +04:00 |
Alexander Gavrilov
|
8536785d1d
|
Boilers made out of unsuitable materials should explode!
|
2012-09-01 20:46:34 +04:00 |
Alexander Gavrilov
|
e0097d8d43
|
Fix access to unnamed bits in bitfields, and allow hook.apply(false)
|
2012-09-01 11:25:24 +04:00 |
Alexander Gavrilov
|
0f1be28637
|
Follow xml changes.
|
2012-09-01 00:17:08 +04:00 |
Alexander Gavrilov
|
750eefe48a
|
Follow unconditional JMP chains in MSVC vmethod ptr detection.
|
2012-08-30 19:28:53 +04:00 |
Alexander Gavrilov
|
8a617edb10
|
Support "ls -a" to list scripts in subdirs.
|
2012-08-29 19:03:53 +04:00 |
Alexander Gavrilov
|
f1915915b4
|
Follow change in xml again.
|
2012-08-27 23:03:02 +04:00 |
Alexander Gavrilov
|
5fed060d7d
|
Follow field rename in xml.
|
2012-08-27 16:01:11 +04:00 |
Alexander Gavrilov
|
b2bdc199cb
|
Fix NULL pointer access in ~virtual_identity.
|
2012-08-26 22:43:18 +04:00 |
Alexander Gavrilov
|
3402a3cd5d
|
Fix a deadlock problem between suspend in (un)load, and onupdate.
|
2012-08-26 14:43:14 +04:00 |
Alexander Gavrilov
|
7f1e4b46bc
|
Implement inheritance-aware vmethod interposing.
I.e. overwriting the vmethod in all vtables that use it, not only one.
|
2012-08-26 14:43:14 +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 |
Petr Mrázek
|
9154564e71
|
Sync up submodules
|
2012-08-24 21:56:16 +02:00 |
expwnent
|
45efcfc763
|
Warning: does not work. Temp commit!
|
2012-08-24 11:40:51 -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
|
b12b9fa91e
|
Suspend DF around loading and unloading plugins.
This is necessary to improve safety of vtable interposing.
|
2012-08-23 19:51:55 +04:00 |