Need Help With a very strange ERROR

The Partridge Family were neither partridges nor a family. Discuss.
User avatar
Derpy Dinosaur2o3
Posts: 24
Joined: October 20th, 2012, 1:38 am
Location: Australia

Need Help With a very strange ERROR

Post by Derpy Dinosaur2o3 » October 30th, 2012, 1:29 am

Code: Select all

/****************************************************************************************** 
 *	Chili DirectX Framework Version 11.12.17											  *	
 *	Game.cpp																			  *
 *	Copyright 2011 PlanetChili.net														  *
 *																						  *
 *	This file is part of The Chili DirectX Framework.									  *
 *																						  *
 *	The Chili DirectX Framework is free software: you can redistribute it and/or modify	  *
 *	it under the terms of the GNU General Public License as published by				  *
 *	the Free Software Foundation, either version 3 of the License, or					  *
 *	(at your option) any later version.													  *
 *																						  *
 *	The Chili DirectX Framework is distributed in the hope that it will be useful,		  *
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of						  *
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the						  *
 *	GNU General Public License for more details.										  *
 *																						  *
 *	You should have received a copy of the GNU General Public License					  *
 *	along with The Chili DirectX Framework.  If not, see <http://www.gnu.org/licenses/>.  *
 ******************************************************************************************/
#include "Game.h"

Game::Game( HWND hWnd,const KeyboardServer& kServer )
:	gfx ( hWnd ),
	kbd( kServer ),
	//Face Variable
	FaceX ( 400 ),
	FaceY ( 300 ),
	//Poo Variable
	PooX ( 100 ),
	PooY ( 100 ),
	PooX2 ( 650 ),
	PooY2 ( 200 ),
	PooX3 ( 300 ),
	PooY3 ( 510 ),
	//Boolean
	pooIsEaten ( false )
{}

void Game::Go()
{
	gfx.BeginFrame();
	ComposeFrame();
	gfx.EndFrame();
}

  void Game::DrawFace( int x, int y )
	{
	gfx.PutPixel( 7 + x,0 + y,0,0,0 );
	gfx.PutPixel( 8 + x,0 + y,0,0,0 );
	gfx.PutPixel( 9 + x,0 + y,0,0,0 );
	gfx.PutPixel( 10 + x,0 + y,0,0,0 );
	gfx.PutPixel( 11 + x,0 + y,0,0,0 );
	gfx.PutPixel( 12 + x,0 + y,0,0,0 );
	gfx.PutPixel( 5 + x,1 + y,0,0,0 );
	gfx.PutPixel( 6 + x,1 + y,0,0,0 );
	gfx.PutPixel( 7 + x,1 + y,254,221,88 );
	gfx.PutPixel( 8 + x,1 + y,254,221,88 );
	gfx.PutPixel( 9 + x,1 + y,254,221,88 );
	gfx.PutPixel( 10 + x,1 + y,254,221,88 );
	gfx.PutPixel( 11 + x,1 + y,254,221,88 );
	gfx.PutPixel( 12 + x,1 + y,254,221,88 );
	gfx.PutPixel( 13 + x,1 + y,0,0,0 );
	gfx.PutPixel( 14 + x,1 + y,0,0,0 );
	gfx.PutPixel( 3 + x,2 + y,0,0,0 );
	gfx.PutPixel( 4 + x,2 + y,0,0,0 );
	gfx.PutPixel( 5 + x,2 + y,254,221,88 );
	gfx.PutPixel( 6 + x,2 + y,254,221,88 );
	gfx.PutPixel( 7 + x,2 + y,254,221,88 );
	gfx.PutPixel( 8 + x,2 + y,254,221,88 );
	gfx.PutPixel( 9 + x,2 + y,254,221,88 );
	gfx.PutPixel( 10 + x,2 + y,254,221,88 );
	gfx.PutPixel( 11 + x,2 + y,254,221,88 );
	gfx.PutPixel( 12 + x,2 + y,254,221,88 );
	gfx.PutPixel( 13 + x,2 + y,254,221,88 );
	gfx.PutPixel( 14 + x,2 + y,254,221,88 );
	gfx.PutPixel( 15 + x,2 + y,0,0,0 );
	gfx.PutPixel( 16 + x,2 + y,0,0,0 );
	gfx.PutPixel( 2 + x,3 + y,0,0,0 );
	gfx.PutPixel( 3 + x,3 + y,254,221,88 );
	gfx.PutPixel( 4 + x,3 + y,254,221,88 );
	gfx.PutPixel( 5 + x,3 + y,254,221,88 );
	gfx.PutPixel( 6 + x,3 + y,254,221,88 );
	gfx.PutPixel( 7 + x,3 + y,254,221,88 );
	gfx.PutPixel( 8 + x,3 + y,254,221,88 );
	gfx.PutPixel( 9 + x,3 + y,254,221,88 );
	gfx.PutPixel( 10 + x,3 + y,254,221,88 );
	gfx.PutPixel( 11 + x,3 + y,254,221,88 );
	gfx.PutPixel( 12 + x,3 + y,254,221,88 );
	gfx.PutPixel( 13 + x,3 + y,254,221,88 );
	gfx.PutPixel( 14 + x,3 + y,254,221,88 );
	gfx.PutPixel( 15 + x,3 + y,254,221,88 );
	gfx.PutPixel( 16 + x,3 + y,254,221,88 );
	gfx.PutPixel( 17 + x,3 + y,0,0,0 );
	gfx.PutPixel( 2 + x,4 + y,0,0,0 );
	gfx.PutPixel( 3 + x,4 + y,254,221,88 );
	gfx.PutPixel( 4 + x,4 + y,254,221,88 );
	gfx.PutPixel( 5 + x,4 + y,254,221,88 );
	gfx.PutPixel( 6 + x,4 + y,254,221,88 );
	gfx.PutPixel( 7 + x,4 + y,254,221,88 );
	gfx.PutPixel( 8 + x,4 + y,254,221,88 );
	gfx.PutPixel( 9 + x,4 + y,254,221,88 );
	gfx.PutPixel( 10 + x,4 + y,254,221,88 );
	gfx.PutPixel( 11 + x,4 + y,254,221,88 );
	gfx.PutPixel( 12 + x,4 + y,254,221,88 );
	gfx.PutPixel( 13 + x,4 + y,254,221,88 );
	gfx.PutPixel( 14 + x,4 + y,254,221,88 );
	gfx.PutPixel( 15 + x,4 + y,254,221,88 );
	gfx.PutPixel( 16 + x,4 + y,254,221,88 );
	gfx.PutPixel( 17 + x,4 + y,0,0,0 );
	gfx.PutPixel( 1 + x,5 + y,0,0,0 );
	gfx.PutPixel( 2 + x,5 + y,254,221,88 );
	gfx.PutPixel( 3 + x,5 + y,0,0,0 );
	gfx.PutPixel( 4 + x,5 + y,0,0,0 );
	gfx.PutPixel( 5 + x,5 + y,254,221,88 );
	gfx.PutPixel( 6 + x,5 + y,254,221,88 );
	gfx.PutPixel( 7 + x,5 + y,254,221,88 );
	gfx.PutPixel( 8 + x,5 + y,254,221,88 );
	gfx.PutPixel( 9 + x,5 + y,254,221,88 );
	gfx.PutPixel( 10 + x,5 + y,254,221,88 );
	gfx.PutPixel( 11 + x,5 + y,0,0,0 );
	gfx.PutPixel( 12 + x,5 + y,0,0,0 );
	gfx.PutPixel( 13 + x,5 + y,0,0,0 );
	gfx.PutPixel( 14 + x,5 + y,0,0,0 );
	gfx.PutPixel( 15 + x,5 + y,254,221,88 );
	gfx.PutPixel( 16 + x,5 + y,254,221,88 );
	gfx.PutPixel( 17 + x,5 + y,254,221,88 );
	gfx.PutPixel( 18 + x,5 + y,0,0,0 );
	gfx.PutPixel( 1 + x,6 + y,0,0,0 );
	gfx.PutPixel( 2 + x,6 + y,0,0,0 );
	gfx.PutPixel( 3 + x,6 + y,255,255,255 );
	gfx.PutPixel( 4 + x,6 + y,0,0,0 );
	gfx.PutPixel( 5 + x,6 + y,0,0,0 );
	gfx.PutPixel( 6 + x,6 + y,254,221,88 );
	gfx.PutPixel( 7 + x,6 + y,254,221,88 );
	gfx.PutPixel( 8 + x,6 + y,254,221,88 );
	gfx.PutPixel( 9 + x,6 + y,254,221,88 );
	gfx.PutPixel( 10 + x,6 + y,0,0,0 );
	gfx.PutPixel( 11 + x,6 + y,255,255,255 );
	gfx.PutPixel( 12 + x,6 + y,255,255,255 );
	gfx.PutPixel( 13 + x,6 + y,0,0,0 );
	gfx.PutPixel( 14 + x,6 + y,0,0,0 );
	gfx.PutPixel( 15 + x,6 + y,0,0,0 );
	gfx.PutPixel( 16 + x,6 + y,254,221,88 );
	gfx.PutPixel( 17 + x,6 + y,254,221,88 );
	gfx.PutPixel( 18 + x,6 + y,0,0,0 );
	gfx.PutPixel( 0 + x,7 + y,0,0,0 );
	gfx.PutPixel( 1 + x,7 + y,0,0,0 );
	gfx.PutPixel( 2 + x,7 + y,255,255,255 );
	gfx.PutPixel( 3 + x,7 + y,255,255,255 );
	gfx.PutPixel( 4 + x,7 + y,0,0,0 );
	gfx.PutPixel( 5 + x,7 + y,0,0,0 );
	gfx.PutPixel( 6 + x,7 + y,254,221,88 );
	gfx.PutPixel( 7 + x,7 + y,254,221,88 );
	gfx.PutPixel( 8 + x,7 + y,254,221,88 );
	gfx.PutPixel( 9 + x,7 + y,254,221,88 );
	gfx.PutPixel( 10 + x,7 + y,0,0,0 );
	gfx.PutPixel( 11 + x,7 + y,255,255,255 );
	gfx.PutPixel( 12 + x,7 + y,255,255,255 );
	gfx.PutPixel( 13 + x,7 + y,0,0,0 );
	gfx.PutPixel( 14 + x,7 + y,0,0,0 );
	gfx.PutPixel( 15 + x,7 + y,0,0,0 );
	gfx.PutPixel( 16 + x,7 + y,254,221,88 );
	gfx.PutPixel( 17 + x,7 + y,254,221,88 );
	gfx.PutPixel( 18 + x,7 + y,254,221,88 );
	gfx.PutPixel( 19 + x,7 + y,0,0,0 );
	gfx.PutPixel( 0 + x,8 + y,0,0,0 );
	gfx.PutPixel( 1 + x,8 + y,0,0,0 );
	gfx.PutPixel( 2 + x,8 + y,255,255,255 );
	gfx.PutPixel( 3 + x,8 + y,255,255,255 );
	gfx.PutPixel( 4 + x,8 + y,255,255,255 );
	gfx.PutPixel( 5 + x,8 + y,0,0,0 );
	gfx.PutPixel( 6 + x,8 + y,254,221,88 );
	gfx.PutPixel( 7 + x,8 + y,254,221,88 );
	gfx.PutPixel( 8 + x,8 + y,254,221,88 );
	gfx.PutPixel( 9 + x,8 + y,254,221,88 );
	gfx.PutPixel( 10 + x,8 + y,0,0,0 );
	gfx.PutPixel( 11 + x,8 + y,255,255,255 );
	gfx.PutPixel( 12 + x,8 + y,255,255,255 );
	gfx.PutPixel( 13 + x,8 + y,255,255,255 );
	gfx.PutPixel( 14 + x,8 + y,255,255,255 );
	gfx.PutPixel( 15 + x,8 + y,0,0,0 );
	gfx.PutPixel( 16 + x,8 + y,254,221,88 );
	gfx.PutPixel( 17 + x,8 + y,254,221,88 );
	gfx.PutPixel( 18 + x,8 + y,254,221,88 );
	gfx.PutPixel( 19 + x,8 + y,0,0,0 );
	gfx.PutPixel( 0 + x,9 + y,0,0,0 );
	gfx.PutPixel( 1 + x,9 + y,254,221,88 );
	gfx.PutPixel( 2 + x,9 + y,0,0,0 );
	gfx.PutPixel( 3 + x,9 + y,0,0,0 );
	gfx.PutPixel( 4 + x,9 + y,0,0,0 );
	gfx.PutPixel( 5 + x,9 + y,0,0,0 );
	gfx.PutPixel( 6 + x,9 + y,254,221,88 );
	gfx.PutPixel( 7 + x,9 + y,254,221,88 );
	gfx.PutPixel( 8 + x,9 + y,254,221,88 );
	gfx.PutPixel( 9 + x,9 + y,254,221,88 );
	gfx.PutPixel( 10 + x,9 + y,254,221,88 );
	gfx.PutPixel( 11 + x,9 + y,0,0,0 );
	gfx.PutPixel( 12 + x,9 + y,0,0,0 );
	gfx.PutPixel( 13 + x,9 + y,0,0,0 );
	gfx.PutPixel( 14 + x,9 + y,0,0,0 );
	gfx.PutPixel( 15 + x,9 + y,254,221,88 );
	gfx.PutPixel( 16 + x,9 + y,254,221,88 );
	gfx.PutPixel( 17 + x,9 + y,254,221,88 );
	gfx.PutPixel( 18 + x,9 + y,254,221,88 );
	gfx.PutPixel( 19 + x,9 + y,0,0,0 );
	gfx.PutPixel( 0 + x,10 + y,0,0,0 );
	gfx.PutPixel( 1 + x,10 + y,254,221,88 );
	gfx.PutPixel( 2 + x,10 + y,254,221,88 );
	gfx.PutPixel( 3 + x,10 + y,254,221,88 );
	gfx.PutPixel( 4 + x,10 + y,254,221,88 );
	gfx.PutPixel( 5 + x,10 + y,254,221,88 );
	gfx.PutPixel( 6 + x,10 + y,254,221,88 );
	gfx.PutPixel( 7 + x,10 + y,254,221,88 );
	gfx.PutPixel( 8 + x,10 + y,254,221,88 );
	gfx.PutPixel( 9 + x,10 + y,254,221,88 );
	gfx.PutPixel( 10 + x,10 + y,254,221,88 );
	gfx.PutPixel( 11 + x,10 + y,254,221,88 );
	gfx.PutPixel( 12 + x,10 + y,254,221,88 );
	gfx.PutPixel( 13 + x,10 + y,254,221,88 );
	gfx.PutPixel( 14 + x,10 + y,254,221,88 );
	gfx.PutPixel( 15 + x,10 + y,254,221,88 );
	gfx.PutPixel( 16 + x,10 + y,254,221,88 );
	gfx.PutPixel( 17 + x,10 + y,254,221,88 );
	gfx.PutPixel( 18 + x,10 + y,254,221,88 );
	gfx.PutPixel( 19 + x,10 + y,0,0,0 );
	gfx.PutPixel( 0 + x,11 + y,0,0,0 );
	gfx.PutPixel( 1 + x,11 + y,254,221,88 );
	gfx.PutPixel( 2 + x,11 + y,254,221,88 );
	gfx.PutPixel( 3 + x,11 + y,254,221,88 );
	gfx.PutPixel( 4 + x,11 + y,254,221,88 );
	gfx.PutPixel( 5 + x,11 + y,254,221,88 );
	gfx.PutPixel( 6 + x,11 + y,254,221,88 );
	gfx.PutPixel( 7 + x,11 + y,20,14,18 );
	gfx.PutPixel( 8 + x,11 + y,18,11,14 );
	gfx.PutPixel( 9 + x,11 + y,18,12,14 );
	gfx.PutPixel( 10 + x,11 + y,18,12,14 );
	gfx.PutPixel( 11 + x,11 + y,21,13,16 );
	gfx.PutPixel( 12 + x,11 + y,24,11,15 );
	gfx.PutPixel( 13 + x,11 + y,0,0,0 );
	gfx.PutPixel( 14 + x,11 + y,254,221,88 );
	gfx.PutPixel( 15 + x,11 + y,254,221,88 );
	gfx.PutPixel( 16 + x,11 + y,254,221,88 );
	gfx.PutPixel( 17 + x,11 + y,254,221,88 );
	gfx.PutPixel( 18 + x,11 + y,254,221,88 );
	gfx.PutPixel( 19 + x,11 + y,0,0,0 );
	gfx.PutPixel( 0 + x,12 + y,0,0,0 );
	gfx.PutPixel( 1 + x,12 + y,254,221,88 );
	gfx.PutPixel( 2 + x,12 + y,254,221,88 );
	gfx.PutPixel( 3 + x,12 + y,254,221,88 );
	gfx.PutPixel( 4 + x,12 + y,254,221,88 );
	gfx.PutPixel( 5 + x,12 + y,254,221,88 );
	gfx.PutPixel( 6 + x,12 + y,23,9,23 );
	gfx.PutPixel( 7 + x,12 + y,135,26,68 );
	gfx.PutPixel( 8 + x,12 + y,135,26,68 );
	gfx.PutPixel( 9 + x,12 + y,135,26,68 );
	gfx.PutPixel( 10 + x,12 + y,135,26,68 );
	gfx.PutPixel( 11 + x,12 + y,135,26,68 );
	gfx.PutPixel( 12 + x,12 + y,135,26,68 );
	gfx.PutPixel( 13 + x,12 + y,135,26,68 );
	gfx.PutPixel( 14 + x,12 + y,0,0,0 );
	gfx.PutPixel( 15 + x,12 + y,254,221,88 );
	gfx.PutPixel( 16 + x,12 + y,254,221,88 );
	gfx.PutPixel( 17 + x,12 + y,254,221,88 );
	gfx.PutPixel( 18 + x,12 + y,254,221,88 );
	gfx.PutPixel( 19 + x,12 + y,0,0,0 );
	gfx.PutPixel( 1 + x,13 + y,0,0,0 );
	gfx.PutPixel( 2 + x,13 + y,254,221,88 );
	gfx.PutPixel( 3 + x,13 + y,254,221,88 );
	gfx.PutPixel( 4 + x,13 + y,254,221,88 );
	gfx.PutPixel( 5 + x,13 + y,0,0,0 );
	gfx.PutPixel( 6 + x,13 + y,135,26,68 );
	gfx.PutPixel( 7 + x,13 + y,135,26,68 );
	gfx.PutPixel( 8 + x,13 + y,135,26,68 );
	gfx.PutPixel( 9 + x,13 + y,135,26,68 );
	gfx.PutPixel( 10 + x,13 + y,135,26,68 );
	gfx.PutPixel( 11 + x,13 + y,135,26,68 );
	gfx.PutPixel( 12 + x,13 + y,135,26,68 );
	gfx.PutPixel( 13 + x,13 + y,135,26,68 );
	gfx.PutPixel( 14 + x,13 + y,135,26,68 );
	gfx.PutPixel( 15 + x,13 + y,0,0,0 );
	gfx.PutPixel( 16 + x,13 + y,254,221,88 );
	gfx.PutPixel( 17 + x,13 + y,254,221,88 );
	gfx.PutPixel( 18 + x,13 + y,0,0,0 );
	gfx.PutPixel( 1 + x,14 + y,0,0,0 );
	gfx.PutPixel( 2 + x,14 + y,254,221,88 );
	gfx.PutPixel( 3 + x,14 + y,254,221,88 );
	gfx.PutPixel( 4 + x,14 + y,0,0,0 );
	gfx.PutPixel( 5 + x,14 + y,135,26,68 );
	gfx.PutPixel( 6 + x,14 + y,135,26,68 );
	gfx.PutPixel( 7 + x,14 + y,135,26,68 );
	gfx.PutPixel( 8 + x,14 + y,135,26,68 );
	gfx.PutPixel( 9 + x,14 + y,251,192,224 );
	gfx.PutPixel( 10 + x,14 + y,251,192,224 );
	gfx.PutPixel( 11 + x,14 + y,251,192,224 );
	gfx.PutPixel( 12 + x,14 + y,251,192,224 );
	gfx.PutPixel( 13 + x,14 + y,135,26,68 );
	gfx.PutPixel( 14 + x,14 + y,135,26,68 );
	gfx.PutPixel( 15 + x,14 + y,0,0,0 );
	gfx.PutPixel( 16 + x,14 + y,254,221,88 );
	gfx.PutPixel( 17 + x,14 + y,254,221,88 );
	gfx.PutPixel( 18 + x,14 + y,0,0,0 );
	gfx.PutPixel( 2 + x,15 + y,0,0,0 );
	gfx.PutPixel( 3 + x,15 + y,254,221,88 );
	gfx.PutPixel( 4 + x,15 + y,0,0,0 );
	gfx.PutPixel( 5 + x,15 + y,135,26,68 );
	gfx.PutPixel( 6 + x,15 + y,135,26,68 );
	gfx.PutPixel( 7 + x,15 + y,135,26,68 );
	gfx.PutPixel( 8 + x,15 + y,251,192,224 );
	gfx.PutPixel( 9 + x,15 + y,251,192,224 );
	gfx.PutPixel( 10 + x,15 + y,251,192,224 );
	gfx.PutPixel( 11 + x,15 + y,251,192,224 );
	gfx.PutPixel( 12 + x,15 + y,251,192,224 );
	gfx.PutPixel( 13 + x,15 + y,251,192,224 );
	gfx.PutPixel( 14 + x,15 + y,135,26,68 );
	gfx.PutPixel( 15 + x,15 + y,0,0,0 );
	gfx.PutPixel( 16 + x,15 + y,254,221,88 );
	gfx.PutPixel( 17 + x,15 + y,0,0,0 );
	gfx.PutPixel( 2 + x,16 + y,0,0,0 );
	gfx.PutPixel( 3 + x,16 + y,254,221,88 );
	gfx.PutPixel( 4 + x,16 + y,0,0,0 );
	gfx.PutPixel( 5 + x,16 + y,135,26,68 );
	gfx.PutPixel( 6 + x,16 + y,135,26,68 );
	gfx.PutPixel( 7 + x,16 + y,135,26,68 );
	gfx.PutPixel( 8 + x,16 + y,251,192,224 );
	gfx.PutPixel( 9 + x,16 + y,251,192,224 );
	gfx.PutPixel( 10 + x,16 + y,251,192,224 );
	gfx.PutPixel( 11 + x,16 + y,251,192,224 );
	gfx.PutPixel( 12 + x,16 + y,251,192,224 );
	gfx.PutPixel( 13 + x,16 + y,251,192,224 );
	gfx.PutPixel( 14 + x,16 + y,135,26,68 );
	gfx.PutPixel( 15 + x,16 + y,0,0,0 );
	gfx.PutPixel( 16 + x,16 + y,254,221,88 );
	gfx.PutPixel( 17 + x,16 + y,0,0,0 );
	gfx.PutPixel( 3 + x,17 + y,0,0,0 );
	gfx.PutPixel( 4 + x,17 + y,0,0,0 );
	gfx.PutPixel( 5 + x,17 + y,0,0,0 );
	gfx.PutPixel( 6 + x,17 + y,0,0,0 );
	gfx.PutPixel( 7 + x,17 + y,0,0,0 );
	gfx.PutPixel( 8 + x,17 + y,0,0,0 );
	gfx.PutPixel( 9 + x,17 + y,0,0,0 );
	gfx.PutPixel( 10 + x,17 + y,0,0,0 );
	gfx.PutPixel( 11 + x,17 + y,0,0,0 );
	gfx.PutPixel( 12 + x,17 + y,0,0,0 );
	gfx.PutPixel( 13 + x,17 + y,0,0,0 );
	gfx.PutPixel( 14 + x,17 + y,0,0,0 );
	gfx.PutPixel( 15 + x,17 + y,0,0,0 );
	gfx.PutPixel( 16 + x,17 + y,0,0,0 );
	gfx.PutPixel( 5 + x,18 + y,0,0,0 );
	gfx.PutPixel( 6 + x,18 + y,0,0,0 );
	gfx.PutPixel( 7 + x,18 + y,254,221,88 );
	gfx.PutPixel( 8 + x,18 + y,254,221,88 );
	gfx.PutPixel( 9 + x,18 + y,254,221,88 );
	gfx.PutPixel( 10 + x,18 + y,254,221,88 );
	gfx.PutPixel( 11 + x,18 + y,254,221,88 );
	gfx.PutPixel( 12 + x,18 + y,254,221,88 );
	gfx.PutPixel( 13 + x,18 + y,0,0,0 );
	gfx.PutPixel( 14 + x,18 + y,0,0,0 );
	gfx.PutPixel( 7 + x,19 + y,0,0,0 );
	gfx.PutPixel( 8 + x,19 + y,0,0,0 );
	gfx.PutPixel( 9 + x,19 + y,0,0,0 );
	gfx.PutPixel( 10 + x,19 + y,0,0,0 );
	gfx.PutPixel( 11 + x,19 + y,0,0,0 );
	gfx.PutPixel( 12 + x,19 + y,0,0,0 );
	}
   void Game::DrawPoo( int x, int y )
	{
		gfx.PutPixel( 14 + x,0 + y,138,77,0 );
	gfx.PutPixel( 7 + x,1 + y,138,77,0 );
	gfx.PutPixel( 13 + x,1 + y,138,77,0 );
	gfx.PutPixel( 20 + x,1 + y,138,77,0 );
	gfx.PutPixel( 6 + x,2 + y,138,77,0 );
	gfx.PutPixel( 13 + x,2 + y,138,77,0 );
	gfx.PutPixel( 20 + x,2 + y,138,77,0 );
	gfx.PutPixel( 6 + x,3 + y,138,77,0 );
	gfx.PutPixel( 6 + x,4 + y,138,77,0 );
	gfx.PutPixel( 14 + x,4 + y,138,77,0 );
	gfx.PutPixel( 21 + x,4 + y,138,77,0 );
	gfx.PutPixel( 7 + x,5 + y,138,77,0 );
	gfx.PutPixel( 13 + x,5 + y,138,77,0 );
	gfx.PutPixel( 21 + x,5 + y,138,77,0 );
	gfx.PutPixel( 7 + x,6 + y,138,77,0 );
	gfx.PutPixel( 20 + x,6 + y,138,77,0 );
	gfx.PutPixel( 6 + x,7 + y,138,77,0 );
	gfx.PutPixel( 14 + x,7 + y,51,28,0 );
	gfx.PutPixel( 15 + x,7 + y,51,28,0 );
	gfx.PutPixel( 20 + x,7 + y,138,77,0 );
	gfx.PutPixel( 12 + x,8 + y,51,28,0 );
	gfx.PutPixel( 13 + x,8 + y,51,28,0 );
	gfx.PutPixel( 14 + x,8 + y,51,28,0 );
	gfx.PutPixel( 7 + x,9 + y,138,77,0 );
	gfx.PutPixel( 11 + x,9 + y,51,28,0 );
	gfx.PutPixel( 12 + x,9 + y,102,57,0 );
	gfx.PutPixel( 13 + x,9 + y,138,77,0 );
	gfx.PutPixel( 14 + x,9 + y,138,77,0 );
	gfx.PutPixel( 15 + x,9 + y,51,28,0 );
	gfx.PutPixel( 21 + x,9 + y,138,77,0 );
	gfx.PutPixel( 10 + x,10 + y,51,28,0 );
	gfx.PutPixel( 11 + x,10 + y,51,28,0 );
	gfx.PutPixel( 12 + x,10 + y,102,57,0 );
	gfx.PutPixel( 13 + x,10 + y,138,77,0 );
	gfx.PutPixel( 14 + x,10 + y,138,77,0 );
	gfx.PutPixel( 15 + x,10 + y,51,28,0 );
	gfx.PutPixel( 20 + x,10 + y,138,77,0 );
	gfx.PutPixel( 9 + x,11 + y,51,28,0 );
	gfx.PutPixel( 10 + x,11 + y,138,77,0 );
	gfx.PutPixel( 11 + x,11 + y,138,77,0 );
	gfx.PutPixel( 12 + x,11 + y,51,28,0 );
	gfx.PutPixel( 13 + x,11 + y,51,28,0 );
	gfx.PutPixel( 14 + x,11 + y,51,28,0 );
	gfx.PutPixel( 15 + x,11 + y,51,28,0 );
	gfx.PutPixel( 16 + x,11 + y,51,28,0 );
	gfx.PutPixel( 9 + x,12 + y,51,28,0 );
	gfx.PutPixel( 10 + x,12 + y,138,77,0 );
	gfx.PutPixel( 11 + x,12 + y,138,77,0 );
	gfx.PutPixel( 12 + x,12 + y,111,62,0 );
	gfx.PutPixel( 13 + x,12 + y,102,57,0 );
	gfx.PutPixel( 14 + x,12 + y,102,57,0 );
	gfx.PutPixel( 15 + x,12 + y,102,57,0 );
	gfx.PutPixel( 16 + x,12 + y,51,28,0 );
	gfx.PutPixel( 9 + x,13 + y,51,28,0 );
	gfx.PutPixel( 10 + x,13 + y,109,61,0 );
	gfx.PutPixel( 11 + x,13 + y,138,77,0 );
	gfx.PutPixel( 12 + x,13 + y,138,77,0 );
	gfx.PutPixel( 13 + x,13 + y,138,77,0 );
	gfx.PutPixel( 14 + x,13 + y,138,77,0 );
	gfx.PutPixel( 15 + x,13 + y,138,77,0 );
	gfx.PutPixel( 16 + x,13 + y,51,28,0 );
	gfx.PutPixel( 5 + x,14 + y,51,28,0 );
	gfx.PutPixel( 7 + x,14 + y,51,28,0 );
	gfx.PutPixel( 8 + x,14 + y,51,28,0 );
	gfx.PutPixel( 9 + x,14 + y,51,28,0 );
	gfx.PutPixel( 10 + x,14 + y,51,28,0 );
	gfx.PutPixel( 11 + x,14 + y,138,77,0 );
	gfx.PutPixel( 12 + x,14 + y,138,77,0 );
	gfx.PutPixel( 13 + x,14 + y,138,77,0 );
	gfx.PutPixel( 14 + x,14 + y,138,77,0 );
	gfx.PutPixel( 15 + x,14 + y,138,77,0 );
	gfx.PutPixel( 16 + x,14 + y,51,28,0 );
	gfx.PutPixel( 4 + x,15 + y,51,28,0 );
	gfx.PutPixel( 5 + x,15 + y,138,77,0 );
	gfx.PutPixel( 6 + x,15 + y,51,28,0 );
	gfx.PutPixel( 7 + x,15 + y,116,65,0 );
	gfx.PutPixel( 8 + x,15 + y,138,77,0 );
	gfx.PutPixel( 9 + x,15 + y,138,77,0 );
	gfx.PutPixel( 10 + x,15 + y,138,77,0 );
	gfx.PutPixel( 11 + x,15 + y,51,28,0 );
	gfx.PutPixel( 12 + x,15 + y,51,28,0 );
	gfx.PutPixel( 13 + x,15 + y,51,28,0 );
	gfx.PutPixel( 14 + x,15 + y,51,28,0 );
	gfx.PutPixel( 15 + x,15 + y,51,28,0 );
	gfx.PutPixel( 16 + x,15 + y,51,28,0 );
	gfx.PutPixel( 17 + x,15 + y,51,28,0 );
	gfx.PutPixel( 18 + x,15 + y,51,28,0 );
	gfx.PutPixel( 1 + x,16 + y,51,28,0 );
	gfx.PutPixel( 2 + x,16 + y,51,28,0 );
	gfx.PutPixel( 3 + x,16 + y,51,28,0 );
	gfx.PutPixel( 4 + x,16 + y,51,28,0 );
	gfx.PutPixel( 5 + x,16 + y,138,77,0 );
	gfx.PutPixel( 6 + x,16 + y,51,28,0 );
	gfx.PutPixel( 7 + x,16 + y,116,65,0 );
	gfx.PutPixel( 8 + x,16 + y,138,77,0 );
	gfx.PutPixel( 9 + x,16 + y,138,77,0 );
	gfx.PutPixel( 10 + x,16 + y,138,77,0 );
	gfx.PutPixel( 11 + x,16 + y,138,77,0 );
	gfx.PutPixel( 12 + x,16 + y,138,77,0 );
	gfx.PutPixel( 13 + x,16 + y,109,61,0 );
	gfx.PutPixel( 14 + x,16 + y,51,28,0 );
	gfx.PutPixel( 15 + x,16 + y,138,77,0 );
	gfx.PutPixel( 16 + x,16 + y,138,77,0 );
	gfx.PutPixel( 17 + x,16 + y,138,77,0 );
	gfx.PutPixel( 18 + x,16 + y,123,69,0 );
	gfx.PutPixel( 19 + x,16 + y,51,28,0 );
	gfx.PutPixel( 0 + x,17 + y,51,28,0 );
	gfx.PutPixel( 1 + x,17 + y,87,49,0 );
	gfx.PutPixel( 2 + x,17 + y,87,49,0 );
	gfx.PutPixel( 3 + x,17 + y,87,49,0 );
	gfx.PutPixel( 4 + x,17 + y,87,49,0 );
	gfx.PutPixel( 5 + x,17 + y,51,28,0 );
	gfx.PutPixel( 6 + x,17 + y,51,28,0 );
	gfx.PutPixel( 7 + x,17 + y,43,24,0 );
	gfx.PutPixel( 8 + x,17 + y,51,28,0 );
	gfx.PutPixel( 9 + x,17 + y,51,28,0 );
	gfx.PutPixel( 10 + x,17 + y,51,28,0 );
	gfx.PutPixel( 11 + x,17 + y,51,28,0 );
	gfx.PutPixel( 12 + x,17 + y,51,28,0 );
	gfx.PutPixel( 13 + x,17 + y,40,22,0 );
	gfx.PutPixel( 14 + x,17 + y,51,28,0 );
	gfx.PutPixel( 15 + x,17 + y,138,77,0 );
	gfx.PutPixel( 16 + x,17 + y,138,77,0 );
	gfx.PutPixel( 17 + x,17 + y,138,77,0 );
	gfx.PutPixel( 18 + x,17 + y,123,69,0 );
	gfx.PutPixel( 19 + x,17 + y,51,28,0 );
	gfx.PutPixel( 0 + x,18 + y,51,28,0 );
	gfx.PutPixel( 1 + x,18 + y,138,77,0 );
	gfx.PutPixel( 2 + x,18 + y,138,77,0 );
	gfx.PutPixel( 3 + x,18 + y,138,77,0 );
	gfx.PutPixel( 4 + x,18 + y,138,77,0 );
	gfx.PutPixel( 5 + x,18 + y,51,28,0 );
	gfx.PutPixel( 6 + x,18 + y,51,28,0 );
	gfx.PutPixel( 7 + x,18 + y,51,28,0 );
	gfx.PutPixel( 8 + x,18 + y,51,28,0 );
	gfx.PutPixel( 9 + x,18 + y,51,28,0 );
	gfx.PutPixel( 10 + x,18 + y,51,28,0 );
	gfx.PutPixel( 11 + x,18 + y,51,28,0 );
	gfx.PutPixel( 12 + x,18 + y,51,28,0 );
	gfx.PutPixel( 13 + x,18 + y,51,28,0 );
	gfx.PutPixel( 14 + x,18 + y,51,28,0 );
	gfx.PutPixel( 15 + x,18 + y,138,77,0 );
	gfx.PutPixel( 16 + x,18 + y,138,77,0 );
	gfx.PutPixel( 17 + x,18 + y,138,77,0 );
	gfx.PutPixel( 18 + x,18 + y,123,69,0 );
	gfx.PutPixel( 19 + x,18 + y,51,28,0 );
	gfx.PutPixel( 20 + x,18 + y,51,28,0 );
	gfx.PutPixel( 21 + x,18 + y,51,28,0 );
	gfx.PutPixel( 22 + x,18 + y,51,28,0 );
	gfx.PutPixel( 0 + x,19 + y,51,28,0 );
	gfx.PutPixel( 1 + x,19 + y,138,77,0 );
	gfx.PutPixel( 2 + x,19 + y,138,77,0 );
	gfx.PutPixel( 3 + x,19 + y,138,77,0 );
	gfx.PutPixel( 4 + x,19 + y,138,77,0 );
	gfx.PutPixel( 5 + x,19 + y,51,28,0 );
	gfx.PutPixel( 6 + x,19 + y,138,77,0 );
	gfx.PutPixel( 7 + x,19 + y,138,77,0 );
	gfx.PutPixel( 8 + x,19 + y,138,77,0 );
	gfx.PutPixel( 9 + x,19 + y,138,77,0 );
	gfx.PutPixel( 10 + x,19 + y,138,77,0 );
	gfx.PutPixel( 11 + x,19 + y,138,77,0 );
	gfx.PutPixel( 12 + x,19 + y,138,77,0 );
	gfx.PutPixel( 13 + x,19 + y,138,77,0 );
	gfx.PutPixel( 14 + x,19 + y,138,77,0 );
	gfx.PutPixel( 15 + x,19 + y,138,77,0 );
	gfx.PutPixel( 16 + x,19 + y,138,77,0 );
	gfx.PutPixel( 17 + x,19 + y,138,77,0 );
	gfx.PutPixel( 18 + x,19 + y,123,69,0 );
	gfx.PutPixel( 19 + x,19 + y,51,28,0 );
	gfx.PutPixel( 20 + x,19 + y,138,77,0 );
	gfx.PutPixel( 21 + x,19 + y,138,77,0 );
	gfx.PutPixel( 22 + x,19 + y,65,36,0 );
	gfx.PutPixel( 23 + x,19 + y,51,28,0 );
	gfx.PutPixel( 1 + x,20 + y,51,28,0 );
	gfx.PutPixel( 2 + x,20 + y,51,28,0 );
	gfx.PutPixel( 3 + x,20 + y,51,28,0 );
	gfx.PutPixel( 4 + x,20 + y,51,28,0 );
	gfx.PutPixel( 5 + x,20 + y,51,28,0 );
	gfx.PutPixel( 6 + x,20 + y,138,77,0 );
	gfx.PutPixel( 7 + x,20 + y,138,77,0 );
	gfx.PutPixel( 8 + x,20 + y,138,77,0 );
	gfx.PutPixel( 9 + x,20 + y,138,77,0 );
	gfx.PutPixel( 10 + x,20 + y,138,77,0 );
	gfx.PutPixel( 11 + x,20 + y,138,77,0 );
	gfx.PutPixel( 12 + x,20 + y,138,77,0 );
	gfx.PutPixel( 13 + x,20 + y,138,77,0 );
	gfx.PutPixel( 14 + x,20 + y,138,77,0 );
	gfx.PutPixel( 15 + x,20 + y,138,77,0 );
	gfx.PutPixel( 16 + x,20 + y,138,77,0 );
	gfx.PutPixel( 17 + x,20 + y,138,77,0 );
	gfx.PutPixel( 18 + x,20 + y,123,69,0 );
	gfx.PutPixel( 19 + x,20 + y,51,28,0 );
	gfx.PutPixel( 20 + x,20 + y,138,77,0 );
	gfx.PutPixel( 21 + x,20 + y,138,77,0 );
	gfx.PutPixel( 22 + x,20 + y,65,36,0 );
	gfx.PutPixel( 23 + x,20 + y,51,28,0 );
	gfx.PutPixel( 0 + x,21 + y,51,28,0 );
	gfx.PutPixel( 1 + x,21 + y,138,77,0 );
	gfx.PutPixel( 2 + x,21 + y,138,77,0 );
	gfx.PutPixel( 3 + x,21 + y,138,77,0 );
	gfx.PutPixel( 4 + x,21 + y,138,77,0 );
	gfx.PutPixel( 5 + x,21 + y,138,77,0 );
	gfx.PutPixel( 6 + x,21 + y,51,28,0 );
	gfx.PutPixel( 7 + x,21 + y,51,28,0 );
	gfx.PutPixel( 8 + x,21 + y,51,28,0 );
	gfx.PutPixel( 9 + x,21 + y,51,28,0 );
	gfx.PutPixel( 10 + x,21 + y,51,28,0 );
	gfx.PutPixel( 11 + x,21 + y,51,28,0 );
	gfx.PutPixel( 12 + x,21 + y,51,28,0 );
	gfx.PutPixel( 13 + x,21 + y,51,28,0 );
	gfx.PutPixel( 14 + x,21 + y,51,28,0 );
	gfx.PutPixel( 15 + x,21 + y,51,28,0 );
	gfx.PutPixel( 16 + x,21 + y,51,28,0 );
	gfx.PutPixel( 17 + x,21 + y,51,28,0 );
	gfx.PutPixel( 18 + x,21 + y,51,28,0 );
	gfx.PutPixel( 20 + x,21 + y,51,28,0 );
	gfx.PutPixel( 21 + x,21 + y,51,28,0 );
	gfx.PutPixel( 22 + x,21 + y,51,28,0 );
	gfx.PutPixel( 0 + x,22 + y,51,28,0 );
	gfx.PutPixel( 1 + x,22 + y,65,36,0 );
	gfx.PutPixel( 2 + x,22 + y,65,36,0 );
	gfx.PutPixel( 3 + x,22 + y,65,36,0 );
	gfx.PutPixel( 4 + x,22 + y,65,36,0 );
	gfx.PutPixel( 5 + x,22 + y,65,36,0 );
	gfx.PutPixel( 6 + x,22 + y,51,28,0 );
	gfx.PutPixel( 1 + x,23 + y,51,28,0 );
	gfx.PutPixel( 2 + x,23 + y,51,28,0 );
	gfx.PutPixel( 3 + x,23 + y,51,28,0 );
	gfx.PutPixel( 4 + x,23 + y,51,28,0 );
	gfx.PutPixel( 5 + x,23 + y,51,28,0 );
	gfx.PutPixel( 6 + x,23 + y,51,28,0 );
}
    void Game::DrawPoo2( int x, int y )
	{
		gfx.PutPixel( 14 + x,0 + y,138,77,0 );
	gfx.PutPixel( 7 + x,1 + y,138,77,0 );
	gfx.PutPixel( 13 + x,1 + y,138,77,0 );
	gfx.PutPixel( 20 + x,1 + y,138,77,0 );
	gfx.PutPixel( 6 + x,2 + y,138,77,0 );
	gfx.PutPixel( 13 + x,2 + y,138,77,0 );
	gfx.PutPixel( 20 + x,2 + y,138,77,0 );
	gfx.PutPixel( 6 + x,3 + y,138,77,0 );
	gfx.PutPixel( 6 + x,4 + y,138,77,0 );
	gfx.PutPixel( 14 + x,4 + y,138,77,0 );
	gfx.PutPixel( 21 + x,4 + y,138,77,0 );
	gfx.PutPixel( 7 + x,5 + y,138,77,0 );
	gfx.PutPixel( 13 + x,5 + y,138,77,0 );
	gfx.PutPixel( 21 + x,5 + y,138,77,0 );
	gfx.PutPixel( 7 + x,6 + y,138,77,0 );
	gfx.PutPixel( 20 + x,6 + y,138,77,0 );
	gfx.PutPixel( 6 + x,7 + y,138,77,0 );
	gfx.PutPixel( 14 + x,7 + y,51,28,0 );
	gfx.PutPixel( 15 + x,7 + y,51,28,0 );
	gfx.PutPixel( 20 + x,7 + y,138,77,0 );
	gfx.PutPixel( 12 + x,8 + y,51,28,0 );
	gfx.PutPixel( 13 + x,8 + y,51,28,0 );
	gfx.PutPixel( 14 + x,8 + y,51,28,0 );
	gfx.PutPixel( 7 + x,9 + y,138,77,0 );
	gfx.PutPixel( 11 + x,9 + y,51,28,0 );
	gfx.PutPixel( 12 + x,9 + y,102,57,0 );
	gfx.PutPixel( 13 + x,9 + y,138,77,0 );
	gfx.PutPixel( 14 + x,9 + y,138,77,0 );
	gfx.PutPixel( 15 + x,9 + y,51,28,0 );
	gfx.PutPixel( 21 + x,9 + y,138,77,0 );
	gfx.PutPixel( 10 + x,10 + y,51,28,0 );
	gfx.PutPixel( 11 + x,10 + y,51,28,0 );
	gfx.PutPixel( 12 + x,10 + y,102,57,0 );
	gfx.PutPixel( 13 + x,10 + y,138,77,0 );
	gfx.PutPixel( 14 + x,10 + y,138,77,0 );
	gfx.PutPixel( 15 + x,10 + y,51,28,0 );
	gfx.PutPixel( 20 + x,10 + y,138,77,0 );
	gfx.PutPixel( 9 + x,11 + y,51,28,0 );
	gfx.PutPixel( 10 + x,11 + y,138,77,0 );
	gfx.PutPixel( 11 + x,11 + y,138,77,0 );
	gfx.PutPixel( 12 + x,11 + y,51,28,0 );
	gfx.PutPixel( 13 + x,11 + y,51,28,0 );
	gfx.PutPixel( 14 + x,11 + y,51,28,0 );
	gfx.PutPixel( 15 + x,11 + y,51,28,0 );
	gfx.PutPixel( 16 + x,11 + y,51,28,0 );
	gfx.PutPixel( 9 + x,12 + y,51,28,0 );
	gfx.PutPixel( 10 + x,12 + y,138,77,0 );
	gfx.PutPixel( 11 + x,12 + y,138,77,0 );
	gfx.PutPixel( 12 + x,12 + y,111,62,0 );
	gfx.PutPixel( 13 + x,12 + y,102,57,0 );
	gfx.PutPixel( 14 + x,12 + y,102,57,0 );
	gfx.PutPixel( 15 + x,12 + y,102,57,0 );
	gfx.PutPixel( 16 + x,12 + y,51,28,0 );
	gfx.PutPixel( 9 + x,13 + y,51,28,0 );
	gfx.PutPixel( 10 + x,13 + y,109,61,0 );
	gfx.PutPixel( 11 + x,13 + y,138,77,0 );
	gfx.PutPixel( 12 + x,13 + y,138,77,0 );
	gfx.PutPixel( 13 + x,13 + y,138,77,0 );
	gfx.PutPixel( 14 + x,13 + y,138,77,0 );
	gfx.PutPixel( 15 + x,13 + y,138,77,0 );
	gfx.PutPixel( 16 + x,13 + y,51,28,0 );
	gfx.PutPixel( 5 + x,14 + y,51,28,0 );
	gfx.PutPixel( 7 + x,14 + y,51,28,0 );
	gfx.PutPixel( 8 + x,14 + y,51,28,0 );
	gfx.PutPixel( 9 + x,14 + y,51,28,0 );
	gfx.PutPixel( 10 + x,14 + y,51,28,0 );
	gfx.PutPixel( 11 + x,14 + y,138,77,0 );
	gfx.PutPixel( 12 + x,14 + y,138,77,0 );
	gfx.PutPixel( 13 + x,14 + y,138,77,0 );
	gfx.PutPixel( 14 + x,14 + y,138,77,0 );
	gfx.PutPixel( 15 + x,14 + y,138,77,0 );
	gfx.PutPixel( 16 + x,14 + y,51,28,0 );
	gfx.PutPixel( 4 + x,15 + y,51,28,0 );
	gfx.PutPixel( 5 + x,15 + y,138,77,0 );
	gfx.PutPixel( 6 + x,15 + y,51,28,0 );
	gfx.PutPixel( 7 + x,15 + y,116,65,0 );
	gfx.PutPixel( 8 + x,15 + y,138,77,0 );
	gfx.PutPixel( 9 + x,15 + y,138,77,0 );
	gfx.PutPixel( 10 + x,15 + y,138,77,0 );
	gfx.PutPixel( 11 + x,15 + y,51,28,0 );
	gfx.PutPixel( 12 + x,15 + y,51,28,0 );
	gfx.PutPixel( 13 + x,15 + y,51,28,0 );
	gfx.PutPixel( 14 + x,15 + y,51,28,0 );
	gfx.PutPixel( 15 + x,15 + y,51,28,0 );
	gfx.PutPixel( 16 + x,15 + y,51,28,0 );
	gfx.PutPixel( 17 + x,15 + y,51,28,0 );
	gfx.PutPixel( 18 + x,15 + y,51,28,0 );
	gfx.PutPixel( 1 + x,16 + y,51,28,0 );
	gfx.PutPixel( 2 + x,16 + y,51,28,0 );
	gfx.PutPixel( 3 + x,16 + y,51,28,0 );
	gfx.PutPixel( 4 + x,16 + y,51,28,0 );
	gfx.PutPixel( 5 + x,16 + y,138,77,0 );
	gfx.PutPixel( 6 + x,16 + y,51,28,0 );
	gfx.PutPixel( 7 + x,16 + y,116,65,0 );
	gfx.PutPixel( 8 + x,16 + y,138,77,0 );
	gfx.PutPixel( 9 + x,16 + y,138,77,0 );
	gfx.PutPixel( 10 + x,16 + y,138,77,0 );
	gfx.PutPixel( 11 + x,16 + y,138,77,0 );
	gfx.PutPixel( 12 + x,16 + y,138,77,0 );
	gfx.PutPixel( 13 + x,16 + y,109,61,0 );
	gfx.PutPixel( 14 + x,16 + y,51,28,0 );
	gfx.PutPixel( 15 + x,16 + y,138,77,0 );
	gfx.PutPixel( 16 + x,16 + y,138,77,0 );
	gfx.PutPixel( 17 + x,16 + y,138,77,0 );
	gfx.PutPixel( 18 + x,16 + y,123,69,0 );
	gfx.PutPixel( 19 + x,16 + y,51,28,0 );
	gfx.PutPixel( 0 + x,17 + y,51,28,0 );
	gfx.PutPixel( 1 + x,17 + y,87,49,0 );
	gfx.PutPixel( 2 + x,17 + y,87,49,0 );
	gfx.PutPixel( 3 + x,17 + y,87,49,0 );
	gfx.PutPixel( 4 + x,17 + y,87,49,0 );
	gfx.PutPixel( 5 + x,17 + y,51,28,0 );
	gfx.PutPixel( 6 + x,17 + y,51,28,0 );
	gfx.PutPixel( 7 + x,17 + y,43,24,0 );
	gfx.PutPixel( 8 + x,17 + y,51,28,0 );
	gfx.PutPixel( 9 + x,17 + y,51,28,0 );
	gfx.PutPixel( 10 + x,17 + y,51,28,0 );
	gfx.PutPixel( 11 + x,17 + y,51,28,0 );
	gfx.PutPixel( 12 + x,17 + y,51,28,0 );
	gfx.PutPixel( 13 + x,17 + y,40,22,0 );
	gfx.PutPixel( 14 + x,17 + y,51,28,0 );
	gfx.PutPixel( 15 + x,17 + y,138,77,0 );
	gfx.PutPixel( 16 + x,17 + y,138,77,0 );
	gfx.PutPixel( 17 + x,17 + y,138,77,0 );
	gfx.PutPixel( 18 + x,17 + y,123,69,0 );
	gfx.PutPixel( 19 + x,17 + y,51,28,0 );
	gfx.PutPixel( 0 + x,18 + y,51,28,0 );
	gfx.PutPixel( 1 + x,18 + y,138,77,0 );
	gfx.PutPixel( 2 + x,18 + y,138,77,0 );
	gfx.PutPixel( 3 + x,18 + y,138,77,0 );
	gfx.PutPixel( 4 + x,18 + y,138,77,0 );
	gfx.PutPixel( 5 + x,18 + y,51,28,0 );
	gfx.PutPixel( 6 + x,18 + y,51,28,0 );
	gfx.PutPixel( 7 + x,18 + y,51,28,0 );
	gfx.PutPixel( 8 + x,18 + y,51,28,0 );
	gfx.PutPixel( 9 + x,18 + y,51,28,0 );
	gfx.PutPixel( 10 + x,18 + y,51,28,0 );
	gfx.PutPixel( 11 + x,18 + y,51,28,0 );
	gfx.PutPixel( 12 + x,18 + y,51,28,0 );
	gfx.PutPixel( 13 + x,18 + y,51,28,0 );
	gfx.PutPixel( 14 + x,18 + y,51,28,0 );
	gfx.PutPixel( 15 + x,18 + y,138,77,0 );
	gfx.PutPixel( 16 + x,18 + y,138,77,0 );
	gfx.PutPixel( 17 + x,18 + y,138,77,0 );
	gfx.PutPixel( 18 + x,18 + y,123,69,0 );
	gfx.PutPixel( 19 + x,18 + y,51,28,0 );
	gfx.PutPixel( 20 + x,18 + y,51,28,0 );
	gfx.PutPixel( 21 + x,18 + y,51,28,0 );
	gfx.PutPixel( 22 + x,18 + y,51,28,0 );
	gfx.PutPixel( 0 + x,19 + y,51,28,0 );
	gfx.PutPixel( 1 + x,19 + y,138,77,0 );
	gfx.PutPixel( 2 + x,19 + y,138,77,0 );
	gfx.PutPixel( 3 + x,19 + y,138,77,0 );
	gfx.PutPixel( 4 + x,19 + y,138,77,0 );
	gfx.PutPixel( 5 + x,19 + y,51,28,0 );
	gfx.PutPixel( 6 + x,19 + y,138,77,0 );
	gfx.PutPixel( 7 + x,19 + y,138,77,0 );
	gfx.PutPixel( 8 + x,19 + y,138,77,0 );
	gfx.PutPixel( 9 + x,19 + y,138,77,0 );
	gfx.PutPixel( 10 + x,19 + y,138,77,0 );
	gfx.PutPixel( 11 + x,19 + y,138,77,0 );
	gfx.PutPixel( 12 + x,19 + y,138,77,0 );
	gfx.PutPixel( 13 + x,19 + y,138,77,0 );
	gfx.PutPixel( 14 + x,19 + y,138,77,0 );
	gfx.PutPixel( 15 + x,19 + y,138,77,0 );
	gfx.PutPixel( 16 + x,19 + y,138,77,0 );
	gfx.PutPixel( 17 + x,19 + y,138,77,0 );
	gfx.PutPixel( 18 + x,19 + y,123,69,0 );
	gfx.PutPixel( 19 + x,19 + y,51,28,0 );
	gfx.PutPixel( 20 + x,19 + y,138,77,0 );
	gfx.PutPixel( 21 + x,19 + y,138,77,0 );
	gfx.PutPixel( 22 + x,19 + y,65,36,0 );
	gfx.PutPixel( 23 + x,19 + y,51,28,0 );
	gfx.PutPixel( 1 + x,20 + y,51,28,0 );
	gfx.PutPixel( 2 + x,20 + y,51,28,0 );
	gfx.PutPixel( 3 + x,20 + y,51,28,0 );
	gfx.PutPixel( 4 + x,20 + y,51,28,0 );
	gfx.PutPixel( 5 + x,20 + y,51,28,0 );
	gfx.PutPixel( 6 + x,20 + y,138,77,0 );
	gfx.PutPixel( 7 + x,20 + y,138,77,0 );
	gfx.PutPixel( 8 + x,20 + y,138,77,0 );
	gfx.PutPixel( 9 + x,20 + y,138,77,0 );
	gfx.PutPixel( 10 + x,20 + y,138,77,0 );
	gfx.PutPixel( 11 + x,20 + y,138,77,0 );
	gfx.PutPixel( 12 + x,20 + y,138,77,0 );
	gfx.PutPixel( 13 + x,20 + y,138,77,0 );
	gfx.PutPixel( 14 + x,20 + y,138,77,0 );
	gfx.PutPixel( 15 + x,20 + y,138,77,0 );
	gfx.PutPixel( 16 + x,20 + y,138,77,0 );
	gfx.PutPixel( 17 + x,20 + y,138,77,0 );
	gfx.PutPixel( 18 + x,20 + y,123,69,0 );
	gfx.PutPixel( 19 + x,20 + y,51,28,0 );
	gfx.PutPixel( 20 + x,20 + y,138,77,0 );
	gfx.PutPixel( 21 + x,20 + y,138,77,0 );
	gfx.PutPixel( 22 + x,20 + y,65,36,0 );
	gfx.PutPixel( 23 + x,20 + y,51,28,0 );
	gfx.PutPixel( 0 + x,21 + y,51,28,0 );
	gfx.PutPixel( 1 + x,21 + y,138,77,0 );
	gfx.PutPixel( 2 + x,21 + y,138,77,0 );
	gfx.PutPixel( 3 + x,21 + y,138,77,0 );
	gfx.PutPixel( 4 + x,21 + y,138,77,0 );
	gfx.PutPixel( 5 + x,21 + y,138,77,0 );
	gfx.PutPixel( 6 + x,21 + y,51,28,0 );
	gfx.PutPixel( 7 + x,21 + y,51,28,0 );
	gfx.PutPixel( 8 + x,21 + y,51,28,0 );
	gfx.PutPixel( 9 + x,21 + y,51,28,0 );
	gfx.PutPixel( 10 + x,21 + y,51,28,0 );
	gfx.PutPixel( 11 + x,21 + y,51,28,0 );
	gfx.PutPixel( 12 + x,21 + y,51,28,0 );
	gfx.PutPixel( 13 + x,21 + y,51,28,0 );
	gfx.PutPixel( 14 + x,21 + y,51,28,0 );
	gfx.PutPixel( 15 + x,21 + y,51,28,0 );
	gfx.PutPixel( 16 + x,21 + y,51,28,0 );
	gfx.PutPixel( 17 + x,21 + y,51,28,0 );
	gfx.PutPixel( 18 + x,21 + y,51,28,0 );
	gfx.PutPixel( 20 + x,21 + y,51,28,0 );
	gfx.PutPixel( 21 + x,21 + y,51,28,0 );
	gfx.PutPixel( 22 + x,21 + y,51,28,0 );
	gfx.PutPixel( 0 + x,22 + y,51,28,0 );
	gfx.PutPixel( 1 + x,22 + y,65,36,0 );
	gfx.PutPixel( 2 + x,22 + y,65,36,0 );
	gfx.PutPixel( 3 + x,22 + y,65,36,0 );
	gfx.PutPixel( 4 + x,22 + y,65,36,0 );
	gfx.PutPixel( 5 + x,22 + y,65,36,0 );
	gfx.PutPixel( 6 + x,22 + y,51,28,0 );
	gfx.PutPixel( 1 + x,23 + y,51,28,0 );
	gfx.PutPixel( 2 + x,23 + y,51,28,0 );
	gfx.PutPixel( 3 + x,23 + y,51,28,0 );
	gfx.PutPixel( 4 + x,23 + y,51,28,0 );
	gfx.PutPixel( 5 + x,23 + y,51,28,0 );
	gfx.PutPixel( 6 + x,23 + y,51,28,0 );
}
     void Game::DrawPoo3( int x, int y )
	{
		gfx.PutPixel( 14 + x,0 + y,138,77,0 );
	gfx.PutPixel( 7 + x,1 + y,138,77,0 );
	gfx.PutPixel( 13 + x,1 + y,138,77,0 );
	gfx.PutPixel( 20 + x,1 + y,138,77,0 );
	gfx.PutPixel( 6 + x,2 + y,138,77,0 );
	gfx.PutPixel( 13 + x,2 + y,138,77,0 );
	gfx.PutPixel( 20 + x,2 + y,138,77,0 );
	gfx.PutPixel( 6 + x,3 + y,138,77,0 );
	gfx.PutPixel( 6 + x,4 + y,138,77,0 );
	gfx.PutPixel( 14 + x,4 + y,138,77,0 );
	gfx.PutPixel( 21 + x,4 + y,138,77,0 );
	gfx.PutPixel( 7 + x,5 + y,138,77,0 );
	gfx.PutPixel( 13 + x,5 + y,138,77,0 );
	gfx.PutPixel( 21 + x,5 + y,138,77,0 );
	gfx.PutPixel( 7 + x,6 + y,138,77,0 );
	gfx.PutPixel( 20 + x,6 + y,138,77,0 );
	gfx.PutPixel( 6 + x,7 + y,138,77,0 );
	gfx.PutPixel( 14 + x,7 + y,51,28,0 );
	gfx.PutPixel( 15 + x,7 + y,51,28,0 );
	gfx.PutPixel( 20 + x,7 + y,138,77,0 );
	gfx.PutPixel( 12 + x,8 + y,51,28,0 );
	gfx.PutPixel( 13 + x,8 + y,51,28,0 );
	gfx.PutPixel( 14 + x,8 + y,51,28,0 );
	gfx.PutPixel( 7 + x,9 + y,138,77,0 );
	gfx.PutPixel( 11 + x,9 + y,51,28,0 );
	gfx.PutPixel( 12 + x,9 + y,102,57,0 );
	gfx.PutPixel( 13 + x,9 + y,138,77,0 );
	gfx.PutPixel( 14 + x,9 + y,138,77,0 );
	gfx.PutPixel( 15 + x,9 + y,51,28,0 );
	gfx.PutPixel( 21 + x,9 + y,138,77,0 );
	gfx.PutPixel( 10 + x,10 + y,51,28,0 );
	gfx.PutPixel( 11 + x,10 + y,51,28,0 );
	gfx.PutPixel( 12 + x,10 + y,102,57,0 );
	gfx.PutPixel( 13 + x,10 + y,138,77,0 );
	gfx.PutPixel( 14 + x,10 + y,138,77,0 );
	gfx.PutPixel( 15 + x,10 + y,51,28,0 );
	gfx.PutPixel( 20 + x,10 + y,138,77,0 );
	gfx.PutPixel( 9 + x,11 + y,51,28,0 );
	gfx.PutPixel( 10 + x,11 + y,138,77,0 );
	gfx.PutPixel( 11 + x,11 + y,138,77,0 );
	gfx.PutPixel( 12 + x,11 + y,51,28,0 );
	gfx.PutPixel( 13 + x,11 + y,51,28,0 );
	gfx.PutPixel( 14 + x,11 + y,51,28,0 );
	gfx.PutPixel( 15 + x,11 + y,51,28,0 );
	gfx.PutPixel( 16 + x,11 + y,51,28,0 );
	gfx.PutPixel( 9 + x,12 + y,51,28,0 );
	gfx.PutPixel( 10 + x,12 + y,138,77,0 );
	gfx.PutPixel( 11 + x,12 + y,138,77,0 );
	gfx.PutPixel( 12 + x,12 + y,111,62,0 );
	gfx.PutPixel( 13 + x,12 + y,102,57,0 );
	gfx.PutPixel( 14 + x,12 + y,102,57,0 );
	gfx.PutPixel( 15 + x,12 + y,102,57,0 );
	gfx.PutPixel( 16 + x,12 + y,51,28,0 );
	gfx.PutPixel( 9 + x,13 + y,51,28,0 );
	gfx.PutPixel( 10 + x,13 + y,109,61,0 );
	gfx.PutPixel( 11 + x,13 + y,138,77,0 );
	gfx.PutPixel( 12 + x,13 + y,138,77,0 );
	gfx.PutPixel( 13 + x,13 + y,138,77,0 );
	gfx.PutPixel( 14 + x,13 + y,138,77,0 );
	gfx.PutPixel( 15 + x,13 + y,138,77,0 );
	gfx.PutPixel( 16 + x,13 + y,51,28,0 );
	gfx.PutPixel( 5 + x,14 + y,51,28,0 );
	gfx.PutPixel( 7 + x,14 + y,51,28,0 );
	gfx.PutPixel( 8 + x,14 + y,51,28,0 );
	gfx.PutPixel( 9 + x,14 + y,51,28,0 );
	gfx.PutPixel( 10 + x,14 + y,51,28,0 );
	gfx.PutPixel( 11 + x,14 + y,138,77,0 );
	gfx.PutPixel( 12 + x,14 + y,138,77,0 );
	gfx.PutPixel( 13 + x,14 + y,138,77,0 );
	gfx.PutPixel( 14 + x,14 + y,138,77,0 );
	gfx.PutPixel( 15 + x,14 + y,138,77,0 );
	gfx.PutPixel( 16 + x,14 + y,51,28,0 );
	gfx.PutPixel( 4 + x,15 + y,51,28,0 );
	gfx.PutPixel( 5 + x,15 + y,138,77,0 );
	gfx.PutPixel( 6 + x,15 + y,51,28,0 );
	gfx.PutPixel( 7 + x,15 + y,116,65,0 );
	gfx.PutPixel( 8 + x,15 + y,138,77,0 );
	gfx.PutPixel( 9 + x,15 + y,138,77,0 );
	gfx.PutPixel( 10 + x,15 + y,138,77,0 );
	gfx.PutPixel( 11 + x,15 + y,51,28,0 );
	gfx.PutPixel( 12 + x,15 + y,51,28,0 );
	gfx.PutPixel( 13 + x,15 + y,51,28,0 );
	gfx.PutPixel( 14 + x,15 + y,51,28,0 );
	gfx.PutPixel( 15 + x,15 + y,51,28,0 );
	gfx.PutPixel( 16 + x,15 + y,51,28,0 );
	gfx.PutPixel( 17 + x,15 + y,51,28,0 );
	gfx.PutPixel( 18 + x,15 + y,51,28,0 );
	gfx.PutPixel( 1 + x,16 + y,51,28,0 );
	gfx.PutPixel( 2 + x,16 + y,51,28,0 );
	gfx.PutPixel( 3 + x,16 + y,51,28,0 );
	gfx.PutPixel( 4 + x,16 + y,51,28,0 );
	gfx.PutPixel( 5 + x,16 + y,138,77,0 );
	gfx.PutPixel( 6 + x,16 + y,51,28,0 );
	gfx.PutPixel( 7 + x,16 + y,116,65,0 );
	gfx.PutPixel( 8 + x,16 + y,138,77,0 );
	gfx.PutPixel( 9 + x,16 + y,138,77,0 );
	gfx.PutPixel( 10 + x,16 + y,138,77,0 );
	gfx.PutPixel( 11 + x,16 + y,138,77,0 );
	gfx.PutPixel( 12 + x,16 + y,138,77,0 );
	gfx.PutPixel( 13 + x,16 + y,109,61,0 );
	gfx.PutPixel( 14 + x,16 + y,51,28,0 );
	gfx.PutPixel( 15 + x,16 + y,138,77,0 );
	gfx.PutPixel( 16 + x,16 + y,138,77,0 );
	gfx.PutPixel( 17 + x,16 + y,138,77,0 );
	gfx.PutPixel( 18 + x,16 + y,123,69,0 );
	gfx.PutPixel( 19 + x,16 + y,51,28,0 );
	gfx.PutPixel( 0 + x,17 + y,51,28,0 );
	gfx.PutPixel( 1 + x,17 + y,87,49,0 );
	gfx.PutPixel( 2 + x,17 + y,87,49,0 );
	gfx.PutPixel( 3 + x,17 + y,87,49,0 );
	gfx.PutPixel( 4 + x,17 + y,87,49,0 );
	gfx.PutPixel( 5 + x,17 + y,51,28,0 );
	gfx.PutPixel( 6 + x,17 + y,51,28,0 );
	gfx.PutPixel( 7 + x,17 + y,43,24,0 );
	gfx.PutPixel( 8 + x,17 + y,51,28,0 );
	gfx.PutPixel( 9 + x,17 + y,51,28,0 );
	gfx.PutPixel( 10 + x,17 + y,51,28,0 );
	gfx.PutPixel( 11 + x,17 + y,51,28,0 );
	gfx.PutPixel( 12 + x,17 + y,51,28,0 );
	gfx.PutPixel( 13 + x,17 + y,40,22,0 );
	gfx.PutPixel( 14 + x,17 + y,51,28,0 );
	gfx.PutPixel( 15 + x,17 + y,138,77,0 );
	gfx.PutPixel( 16 + x,17 + y,138,77,0 );
	gfx.PutPixel( 17 + x,17 + y,138,77,0 );
	gfx.PutPixel( 18 + x,17 + y,123,69,0 );
	gfx.PutPixel( 19 + x,17 + y,51,28,0 );
	gfx.PutPixel( 0 + x,18 + y,51,28,0 );
	gfx.PutPixel( 1 + x,18 + y,138,77,0 );
	gfx.PutPixel( 2 + x,18 + y,138,77,0 );
	gfx.PutPixel( 3 + x,18 + y,138,77,0 );
	gfx.PutPixel( 4 + x,18 + y,138,77,0 );
	gfx.PutPixel( 5 + x,18 + y,51,28,0 );
	gfx.PutPixel( 6 + x,18 + y,51,28,0 );
	gfx.PutPixel( 7 + x,18 + y,51,28,0 );
	gfx.PutPixel( 8 + x,18 + y,51,28,0 );
	gfx.PutPixel( 9 + x,18 + y,51,28,0 );
	gfx.PutPixel( 10 + x,18 + y,51,28,0 );
	gfx.PutPixel( 11 + x,18 + y,51,28,0 );
	gfx.PutPixel( 12 + x,18 + y,51,28,0 );
	gfx.PutPixel( 13 + x,18 + y,51,28,0 );
	gfx.PutPixel( 14 + x,18 + y,51,28,0 );
	gfx.PutPixel( 15 + x,18 + y,138,77,0 );
	gfx.PutPixel( 16 + x,18 + y,138,77,0 );
	gfx.PutPixel( 17 + x,18 + y,138,77,0 );
	gfx.PutPixel( 18 + x,18 + y,123,69,0 );
	gfx.PutPixel( 19 + x,18 + y,51,28,0 );
	gfx.PutPixel( 20 + x,18 + y,51,28,0 );
	gfx.PutPixel( 21 + x,18 + y,51,28,0 );
	gfx.PutPixel( 22 + x,18 + y,51,28,0 );
	gfx.PutPixel( 0 + x,19 + y,51,28,0 );
	gfx.PutPixel( 1 + x,19 + y,138,77,0 );
	gfx.PutPixel( 2 + x,19 + y,138,77,0 );
	gfx.PutPixel( 3 + x,19 + y,138,77,0 );
	gfx.PutPixel( 4 + x,19 + y,138,77,0 );
	gfx.PutPixel( 5 + x,19 + y,51,28,0 );
	gfx.PutPixel( 6 + x,19 + y,138,77,0 );
	gfx.PutPixel( 7 + x,19 + y,138,77,0 );
	gfx.PutPixel( 8 + x,19 + y,138,77,0 );
	gfx.PutPixel( 9 + x,19 + y,138,77,0 );
	gfx.PutPixel( 10 + x,19 + y,138,77,0 );
	gfx.PutPixel( 11 + x,19 + y,138,77,0 );
	gfx.PutPixel( 12 + x,19 + y,138,77,0 );
	gfx.PutPixel( 13 + x,19 + y,138,77,0 );
	gfx.PutPixel( 14 + x,19 + y,138,77,0 );
	gfx.PutPixel( 15 + x,19 + y,138,77,0 );
	gfx.PutPixel( 16 + x,19 + y,138,77,0 );
	gfx.PutPixel( 17 + x,19 + y,138,77,0 );
	gfx.PutPixel( 18 + x,19 + y,123,69,0 );
	gfx.PutPixel( 19 + x,19 + y,51,28,0 );
	gfx.PutPixel( 20 + x,19 + y,138,77,0 );
	gfx.PutPixel( 21 + x,19 + y,138,77,0 );
	gfx.PutPixel( 22 + x,19 + y,65,36,0 );
	gfx.PutPixel( 23 + x,19 + y,51,28,0 );
	gfx.PutPixel( 1 + x,20 + y,51,28,0 );
	gfx.PutPixel( 2 + x,20 + y,51,28,0 );
	gfx.PutPixel( 3 + x,20 + y,51,28,0 );
	gfx.PutPixel( 4 + x,20 + y,51,28,0 );
	gfx.PutPixel( 5 + x,20 + y,51,28,0 );
	gfx.PutPixel( 6 + x,20 + y,138,77,0 );
	gfx.PutPixel( 7 + x,20 + y,138,77,0 );
	gfx.PutPixel( 8 + x,20 + y,138,77,0 );
	gfx.PutPixel( 9 + x,20 + y,138,77,0 );
	gfx.PutPixel( 10 + x,20 + y,138,77,0 );
	gfx.PutPixel( 11 + x,20 + y,138,77,0 );
	gfx.PutPixel( 12 + x,20 + y,138,77,0 );
	gfx.PutPixel( 13 + x,20 + y,138,77,0 );
	gfx.PutPixel( 14 + x,20 + y,138,77,0 );
	gfx.PutPixel( 15 + x,20 + y,138,77,0 );
	gfx.PutPixel( 16 + x,20 + y,138,77,0 );
	gfx.PutPixel( 17 + x,20 + y,138,77,0 );
	gfx.PutPixel( 18 + x,20 + y,123,69,0 );
	gfx.PutPixel( 19 + x,20 + y,51,28,0 );
	gfx.PutPixel( 20 + x,20 + y,138,77,0 );
	gfx.PutPixel( 21 + x,20 + y,138,77,0 );
	gfx.PutPixel( 22 + x,20 + y,65,36,0 );
	gfx.PutPixel( 23 + x,20 + y,51,28,0 );
	gfx.PutPixel( 0 + x,21 + y,51,28,0 );
	gfx.PutPixel( 1 + x,21 + y,138,77,0 );
	gfx.PutPixel( 2 + x,21 + y,138,77,0 );
	gfx.PutPixel( 3 + x,21 + y,138,77,0 );
	gfx.PutPixel( 4 + x,21 + y,138,77,0 );
	gfx.PutPixel( 5 + x,21 + y,138,77,0 );
	gfx.PutPixel( 6 + x,21 + y,51,28,0 );
	gfx.PutPixel( 7 + x,21 + y,51,28,0 );
	gfx.PutPixel( 8 + x,21 + y,51,28,0 );
	gfx.PutPixel( 9 + x,21 + y,51,28,0 );
	gfx.PutPixel( 10 + x,21 + y,51,28,0 );
	gfx.PutPixel( 11 + x,21 + y,51,28,0 );
	gfx.PutPixel( 12 + x,21 + y,51,28,0 );
	gfx.PutPixel( 13 + x,21 + y,51,28,0 );
	gfx.PutPixel( 14 + x,21 + y,51,28,0 );
	gfx.PutPixel( 15 + x,21 + y,51,28,0 );
	gfx.PutPixel( 16 + x,21 + y,51,28,0 );
	gfx.PutPixel( 17 + x,21 + y,51,28,0 );
	gfx.PutPixel( 18 + x,21 + y,51,28,0 );
	gfx.PutPixel( 20 + x,21 + y,51,28,0 );
	gfx.PutPixel( 21 + x,21 + y,51,28,0 );
	gfx.PutPixel( 22 + x,21 + y,51,28,0 );
	gfx.PutPixel( 0 + x,22 + y,51,28,0 );
	gfx.PutPixel( 1 + x,22 + y,65,36,0 );
	gfx.PutPixel( 2 + x,22 + y,65,36,0 );
	gfx.PutPixel( 3 + x,22 + y,65,36,0 );
	gfx.PutPixel( 4 + x,22 + y,65,36,0 );
	gfx.PutPixel( 5 + x,22 + y,65,36,0 );
	gfx.PutPixel( 6 + x,22 + y,51,28,0 );
	gfx.PutPixel( 1 + x,23 + y,51,28,0 );
	gfx.PutPixel( 2 + x,23 + y,51,28,0 );
	gfx.PutPixel( 3 + x,23 + y,51,28,0 );
	gfx.PutPixel( 4 + x,23 + y,51,28,0 );
	gfx.PutPixel( 5 + x,23 + y,51,28,0 );
	gfx.PutPixel( 6 + x,23 + y,51,28,0 );
}


void Game::ComposeFrame()
{
	int speed;
	speed = 2;

	//Motion
	if( kbd.DownIsPressed() )
	{
		FaceY = FaceY + speed;
	}

	if( kbd.LeftIsPressed() )
	{
		FaceX = FaceX - speed;
	}

	if( kbd.RightIsPressed() )
	{
		FaceX = FaceX + speed;
	}

	if( kbd.UpIsPressed() )
	{
		FaceY = FaceY - speed;
	}
	//-----------------------------------------------------------

	//Clamp to window
	if( FaceX < 0 )
	{
		FaceX = 0;
	}

	if( FaceX + 20 > 799 )
	{
		FaceX = 799 - 20;
	}

	if( FaceY < 0 )
	{
		FaceY = 0;
	}

	if( FaceY + 20 > 599 )
	{
		FaceY = 599 - 20;
	}
	//-------------------------------------------------

	//Boolean
	if( !pooIsEaten )
	{
		if( FaceX + 20 > PooX &&
			FaceX < PooX + 24 &&
			FaceY + 20 > PooY &&
			FaceY < PooY + 24 )
		{
			pooIsEaten = true;
		}
		
        DrawPoo( PooX, PooY );
	}

	//Collects
	 DrawPoo( PooX, PooY );
	  DrawPoo2( PooX2, PooY2 );
	   DrawPoo3( PooX3, PooY3 );
	   	//Character
	DrawFace( FaceX, FaceY );
}


???????????????????
This is the error

'Chili DirectX Framework.exe': Loaded 'C:\Users\******\Desktop\C++ Game (Gary The Slayer\Chili DirectX Framework\Release\Chili DirectX Framework.exe', Symbols loaded.
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\d3d9.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\d3d8thk.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\msvcr100.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Program Files (x86)\Common Files\microsoft shared\ink\tiptsf.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Program Files\ThinkPad\Bluetooth Software\syswow64\BtMmHook.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\psapi.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\igdumdx32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\igdumd32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file
'Chili DirectX Framework.exe': Unloaded 'C:\Windows\SysWOW64\winmm.dll'
The thread 'Win32 Thread' (0x1220) has exited with code 0 (0x0).
'Chili DirectX Framework.exe': Unloaded 'C:\Windows\SysWOW64\igdumd32.dll'
'Chili DirectX Framework.exe': Unloaded 'C:\Windows\SysWOW64\igdumdx32.dll'
The program '[5260] Chili DirectX Framework.exe: Native' has exited with code 0 (0x0).
Paradox I LOVE EM

cameron
Posts: 794
Joined: June 26th, 2012, 5:38 pm
Location: USA

Re: Need Help With a very strange ERROR

Post by cameron » October 30th, 2012, 1:47 am

You probably dont have directx installed or you didnt correctly set up the includes.
Computer too slow? Consider running a VM on your toaster.

User avatar
Derpy Dinosaur2o3
Posts: 24
Joined: October 20th, 2012, 1:38 am
Location: Australia

Re: Need Help With a very strange ERROR

Post by Derpy Dinosaur2o3 » October 30th, 2012, 1:57 am

cameron wrote:You probably dont have directx installed or you didnt correctly set up the includes.
yer direct x had a problem during install but it works but that might be the problem

What do you mean by Didn't correctly set up the includes
Paradox I LOVE EM

cameron
Posts: 794
Joined: June 26th, 2012, 5:38 pm
Location: USA

Re: Need Help With a very strange ERROR

Post by cameron » October 30th, 2012, 2:28 am

What version of directx sdk did you install? The includes sometimes to have to manually include files with your project to make it run.
Computer too slow? Consider running a VM on your toaster.

User avatar
Derpy Dinosaur2o3
Posts: 24
Joined: October 20th, 2012, 1:38 am
Location: Australia

Re: Need Help With a very strange ERROR

Post by Derpy Dinosaur2o3 » October 30th, 2012, 2:42 am

I have directX 11 and i installed DirectX june 2010

it comes up after it is installed Error code: S1023
Paradox I LOVE EM

cameron
Posts: 794
Joined: June 26th, 2012, 5:38 pm
Location: USA

Re: Need Help With a very strange ERROR

Post by cameron » October 30th, 2012, 2:46 am

Uninstall it and reinstall it and reboot and tell me what happens.
Computer too slow? Consider running a VM on your toaster.

User avatar
Derpy Dinosaur2o3
Posts: 24
Joined: October 20th, 2012, 1:38 am
Location: Australia

Re: Need Help With a very strange ERROR

Post by Derpy Dinosaur2o3 » October 30th, 2012, 4:44 am

im almost done
Paradox I LOVE EM

User avatar
Derpy Dinosaur2o3
Posts: 24
Joined: October 20th, 2012, 1:38 am
Location: Australia

Re: Need Help With a very strange ERROR

Post by Derpy Dinosaur2o3 » October 30th, 2012, 4:50 am

ok its done
i was looking at some forums and they reckon DirectX and Visual C++ are out of date from each other
or something....
Paradox I LOVE EM

cameron
Posts: 794
Joined: June 26th, 2012, 5:38 pm
Location: USA

Re: Need Help With a very strange ERROR

Post by cameron » October 30th, 2012, 4:59 am

Did it give you any errors while reinstalling?What version of vc++ do you have?
Computer too slow? Consider running a VM on your toaster.

User avatar
Derpy Dinosaur2o3
Posts: 24
Joined: October 20th, 2012, 1:38 am
Location: Australia

Re: Need Help With a very strange ERROR

Post by Derpy Dinosaur2o3 » October 30th, 2012, 5:23 am

Yea it did i got a new one Error code: S1001 it wont run the Direct X SDK installer all togeather
Paradox I LOVE EM

Post Reply