peterlane wrote:Let me know if anything's unclear, or could be improved.
gstoll wrote:In open_vwork you must set work_in to 2 + Getret(). ("work_in = 2 + Getrez();")
qstoll wrote:https://github.com/petercrlane/sokoban/ ... /windows.c : event_loop
It is not necessary to make a #if for some messages. For example WM_SHADED is also pressend in MagiC or WINX.
peterlane wrote:I take it you mean work_in = 2 + Getrez (); ?
peterlane wrote:I put the #if in as I have previously had problems compiling code with TOS 4 features on my STe.
gstoll wrote:Maybe you use floating point. The ST version from AHCC don't support them. With PureC you can use it.
peterlane wrote:Thanks for the suggestion. It prompted me to look again at the Atari Compendium, and I notice it says for work_in: "For screen devices you should normally use the value Getrez() + 2, however, a value of 1 is acceptable if not using any loaded fonts"
I take it you mean work_in = 2 + Getrez (); ?
(I admit, I took the code for open_vwork directly from CManShip and haven't questioned it.)
Users browsing this forum: No registered users and 1 guest