[Avida-cvs] avida/current/source/qt-viewer CVS commit

Claus Wilke wilke at users.sourceforge.net
Fri Apr 19 18:11:58 PDT 2002


Update of /cvsroot/avida/avida/current/source/qt-viewer
In directory usw-pr-cvs1:/tmp/cvs-serv2103/source/qt-viewer

Modified Files:
	map_view_cell_entry.cc map_view_cell_entry.hh 
Log Message:
Added basic code for parasite color scale. The only thing that
is missing is to actually connect it such that it displays the
correct state of the organisms ;-).

But that is easy for anybody how knows something about parasites
(I don't). Go to the file source/qt-viewer/map_view_cell_entry.cc,
to function MapViewCellColorUtil::calcCellState();, and then
to the case statement 'PARASITE'. The 0 in the function call of
getParasiteColor() needs to be replaced with the correct value
for the organism:
0 -> uninfected
1 -> infected
2 -> is injecting code into other organisms
3 -> infected and injecting code into other organisms

Claus





More information about the Avida-cvs mailing list