dfhack/plugins/Dfusion
Warmist 16861781c2 Merge branch 'master' of git://github.com/peterix/dfhack 2012-03-17 15:09:05 +02:00
..
include Fixes for DfHack::Process foolery. 2012-03-11 14:59:32 +02:00
luafiles Started move to new system. Temp disabled non-working plugins. 2012-03-17 15:05:48 +02:00
src Started move to new system. Temp disabled non-working plugins. 2012-03-17 15:05:48 +02:00
CMakeLists.txt Move depends out of main library, make them (static) libraries. 2012-03-13 14:46:48 +01:00
dfusion.cpp Fixes for DfHack::Process foolery. 2012-03-11 14:59:32 +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.