Alexander Gavrilov
d6e6fc483f
Fix F keys in keybindings: they obviously don't have unicode symbols.
2012-03-28 11:25:55 +04:00
Quietust
abebb7fd2d
Merge https://github.com/warmist/dfhack
2012-03-27 15:56:03 -05:00
Warmist
5e90af7400
Merge branch 'master' of git://github.com/peterix/dfhack
2012-03-27 22:48:07 +03:00
Warmist
2afff2b2c8
Dfusion crash fix
2012-03-27 22:47:23 +03:00
Quietust
be2a7af362
Merge branch 'master' of https://github.com/angavrilov/dfhack
2012-03-27 14:14:04 -05:00
Quietust
6656852fff
win32 SetConsoleTextAttribute doesn't know what COLOR_RESET (-1) is
2012-03-27 13:22:45 -05:00
Alexander Gavrilov
bc74c5984e
Implement recursive transfer of values from lua to c++ structures.
...
E.g. df.global.cursor = { x = 1, y = 2, z = 3 }. The lua data
must be represented by raw lua tables.
For structs, the entries in the table are assigned to matching fields.
For containers, if a 'resize' field is missing or nil, the table is
treated like 1-based lua array, and the container is resized to match
its # length. Otherwise, the field must be either an explicit number,
true or false. If it is true, the size is selected by the highest index
in the table. After that, entries are copied using 0-based indices.
For pointers, the table must match the target object. If the pointer
is null, the object is auto-allocated; this can be controlled using
the 'new' field, the value of which will be passed to df.new().
2012-03-27 21:47:52 +04:00
Quietust
2ac562d4d7
Add missing array terminator - without this, Release builds crash on startup
2012-03-27 10:23:11 -05:00
Petr Mrázek
d2d16271f0
Track stonesense
2012-03-27 01:30:46 +02:00
Alexander Gavrilov
22d775f95c
Fix sscanf parsing the memory map on linux, so that dfusion loads.
2012-03-26 21:05:24 +04:00
Warmist
3761426ef5
Extern "C" mess fixed, bitlib mess fixed, bitlib added to autoload.
2012-03-26 18:48:24 +03:00
Warmist
18c94f8000
Merge branch 'master' of git://github.com/peterix/dfhack
2012-03-26 18:14:14 +03:00
Warmist
61f0bc66af
small changes to tools(lua)
2012-03-26 18:12:32 +03:00
Petr Mrázek
b4d458b47f
Track stonesense
2012-03-26 16:16:19 +02:00
Petr Mrázek
4e78947b10
Track structures
2012-03-26 16:13:41 +02:00
Petr Mrázek
047ccdf43a
Merge https://github.com/angavrilov/dfhack
2012-03-26 16:13:36 +02:00
Robert Heinrich
eb5a364924
minor: replace tabs with spaces
2012-03-26 12:36:03 +02:00
Robert Heinrich
517fc310bf
documented changelayer plugin
2012-03-26 12:27:32 +02:00
Alexander Gavrilov
157f23be5c
Fix warnings.
2012-03-26 12:42:05 +04:00
Robert Heinrich
d50f42e4f3
Merge remote-tracking branch 'angavrilov/master'
2012-03-26 10:36:21 +02:00
Alexander Gavrilov
00a5bfcf3e
Work around a msvc issue with spurious specialization ambiguity errors.
2012-03-26 10:46:51 +04:00
Robert Heinrich
af344e57bd
Merge remote-tracking branch 'upstream/master'
2012-03-26 04:17:06 +02:00
Robert Heinrich
e63ba6f87d
added changelayer plugin
2012-03-26 04:15:42 +02:00
Petr Mrázek
1a19e17695
Track structures, stonesense
2012-03-26 03:39:14 +02:00
Petr Mrázek
85c3fbedcc
Merge https://github.com/warmist/dfhack
2012-03-26 03:38:16 +02:00
Petr Mrázek
a120df8e5c
Merge https://github.com/rh73/dfhack
2012-03-26 03:37:49 +02:00
Petr Mrázek
dd8c4a4892
Merge https://github.com/wjrogers/dfhack
2012-03-26 03:37:21 +02:00
Alexander Gavrilov
d0090e9551
Fix lua wrapper: create one function identity instance per method.
...
Otherwise all methods of the same prototype are lumped into one.
2012-03-25 21:12:20 +04:00
Alexander Gavrilov
1d81cb56ba
Make enum attributes accessible through the lua wrapper.
...
TODO: make them completely read-only.
2012-03-25 19:12:59 +04:00
Will Rogers
43b6bb083d
Fix generate-*.bat for DF paths containing spaces.
2012-03-25 10:56:20 -04:00
Alexander Gavrilov
0412aaebe4
Add a delete() method to the objects in the lua wrapper.
2012-03-25 15:48:18 +04:00
Alexander Gavrilov
7209e4d3f2
Attach static methods to the type objects in the lua wrapper.
2012-03-25 15:20:58 +04:00
Robert Heinrich
96064da6ba
remove cursedump, use api instead
2012-03-25 12:11:00 +02:00
Alexander Gavrilov
8d345be6e7
Expose virtual methods in the lua wrapper.
2012-03-25 14:06:05 +04:00
Robert Heinrich
b790909950
Merge remote-tracking branch 'upstream/master'
2012-03-25 11:57:13 +02:00
Warmist
63634de8d5
Fixed empregnate, and some other tools...
2012-03-25 11:48:53 +03:00
Alexander Gavrilov
5d471a2a74
Since lua is now compiled as c++, don't declare api functions extern "C".
2012-03-25 11:11:45 +04:00
Petr Mrázek
def7e51564
Merge https://github.com/warmist/dfhack
2012-03-25 03:27:26 +02:00
Warmist
e36ed9ac07
Fixed more plugins (embark/friendship/simple_embark)
2012-03-25 01:31:58 +02:00
Petr Mrázek
ee66731d63
Remove Qt and server plugins.
2012-03-25 00:28:29 +01:00
Quietust
947adeac83
Silence warning 4482
2012-03-24 18:18:29 -05:00
Warmist
b8210a4cc7
Commented non working parts... Not very much left...
2012-03-25 01:16:41 +02:00
Petr Mrázek
b47e068f8c
Merge https://github.com/warmist/dfhack
2012-03-24 23:12:10 +01:00
Petr Mrázek
645e5eb2c1
track structures
2012-03-24 22:44:16 +01:00
Warmist
4e11a4be1a
Tried to update df-structs.
2012-03-24 21:35:09 +02:00
Petr Mrázek
39f722339c
Track structures
2012-03-24 17:10:45 +01:00
Petr Mrázek
3331bc31f6
Merge https://github.com/warmist/dfhack
2012-03-24 17:10:19 +01:00
Petr Mrázek
fc4a72bbf3
Merge https://github.com/quietust/dfhack
2012-03-24 17:09:11 +01:00
Warmist
b56917f91b
Merge branch 'master' of https://github.com/angavrilov/dfhack
2012-03-24 16:49:17 +02:00
Quietust
e779a076fc
Fix Lua compilation on win32 - extern must come BEFORE __declspec
2012-03-24 09:11:25 -05:00