dfhack/plugins/Dfusion
Warmist c13f142092 Start of building hacking 2011-10-02 13:21:36 +03:00
..
include Added calldf function to call df functions (did not find any working function yet). Added 3 new function for onfunction. 2011-09-21 21:35:58 +03:00
luafiles Start of building hacking 2011-10-02 13:21:36 +03:00
src Added calldf function to call df functions (did not find any working function yet). Added 3 new function for onfunction. 2011-09-21 21:35:58 +03:00
CMakeLists.txt Added dfusion thready flag to spawn another thread 2011-08-19 18:09:00 +03:00
dfusion.cpp Small fixes + lua_bit lib (fixes flag manipulations) 2011-09-17 14:59:10 +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.