Small changes to apply to the source code to use "Save" and "Print" while in animation mode.
In ProcessMenu
case MENU_WALLPAPER:
if ((long) SendMessage(GetDlgItem(hWnd, IDC_ANIMATION), BM_GETCHECK, 0, 0) == BST_CHECKED) { gP.nRotation = 0; } // PAT 08-04-2018
gP.capture = USE_FILE; // 05-22-2015
gP.redraw = -1; // Redraw the OpenGL scene
break;
case MENU_PRINT: // 05-22-2015
if ((long) SendMessage(GetDlgItem(hWnd, IDC_ANIMATION), BM_GETCHECK, 0, 0) == BST_CHECKED) { gP.nRotation = 0; } // PAT 08-04-2018
gP.capture = USE_PRINTER;
gP.redraw = -1; // Redraw the OpenGL scene
break;
In gl_DrawScene
if (gP.capture) {
if (gP.capture == USE_PRINTER) {
gP.capture = 0;
SendToPrinter();
} else {
gP.capture = 0;
SaveToImage();
}
if ((long) SendMessage(GetDlgItem(gP.hMain, IDC_ANIMATION), BM_GETCHECK, 0, 0) == BST_CHECKED) { gP.nRotation = -1; } // PAT 08-04-2018
}