dfhack/plugins/Dfusion
Warmist 5f729ffc0f Added script files and cmake install script for them 2011-07-28 04:22:15 +03:00
..
include Small fixes and lua port of Process 2011-07-28 03:11:33 +03:00
luafiles Added script files and cmake install script for them 2011-07-28 04:22:15 +03:00
src small bugfix (lua_Process.cpp) and onTick rate slowed 2011-07-28 04:08:57 +03:00
CMakeLists.txt Added script files and cmake install script for them 2011-07-28 04:22:15 +03:00
dfusion.cpp small bugfix (lua_Process.cpp) and onTick rate slowed 2011-07-28 04:08:57 +03:00
readme.txt Added simple readme, fixed sdl_threads and moved to tinythreads (mutex for lua engine). Other small fixes 2011-07-27 23:10:20 +03:00

readme.txt

Dfusion command runs file <df dir>\dfusion\init.lua
Other than std lua commands supported:
	* Console.
		print(string)
		printerr(string)
		clear()
		gotoxy(x,y)
		color(int)	//TODO add id's, use numbers upto 16 for now
		reset_color()
		cursor(true/false)
		msleep(int)
		get_columns()
		get_rows()
		lineedit(string)	//text input through console
		history_add(string) // adds string to console history
		
Functions searched:
	OnTick()
		If defined is called each DFHack tick.