the other thread was getting off track and old, and i solved the problem anyway, so now im posting a new problem.
this is really weird, because it seems to work perfectly in another project i have, and the code is basically the same, but it suddenly doesn't work here. observe:
in the MoveLeft() function, none of the data members seem to be in scope. why is this so? here is the other code, where it works.
basically, the two classes are the same in the way they access data members. how come one works and the other doesn't?
BYTE get(int x,int y);
void set(int x,int y,BYTE value);
BYTE tagMap::get(int x,int y)
void tagMap::set(int x,int y,BYTE value)