Low level initialisation of a dialog.
This function provides lower level access to the same functionality as
do_dialog(), but allows you to combine a dialog box with your own program
control structures. It initialises a dialog, returning a pointer to a
player object that can be used with update_dialog() and
shutdown_dialog(). With these functions, you could implement your own
version of do_dialog() with the lines:
DIALOG_PLAYER *player = init_dialog(dialog, focus_obj);
Note that you are responsible for showing and hiding the mouse cursor, which
do_dialog would otherwise do for you, or saving and restoring the screen
contents, as popup_dialog would do for you.
The following threads each have code containing this keyword:
Note: You can click on the numbers to jump directly to the posts that reference this page.
The following projects include source code containing this keyword: