Does anyone know if the engine (or more useful, c-script) gets a notification when the user does an alt-enter to change to/from full screen mode? I have an options panel that allows you to select full screen or windowed mode but it can become out of sync. I suppose as an alternative, everytime the panel is opened I could read the current mode and set it according to that state.
You could permantly read out the video_screen variable which determines whether A6 is running in fullscreen (1) or windowed mode (2)... Or did I understand sth. wrong there?
Formerly known as The Matrix - ICQ 170408644
I've been here for much longer than most people think. So where's my "Expert" status?
Yes, I am aware of the video_screen variable. What I was looking for was a way to get a function called when alt-enter is hit. I just re-read the manual for on_f1... and see it passes the scan code as argument. Therefore I should be able to use something like on_enter=my_screenswitch, check for an alt in the scancode and have my game deal with the screen mode switch.