Hello again programmers.
Here is the first version of the InSim button interface, which allows host control systems or local InSim programs to put buttons on your screen and receive button clicks or text typed on clicking the buttons.
This can be used to provide a better interface (with menus, information, etc) to InSim programs. The user can call up a menu from a host control system by pressing SHIFT+I (if the host controller sends some buttons as a reply). And similarly, local InSim programs can respond to the SHIFT+B key press. SHIFT+I and SHIFT+B also remove any buttons that are there (and in that case they don't send a request for buttons) so they work as a menu toggle.
I recommend you keep your buttons to the left middle of the screen, to avoid overwriting the LFS 2D displays. The menus are displayed in the game setup screen and in game. In the game setup screen the connection and player lists are not visible if any buttons are shown.
Please have a look and let me know what problems you find.
Download : (there are no other changes so this is only for InSim testing)
[ EDIT - download link removed - W30 now available http://www.lfsforum.net/showthread.php?p=432676#post432676 ]
Here is the first version of the InSim button interface, which allows host control systems or local InSim programs to put buttons on your screen and receive button clicks or text typed on clicking the buttons.
This can be used to provide a better interface (with menus, information, etc) to InSim programs. The user can call up a menu from a host control system by pressing SHIFT+I (if the host controller sends some buttons as a reply). And similarly, local InSim programs can respond to the SHIFT+B key press. SHIFT+I and SHIFT+B also remove any buttons that are there (and in that case they don't send a request for buttons) so they work as a menu toggle.
I recommend you keep your buttons to the left middle of the screen, to avoid overwriting the LFS 2D displays. The menus are displayed in the game setup screen and in game. In the game setup screen the connection and player lists are not visible if any buttons are shown.
Please have a look and let me know what problems you find.
Download : (there are no other changes so this is only for InSim testing)
[ EDIT - download link removed - W30 now available http://www.lfsforum.net/showthread.php?p=432676#post432676 ]