dfhack/library
Alexander Gavrilov 14709e5d45 Add an official core lua context, and allow plugins to send events to it.
- This context requires core suspend lock and asserts it in a few places.
- Special 'event' objects are introduced. They can be invoked as
  functions, in which case they iterate all their fields and call
  them as functions. Errors are printed and consumed.
- When a plugin is opened by the core context, events registered in
  a special array are linked to it. The system is organized so as to
  avoid even trying to pass the event to lua if the module isn't loaded.
2012-04-15 19:09:25 +04:00
..
doc Many tweaks to plugins, reorganized the build system and removed more cruft. 2011-08-14 08:42:21 +02:00
include Add an official core lua context, and allow plugins to send events to it. 2012-04-15 19:09:25 +04:00
lua Add an official core lua context, and allow plugins to send events to it. 2012-04-15 19:09:25 +04:00
modules Add burrow subcommands to modify burrow unit and tile sets. 2012-04-14 14:12:59 +04:00
proto Add unit_misc_trait list to BasicUnitInfo protobuf API. 2012-04-10 20:42:23 -04:00
xml@a545167050 Track structures, fix trivial problem in zone plugin 2012-04-15 00:35:59 +02:00
CMakeLists.txt Split LuaTools.cpp to separate core utils from general dfhack api. 2012-04-06 18:00:54 +04:00
ColorText.cpp Fix crashing color_ostream::printerr due to vfprintf vs fprintf mixup. 2012-03-31 22:26:41 +04:00
Console-linux.cpp Add a tiletype function to get basic shapes from shapes. Track modules. 2012-03-16 20:41:07 +01:00
Console-windows.cpp win32 SetConsoleTextAttribute doesn't know what COLOR_RESET (-1) is 2012-03-27 13:22:45 -05:00
Core.cpp Add an official core lua context, and allow plugins to send events to it. 2012-04-15 19:09:25 +04:00
DataDefs.cpp Reverse-rebase the vtable pointers printed to stderr.log. 2012-04-12 11:21:25 +04:00
DataStatics.cpp Add support for primitive type fields in lua wrapper. 2012-03-20 13:56:29 +04:00
DataStaticsCtor.cpp Header changes/cleanup. 2011-12-31 12:48:42 +01:00
DataStaticsFields.cpp Fix mistake: static initialization code cannot access other static objects. 2012-03-29 22:56:06 +04:00
Hooks-egg.cpp Fix normal hooks. 2012-02-28 12:59:02 +01:00
Hooks-linux.cpp Get rid of MALLOC_FILL build option 2012-04-01 00:30:42 +02:00
Hooks-windows.cpp Fixed up formatting, debug messages in new Windows Hotkey stuff. 2012-03-09 01:07:47 -08:00
LuaApi.cpp Add an official core lua context, and allow plugins to send events to it. 2012-04-15 19:09:25 +04:00
LuaTools.cpp Add an official core lua context, and allow plugins to send events to it. 2012-04-15 19:09:25 +04:00
LuaTypes.cpp Add an official core lua context, and allow plugins to send events to it. 2012-04-15 19:09:25 +04:00
LuaWrapper.cpp Wrap MaterialInfo for lua. 2012-04-06 19:56:19 +04:00
MiscUtils.cpp Wrap a few utility functions defined on the c++ side for lua. 2012-04-05 19:55:59 +04:00
PlugLoad-linux.cpp Clean up some chaos in old code. 2012-04-15 01:15:15 +02:00
PlugLoad-windows.cpp Clean up some chaos in old code. 2012-04-15 01:15:15 +02:00
PluginManager.cpp Add an official core lua context, and allow plugins to send events to it. 2012-04-15 19:09:25 +04:00
Process-linux.cpp More fixes 2012-03-29 02:49:44 +02:00
Process-windows.cpp Get rid of ntdll, update stonesense 2012-02-25 22:59:32 +01:00
RemoteClient.cpp Use a more obscure serialize method to avoid recalculating byte size. 2012-03-17 17:52:23 +04:00
RemoteServer.cpp Make the server suspend the core around calls unless disabled. 2012-03-18 11:04:15 +04:00
RemoteTools.cpp Add unit_misc_trait list to BasicUnitInfo protobuf API. 2012-04-10 20:42:23 -04:00
TileTypes.cpp Change to the traits representation of enum and bitfield properties. 2012-03-15 20:46:08 +04:00
VersionInfoFactory.cpp Support pre-initializing vtable pointers from symbols.xml 2012-04-12 10:54:53 +04:00
dfhack-run.cpp A number of interface tweaks in RemoteClient. 2012-03-16 14:11:46 +04:00