And the question is ... what's this bit in aid of?
Apart from not understanding it and wanting to my problem is that I am using wchar_t not char for text so that "(char) -1" and "255" might well not be compatible with the rest of the code now.
Incidentally, if I was going to guess, I'd suspect it might have something to do with BIGTILE mode? (Maybe not).
[EDIT] Yeah, looks like it's BIGTILE stuff. I think I've got a handle on it, but I guess I'll end up changing some code for this.
Code:
if ((n > 0) && (scr_cc[x] == (char) -1) && (scr_aa[x] == 255)) { x--; n++; }
Incidentally, if I was going to guess, I'd suspect it might have something to do with BIGTILE mode? (Maybe not).
[EDIT] Yeah, looks like it's BIGTILE stuff. I think I've got a handle on it, but I guess I'll end up changing some code for this.
Comment