dfhack/plugins/Dfusion
Warmist cc73dd3140 Refactored onfunction a bit, added function hints. 2011-08-21 20:29:35 +03:00
..
include Rest of methods (editing not implemented) 2011-08-09 03:54:33 +03:00
luafiles Refactored onfunction a bit, added function hints. 2011-08-21 20:29:35 +03:00
src Linux tinkerings, moved few offsets and part of creature pattern into memory.xml model 2011-08-21 01:46:16 +03:00
CMakeLists.txt Added dfusion thready flag to spawn another thread 2011-08-19 18:09:00 +03:00
dfusion.cpp Started migration to init/plugin scheme (init files for noninteractive parts). Also added WINDOWS/LINUX flags 2011-08-21 00:15:40 +03: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.