dfhack/library/include
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
..
df Implement pre-embark estimate in prospector. 2012-02-02 22:14:49 +04:00
modules Tweaks and cleanups 2012-03-24 12:13:51 +01:00
BitArray.h Support resize/erase/insert for containers, and allow any index in BitArray. 2012-03-24 16:28:53 +04:00
ColorText.h Improve support for void RPC functions, dfhack-run, etc. 2012-03-15 11:07:43 +04:00
Console.h Pull out a colored text output interface out of the Console class. 2012-03-10 13:29:33 +04:00
Core.h Move CoreService to a separate file. 2012-03-17 12:09:30 +04:00
DFHack.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00
DataDefs.h Make enum attributes accessible through the lua wrapper. 2012-03-25 19:12:59 +04:00
DataFuncs.h Work around a msvc issue with spurious specialization ambiguity errors. 2012-03-26 10:46:51 +04:00
DataIdentity.h Make enum attributes accessible through the lua wrapper. 2012-03-25 19:12:59 +04:00
Error.h Tweaks and cleanups 2012-03-24 12:13:51 +01:00
Export.h Fix indentation 2012-03-15 11:50:38 -05:00
Hooks.h Add eggy hooks (linux only for now) 2012-02-28 03:37:56 +01:00
Internal.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00
LuaWrapper.h Implement recursive transfer of values from lua to c++ structures. 2012-03-27 21:47:52 +04:00
MemAccess.h Update to use the new symbols file. 2012-02-11 19:24:44 +01:00
MiscUtils.h Add many new template functions for enums & bitfields. 2012-03-17 12:52:22 +04:00
Module.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00
ModuleFactory.h Remove UTF-8 BOMs 2012-01-27 09:47:14 -06:00
PluginManager.h Add support for exporting functions from plugins, with example in rename. 2012-03-15 13:01:23 +04:00
Pragma.h Silence warning 4482 2012-03-24 18:18:29 -05:00
RemoteClient.h Add a ListMaterials remote call for bulk download of basic material info. 2012-03-17 15:36:42 +04:00
RemoteServer.h Make the server suspend the core around calls unless disabled. 2012-03-18 11:04:15 +04:00
RemoteTools.h Fix warnings. 2012-03-26 12:42:05 +04:00
SDL_events.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00
SDL_keyboard.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00
SDL_keysym.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00
TileTypes.h Add a tiletype function to get basic shapes from shapes. Track modules. 2012-03-16 20:41:07 +01:00
Types.h Get rid of t_effect_40d and EFFECT_TYPE - they're in the XML now, and they're actually correct too 2012-02-13 21:56:47 -06:00
VersionInfo.h Make it build and run on linux (no stonesense, df2mc, dfusion) 2012-02-09 03:07:26 +01:00
VersionInfoFactory.h Make it run on Windows, re-added more missing globals to memory.xml 2012-02-10 02:35:51 +01:00
wdirent.h Header changes/cleanup. 2011-12-31 12:48:42 +01:00