dfhack/plugins/Dfusion
Warmist bc539672d5 Split some plugins to plugin/init pairs (for dfusion init mode) 2011-12-27 23:08:06 +02:00
..
include Added getKeys method to lua offsetgroup and a way to cast versioninfo to offsetgroup 2011-12-24 16:00:43 +02:00
luafiles Split some plugins to plugin/init pairs (for dfusion init mode) 2011-12-27 23:08:06 +02:00
src Added getKeys method to lua offsetgroup and a way to cast versioninfo to offsetgroup 2011-12-24 16:00:43 +02:00
CMakeLists.txt Added header files to dfusion's project 2011-12-24 15:59:53 +02:00
dfusion.cpp Removed thready argument to dfusion, replaced with init (just sets stuff up, running everything in non interactive mode) 2011-12-27 23:07:23 +02:00
readme.txt Ported items plugin with more stuff 2011-08-03 17:59:06 +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
	* Process.
		readDWord
		writeDWord
		readFloat
		readWord
		writeWord
		readByte
		writeByte
		read
		write
		read/writeSTLString
		copySTLString
		doReadClassName
		readClassName
		readCString
		isSuspended
		isIdentified
		getThreadIDs
		getMemRanges
		getBase
		getPath
		setPermisions
Functions searched:
	OnTick()
		If defined is called each DFHack tick.