switchout/switchin when changing Magic groups

Also, doc'ing Cartoon full-image mode
This commit is contained in:
Bill Kendrick 2021-10-27 22:56:29 -07:00
parent a68ff27e84
commit 2e231b5adc
2 changed files with 7 additions and 3 deletions

View file

@ -41,8 +41,8 @@ $Id$
* "TV" now breaks pixels into red/green/blue components, * "TV" now breaks pixels into red/green/blue components,
rather than merely adding a 'scanline' effect. rather than merely adding a 'scanline' effect.
* "Blocks", "Chalk", "Emboss", and "Halftone" can all now affect * "Blocks", "Cartoon", "Chalk", "Emboss", and "Halftone" can all now
the entire image at once. affect the entire image at once.
* Other Improvements: * Other Improvements:
------------------- -------------------

View file

@ -22,7 +22,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt) (See COPYING.txt)
June 14, 2002 - October 25, 2021 June 14, 2002 - October 27, 2021
*/ */
#include "platform.h" #include "platform.h"
@ -3813,6 +3813,8 @@ static void mainloop(void)
{ {
int tries = 0; int tries = 0;
magic_switchout(canvas);
/* Magic pagination */ /* Magic pagination */
do do
{ {
@ -3850,6 +3852,8 @@ static void mainloop(void)
color_hexes[cur_color][1], color_hexes[cur_color][1],
color_hexes[cur_color][2]); color_hexes[cur_color][2]);
magic_switchin(canvas);
playsound(screen, 0, SND_CLICK, 0, SNDPOS_CENTER, SNDDIST_NEAR); playsound(screen, 0, SND_CLICK, 0, SNDPOS_CENTER, SNDDIST_NEAR);
} }
else else