Windows XP Home SP2, and I'm using the MSVC 2003.NET compiler.
Edit: I have changed that to
if( scan_code == KEY_ESC )
but there's no change of behavior.
Also, I had added alfont 1.9.1, masking 0.80 and lua 5.1.1 to the new version, but didn't use them yet. So I removed the linkage dependencies, again without change of behavior.
Edit: Now I have only linked my object files with allegro 4.1.18 import libraries versus allegro 4.2.0 import libraries. Behavior is OK for 4.1.18, but sluggy as described above with 4.2.0. Debugging didn't show me any differences so far...
Third and last Edit: Got it. My fault...
Some time ago I had requested a change to one structure inside allegro, which was rejected because it can be done using allegro as it is. The problem then was, I couldn't do it that way, so I implemented that change into my 4.1.18. Fine, now as I put the same change into 4.2.0 I didn't make it complete, so that was the reason. Sorry.
Ah, Evert, at this place I could avoid using the key-array, but not at another place: Scrolling. I want the program to scroll in 8 directions, using the cursor keys, so pressing two of them at the same time and hold them pressed should move the viewport in the desired direction. This will not work with readkey(), or will it?