Alexander Gavrilov
|
2b79582e99
|
Implement a policy of marking DFHack-owned screens with a signature.
|
2012-08-22 12:28:01 +04:00 |
Alexander Gavrilov
|
8969fc9435
|
manipulator: Inherit from dfhack_viewscreen, and don't use itoa.
|
2012-08-22 12:23:56 +04:00 |
Quietust
|
51ba252344
|
Add Screen::drawBorder(string), duplicates DF's interfacest::drawborder()
|
2012-08-21 15:28:11 -05:00 |
Quietust
|
985d96c596
|
Allow interposing the 1st vmethod
|
2012-08-21 15:27:29 -05:00 |
Alexander Gavrilov
|
15235cc938
|
More work on utilities for making lua viewscreens.
|
2012-08-21 19:40:37 +04:00 |
Alexander Gavrilov
|
451e965936
|
Add a Painter class for lua viewscreens, and extract other utilities.
Painter clips to an arbitrary rectangle window, and
tracks current cursor and color state.
|
2012-08-21 11:35:39 +04:00 |
Alexander Gavrilov
|
601a3a7927
|
Add a script that implements a linked mechanism browser.
|
2012-08-20 23:04:01 +04:00 |
Alexander Gavrilov
|
38a07a4ca5
|
Export the tile finder function to lua, and improve mouse event reporting.
|
2012-08-19 20:00:10 +04:00 |
Alexander Gavrilov
|
cacb082416
|
Add a stupid example of a lua-controlled viewscreen.
|
2012-08-19 17:53:25 +04:00 |
Alexander Gavrilov
|
30f71ff510
|
Implement support for lua-backed viewscreens.
|
2012-08-19 14:27:44 +04:00 |
Alexander Gavrilov
|
b8ee52131b
|
Add a module for painting tiles into the gps global.
|
2012-08-19 09:31:09 +04:00 |
Alexander Gavrilov
|
fd0bf2ef92
|
Extract the color enum from color_ostream to toplevel.
|
2012-08-19 09:21:25 +04:00 |
Alexander Gavrilov
|
c6694e386f
|
Add rather inefficient type_identity wrapping for std::set.
Accessing an element is O(N), as if it was walking a list.
|
2012-08-18 14:34:20 +04:00 |
Alexander Gavrilov
|
24cc8b5c7a
|
Expose an API to claim the suspend lock from the Core.
Previously it was hard-coded in Core::Update, but interposed
vmethods may need this feature too.
|
2012-08-18 11:52:38 +04:00 |
Alexander Gavrilov
|
01ba2a31fc
|
Tweak the interpose API, and fix a couple of bugs.
|
2012-08-18 11:48:07 +04:00 |
Alexander Gavrilov
|
236ffd578b
|
Add experimental support for interposing vmethods of known classes.
The hairiest bit is the abuse of compiler-specific pointer-to-member
internals in order to provide more or less transparent API.
|
2012-08-17 22:40:53 +04:00 |
Alexander Gavrilov
|
bcc41c081a
|
Add a utility function for patching read-only memory.
|
2012-08-17 15:07:48 +04:00 |
jj
|
61185d29ca
|
console-linux: silence minor gcc warnings
|
2012-08-12 00:27:20 +02:00 |
Petr Mrázek
|
589be93fbf
|
Sync with structures
|
2012-08-02 14:44:59 +02:00 |
Quietust
|
9705497a7e
|
Merge branch 'master' of git://github.com/peterix/dfhack
|
2012-07-17 10:39:20 -05:00 |
Quietust
|
bf82b2d20d
|
Sync with df-structures
|
2012-07-17 10:35:20 -05:00 |
Petr Mrázek
|
1c9194d1c4
|
While installing scripts, do not copy ~ files.
|
2012-07-12 02:24:32 +02:00 |
Petr Mrázek
|
a5977db443
|
Merge https://github.com/jjyg/dfhack
|
2012-07-09 01:13:07 +02:00 |
Petr Mrázek
|
6975f643fc
|
Fixage, syncing with structures
|
2012-07-09 01:05:40 +02:00 |
jj
|
c20951c30b
|
Merge branch 'master' of git://github.com/angavrilov/dfhack
|
2012-07-06 20:37:14 +02:00 |
jj
|
028b47a321
|
update xml
|
2012-07-06 20:36:53 +02:00 |
Alexander Gavrilov
|
4bbb185f7b
|
Fix build and allow autodump to any walkable tile (e.g. a stair).
|
2012-07-06 20:11:20 +04:00 |
jj
|
8e17ebbefc
|
add SC_PAUSED / SC_UNPAUSED onStateChange events
|
2012-07-05 18:03:02 +02:00 |
Timothy Collett
|
23d28f9961
|
Update df-structures dependency
|
2012-07-05 10:32:32 -04:00 |
jj
|
e4d4bf23ae
|
update xml, fix autolabor with new trade depot flags name
|
2012-07-04 19:05:44 +02:00 |
jj
|
cdd711efa4
|
add COAL subtypes in MaterialInfo::getToken
|
2012-07-04 17:31:41 +02:00 |
jj
|
a7a25b80a0
|
ruby: use the color_ostream argument from dfhack to output to dfhack-run
|
2012-07-03 16:13:15 +02:00 |
Timothy Collett
|
c24333515b
|
Merge branch 'master' of https://github.com/jjyg/dfhack
Conflicts:
library/Core.cpp
Starting to merge in Ruby stuffs
|
2012-07-02 11:07:30 -04:00 |
Timothy Collett
|
421e5fd82c
|
Swap order of includes to work around silly compiler/assembler bug on OS X
|
2012-07-02 11:02:48 -04:00 |
Timothy Collett
|
6f433ff58f
|
Move back to using interposition to be more portable
|
2012-06-29 10:15:48 -04:00 |
jj
|
ccbebdafb0
|
fix error spam when using Zoom hotkeys
|
2012-06-28 15:05:00 +02:00 |
jj
|
552da8417e
|
ruby: handle .rb files in df/hack/scripts/
|
2012-06-24 20:24:46 +02:00 |
Alexander Gavrilov
|
9046fed648
|
Add documentation for some utility functions implemented in lua.
|
2012-06-24 12:51:19 +04:00 |
Petr Mrázek
|
59fb4daa9a
|
Merge https://github.com/angavrilov/dfhack
|
2012-06-23 00:25:50 +02:00 |
Petr Mrázek
|
6199d6915c
|
Nuke some error prints.
|
2012-06-23 00:25:30 +02:00 |
Alexander Gavrilov
|
bd37cc09c5
|
Update the Lua API document with info about scripts.
|
2012-06-22 20:17:55 +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
|
752da9ced5
|
Move formatting newly-found globals for symbols.xml to lua code.
|
2012-06-21 21:26:25 +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 |
Timothy Collett
|
4ca3aa878a
|
Merge branch 'master' of https://github.com/angavrilov/dfhack
|
2012-06-19 14:48:40 -04:00 |
Alexander Gavrilov
|
e687a07f2e
|
Fix getRebaseDelta: should be signed int.
|
2012-06-19 21:02:27 +04:00 |
Timothy Collett
|
707fcc55e5
|
Update xml repo
|
2012-06-19 10:52:08 -04:00 |
Timothy Collett
|
40e764a46b
|
Some more tweaks to the memory-finding code
|
2012-06-19 10:51:47 -04:00 |
Alexander Gavrilov
|
50bd758876
|
Replace dfhack.internal.getBase with getRebaseDelta.
Also, when printing found offsets, subtract the delta.
|
2012-06-19 18:48:22 +04:00 |