dfhack/library
Alexander Gavrilov a1756a864c Implement a way to do prompts from core context.
The trick obviously is doing it without forcing DF to wait suspended.
Fortunately, lua has built-in coroutine support, so the interactive
prompt can simply yield and rely on the external loop to do the job.
To use this however the REPL had to be replaced with lua code.
2012-04-15 21:50:22 +04:00
..
doc Many tweaks to plugins, reorganized the build system and removed more cruft. 2011-08-14 08:42:21 +02:00
include Implement a way to do prompts from core context. 2012-04-15 21:50:22 +04:00
lua Implement a way to do prompts from core context. 2012-04-15 21:50:22 +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 Implement a way to do prompts from core context. 2012-04-15 21:50:22 +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