<1>/* Graphics Not Rendered in HTML */ <2>/* Graphics Not Rendered in HTML */ U0 DrawIt(CTask *task, CDC *dc) { I64 x, y; x = mouse.pos.x - task->pix_left; y = mouse.pos.y - task->pix_top; Sprite3(dc, x, y, 0, <1>); x = task->pix_width >> 1; y = task->pix_height >> 1; dc->color = ROP_COLLISION; dc->bkcolor = WHITE; dc->collision_count = 0; Sprite3(dc, x, y, 0, <1>); dc->color = ROP_EQU; GrPrint(dc, 0, (task->pix_height - FONT_HEIGHT) >> 1, "Collisions:%d", dc->collision_count); if (!dc->collision_count) Sprite3(dc, x, y, 0, <1>); else Sprite3(dc, x, y, 0, <2>); } U0 Collision() { SettingsPush; //See SettingsPush Fs->draw_it = &DrawIt; PressAKey; SettingsPop; } Collision;