Print current 2DA

master
Crom (Thibaut CHARLES) 8 years ago
parent 4e80eb6c0f
commit 2018c0ef83

@ -110,7 +110,19 @@ void main(string[] args)
window.showAll();
//prints the tree model
TreeIter it = new TreeIter();
store.getIterFirst(it);//TODO: fail if first is null
do{
for(int i=0 ; i<twoda.header.length ; i++){
write("\t",store.getValueString(it, i));
}
writeln();
}while(store.iterNext(it));
Main.run();
}

Loading…
Cancel
Save