|
only 'Hall of Shame' is good place for this...
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
|
|
|
|
|
101 little bugs in the code
|
|
|
|
|
Sucks.
If I wrote code like that I would be ashamed to show it!
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Dave. That's not very helpful for somebody who's young and just starting out. You haven't offered any constructive advice for the OP, and a lot of the replies from people have done nothing to add to the posters knowledge.
|
|
|
|
|
Maybe Pete, but I am not a professional developer like most here, but even I would recognise that approach as being completely sucky.
And he did ask for an opinion.
I gave my opinion.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Well done!
...and I have extensive experience writing computer code, including OIC, BTW, BRB, IMHO, LMAO, ROFL, TTYL.....
|
|
|
|
|
|
too long post ...............................
|
|
|
|
|
Here is the source code:
#include <windows.h>
HDC hdc;
HWND hwnd;
PAINTSTRUCT ps;
bool room1 = 0;
short constupdate()
{
while(1)
{
InvalidateRect(hwnd, NULL, TRUE);
}
}
int floor;
static int x, y;
int jmpjmp = x+5;
int atpos = jmpjmp;
bool right = 1;
bool left = 0;
void first();
bool keyinroom = 1;
bool havekey = 0;
bool inmenu = 0;
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);
char szClassName[ ] = "CodeBlocksWindowsApp";
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nCmdShow)
{
HWND hwnd;
MSG messages;
WNDCLASSEX wincl;
wincl.hInstance = hThisInstance;
wincl.lpszClassName = szClassName;
wincl.lpfnWndProc = WindowProcedure;
wincl.style = CS_DBLCLKS;
wincl.cbSize = sizeof (WNDCLASSEX);
wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
wincl.lpszMenuName = NULL;
wincl.cbClsExtra = 0;
wincl.cbWndExtra = 0;
wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND+7;
if (!RegisterClassEx (&wincl))
return 0;
hwnd = CreateWindowEx (
0,
szClassName,
"Window's GDI Pixel Game",
WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT,
CW_USEDEFAULT,
544,
375,
HWND_DESKTOP,
NULL,
hThisInstance,
NULL
);
ShowWindow (hwnd, nCmdShow);
while (GetMessage (&messages, NULL, 0, 0))
{
TranslateMessage(&messages);
DispatchMessage(&messages);
}
return messages.wParam;
}
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch(wParam)
{
case VK_SHIFT:
if(havekey == 1 && jmpjmp > 1000)
{
MessageBox(NULL, "Door is unlocked! Proceeding...", "Pixel Game", MB_OK);
}
if(jmpjmp > 1000)
{
MessageBox(NULL, "You cannot go any further to the right. Perhaps there is some OTHER way to continue...", "Pixel Game", MB_OK);
break;
}
else if(jmpjmp < 0)
{
MessageBox(NULL, "You cannot go any further to the left. Perhaps there is some OTHER way to continue...", "Pixel Game", MB_OK);
break;
}
else if(havekey == 0 && jmpjmp > 475)
{
if(jmpjmp < 525)
{
MessageBox(NULL, "You found a key!", "Pixel Game", MB_OK);
havekey = 1;
break;
}
}
else{MessageBox(NULL, "Nothing to observe at this current point.", "Pixel Game", MB_OK); break;}
case VK_SPACE:
if(keyinroom == 1)
if(room1 == 1)
if(right == 1 && jmpjmp < 1000)
{
x = 50;
InvalidateRect(hwnd, NULL, TRUE);
hdc = BeginPaint(hwnd, &ps);
SetPixel(hdc, 485, 178, RGB(0, 0, 0));
SetPixel(hdc, 486, 177, RGB(0, 0, 0));
SetPixel(hdc, 487, 176, RGB(0, 0, 0));
SetPixel(hdc, 488, 175, RGB(0, 0, 0));
SetPixel(hdc, 489, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 174, RGB(0, 0, 0));
SetPixel(hdc, 490, 173, RGB(0, 0, 0));
SetPixel(hdc, 490, 172, RGB(0, 0, 0));
SetPixel(hdc, 490, 171, RGB(0, 0, 0));
SetPixel(hdc, 490, 170, RGB(0, 0, 0));
SetPixel(hdc, 490, 169, RGB(0, 0, 0));
SetPixel(hdc, 490, 168, RGB(0, 0, 0));
SetPixel(hdc, 491, 168, RGB(0, 0, 0));
SetPixel(hdc, 491, 167, RGB(0, 0, 0));
SetPixel(hdc, 491, 166, RGB(0, 0, 0));
SetPixel(hdc, 492, 165, RGB(0, 0, 0));
SetPixel(hdc, 493, 165, RGB(0, 0, 0));
SetPixel(hdc, 494, 165, RGB(0, 0, 0));
SetPixel(hdc, 495, 165, RGB(0, 0, 0));
SetPixel(hdc, 496, 165, RGB(0, 0, 0));
SetPixel(hdc, 495, 166, RGB(0, 0, 0));
SetPixel(hdc, 494, 167, RGB(0, 0, 0));
SetPixel(hdc, 493, 168, RGB(0, 0, 0));
SetPixel(hdc, 494, 168, RGB(0, 0, 0));
SetPixel(hdc, 495, 168, RGB(0, 0, 0));
SetPixel(hdc, 496, 168, RGB(0, 0, 0));
SetPixel(hdc, 497, 169, RGB(0, 0, 0));
SetPixel(hdc, 496, 170, RGB(0, 0, 0));
SetPixel(hdc, 495, 171, RGB(0, 0, 0));
SetPixel(hdc, 494, 171, RGB(0, 0, 0));
SetPixel(hdc, 493, 172, RGB(0, 0, 0));
SetPixel(hdc, 493, 173, RGB(0, 0, 0));
SetPixel(hdc, 493, 174, RGB(0, 0, 0));
SetPixel(hdc, 493, 175, RGB(0, 0, 0));
SetPixel(hdc, 493, 176, RGB(0, 0, 0));
SetPixel(hdc, 493, 177, RGB(0, 0, 0));
SetPixel(hdc, 493, 178, RGB(0, 0, 0));
SetPixel(hdc, 493, 179, RGB(0, 0, 0));
SetPixel(hdc, 493, 180, RGB(0, 0, 0));
SetPixel(hdc, 493, 181, RGB(0, 0, 0));
SetPixel(hdc, 493, 182, RGB(0, 0, 0));
SetPixel(hdc, 493, 183, RGB(0, 0, 0));
SetPixel(hdc, 493, 184, RGB(0, 0, 0));
SetPixel(hdc, 492, 185, RGB(0, 0, 0));
SetPixel(hdc, 491, 186, RGB(0, 0, 0));
SetPixel(hdc, 490, 187, RGB(0, 0, 0));
SetPixel(hdc, 489, 187, RGB(0, 0, 0));
SetPixel(hdc, 488, 187, RGB(0, 0, 0));
SetPixel(hdc, 487, 187, RGB(0, 0, 0));
SetPixel(hdc, 486, 187, RGB(0, 0, 0));
SetPixel(hdc, 485, 187, RGB(0, 0, 0));
SetPixel(hdc, 484, 187, RGB(0, 0, 0));
SetPixel(hdc, 483, 187, RGB(0, 0, 0));
SetPixel(hdc, 482, 186, RGB(0, 0, 0));
SetPixel(hdc, 482, 185, RGB(0, 0, 0));
SetPixel(hdc, 481, 184, RGB(0, 0, 0));
SetPixel(hdc, 481, 183, RGB(0, 0, 0));
SetPixel(hdc, 481, 182, RGB(0, 0, 0));
SetPixel(hdc, 481, 181, RGB(0, 0, 0));
SetPixel(hdc, 481, 180, RGB(0, 0, 0));
SetPixel(hdc, 481, 179, RGB(0, 0, 0));
SetPixel(hdc, 482, 179, RGB(0, 0, 0));
SetPixel(hdc, 483, 178, RGB(0, 0, 0));
SetPixel(hdc, 484, 179, RGB(0, 0, 0));
SetPixel(hdc, 487, 184, RGB(0, 0, 0));
SetPixel(hdc, 488, 184, RGB(0, 0, 0));
SetPixel(hdc, 489, 183, RGB(0, 0, 0));
SetPixel(hdc, 490, 182, RGB(0, 0, 0));
SetPixel(hdc, 490, 181, RGB(0, 0, 0));
SetPixel(hdc, 490, 180, RGB(0, 0, 0));
SetPixel(hdc, 490, 179, RGB(0, 0, 0));
SetPixel(hdc, 489, 179, RGB(0, 0, 0));
SetPixel(hdc, 488, 179, RGB(0, 0, 0));
SetPixel(hdc, 487, 179, RGB(0, 0, 0));
SetPixel(hdc, 486, 179, RGB(0, 0, 0));
SetPixel(hdc, 486, 180, RGB(0, 0, 0));
SetPixel(hdc, 486, 181, RGB(0, 0, 0));
SetPixel(hdc, 486, 182, RGB(0, 0, 0));
SetPixel(hdc, 486, 183, RGB(0, 0, 0));
SetPixel(hdc, 486, 184, RGB(0, 0, 0));
POINT pt2[2];
pt2[0].x = 0;
pt2[0].y = 200;
pt2[1].x = 1080;
pt2[1].y = 200;
Polyline(hdc, pt2, 2);
SetPixel(hdc, atpos, 152, RGB(0,50,20));
SetPixel(hdc, atpos+1, 151, RGB(100,50,200));
SetPixel(hdc, atpos+2, 150, RGB(255,0,0));
SetPixel(hdc, atpos+3, 149, RGB(1,50,200));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 154, RGB(0, 0, 90));
SetPixel(hdc, 30, 153, RGB(0, 0, 90));
SetPixel(hdc, 30, 152, RGB(0, 0, 90));
SetPixel(hdc, 30, 151, RGB(0, 0, 90));
SetPixel(hdc, 30, 150, RGB(0, 0, 90));
SetPixel(hdc, 30, 149, RGB(0, 0, 90));
SetPixel(hdc, 30, 148, RGB(0, 0, 90));
SetPixel(hdc, 30, 147, RGB(0, 0, 90));
SetPixel(hdc, 30, 146, RGB(0, 0, 90));
SetPixel(hdc, 30, 145, RGB(0, 0, 90));
SetPixel(hdc, 30, 144, RGB(0, 0, 90));
SetPixel(hdc, 30, 143, RGB(0, 0, 90));
SetPixel(hdc, 30, 142, RGB(0, 0, 90));
SetPixel(hdc, 30, 141, RGB(0, 0, 90));
SetPixel(hdc, 30, 140, RGB(0, 0, 90));
SetPixel(hdc, 30, 139, RGB(0, 0, 90));
SetPixel(hdc, 30, 138, RGB(0, 0, 90));
SetPixel(hdc, 30, 137, RGB(0, 0, 90));
SetPixel(hdc, 30, 136, RGB(0, 0, 90));
SetPixel(hdc, 30, 135, RGB(0, 0, 90));
SetPixel(hdc, 30, 134, RGB(0, 0, 90));
SetPixel(hdc, 30, 133, RGB(0, 0, 90));
SetPixel(hdc, 30, 132, RGB(0, 0, 90));
SetPixel(hdc, 30, 131, RGB(0, 0, 90));
SetPixel(hdc, 30, 130, RGB(0, 0, 90));
SetPixel(hdc, 29, 129, RGB(0, 0, 90));
SetPixel(hdc, 28, 129, RGB(0, 0, 90));
SetPixel(hdc, 27, 128, RGB(0, 0, 90));
SetPixel(hdc, 26, 127, RGB(0, 0, 90));
SetPixel(hdc, 25, 127, RGB(0, 0, 90));
SetPixel(hdc, 24, 126, RGB(0, 0, 90));
SetPixel(hdc, 23, 126, RGB(0, 0, 90));
SetPixel(hdc, 22, 125, RGB(0, 0, 90));
SetPixel(hdc, 22, 124, RGB(0, 0, 90));
SetPixel(hdc, 22, 123, RGB(0, 0, 90));
SetPixel(hdc, 22, 122, RGB(0, 0, 90));
SetPixel(hdc, 22, 121, RGB(0, 0, 90));
SetPixel(hdc, 22, 120, RGB(0, 0, 90));
SetPixel(hdc, 22, 119, RGB(0, 0, 90));
SetPixel(hdc, 22, 118, RGB(0, 0, 90));
SetPixel(hdc, 22, 117, RGB(0, 0, 90));
SetPixel(hdc, 22, 116, RGB(0, 0, 90));
SetPixel(hdc, 22, 115, RGB(0, 0, 90));
SetPixel(hdc, 22, 114, RGB(0, 0, 90));
SetPixel(hdc, 22, 113, RGB(0, 0, 90));
SetPixel(hdc, 23, 112, RGB(0, 0, 90));
SetPixel(hdc, 24, 113, RGB(0, 0, 90));
SetPixel(hdc, 25, 114, RGB(0, 0, 90));
SetPixel(hdc, 26, 115, RGB(0, 0, 90));
SetPixel(hdc, 27, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 117, RGB(0, 0, 90));
SetPixel(hdc, 28, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 115, RGB(0, 0, 90));
SetPixel(hdc, 28, 114, RGB(0, 0, 90));
SetPixel(hdc, 28, 113, RGB(0, 0, 90));
SetPixel(hdc, 28, 112, RGB(0, 0, 90));
SetPixel(hdc, 29, 111, RGB(0, 0, 90));
SetPixel(hdc, 30, 110, RGB(0, 0, 90));
SetPixel(hdc, 31, 109, RGB(0, 0, 90));
SetPixel(hdc, 32, 108, RGB(0, 0, 90));
SetPixel(hdc, 32, 109, RGB(0, 0, 90));
SetPixel(hdc, 33, 110, RGB(0, 0, 90));
SetPixel(hdc, 34, 111, RGB(0, 0, 90));
SetPixel(hdc, 34, 112, RGB(0, 0, 90));
SetPixel(hdc, 34, 113, RGB(0, 0, 90));
SetPixel(hdc, 34, 114, RGB(0, 0, 90));
SetPixel(hdc, 34, 115, RGB(0, 0, 90));
SetPixel(hdc, 34, 116, RGB(0, 0, 90));
SetPixel(hdc, 35, 115, RGB(0, 0, 90));
SetPixel(hdc, 35, 114, RGB(0, 0, 90));
SetPixel(hdc, 36, 113, RGB(0, 0, 90));
SetPixel(hdc, 37, 112, RGB(0, 0, 90));
SetPixel(hdc, 37, 111, RGB(0, 0, 90));
SetPixel(hdc, 38, 110, RGB(0, 0, 90));
SetPixel(hdc, 39, 110, RGB(0, 0, 90));
SetPixel(hdc, 40, 109, RGB(0, 0, 90));
SetPixel(hdc, 41, 110, RGB(0, 0, 90));
SetPixel(hdc, 41, 111, RGB(0, 0, 90));
SetPixel(hdc, 41, 112, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 114, RGB(0, 0, 90));
SetPixel(hdc, 42, 115, RGB(0, 0, 90));
SetPixel(hdc, 42, 116, RGB(0, 0, 90));
SetPixel(hdc, 42, 117, RGB(0, 0, 90));
SetPixel(hdc, 42, 118, RGB(0, 0, 90));
SetPixel(hdc, 41, 119, RGB(0, 0, 90));
SetPixel(hdc, 40, 120, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 39, 122, RGB(0, 0, 90));
SetPixel(hdc, 39, 123, RGB(0, 0, 90));
SetPixel(hdc, 39, 124, RGB(0, 0, 90));
SetPixel(hdc, 38, 125, RGB(0, 0, 90));
SetPixel(hdc, 37, 126, RGB(0, 0, 90));
SetPixel(hdc, 36, 127, RGB(0, 0, 90));
SetPixel(hdc, 35, 128, RGB(0, 0, 90));
SetPixel(hdc, 35, 129, RGB(0, 0, 90));
SetPixel(hdc, 35, 130, RGB(0, 0, 90));
SetPixel(hdc, 35, 131, RGB(0, 0, 90));
SetPixel(hdc, 35, 132, RGB(0, 0, 90));
SetPixel(hdc, 35, 133, RGB(0, 0, 90));
SetPixel(hdc, 35, 134, RGB(0, 0, 90));
SetPixel(hdc, 35, 135, RGB(0, 0, 90));
SetPixel(hdc, 35, 136, RGB(0, 0, 90));
SetPixel(hdc, 35, 137, RGB(0, 0, 90));
SetPixel(hdc, 35, 138, RGB(0, 0, 90));
SetPixel(hdc, 35, 139, RGB(0, 0, 90));
SetPixel(hdc, 35, 140, RGB(0, 0, 90));
SetPixel(hdc, 35, 141, RGB(0, 0, 90));
SetPixel(hdc, 35, 142, RGB(0, 0, 90));
SetPixel(hdc, 35, 143, RGB(0, 0, 90));
SetPixel(hdc, 35, 144, RGB(0, 0, 90));
SetPixel(hdc, 35, 145, RGB(0, 0, 90));
SetPixel(hdc, 35, 146, RGB(0, 0, 90));
SetPixel(hdc, 35, 147, RGB(0, 0, 90));
SetPixel(hdc, 35, 148, RGB(0, 0, 90));
SetPixel(hdc, 35, 149, RGB(0, 0, 90));
SetPixel(hdc, 35, 150, RGB(0, 0, 90));
SetPixel(hdc, 35, 151, RGB(0, 0, 90));
SetPixel(hdc, 35, 152, RGB(0, 0, 90));
SetPixel(hdc, 35, 153, RGB(0, 0, 90));
SetPixel(hdc, 35, 154, RGB(0, 0, 90));
SetPixel(hdc, 35, 155, RGB(0, 0, 90));
SetPixel(hdc, 34, 155, RGB(0, 0, 90));
SetPixel(hdc, 33, 155, RGB(0, 0, 90));
SetPixel(hdc, 32, 155, RGB(0, 0, 90));
SetPixel(hdc, 31, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 130, 154, RGB(0, 0, 90));
SetPixel(hdc, 130, 153, RGB(0, 0, 90));
SetPixel(hdc, 130, 152, RGB(0, 0, 90));
SetPixel(hdc, 130, 151, RGB(0, 0, 90));
SetPixel(hdc, 130, 150, RGB(0, 0, 90));
SetPixel(hdc, 130, 149, RGB(0, 0, 90));
SetPixel(hdc, 130, 148, RGB(0, 0, 90));
SetPixel(hdc, 130, 147, RGB(0, 0, 90));
SetPixel(hdc, 130, 146, RGB(0, 0, 90));
SetPixel(hdc, 130, 145, RGB(0, 0, 90));
SetPixel(hdc, 130, 144, RGB(0, 0, 90));
SetPixel(hdc, 130, 143, RGB(0, 0, 90));
SetPixel(hdc, 130, 142, RGB(0, 0, 90));
SetPixel(hdc, 130, 141, RGB(0, 0, 90));
SetPixel(hdc, 130, 140, RGB(0, 0, 90));
SetPixel(hdc, 130, 139, RGB(0, 0, 90));
SetPixel(hdc, 130, 138, RGB(0, 0, 90));
SetPixel(hdc, 130, 137, RGB(0, 0, 90));
SetPixel(hdc, 130, 136, RGB(0, 0, 90));
SetPixel(hdc, 130, 135, RGB(0, 0, 90));
SetPixel(hdc, 130, 134, RGB(0, 0, 90));
SetPixel(hdc, 130, 133, RGB(0, 0, 90));
SetPixel(hdc, 130, 132, RGB(0, 0, 90));
SetPixel(hdc, 130, 131, RGB(0, 0, 90));
SetPixel(hdc, 130, 130, RGB(0, 0, 90));
SetPixel(hdc, 129, 129, RGB(0, 0, 90));
SetPixel(hdc, 128, 129, RGB(0, 0, 90));
SetPixel(hdc, 127, 128, RGB(0, 0, 90));
SetPixel(hdc, 126, 127, RGB(0, 0, 90));
SetPixel(hdc, 125, 127, RGB(0, 0, 90));
SetPixel(hdc, 124, 126, RGB(0, 0, 90));
SetPixel(hdc, 123, 126, RGB(0, 0, 90));
SetPixel(hdc, 122, 125, RGB(0, 0, 90));
SetPixel(hdc, 122, 124, RGB(0, 0, 90));
SetPixel(hdc, 122, 123, RGB(0, 0, 90));
SetPixel(hdc, 122, 122, RGB(0, 0, 90));
SetPixel(hdc, 122, 121, RGB(0, 0, 90));
SetPixel(hdc, 122, 120, RGB(0, 0, 90));
SetPixel(hdc, 122, 119, RGB(0, 0, 90));
SetPixel(hdc, 122, 118, RGB(0, 0, 90));
SetPixel(hdc, 122, 117, RGB(0, 0, 90));
SetPixel(hdc, 122, 116, RGB(0, 0, 90));
SetPixel(hdc, 122, 115, RGB(0, 0, 90));
SetPixel(hdc, 122, 114, RGB(0, 0, 90));
SetPixel(hdc, 122, 113, RGB(0, 0, 90));
SetPixel(hdc, 123, 112, RGB(0, 0, 90));
SetPixel(hdc, 124, 113, RGB(0, 0, 90));
SetPixel(hdc, 125, 114, RGB(0, 0, 90));
SetPixel(hdc, 126, 115, RGB(0, 0, 90));
SetPixel(hdc, 127, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 117, RGB(0, 0, 90));
SetPixel(hdc, 128, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 115, RGB(0, 0, 90));
SetPixel(hdc, 128, 114, RGB(0, 0, 90));
SetPixel(hdc, 128, 113, RGB(0, 0, 90));
SetPixel(hdc, 128, 112, RGB(0, 0, 90));
SetPixel(hdc, 129, 111, RGB(0, 0, 90));
SetPixel(hdc, 130, 110, RGB(0, 0, 90));
SetPixel(hdc, 131, 109, RGB(0, 0, 90));
SetPixel(hdc, 132, 108, RGB(0, 0, 90));
SetPixel(hdc, 132, 109, RGB(0, 0, 90));
SetPixel(hdc, 133, 110, RGB(0, 0, 90));
SetPixel(hdc, 134, 111, RGB(0, 0, 90));
SetPixel(hdc, 134, 112, RGB(0, 0, 90));
SetPixel(hdc, 134, 113, RGB(0, 0, 90));
SetPixel(hdc, 134, 114, RGB(0, 0, 90));
SetPixel(hdc, 134, 115, RGB(0, 0, 90));
SetPixel(hdc, 134, 116, RGB(0, 0, 90));
SetPixel(hdc, 135, 115, RGB(0, 0, 90));
SetPixel(hdc, 135, 114, RGB(0, 0, 90));
SetPixel(hdc, 136, 113, RGB(0, 0, 90));
SetPixel(hdc, 137, 112, RGB(0, 0, 90));
SetPixel(hdc, 137, 111, RGB(0, 0, 90));
SetPixel(hdc, 138, 110, RGB(0, 0, 90));
SetPixel(hdc, 139, 110, RGB(0, 0, 90));
SetPixel(hdc, 140, 109, RGB(0, 0, 90));
SetPixel(hdc, 141, 110, RGB(0, 0, 90));
SetPixel(hdc, 141, 111, RGB(0, 0, 90));
SetPixel(hdc, 141, 112, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 114, RGB(0, 0, 90));
SetPixel(hdc, 142, 115, RGB(0, 0, 90));
SetPixel(hdc, 142, 116, RGB(0, 0, 90));
SetPixel(hdc, 142, 117, RGB(0, 0, 90));
SetPixel(hdc, 142, 118, RGB(0, 0, 90));
SetPixel(hdc, 141, 119, RGB(0, 0, 90));
SetPixel(hdc, 140, 120, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 139, 122, RGB(0, 0, 90));
SetPixel(hdc, 139, 123, RGB(0, 0, 90));
SetPixel(hdc, 139, 124, RGB(0, 0, 90));
SetPixel(hdc, 138, 125, RGB(0, 0, 90));
SetPixel(hdc, 137, 126, RGB(0, 0, 90));
SetPixel(hdc, 136, 127, RGB(0, 0, 90));
SetPixel(hdc, 135, 128, RGB(0, 0, 90));
SetPixel(hdc, 135, 129, RGB(0, 0, 90));
SetPixel(hdc, 135, 130, RGB(0, 0, 90));
SetPixel(hdc, 135, 131, RGB(0, 0, 90));
SetPixel(hdc, 135, 132, RGB(0, 0, 90));
SetPixel(hdc, 135, 133, RGB(0, 0, 90));
SetPixel(hdc, 135, 134, RGB(0, 0, 90));
SetPixel(hdc, 135, 135, RGB(0, 0, 90));
SetPixel(hdc, 135, 136, RGB(0, 0, 90));
SetPixel(hdc, 135, 137, RGB(0, 0, 90));
SetPixel(hdc, 135, 138, RGB(0, 0, 90));
SetPixel(hdc, 135, 139, RGB(0, 0, 90));
SetPixel(hdc, 135, 140, RGB(0, 0, 90));
SetPixel(hdc, 135, 141, RGB(0, 0, 90));
SetPixel(hdc, 135, 142, RGB(0, 0, 90));
SetPixel(hdc, 135, 143, RGB(0, 0, 90));
SetPixel(hdc, 135, 144, RGB(0, 0, 90));
SetPixel(hdc, 135, 145, RGB(0, 0, 90));
SetPixel(hdc, 135, 146, RGB(0, 0, 90));
SetPixel(hdc, 135, 147, RGB(0, 0, 90));
SetPixel(hdc, 135, 148, RGB(0, 0, 90));
SetPixel(hdc, 135, 149, RGB(0, 0, 90));
SetPixel(hdc, 135, 150, RGB(0, 0, 90));
SetPixel(hdc, 135, 151, RGB(0, 0, 90));
SetPixel(hdc, 135, 152, RGB(0, 0, 90));
SetPixel(hdc, 135, 153, RGB(0, 0, 90));
SetPixel(hdc, 135, 154, RGB(0, 0, 90));
SetPixel(hdc, 135, 155, RGB(0, 0, 90));
SetPixel(hdc, 134, 155, RGB(0, 0, 90));
SetPixel(hdc, 133, 155, RGB(0, 0, 90));
SetPixel(hdc, 132, 155, RGB(0, 0, 90));
SetPixel(hdc, 131, 155, RGB(0, 0, 90));
SetPixel(hdc, 130, 155, RGB(0, 0, 90));
SetPixel(hdc, jmpjmp++, 165, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 166, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 167, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 168, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 169, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 170, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 171, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 172, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 173, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 174, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 175, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 176, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 177, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 178, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 179, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 180, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 181, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 182, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 183, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 184, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 185, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 186, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 187, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 188, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 189, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 190, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 191, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 192, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 193, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 194, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 195, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 196, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 197, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 198, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 199, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 200, RGB(80, 100, 125));
EndPaint(hwnd, &ps);
break;
}
if(keyinroom == 1)
if(left == 1 && jmpjmp > -10)
{
x = 50;
InvalidateRect(hwnd, NULL, TRUE);
hdc = BeginPaint(hwnd, &ps);
SetPixel(hdc, 485, 178, RGB(0, 0, 0));
SetPixel(hdc, 486, 177, RGB(0, 0, 0));
SetPixel(hdc, 487, 176, RGB(0, 0, 0));
SetPixel(hdc, 488, 175, RGB(0, 0, 0));
SetPixel(hdc, 489, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 174, RGB(0, 0, 0));
SetPixel(hdc, 490, 173, RGB(0, 0, 0));
SetPixel(hdc, 490, 172, RGB(0, 0, 0));
SetPixel(hdc, 490, 171, RGB(0, 0, 0));
SetPixel(hdc, 490, 170, RGB(0, 0, 0));
SetPixel(hdc, 490, 169, RGB(0, 0, 0));
SetPixel(hdc, 490, 168, RGB(0, 0, 0));
SetPixel(hdc, 491, 168, RGB(0, 0, 0));
SetPixel(hdc, 491, 167, RGB(0, 0, 0));
SetPixel(hdc, 491, 166, RGB(0, 0, 0));
SetPixel(hdc, 492, 165, RGB(0, 0, 0));
SetPixel(hdc, 493, 165, RGB(0, 0, 0));
SetPixel(hdc, 494, 165, RGB(0, 0, 0));
SetPixel(hdc, 495, 165, RGB(0, 0, 0));
SetPixel(hdc, 496, 165, RGB(0, 0, 0));
SetPixel(hdc, 495, 166, RGB(0, 0, 0));
SetPixel(hdc, 494, 167, RGB(0, 0, 0));
SetPixel(hdc, 493, 168, RGB(0, 0, 0));
SetPixel(hdc, 494, 168, RGB(0, 0, 0));
SetPixel(hdc, 495, 168, RGB(0, 0, 0));
SetPixel(hdc, 496, 168, RGB(0, 0, 0));
SetPixel(hdc, 497, 169, RGB(0, 0, 0));
SetPixel(hdc, 496, 170, RGB(0, 0, 0));
SetPixel(hdc, 495, 171, RGB(0, 0, 0));
SetPixel(hdc, 494, 171, RGB(0, 0, 0));
SetPixel(hdc, 493, 172, RGB(0, 0, 0));
SetPixel(hdc, 493, 173, RGB(0, 0, 0));
SetPixel(hdc, 493, 174, RGB(0, 0, 0));
SetPixel(hdc, 493, 175, RGB(0, 0, 0));
SetPixel(hdc, 493, 176, RGB(0, 0, 0));
SetPixel(hdc, 493, 177, RGB(0, 0, 0));
SetPixel(hdc, 493, 178, RGB(0, 0, 0));
SetPixel(hdc, 493, 179, RGB(0, 0, 0));
SetPixel(hdc, 493, 180, RGB(0, 0, 0));
SetPixel(hdc, 493, 181, RGB(0, 0, 0));
SetPixel(hdc, 493, 182, RGB(0, 0, 0));
SetPixel(hdc, 493, 183, RGB(0, 0, 0));
SetPixel(hdc, 493, 184, RGB(0, 0, 0));
SetPixel(hdc, 492, 185, RGB(0, 0, 0));
SetPixel(hdc, 491, 186, RGB(0, 0, 0));
SetPixel(hdc, 490, 187, RGB(0, 0, 0));
SetPixel(hdc, 489, 187, RGB(0, 0, 0));
SetPixel(hdc, 488, 187, RGB(0, 0, 0));
SetPixel(hdc, 487, 187, RGB(0, 0, 0));
SetPixel(hdc, 486, 187, RGB(0, 0, 0));
SetPixel(hdc, 485, 187, RGB(0, 0, 0));
SetPixel(hdc, 484, 187, RGB(0, 0, 0));
SetPixel(hdc, 483, 187, RGB(0, 0, 0));
SetPixel(hdc, 482, 186, RGB(0, 0, 0));
SetPixel(hdc, 482, 185, RGB(0, 0, 0));
SetPixel(hdc, 481, 184, RGB(0, 0, 0));
SetPixel(hdc, 481, 183, RGB(0, 0, 0));
SetPixel(hdc, 481, 182, RGB(0, 0, 0));
SetPixel(hdc, 481, 181, RGB(0, 0, 0));
SetPixel(hdc, 481, 180, RGB(0, 0, 0));
SetPixel(hdc, 481, 179, RGB(0, 0, 0));
SetPixel(hdc, 482, 179, RGB(0, 0, 0));
SetPixel(hdc, 483, 178, RGB(0, 0, 0));
SetPixel(hdc, 484, 179, RGB(0, 0, 0));
SetPixel(hdc, 487, 184, RGB(0, 0, 0));
SetPixel(hdc, 488, 184, RGB(0, 0, 0));
SetPixel(hdc, 489, 183, RGB(0, 0, 0));
SetPixel(hdc, 490, 182, RGB(0, 0, 0));
SetPixel(hdc, 490, 181, RGB(0, 0, 0));
SetPixel(hdc, 490, 180, RGB(0, 0, 0));
SetPixel(hdc, 490, 179, RGB(0, 0, 0));
SetPixel(hdc, 489, 179, RGB(0, 0, 0));
SetPixel(hdc, 488, 179, RGB(0, 0, 0));
SetPixel(hdc, 487, 179, RGB(0, 0, 0));
SetPixel(hdc, 486, 179, RGB(0, 0, 0));
SetPixel(hdc, 486, 180, RGB(0, 0, 0));
SetPixel(hdc, 486, 181, RGB(0, 0, 0));
SetPixel(hdc, 486, 182, RGB(0, 0, 0));
SetPixel(hdc, 486, 183, RGB(0, 0, 0));
SetPixel(hdc, 486, 184, RGB(0, 0, 0));
POINT pt3[2];
pt3[0].x = 0;
pt3[0].y = 200;
pt3[1].x = 1080;
pt3[1].y = 200;
Polyline(hdc, pt3, 2);
SetPixel(hdc, atpos, 152, RGB(0,50,20));
SetPixel(hdc, atpos+1, 151, RGB(100,50,200));
SetPixel(hdc, atpos+2, 150, RGB(255,0,0));
SetPixel(hdc, atpos+3, 149, RGB(1,50,200));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 154, RGB(0, 0, 90));
SetPixel(hdc, 30, 153, RGB(0, 0, 90));
SetPixel(hdc, 30, 152, RGB(0, 0, 90));
SetPixel(hdc, 30, 151, RGB(0, 0, 90));
SetPixel(hdc, 30, 150, RGB(0, 0, 90));
SetPixel(hdc, 30, 149, RGB(0, 0, 90));
SetPixel(hdc, 30, 148, RGB(0, 0, 90));
SetPixel(hdc, 30, 147, RGB(0, 0, 90));
SetPixel(hdc, 30, 146, RGB(0, 0, 90));
SetPixel(hdc, 30, 145, RGB(0, 0, 90));
SetPixel(hdc, 30, 144, RGB(0, 0, 90));
SetPixel(hdc, 30, 143, RGB(0, 0, 90));
SetPixel(hdc, 30, 142, RGB(0, 0, 90));
SetPixel(hdc, 30, 141, RGB(0, 0, 90));
SetPixel(hdc, 30, 140, RGB(0, 0, 90));
SetPixel(hdc, 30, 139, RGB(0, 0, 90));
SetPixel(hdc, 30, 138, RGB(0, 0, 90));
SetPixel(hdc, 30, 137, RGB(0, 0, 90));
SetPixel(hdc, 30, 136, RGB(0, 0, 90));
SetPixel(hdc, 30, 135, RGB(0, 0, 90));
SetPixel(hdc, 30, 134, RGB(0, 0, 90));
SetPixel(hdc, 30, 133, RGB(0, 0, 90));
SetPixel(hdc, 30, 132, RGB(0, 0, 90));
SetPixel(hdc, 30, 131, RGB(0, 0, 90));
SetPixel(hdc, 30, 130, RGB(0, 0, 90));
SetPixel(hdc, 29, 129, RGB(0, 0, 90));
SetPixel(hdc, 28, 129, RGB(0, 0, 90));
SetPixel(hdc, 27, 128, RGB(0, 0, 90));
SetPixel(hdc, 26, 127, RGB(0, 0, 90));
SetPixel(hdc, 25, 127, RGB(0, 0, 90));
SetPixel(hdc, 24, 126, RGB(0, 0, 90));
SetPixel(hdc, 23, 126, RGB(0, 0, 90));
SetPixel(hdc, 22, 125, RGB(0, 0, 90));
SetPixel(hdc, 22, 124, RGB(0, 0, 90));
SetPixel(hdc, 22, 123, RGB(0, 0, 90));
SetPixel(hdc, 22, 122, RGB(0, 0, 90));
SetPixel(hdc, 22, 121, RGB(0, 0, 90));
SetPixel(hdc, 22, 120, RGB(0, 0, 90));
SetPixel(hdc, 22, 119, RGB(0, 0, 90));
SetPixel(hdc, 22, 118, RGB(0, 0, 90));
SetPixel(hdc, 22, 117, RGB(0, 0, 90));
SetPixel(hdc, 22, 116, RGB(0, 0, 90));
SetPixel(hdc, 22, 115, RGB(0, 0, 90));
SetPixel(hdc, 22, 114, RGB(0, 0, 90));
SetPixel(hdc, 22, 113, RGB(0, 0, 90));
SetPixel(hdc, 23, 112, RGB(0, 0, 90));
SetPixel(hdc, 24, 113, RGB(0, 0, 90));
SetPixel(hdc, 25, 114, RGB(0, 0, 90));
SetPixel(hdc, 26, 115, RGB(0, 0, 90));
SetPixel(hdc, 27, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 117, RGB(0, 0, 90));
SetPixel(hdc, 28, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 115, RGB(0, 0, 90));
SetPixel(hdc, 28, 114, RGB(0, 0, 90));
SetPixel(hdc, 28, 113, RGB(0, 0, 90));
SetPixel(hdc, 28, 112, RGB(0, 0, 90));
SetPixel(hdc, 29, 111, RGB(0, 0, 90));
SetPixel(hdc, 30, 110, RGB(0, 0, 90));
SetPixel(hdc, 31, 109, RGB(0, 0, 90));
SetPixel(hdc, 32, 108, RGB(0, 0, 90));
SetPixel(hdc, 32, 109, RGB(0, 0, 90));
SetPixel(hdc, 33, 110, RGB(0, 0, 90));
SetPixel(hdc, 34, 111, RGB(0, 0, 90));
SetPixel(hdc, 34, 112, RGB(0, 0, 90));
SetPixel(hdc, 34, 113, RGB(0, 0, 90));
SetPixel(hdc, 34, 114, RGB(0, 0, 90));
SetPixel(hdc, 34, 115, RGB(0, 0, 90));
SetPixel(hdc, 34, 116, RGB(0, 0, 90));
SetPixel(hdc, 35, 115, RGB(0, 0, 90));
SetPixel(hdc, 35, 114, RGB(0, 0, 90));
SetPixel(hdc, 36, 113, RGB(0, 0, 90));
SetPixel(hdc, 37, 112, RGB(0, 0, 90));
SetPixel(hdc, 37, 111, RGB(0, 0, 90));
SetPixel(hdc, 38, 110, RGB(0, 0, 90));
SetPixel(hdc, 39, 110, RGB(0, 0, 90));
SetPixel(hdc, 40, 109, RGB(0, 0, 90));
SetPixel(hdc, 41, 110, RGB(0, 0, 90));
SetPixel(hdc, 41, 111, RGB(0, 0, 90));
SetPixel(hdc, 41, 112, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 114, RGB(0, 0, 90));
SetPixel(hdc, 42, 115, RGB(0, 0, 90));
SetPixel(hdc, 42, 116, RGB(0, 0, 90));
SetPixel(hdc, 42, 117, RGB(0, 0, 90));
SetPixel(hdc, 42, 118, RGB(0, 0, 90));
SetPixel(hdc, 41, 119, RGB(0, 0, 90));
SetPixel(hdc, 40, 120, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 39, 122, RGB(0, 0, 90));
SetPixel(hdc, 39, 123, RGB(0, 0, 90));
SetPixel(hdc, 39, 124, RGB(0, 0, 90));
SetPixel(hdc, 38, 125, RGB(0, 0, 90));
SetPixel(hdc, 37, 126, RGB(0, 0, 90));
SetPixel(hdc, 36, 127, RGB(0, 0, 90));
SetPixel(hdc, 35, 128, RGB(0, 0, 90));
SetPixel(hdc, 35, 129, RGB(0, 0, 90));
SetPixel(hdc, 35, 130, RGB(0, 0, 90));
SetPixel(hdc, 35, 131, RGB(0, 0, 90));
SetPixel(hdc, 35, 132, RGB(0, 0, 90));
SetPixel(hdc, 35, 133, RGB(0, 0, 90));
SetPixel(hdc, 35, 134, RGB(0, 0, 90));
SetPixel(hdc, 35, 135, RGB(0, 0, 90));
SetPixel(hdc, 35, 136, RGB(0, 0, 90));
SetPixel(hdc, 35, 137, RGB(0, 0, 90));
SetPixel(hdc, 35, 138, RGB(0, 0, 90));
SetPixel(hdc, 35, 139, RGB(0, 0, 90));
SetPixel(hdc, 35, 140, RGB(0, 0, 90));
SetPixel(hdc, 35, 141, RGB(0, 0, 90));
SetPixel(hdc, 35, 142, RGB(0, 0, 90));
SetPixel(hdc, 35, 143, RGB(0, 0, 90));
SetPixel(hdc, 35, 144, RGB(0, 0, 90));
SetPixel(hdc, 35, 145, RGB(0, 0, 90));
SetPixel(hdc, 35, 146, RGB(0, 0, 90));
SetPixel(hdc, 35, 147, RGB(0, 0, 90));
SetPixel(hdc, 35, 148, RGB(0, 0, 90));
SetPixel(hdc, 35, 149, RGB(0, 0, 90));
SetPixel(hdc, 35, 150, RGB(0, 0, 90));
SetPixel(hdc, 35, 151, RGB(0, 0, 90));
SetPixel(hdc, 35, 152, RGB(0, 0, 90));
SetPixel(hdc, 35, 153, RGB(0, 0, 90));
SetPixel(hdc, 35, 154, RGB(0, 0, 90));
SetPixel(hdc, 35, 155, RGB(0, 0, 90));
SetPixel(hdc, 34, 155, RGB(0, 0, 90));
SetPixel(hdc, 33, 155, RGB(0, 0, 90));
SetPixel(hdc, 32, 155, RGB(0, 0, 90));
SetPixel(hdc, 31, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 130, 154, RGB(0, 0, 90));
SetPixel(hdc, 130, 153, RGB(0, 0, 90));
SetPixel(hdc, 130, 152, RGB(0, 0, 90));
SetPixel(hdc, 130, 151, RGB(0, 0, 90));
SetPixel(hdc, 130, 150, RGB(0, 0, 90));
SetPixel(hdc, 130, 149, RGB(0, 0, 90));
SetPixel(hdc, 130, 148, RGB(0, 0, 90));
SetPixel(hdc, 130, 147, RGB(0, 0, 90));
SetPixel(hdc, 130, 146, RGB(0, 0, 90));
SetPixel(hdc, 130, 145, RGB(0, 0, 90));
SetPixel(hdc, 130, 144, RGB(0, 0, 90));
SetPixel(hdc, 130, 143, RGB(0, 0, 90));
SetPixel(hdc, 130, 142, RGB(0, 0, 90));
SetPixel(hdc, 130, 141, RGB(0, 0, 90));
SetPixel(hdc, 130, 140, RGB(0, 0, 90));
SetPixel(hdc, 130, 139, RGB(0, 0, 90));
SetPixel(hdc, 130, 138, RGB(0, 0, 90));
SetPixel(hdc, 130, 137, RGB(0, 0, 90));
SetPixel(hdc, 130, 136, RGB(0, 0, 90));
SetPixel(hdc, 130, 135, RGB(0, 0, 90));
SetPixel(hdc, 130, 134, RGB(0, 0, 90));
SetPixel(hdc, 130, 133, RGB(0, 0, 90));
SetPixel(hdc, 130, 132, RGB(0, 0, 90));
SetPixel(hdc, 130, 131, RGB(0, 0, 90));
SetPixel(hdc, 130, 130, RGB(0, 0, 90));
SetPixel(hdc, 129, 129, RGB(0, 0, 90));
SetPixel(hdc, 128, 129, RGB(0, 0, 90));
SetPixel(hdc, 127, 128, RGB(0, 0, 90));
SetPixel(hdc, 126, 127, RGB(0, 0, 90));
SetPixel(hdc, 125, 127, RGB(0, 0, 90));
SetPixel(hdc, 124, 126, RGB(0, 0, 90));
SetPixel(hdc, 123, 126, RGB(0, 0, 90));
SetPixel(hdc, 122, 125, RGB(0, 0, 90));
SetPixel(hdc, 122, 124, RGB(0, 0, 90));
SetPixel(hdc, 122, 123, RGB(0, 0, 90));
SetPixel(hdc, 122, 122, RGB(0, 0, 90));
SetPixel(hdc, 122, 121, RGB(0, 0, 90));
SetPixel(hdc, 122, 120, RGB(0, 0, 90));
SetPixel(hdc, 122, 119, RGB(0, 0, 90));
SetPixel(hdc, 122, 118, RGB(0, 0, 90));
SetPixel(hdc, 122, 117, RGB(0, 0, 90));
SetPixel(hdc, 122, 116, RGB(0, 0, 90));
SetPixel(hdc, 122, 115, RGB(0, 0, 90));
SetPixel(hdc, 122, 114, RGB(0, 0, 90));
SetPixel(hdc, 122, 113, RGB(0, 0, 90));
SetPixel(hdc, 123, 112, RGB(0, 0, 90));
SetPixel(hdc, 124, 113, RGB(0, 0, 90));
SetPixel(hdc, 125, 114, RGB(0, 0, 90));
SetPixel(hdc, 126, 115, RGB(0, 0, 90));
SetPixel(hdc, 127, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 117, RGB(0, 0, 90));
SetPixel(hdc, 128, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 115, RGB(0, 0, 90));
SetPixel(hdc, 128, 114, RGB(0, 0, 90));
SetPixel(hdc, 128, 113, RGB(0, 0, 90));
SetPixel(hdc, 128, 112, RGB(0, 0, 90));
SetPixel(hdc, 129, 111, RGB(0, 0, 90));
SetPixel(hdc, 130, 110, RGB(0, 0, 90));
SetPixel(hdc, 131, 109, RGB(0, 0, 90));
SetPixel(hdc, 132, 108, RGB(0, 0, 90));
SetPixel(hdc, 132, 109, RGB(0, 0, 90));
SetPixel(hdc, 133, 110, RGB(0, 0, 90));
SetPixel(hdc, 134, 111, RGB(0, 0, 90));
SetPixel(hdc, 134, 112, RGB(0, 0, 90));
SetPixel(hdc, 134, 113, RGB(0, 0, 90));
SetPixel(hdc, 134, 114, RGB(0, 0, 90));
SetPixel(hdc, 134, 115, RGB(0, 0, 90));
SetPixel(hdc, 134, 116, RGB(0, 0, 90));
SetPixel(hdc, 135, 115, RGB(0, 0, 90));
SetPixel(hdc, 135, 114, RGB(0, 0, 90));
SetPixel(hdc, 136, 113, RGB(0, 0, 90));
SetPixel(hdc, 137, 112, RGB(0, 0, 90));
SetPixel(hdc, 137, 111, RGB(0, 0, 90));
SetPixel(hdc, 138, 110, RGB(0, 0, 90));
SetPixel(hdc, 139, 110, RGB(0, 0, 90));
SetPixel(hdc, 140, 109, RGB(0, 0, 90));
SetPixel(hdc, 141, 110, RGB(0, 0, 90));
SetPixel(hdc, 141, 111, RGB(0, 0, 90));
SetPixel(hdc, 141, 112, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 114, RGB(0, 0, 90));
SetPixel(hdc, 142, 115, RGB(0, 0, 90));
SetPixel(hdc, 142, 116, RGB(0, 0, 90));
SetPixel(hdc, 142, 117, RGB(0, 0, 90));
SetPixel(hdc, 142, 118, RGB(0, 0, 90));
SetPixel(hdc, 141, 119, RGB(0, 0, 90));
SetPixel(hdc, 140, 120, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 139, 122, RGB(0, 0, 90));
SetPixel(hdc, 139, 123, RGB(0, 0, 90));
SetPixel(hdc, 139, 124, RGB(0, 0, 90));
SetPixel(hdc, 138, 125, RGB(0, 0, 90));
SetPixel(hdc, 137, 126, RGB(0, 0, 90));
SetPixel(hdc, 136, 127, RGB(0, 0, 90));
SetPixel(hdc, 135, 128, RGB(0, 0, 90));
SetPixel(hdc, 135, 129, RGB(0, 0, 90));
SetPixel(hdc, 135, 130, RGB(0, 0, 90));
SetPixel(hdc, 135, 131, RGB(0, 0, 90));
SetPixel(hdc, 135, 132, RGB(0, 0, 90));
SetPixel(hdc, 135, 133, RGB(0, 0, 90));
SetPixel(hdc, 135, 134, RGB(0, 0, 90));
SetPixel(hdc, 135, 135, RGB(0, 0, 90));
SetPixel(hdc, 135, 136, RGB(0, 0, 90));
SetPixel(hdc, 135, 137, RGB(0, 0, 90));
SetPixel(hdc, 135, 138, RGB(0, 0, 90));
SetPixel(hdc, 135, 139, RGB(0, 0, 90));
SetPixel(hdc, 135, 140, RGB(0, 0, 90));
SetPixel(hdc, 135, 141, RGB(0, 0, 90));
SetPixel(hdc, 135, 142, RGB(0, 0, 90));
SetPixel(hdc, 135, 143, RGB(0, 0, 90));
SetPixel(hdc, 135, 144, RGB(0, 0, 90));
SetPixel(hdc, 135, 145, RGB(0, 0, 90));
SetPixel(hdc, 135, 146, RGB(0, 0, 90));
SetPixel(hdc, 135, 147, RGB(0, 0, 90));
SetPixel(hdc, 135, 148, RGB(0, 0, 90));
SetPixel(hdc, 135, 149, RGB(0, 0, 90));
SetPixel(hdc, 135, 150, RGB(0, 0, 90));
SetPixel(hdc, 135, 151, RGB(0, 0, 90));
SetPixel(hdc, 135, 152, RGB(0, 0, 90));
SetPixel(hdc, 135, 153, RGB(0, 0, 90));
SetPixel(hdc, 135, 154, RGB(0, 0, 90));
SetPixel(hdc, 135, 155, RGB(0, 0, 90));
SetPixel(hdc, 134, 155, RGB(0, 0, 90));
SetPixel(hdc, 133, 155, RGB(0, 0, 90));
SetPixel(hdc, 132, 155, RGB(0, 0, 90));
SetPixel(hdc, 131, 155, RGB(0, 0, 90));
SetPixel(hdc, 130, 155, RGB(0, 0, 90));
SetPixel(hdc, jmpjmp--, 165, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 166, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 167, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 168, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 169, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 170, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 171, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 172, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 173, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 174, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 175, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 176, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 177, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 178, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 179, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 180, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 181, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 182, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 183, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 184, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 185, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 186, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 187, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 188, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 189, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 190, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 191, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 192, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 193, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 194, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 195, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 196, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 197, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 198, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 199, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 200, RGB(80, 100, 125));
EndPaint(hwnd, &ps);
break;
}
case VK_RIGHT:
right = 1;
left = 0;
if(keyinroom == 1)
if(jmpjmp < 1010)
{
x = 5;
InvalidateRect(hwnd, NULL, TRUE);
hdc = BeginPaint(hwnd, &ps);
SetPixel(hdc, 485, 178, RGB(0, 0, 0));
SetPixel(hdc, 486, 177, RGB(0, 0, 0));
SetPixel(hdc, 487, 176, RGB(0, 0, 0));
SetPixel(hdc, 488, 175, RGB(0, 0, 0));
SetPixel(hdc, 489, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 174, RGB(0, 0, 0));
SetPixel(hdc, 490, 173, RGB(0, 0, 0));
SetPixel(hdc, 490, 172, RGB(0, 0, 0));
SetPixel(hdc, 490, 171, RGB(0, 0, 0));
SetPixel(hdc, 490, 170, RGB(0, 0, 0));
SetPixel(hdc, 490, 169, RGB(0, 0, 0));
SetPixel(hdc, 490, 168, RGB(0, 0, 0));
SetPixel(hdc, 491, 168, RGB(0, 0, 0));
SetPixel(hdc, 491, 167, RGB(0, 0, 0));
SetPixel(hdc, 491, 166, RGB(0, 0, 0));
SetPixel(hdc, 492, 165, RGB(0, 0, 0));
SetPixel(hdc, 493, 165, RGB(0, 0, 0));
SetPixel(hdc, 494, 165, RGB(0, 0, 0));
SetPixel(hdc, 495, 165, RGB(0, 0, 0));
SetPixel(hdc, 496, 165, RGB(0, 0, 0));
SetPixel(hdc, 495, 166, RGB(0, 0, 0));
SetPixel(hdc, 494, 167, RGB(0, 0, 0));
SetPixel(hdc, 493, 168, RGB(0, 0, 0));
SetPixel(hdc, 494, 168, RGB(0, 0, 0));
SetPixel(hdc, 495, 168, RGB(0, 0, 0));
SetPixel(hdc, 496, 168, RGB(0, 0, 0));
SetPixel(hdc, 497, 169, RGB(0, 0, 0));
SetPixel(hdc, 496, 170, RGB(0, 0, 0));
SetPixel(hdc, 495, 171, RGB(0, 0, 0));
SetPixel(hdc, 494, 171, RGB(0, 0, 0));
SetPixel(hdc, 493, 172, RGB(0, 0, 0));
SetPixel(hdc, 493, 173, RGB(0, 0, 0));
SetPixel(hdc, 493, 174, RGB(0, 0, 0));
SetPixel(hdc, 493, 175, RGB(0, 0, 0));
SetPixel(hdc, 493, 176, RGB(0, 0, 0));
SetPixel(hdc, 493, 177, RGB(0, 0, 0));
SetPixel(hdc, 493, 178, RGB(0, 0, 0));
SetPixel(hdc, 493, 179, RGB(0, 0, 0));
SetPixel(hdc, 493, 180, RGB(0, 0, 0));
SetPixel(hdc, 493, 181, RGB(0, 0, 0));
SetPixel(hdc, 493, 182, RGB(0, 0, 0));
SetPixel(hdc, 493, 183, RGB(0, 0, 0));
SetPixel(hdc, 493, 184, RGB(0, 0, 0));
SetPixel(hdc, 492, 185, RGB(0, 0, 0));
SetPixel(hdc, 491, 186, RGB(0, 0, 0));
SetPixel(hdc, 490, 187, RGB(0, 0, 0));
SetPixel(hdc, 489, 187, RGB(0, 0, 0));
SetPixel(hdc, 488, 187, RGB(0, 0, 0));
SetPixel(hdc, 487, 187, RGB(0, 0, 0));
SetPixel(hdc, 486, 187, RGB(0, 0, 0));
SetPixel(hdc, 485, 187, RGB(0, 0, 0));
SetPixel(hdc, 484, 187, RGB(0, 0, 0));
SetPixel(hdc, 483, 187, RGB(0, 0, 0));
SetPixel(hdc, 482, 186, RGB(0, 0, 0));
SetPixel(hdc, 482, 185, RGB(0, 0, 0));
SetPixel(hdc, 481, 184, RGB(0, 0, 0));
SetPixel(hdc, 481, 183, RGB(0, 0, 0));
SetPixel(hdc, 481, 182, RGB(0, 0, 0));
SetPixel(hdc, 481, 181, RGB(0, 0, 0));
SetPixel(hdc, 481, 180, RGB(0, 0, 0));
SetPixel(hdc, 481, 179, RGB(0, 0, 0));
SetPixel(hdc, 482, 179, RGB(0, 0, 0));
SetPixel(hdc, 483, 178, RGB(0, 0, 0));
SetPixel(hdc, 484, 179, RGB(0, 0, 0));
SetPixel(hdc, 487, 184, RGB(0, 0, 0));
SetPixel(hdc, 488, 184, RGB(0, 0, 0));
SetPixel(hdc, 489, 183, RGB(0, 0, 0));
SetPixel(hdc, 490, 182, RGB(0, 0, 0));
SetPixel(hdc, 490, 181, RGB(0, 0, 0));
SetPixel(hdc, 490, 180, RGB(0, 0, 0));
SetPixel(hdc, 490, 179, RGB(0, 0, 0));
SetPixel(hdc, 489, 179, RGB(0, 0, 0));
SetPixel(hdc, 488, 179, RGB(0, 0, 0));
SetPixel(hdc, 487, 179, RGB(0, 0, 0));
SetPixel(hdc, 486, 179, RGB(0, 0, 0));
SetPixel(hdc, 486, 180, RGB(0, 0, 0));
SetPixel(hdc, 486, 181, RGB(0, 0, 0));
SetPixel(hdc, 486, 182, RGB(0, 0, 0));
SetPixel(hdc, 486, 183, RGB(0, 0, 0));
SetPixel(hdc, 486, 184, RGB(0, 0, 0));
SetPixel(hdc, 130, 154, RGB(0, 0, 90));
SetPixel(hdc, 130, 153, RGB(0, 0, 90));
SetPixel(hdc, 130, 152, RGB(0, 0, 90));
SetPixel(hdc, 130, 151, RGB(0, 0, 90));
SetPixel(hdc, 130, 150, RGB(0, 0, 90));
SetPixel(hdc, 130, 149, RGB(0, 0, 90));
SetPixel(hdc, 130, 148, RGB(0, 0, 90));
SetPixel(hdc, 130, 147, RGB(0, 0, 90));
SetPixel(hdc, 130, 146, RGB(0, 0, 90));
SetPixel(hdc, 130, 145, RGB(0, 0, 90));
SetPixel(hdc, 130, 144, RGB(0, 0, 90));
SetPixel(hdc, 130, 143, RGB(0, 0, 90));
SetPixel(hdc, 130, 142, RGB(0, 0, 90));
SetPixel(hdc, 130, 141, RGB(0, 0, 90));
SetPixel(hdc, 130, 140, RGB(0, 0, 90));
SetPixel(hdc, 130, 139, RGB(0, 0, 90));
SetPixel(hdc, 130, 138, RGB(0, 0, 90));
SetPixel(hdc, 130, 137, RGB(0, 0, 90));
SetPixel(hdc, 130, 136, RGB(0, 0, 90));
SetPixel(hdc, 130, 135, RGB(0, 0, 90));
SetPixel(hdc, 130, 134, RGB(0, 0, 90));
SetPixel(hdc, 130, 133, RGB(0, 0, 90));
SetPixel(hdc, 130, 132, RGB(0, 0, 90));
SetPixel(hdc, 130, 131, RGB(0, 0, 90));
SetPixel(hdc, 130, 130, RGB(0, 0, 90));
SetPixel(hdc, 129, 129, RGB(0, 0, 90));
SetPixel(hdc, 128, 129, RGB(0, 0, 90));
SetPixel(hdc, 127, 128, RGB(0, 0, 90));
SetPixel(hdc, 126, 127, RGB(0, 0, 90));
SetPixel(hdc, 125, 127, RGB(0, 0, 90));
SetPixel(hdc, 124, 126, RGB(0, 0, 90));
SetPixel(hdc, 123, 126, RGB(0, 0, 90));
SetPixel(hdc, 122, 125, RGB(0, 0, 90));
SetPixel(hdc, 122, 124, RGB(0, 0, 90));
SetPixel(hdc, 122, 123, RGB(0, 0, 90));
SetPixel(hdc, 122, 122, RGB(0, 0, 90));
SetPixel(hdc, 122, 121, RGB(0, 0, 90));
SetPixel(hdc, 122, 120, RGB(0, 0, 90));
SetPixel(hdc, 122, 119, RGB(0, 0, 90));
SetPixel(hdc, 122, 118, RGB(0, 0, 90));
SetPixel(hdc, 122, 117, RGB(0, 0, 90));
SetPixel(hdc, 122, 116, RGB(0, 0, 90));
SetPixel(hdc, 122, 115, RGB(0, 0, 90));
SetPixel(hdc, 122, 114, RGB(0, 0, 90));
SetPixel(hdc, 122, 113, RGB(0, 0, 90));
SetPixel(hdc, 123, 112, RGB(0, 0, 90));
SetPixel(hdc, 124, 113, RGB(0, 0, 90));
SetPixel(hdc, 125, 114, RGB(0, 0, 90));
SetPixel(hdc, 126, 115, RGB(0, 0, 90));
SetPixel(hdc, 127, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 117, RGB(0, 0, 90));
SetPixel(hdc, 128, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 115, RGB(0, 0, 90));
SetPixel(hdc, 128, 114, RGB(0, 0, 90));
SetPixel(hdc, 128, 113, RGB(0, 0, 90));
SetPixel(hdc, 128, 112, RGB(0, 0, 90));
SetPixel(hdc, 129, 111, RGB(0, 0, 90));
SetPixel(hdc, 130, 110, RGB(0, 0, 90));
SetPixel(hdc, 131, 109, RGB(0, 0, 90));
SetPixel(hdc, 132, 108, RGB(0, 0, 90));
SetPixel(hdc, 132, 109, RGB(0, 0, 90));
SetPixel(hdc, 133, 110, RGB(0, 0, 90));
SetPixel(hdc, 134, 111, RGB(0, 0, 90));
SetPixel(hdc, 134, 112, RGB(0, 0, 90));
SetPixel(hdc, 134, 113, RGB(0, 0, 90));
SetPixel(hdc, 134, 114, RGB(0, 0, 90));
SetPixel(hdc, 134, 115, RGB(0, 0, 90));
SetPixel(hdc, 134, 116, RGB(0, 0, 90));
SetPixel(hdc, 135, 115, RGB(0, 0, 90));
SetPixel(hdc, 135, 114, RGB(0, 0, 90));
SetPixel(hdc, 136, 113, RGB(0, 0, 90));
SetPixel(hdc, 137, 112, RGB(0, 0, 90));
SetPixel(hdc, 137, 111, RGB(0, 0, 90));
SetPixel(hdc, 138, 110, RGB(0, 0, 90));
SetPixel(hdc, 139, 110, RGB(0, 0, 90));
SetPixel(hdc, 140, 109, RGB(0, 0, 90));
SetPixel(hdc, 141, 110, RGB(0, 0, 90));
SetPixel(hdc, 141, 111, RGB(0, 0, 90));
SetPixel(hdc, 141, 112, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 114, RGB(0, 0, 90));
SetPixel(hdc, 142, 115, RGB(0, 0, 90));
SetPixel(hdc, 142, 116, RGB(0, 0, 90));
SetPixel(hdc, 142, 117, RGB(0, 0, 90));
SetPixel(hdc, 142, 118, RGB(0, 0, 90));
SetPixel(hdc, 141, 119, RGB(0, 0, 90));
SetPixel(hdc, 140, 120, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 139, 122, RGB(0, 0, 90));
SetPixel(hdc, 139, 123, RGB(0, 0, 90));
SetPixel(hdc, 139, 124, RGB(0, 0, 90));
SetPixel(hdc, 138, 125, RGB(0, 0, 90));
SetPixel(hdc, 137, 126, RGB(0, 0, 90));
SetPixel(hdc, 136, 127, RGB(0, 0, 90));
SetPixel(hdc, 135, 128, RGB(0, 0, 90));
SetPixel(hdc, 135, 129, RGB(0, 0, 90));
SetPixel(hdc, 135, 130, RGB(0, 0, 90));
SetPixel(hdc, 135, 131, RGB(0, 0, 90));
SetPixel(hdc, 135, 132, RGB(0, 0, 90));
SetPixel(hdc, 135, 133, RGB(0, 0, 90));
SetPixel(hdc, 135, 134, RGB(0, 0, 90));
SetPixel(hdc, 135, 135, RGB(0, 0, 90));
SetPixel(hdc, 135, 136, RGB(0, 0, 90));
SetPixel(hdc, 135, 137, RGB(0, 0, 90));
SetPixel(hdc, 135, 138, RGB(0, 0, 90));
SetPixel(hdc, 135, 139, RGB(0, 0, 90));
SetPixel(hdc, 135, 140, RGB(0, 0, 90));
SetPixel(hdc, 135, 141, RGB(0, 0, 90));
SetPixel(hdc, 135, 142, RGB(0, 0, 90));
SetPixel(hdc, 135, 143, RGB(0, 0, 90));
SetPixel(hdc, 135, 144, RGB(0, 0, 90));
SetPixel(hdc, 135, 145, RGB(0, 0, 90));
SetPixel(hdc, 135, 146, RGB(0, 0, 90));
SetPixel(hdc, 135, 147, RGB(0, 0, 90));
SetPixel(hdc, 135, 148, RGB(0, 0, 90));
SetPixel(hdc, 135, 149, RGB(0, 0, 90));
SetPixel(hdc, 135, 150, RGB(0, 0, 90));
SetPixel(hdc, 135, 151, RGB(0, 0, 90));
SetPixel(hdc, 135, 152, RGB(0, 0, 90));
SetPixel(hdc, 135, 153, RGB(0, 0, 90));
SetPixel(hdc, 135, 154, RGB(0, 0, 90));
SetPixel(hdc, 135, 155, RGB(0, 0, 90));
SetPixel(hdc, 134, 155, RGB(0, 0, 90));
SetPixel(hdc, 133, 155, RGB(0, 0, 90));
SetPixel(hdc, 132, 155, RGB(0, 0, 90));
SetPixel(hdc, 131, 155, RGB(0, 0, 90));
SetPixel(hdc, 130, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 154, RGB(0, 0, 90));
SetPixel(hdc, 30, 153, RGB(0, 0, 90));
SetPixel(hdc, 30, 152, RGB(0, 0, 90));
SetPixel(hdc, 30, 151, RGB(0, 0, 90));
SetPixel(hdc, 30, 150, RGB(0, 0, 90));
SetPixel(hdc, 30, 149, RGB(0, 0, 90));
SetPixel(hdc, 30, 148, RGB(0, 0, 90));
SetPixel(hdc, 30, 147, RGB(0, 0, 90));
SetPixel(hdc, 30, 146, RGB(0, 0, 90));
SetPixel(hdc, 30, 145, RGB(0, 0, 90));
SetPixel(hdc, 30, 144, RGB(0, 0, 90));
SetPixel(hdc, 30, 143, RGB(0, 0, 90));
SetPixel(hdc, 30, 142, RGB(0, 0, 90));
SetPixel(hdc, 30, 141, RGB(0, 0, 90));
SetPixel(hdc, 30, 140, RGB(0, 0, 90));
SetPixel(hdc, 30, 139, RGB(0, 0, 90));
SetPixel(hdc, 30, 138, RGB(0, 0, 90));
SetPixel(hdc, 30, 137, RGB(0, 0, 90));
SetPixel(hdc, 30, 136, RGB(0, 0, 90));
SetPixel(hdc, 30, 135, RGB(0, 0, 90));
SetPixel(hdc, 30, 134, RGB(0, 0, 90));
SetPixel(hdc, 30, 133, RGB(0, 0, 90));
SetPixel(hdc, 30, 132, RGB(0, 0, 90));
SetPixel(hdc, 30, 131, RGB(0, 0, 90));
SetPixel(hdc, 30, 130, RGB(0, 0, 90));
SetPixel(hdc, 29, 129, RGB(0, 0, 90));
SetPixel(hdc, 28, 129, RGB(0, 0, 90));
SetPixel(hdc, 27, 128, RGB(0, 0, 90));
SetPixel(hdc, 26, 127, RGB(0, 0, 90));
SetPixel(hdc, 25, 127, RGB(0, 0, 90));
SetPixel(hdc, 24, 126, RGB(0, 0, 90));
SetPixel(hdc, 23, 126, RGB(0, 0, 90));
SetPixel(hdc, 22, 125, RGB(0, 0, 90));
SetPixel(hdc, 22, 124, RGB(0, 0, 90));
SetPixel(hdc, 22, 123, RGB(0, 0, 90));
SetPixel(hdc, 22, 122, RGB(0, 0, 90));
SetPixel(hdc, 22, 121, RGB(0, 0, 90));
SetPixel(hdc, 22, 120, RGB(0, 0, 90));
SetPixel(hdc, 22, 119, RGB(0, 0, 90));
SetPixel(hdc, 22, 118, RGB(0, 0, 90));
SetPixel(hdc, 22, 117, RGB(0, 0, 90));
SetPixel(hdc, 22, 116, RGB(0, 0, 90));
SetPixel(hdc, 22, 115, RGB(0, 0, 90));
SetPixel(hdc, 22, 114, RGB(0, 0, 90));
SetPixel(hdc, 22, 113, RGB(0, 0, 90));
SetPixel(hdc, 23, 112, RGB(0, 0, 90));
SetPixel(hdc, 24, 113, RGB(0, 0, 90));
SetPixel(hdc, 25, 114, RGB(0, 0, 90));
SetPixel(hdc, 26, 115, RGB(0, 0, 90));
SetPixel(hdc, 27, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 117, RGB(0, 0, 90));
SetPixel(hdc, 28, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 115, RGB(0, 0, 90));
SetPixel(hdc, 28, 114, RGB(0, 0, 90));
SetPixel(hdc, 28, 113, RGB(0, 0, 90));
SetPixel(hdc, 28, 112, RGB(0, 0, 90));
SetPixel(hdc, 29, 111, RGB(0, 0, 90));
SetPixel(hdc, 30, 110, RGB(0, 0, 90));
SetPixel(hdc, 31, 109, RGB(0, 0, 90));
SetPixel(hdc, 32, 108, RGB(0, 0, 90));
SetPixel(hdc, 32, 109, RGB(0, 0, 90));
SetPixel(hdc, 33, 110, RGB(0, 0, 90));
SetPixel(hdc, 34, 111, RGB(0, 0, 90));
SetPixel(hdc, 34, 112, RGB(0, 0, 90));
SetPixel(hdc, 34, 113, RGB(0, 0, 90));
SetPixel(hdc, 34, 114, RGB(0, 0, 90));
SetPixel(hdc, 34, 115, RGB(0, 0, 90));
SetPixel(hdc, 34, 116, RGB(0, 0, 90));
SetPixel(hdc, 35, 115, RGB(0, 0, 90));
SetPixel(hdc, 35, 114, RGB(0, 0, 90));
SetPixel(hdc, 36, 113, RGB(0, 0, 90));
SetPixel(hdc, 37, 112, RGB(0, 0, 90));
SetPixel(hdc, 37, 111, RGB(0, 0, 90));
SetPixel(hdc, 38, 110, RGB(0, 0, 90));
SetPixel(hdc, 39, 110, RGB(0, 0, 90));
SetPixel(hdc, 40, 109, RGB(0, 0, 90));
SetPixel(hdc, 41, 110, RGB(0, 0, 90));
SetPixel(hdc, 41, 111, RGB(0, 0, 90));
SetPixel(hdc, 41, 112, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 114, RGB(0, 0, 90));
SetPixel(hdc, 42, 115, RGB(0, 0, 90));
SetPixel(hdc, 42, 116, RGB(0, 0, 90));
SetPixel(hdc, 42, 117, RGB(0, 0, 90));
SetPixel(hdc, 42, 118, RGB(0, 0, 90));
SetPixel(hdc, 41, 119, RGB(0, 0, 90));
SetPixel(hdc, 40, 120, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 39, 122, RGB(0, 0, 90));
SetPixel(hdc, 39, 123, RGB(0, 0, 90));
SetPixel(hdc, 39, 124, RGB(0, 0, 90));
SetPixel(hdc, 38, 125, RGB(0, 0, 90));
SetPixel(hdc, 37, 126, RGB(0, 0, 90));
SetPixel(hdc, 36, 127, RGB(0, 0, 90));
SetPixel(hdc, 35, 128, RGB(0, 0, 90));
SetPixel(hdc, 35, 129, RGB(0, 0, 90));
SetPixel(hdc, 35, 130, RGB(0, 0, 90));
SetPixel(hdc, 35, 131, RGB(0, 0, 90));
SetPixel(hdc, 35, 132, RGB(0, 0, 90));
SetPixel(hdc, 35, 133, RGB(0, 0, 90));
SetPixel(hdc, 35, 134, RGB(0, 0, 90));
SetPixel(hdc, 35, 135, RGB(0, 0, 90));
SetPixel(hdc, 35, 136, RGB(0, 0, 90));
SetPixel(hdc, 35, 137, RGB(0, 0, 90));
SetPixel(hdc, 35, 138, RGB(0, 0, 90));
SetPixel(hdc, 35, 139, RGB(0, 0, 90));
SetPixel(hdc, 35, 140, RGB(0, 0, 90));
SetPixel(hdc, 35, 141, RGB(0, 0, 90));
SetPixel(hdc, 35, 142, RGB(0, 0, 90));
SetPixel(hdc, 35, 143, RGB(0, 0, 90));
SetPixel(hdc, 35, 144, RGB(0, 0, 90));
SetPixel(hdc, 35, 145, RGB(0, 0, 90));
SetPixel(hdc, 35, 146, RGB(0, 0, 90));
SetPixel(hdc, 35, 147, RGB(0, 0, 90));
SetPixel(hdc, 35, 148, RGB(0, 0, 90));
SetPixel(hdc, 35, 149, RGB(0, 0, 90));
SetPixel(hdc, 35, 150, RGB(0, 0, 90));
SetPixel(hdc, 35, 151, RGB(0, 0, 90));
SetPixel(hdc, 35, 152, RGB(0, 0, 90));
SetPixel(hdc, 35, 153, RGB(0, 0, 90));
SetPixel(hdc, 35, 154, RGB(0, 0, 90));
SetPixel(hdc, 35, 155, RGB(0, 0, 90));
SetPixel(hdc, 34, 155, RGB(0, 0, 90));
SetPixel(hdc, 33, 155, RGB(0, 0, 90));
SetPixel(hdc, 32, 155, RGB(0, 0, 90));
SetPixel(hdc, 31, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, jmpjmp++, 165, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 166, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 167, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 168, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 169, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 170, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 171, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 172, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 173, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 174, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 175, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 176, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 177, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 178, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 179, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 180, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 181, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 182, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 183, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 184, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 185, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 186, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 187, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 188, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 189, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 190, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 191, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 192, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 193, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 194, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 195, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 196, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 197, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 198, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 199, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 200, RGB(80, 100, 125));
POINT pt[2];
pt[0].x = 0;
pt[0].y = 200;
pt[1].x = 1080;
pt[1].y = 200;
Polyline(hdc, pt, 2);
EndPaint(hwnd, &ps);
break;
}
case VK_LEFT:
left = 1;
right = 0;
if(keyinroom == 1)
if(jmpjmp > -10)
{
x = 50;
InvalidateRect(hwnd, NULL, TRUE);
hdc = BeginPaint(hwnd, &ps);
SetPixel(hdc, 485, 178, RGB(0, 0, 0));
SetPixel(hdc, 486, 177, RGB(0, 0, 0));
SetPixel(hdc, 487, 176, RGB(0, 0, 0));
SetPixel(hdc, 488, 175, RGB(0, 0, 0));
SetPixel(hdc, 489, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 175, RGB(0, 0, 0));
SetPixel(hdc, 490, 174, RGB(0, 0, 0));
SetPixel(hdc, 490, 173, RGB(0, 0, 0));
SetPixel(hdc, 490, 172, RGB(0, 0, 0));
SetPixel(hdc, 490, 171, RGB(0, 0, 0));
SetPixel(hdc, 490, 170, RGB(0, 0, 0));
SetPixel(hdc, 490, 169, RGB(0, 0, 0));
SetPixel(hdc, 490, 168, RGB(0, 0, 0));
SetPixel(hdc, 491, 168, RGB(0, 0, 0));
SetPixel(hdc, 491, 167, RGB(0, 0, 0));
SetPixel(hdc, 491, 166, RGB(0, 0, 0));
SetPixel(hdc, 492, 165, RGB(0, 0, 0));
SetPixel(hdc, 493, 165, RGB(0, 0, 0));
SetPixel(hdc, 494, 165, RGB(0, 0, 0));
SetPixel(hdc, 495, 165, RGB(0, 0, 0));
SetPixel(hdc, 496, 165, RGB(0, 0, 0));
SetPixel(hdc, 495, 166, RGB(0, 0, 0));
SetPixel(hdc, 494, 167, RGB(0, 0, 0));
SetPixel(hdc, 493, 168, RGB(0, 0, 0));
SetPixel(hdc, 494, 168, RGB(0, 0, 0));
SetPixel(hdc, 495, 168, RGB(0, 0, 0));
SetPixel(hdc, 496, 168, RGB(0, 0, 0));
SetPixel(hdc, 497, 169, RGB(0, 0, 0));
SetPixel(hdc, 496, 170, RGB(0, 0, 0));
SetPixel(hdc, 495, 171, RGB(0, 0, 0));
SetPixel(hdc, 494, 171, RGB(0, 0, 0));
SetPixel(hdc, 493, 172, RGB(0, 0, 0));
SetPixel(hdc, 493, 173, RGB(0, 0, 0));
SetPixel(hdc, 493, 174, RGB(0, 0, 0));
SetPixel(hdc, 493, 175, RGB(0, 0, 0));
SetPixel(hdc, 493, 176, RGB(0, 0, 0));
SetPixel(hdc, 493, 177, RGB(0, 0, 0));
SetPixel(hdc, 493, 178, RGB(0, 0, 0));
SetPixel(hdc, 493, 179, RGB(0, 0, 0));
SetPixel(hdc, 493, 180, RGB(0, 0, 0));
SetPixel(hdc, 493, 181, RGB(0, 0, 0));
SetPixel(hdc, 493, 182, RGB(0, 0, 0));
SetPixel(hdc, 493, 183, RGB(0, 0, 0));
SetPixel(hdc, 493, 184, RGB(0, 0, 0));
SetPixel(hdc, 492, 185, RGB(0, 0, 0));
SetPixel(hdc, 491, 186, RGB(0, 0, 0));
SetPixel(hdc, 490, 187, RGB(0, 0, 0));
SetPixel(hdc, 489, 187, RGB(0, 0, 0));
SetPixel(hdc, 488, 187, RGB(0, 0, 0));
SetPixel(hdc, 487, 187, RGB(0, 0, 0));
SetPixel(hdc, 486, 187, RGB(0, 0, 0));
SetPixel(hdc, 485, 187, RGB(0, 0, 0));
SetPixel(hdc, 484, 187, RGB(0, 0, 0));
SetPixel(hdc, 483, 187, RGB(0, 0, 0));
SetPixel(hdc, 482, 186, RGB(0, 0, 0));
SetPixel(hdc, 482, 185, RGB(0, 0, 0));
SetPixel(hdc, 481, 184, RGB(0, 0, 0));
SetPixel(hdc, 481, 183, RGB(0, 0, 0));
SetPixel(hdc, 481, 182, RGB(0, 0, 0));
SetPixel(hdc, 481, 181, RGB(0, 0, 0));
SetPixel(hdc, 481, 180, RGB(0, 0, 0));
SetPixel(hdc, 481, 179, RGB(0, 0, 0));
SetPixel(hdc, 482, 179, RGB(0, 0, 0));
SetPixel(hdc, 483, 178, RGB(0, 0, 0));
SetPixel(hdc, 484, 179, RGB(0, 0, 0));
SetPixel(hdc, 487, 184, RGB(0, 0, 0));
SetPixel(hdc, 488, 184, RGB(0, 0, 0));
SetPixel(hdc, 489, 183, RGB(0, 0, 0));
SetPixel(hdc, 490, 182, RGB(0, 0, 0));
SetPixel(hdc, 490, 181, RGB(0, 0, 0));
SetPixel(hdc, 490, 180, RGB(0, 0, 0));
SetPixel(hdc, 490, 179, RGB(0, 0, 0));
SetPixel(hdc, 489, 179, RGB(0, 0, 0));
SetPixel(hdc, 488, 179, RGB(0, 0, 0));
SetPixel(hdc, 487, 179, RGB(0, 0, 0));
SetPixel(hdc, 486, 179, RGB(0, 0, 0));
SetPixel(hdc, 486, 180, RGB(0, 0, 0));
SetPixel(hdc, 486, 181, RGB(0, 0, 0));
SetPixel(hdc, 486, 182, RGB(0, 0, 0));
SetPixel(hdc, 486, 183, RGB(0, 0, 0));
SetPixel(hdc, 486, 184, RGB(0, 0, 0));
SetPixel(hdc, 130, 154, RGB(0, 0, 90));
SetPixel(hdc, 130, 153, RGB(0, 0, 90));
SetPixel(hdc, 130, 152, RGB(0, 0, 90));
SetPixel(hdc, 130, 151, RGB(0, 0, 90));
SetPixel(hdc, 130, 150, RGB(0, 0, 90));
SetPixel(hdc, 130, 149, RGB(0, 0, 90));
SetPixel(hdc, 130, 148, RGB(0, 0, 90));
SetPixel(hdc, 130, 147, RGB(0, 0, 90));
SetPixel(hdc, 130, 146, RGB(0, 0, 90));
SetPixel(hdc, 130, 145, RGB(0, 0, 90));
SetPixel(hdc, 130, 144, RGB(0, 0, 90));
SetPixel(hdc, 130, 143, RGB(0, 0, 90));
SetPixel(hdc, 130, 142, RGB(0, 0, 90));
SetPixel(hdc, 130, 141, RGB(0, 0, 90));
SetPixel(hdc, 130, 140, RGB(0, 0, 90));
SetPixel(hdc, 130, 139, RGB(0, 0, 90));
SetPixel(hdc, 130, 138, RGB(0, 0, 90));
SetPixel(hdc, 130, 137, RGB(0, 0, 90));
SetPixel(hdc, 130, 136, RGB(0, 0, 90));
SetPixel(hdc, 130, 135, RGB(0, 0, 90));
SetPixel(hdc, 130, 134, RGB(0, 0, 90));
SetPixel(hdc, 130, 133, RGB(0, 0, 90));
SetPixel(hdc, 130, 132, RGB(0, 0, 90));
SetPixel(hdc, 130, 131, RGB(0, 0, 90));
SetPixel(hdc, 130, 130, RGB(0, 0, 90));
SetPixel(hdc, 129, 129, RGB(0, 0, 90));
SetPixel(hdc, 128, 129, RGB(0, 0, 90));
SetPixel(hdc, 127, 128, RGB(0, 0, 90));
SetPixel(hdc, 126, 127, RGB(0, 0, 90));
SetPixel(hdc, 125, 127, RGB(0, 0, 90));
SetPixel(hdc, 124, 126, RGB(0, 0, 90));
SetPixel(hdc, 123, 126, RGB(0, 0, 90));
SetPixel(hdc, 122, 125, RGB(0, 0, 90));
SetPixel(hdc, 122, 124, RGB(0, 0, 90));
SetPixel(hdc, 122, 123, RGB(0, 0, 90));
SetPixel(hdc, 122, 122, RGB(0, 0, 90));
SetPixel(hdc, 122, 121, RGB(0, 0, 90));
SetPixel(hdc, 122, 120, RGB(0, 0, 90));
SetPixel(hdc, 122, 119, RGB(0, 0, 90));
SetPixel(hdc, 122, 118, RGB(0, 0, 90));
SetPixel(hdc, 122, 117, RGB(0, 0, 90));
SetPixel(hdc, 122, 116, RGB(0, 0, 90));
SetPixel(hdc, 122, 115, RGB(0, 0, 90));
SetPixel(hdc, 122, 114, RGB(0, 0, 90));
SetPixel(hdc, 122, 113, RGB(0, 0, 90));
SetPixel(hdc, 123, 112, RGB(0, 0, 90));
SetPixel(hdc, 124, 113, RGB(0, 0, 90));
SetPixel(hdc, 125, 114, RGB(0, 0, 90));
SetPixel(hdc, 126, 115, RGB(0, 0, 90));
SetPixel(hdc, 127, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 117, RGB(0, 0, 90));
SetPixel(hdc, 128, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 115, RGB(0, 0, 90));
SetPixel(hdc, 128, 114, RGB(0, 0, 90));
SetPixel(hdc, 128, 113, RGB(0, 0, 90));
SetPixel(hdc, 128, 112, RGB(0, 0, 90));
SetPixel(hdc, 129, 111, RGB(0, 0, 90));
SetPixel(hdc, 130, 110, RGB(0, 0, 90));
SetPixel(hdc, 131, 109, RGB(0, 0, 90));
SetPixel(hdc, 132, 108, RGB(0, 0, 90));
SetPixel(hdc, 132, 109, RGB(0, 0, 90));
SetPixel(hdc, 133, 110, RGB(0, 0, 90));
SetPixel(hdc, 134, 111, RGB(0, 0, 90));
SetPixel(hdc, 134, 112, RGB(0, 0, 90));
SetPixel(hdc, 134, 113, RGB(0, 0, 90));
SetPixel(hdc, 134, 114, RGB(0, 0, 90));
SetPixel(hdc, 134, 115, RGB(0, 0, 90));
SetPixel(hdc, 134, 116, RGB(0, 0, 90));
SetPixel(hdc, 135, 115, RGB(0, 0, 90));
SetPixel(hdc, 135, 114, RGB(0, 0, 90));
SetPixel(hdc, 136, 113, RGB(0, 0, 90));
SetPixel(hdc, 137, 112, RGB(0, 0, 90));
SetPixel(hdc, 137, 111, RGB(0, 0, 90));
SetPixel(hdc, 138, 110, RGB(0, 0, 90));
SetPixel(hdc, 139, 110, RGB(0, 0, 90));
SetPixel(hdc, 140, 109, RGB(0, 0, 90));
SetPixel(hdc, 141, 110, RGB(0, 0, 90));
SetPixel(hdc, 141, 111, RGB(0, 0, 90));
SetPixel(hdc, 141, 112, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 114, RGB(0, 0, 90));
SetPixel(hdc, 142, 115, RGB(0, 0, 90));
SetPixel(hdc, 142, 116, RGB(0, 0, 90));
SetPixel(hdc, 142, 117, RGB(0, 0, 90));
SetPixel(hdc, 142, 118, RGB(0, 0, 90));
SetPixel(hdc, 141, 119, RGB(0, 0, 90));
SetPixel(hdc, 140, 120, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 139, 122, RGB(0, 0, 90));
SetPixel(hdc, 139, 123, RGB(0, 0, 90));
SetPixel(hdc, 139, 124, RGB(0, 0, 90));
SetPixel(hdc, 138, 125, RGB(0, 0, 90));
SetPixel(hdc, 137, 126, RGB(0, 0, 90));
SetPixel(hdc, 136, 127, RGB(0, 0, 90));
SetPixel(hdc, 135, 128, RGB(0, 0, 90));
SetPixel(hdc, 135, 129, RGB(0, 0, 90));
SetPixel(hdc, 135, 130, RGB(0, 0, 90));
SetPixel(hdc, 135, 131, RGB(0, 0, 90));
SetPixel(hdc, 135, 132, RGB(0, 0, 90));
SetPixel(hdc, 135, 133, RGB(0, 0, 90));
SetPixel(hdc, 135, 134, RGB(0, 0, 90));
SetPixel(hdc, 135, 135, RGB(0, 0, 90));
SetPixel(hdc, 135, 136, RGB(0, 0, 90));
SetPixel(hdc, 135, 137, RGB(0, 0, 90));
SetPixel(hdc, 135, 138, RGB(0, 0, 90));
SetPixel(hdc, 135, 139, RGB(0, 0, 90));
SetPixel(hdc, 135, 140, RGB(0, 0, 90));
SetPixel(hdc, 135, 141, RGB(0, 0, 90));
SetPixel(hdc, 135, 142, RGB(0, 0, 90));
SetPixel(hdc, 135, 143, RGB(0, 0, 90));
SetPixel(hdc, 135, 144, RGB(0, 0, 90));
SetPixel(hdc, 135, 145, RGB(0, 0, 90));
SetPixel(hdc, 135, 146, RGB(0, 0, 90));
SetPixel(hdc, 135, 147, RGB(0, 0, 90));
SetPixel(hdc, 135, 148, RGB(0, 0, 90));
SetPixel(hdc, 135, 149, RGB(0, 0, 90));
SetPixel(hdc, 135, 150, RGB(0, 0, 90));
SetPixel(hdc, 135, 151, RGB(0, 0, 90));
SetPixel(hdc, 135, 152, RGB(0, 0, 90));
SetPixel(hdc, 135, 153, RGB(0, 0, 90));
SetPixel(hdc, 135, 154, RGB(0, 0, 90));
SetPixel(hdc, 135, 155, RGB(0, 0, 90));
SetPixel(hdc, 134, 155, RGB(0, 0, 90));
SetPixel(hdc, 133, 155, RGB(0, 0, 90));
SetPixel(hdc, 132, 155, RGB(0, 0, 90));
SetPixel(hdc, 131, 155, RGB(0, 0, 90));
SetPixel(hdc, 130, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 154, RGB(0, 0, 90));
SetPixel(hdc, 30, 153, RGB(0, 0, 90));
SetPixel(hdc, 30, 152, RGB(0, 0, 90));
SetPixel(hdc, 30, 151, RGB(0, 0, 90));
SetPixel(hdc, 30, 150, RGB(0, 0, 90));
SetPixel(hdc, 30, 149, RGB(0, 0, 90));
SetPixel(hdc, 30, 148, RGB(0, 0, 90));
SetPixel(hdc, 30, 147, RGB(0, 0, 90));
SetPixel(hdc, 30, 146, RGB(0, 0, 90));
SetPixel(hdc, 30, 145, RGB(0, 0, 90));
SetPixel(hdc, 30, 144, RGB(0, 0, 90));
SetPixel(hdc, 30, 143, RGB(0, 0, 90));
SetPixel(hdc, 30, 142, RGB(0, 0, 90));
SetPixel(hdc, 30, 141, RGB(0, 0, 90));
SetPixel(hdc, 30, 140, RGB(0, 0, 90));
SetPixel(hdc, 30, 139, RGB(0, 0, 90));
SetPixel(hdc, 30, 138, RGB(0, 0, 90));
SetPixel(hdc, 30, 137, RGB(0, 0, 90));
SetPixel(hdc, 30, 136, RGB(0, 0, 90));
SetPixel(hdc, 30, 135, RGB(0, 0, 90));
SetPixel(hdc, 30, 134, RGB(0, 0, 90));
SetPixel(hdc, 30, 133, RGB(0, 0, 90));
SetPixel(hdc, 30, 132, RGB(0, 0, 90));
SetPixel(hdc, 30, 131, RGB(0, 0, 90));
SetPixel(hdc, 30, 130, RGB(0, 0, 90));
SetPixel(hdc, 29, 129, RGB(0, 0, 90));
SetPixel(hdc, 28, 129, RGB(0, 0, 90));
SetPixel(hdc, 27, 128, RGB(0, 0, 90));
SetPixel(hdc, 26, 127, RGB(0, 0, 90));
SetPixel(hdc, 25, 127, RGB(0, 0, 90));
SetPixel(hdc, 24, 126, RGB(0, 0, 90));
SetPixel(hdc, 23, 126, RGB(0, 0, 90));
SetPixel(hdc, 22, 125, RGB(0, 0, 90));
SetPixel(hdc, 22, 124, RGB(0, 0, 90));
SetPixel(hdc, 22, 123, RGB(0, 0, 90));
SetPixel(hdc, 22, 122, RGB(0, 0, 90));
SetPixel(hdc, 22, 121, RGB(0, 0, 90));
SetPixel(hdc, 22, 120, RGB(0, 0, 90));
SetPixel(hdc, 22, 119, RGB(0, 0, 90));
SetPixel(hdc, 22, 118, RGB(0, 0, 90));
SetPixel(hdc, 22, 117, RGB(0, 0, 90));
SetPixel(hdc, 22, 116, RGB(0, 0, 90));
SetPixel(hdc, 22, 115, RGB(0, 0, 90));
SetPixel(hdc, 22, 114, RGB(0, 0, 90));
SetPixel(hdc, 22, 113, RGB(0, 0, 90));
SetPixel(hdc, 23, 112, RGB(0, 0, 90));
SetPixel(hdc, 24, 113, RGB(0, 0, 90));
SetPixel(hdc, 25, 114, RGB(0, 0, 90));
SetPixel(hdc, 26, 115, RGB(0, 0, 90));
SetPixel(hdc, 27, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 117, RGB(0, 0, 90));
SetPixel(hdc, 28, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 115, RGB(0, 0, 90));
SetPixel(hdc, 28, 114, RGB(0, 0, 90));
SetPixel(hdc, 28, 113, RGB(0, 0, 90));
SetPixel(hdc, 28, 112, RGB(0, 0, 90));
SetPixel(hdc, 29, 111, RGB(0, 0, 90));
SetPixel(hdc, 30, 110, RGB(0, 0, 90));
SetPixel(hdc, 31, 109, RGB(0, 0, 90));
SetPixel(hdc, 32, 108, RGB(0, 0, 90));
SetPixel(hdc, 32, 109, RGB(0, 0, 90));
SetPixel(hdc, 33, 110, RGB(0, 0, 90));
SetPixel(hdc, 34, 111, RGB(0, 0, 90));
SetPixel(hdc, 34, 112, RGB(0, 0, 90));
SetPixel(hdc, 34, 113, RGB(0, 0, 90));
SetPixel(hdc, 34, 114, RGB(0, 0, 90));
SetPixel(hdc, 34, 115, RGB(0, 0, 90));
SetPixel(hdc, 34, 116, RGB(0, 0, 90));
SetPixel(hdc, 35, 115, RGB(0, 0, 90));
SetPixel(hdc, 35, 114, RGB(0, 0, 90));
SetPixel(hdc, 36, 113, RGB(0, 0, 90));
SetPixel(hdc, 37, 112, RGB(0, 0, 90));
SetPixel(hdc, 37, 111, RGB(0, 0, 90));
SetPixel(hdc, 38, 110, RGB(0, 0, 90));
SetPixel(hdc, 39, 110, RGB(0, 0, 90));
SetPixel(hdc, 40, 109, RGB(0, 0, 90));
SetPixel(hdc, 41, 110, RGB(0, 0, 90));
SetPixel(hdc, 41, 111, RGB(0, 0, 90));
SetPixel(hdc, 41, 112, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 114, RGB(0, 0, 90));
SetPixel(hdc, 42, 115, RGB(0, 0, 90));
SetPixel(hdc, 42, 116, RGB(0, 0, 90));
SetPixel(hdc, 42, 117, RGB(0, 0, 90));
SetPixel(hdc, 42, 118, RGB(0, 0, 90));
SetPixel(hdc, 41, 119, RGB(0, 0, 90));
SetPixel(hdc, 40, 120, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 39, 122, RGB(0, 0, 90));
SetPixel(hdc, 39, 123, RGB(0, 0, 90));
SetPixel(hdc, 39, 124, RGB(0, 0, 90));
SetPixel(hdc, 38, 125, RGB(0, 0, 90));
SetPixel(hdc, 37, 126, RGB(0, 0, 90));
SetPixel(hdc, 36, 127, RGB(0, 0, 90));
SetPixel(hdc, 35, 128, RGB(0, 0, 90));
SetPixel(hdc, 35, 129, RGB(0, 0, 90));
SetPixel(hdc, 35, 130, RGB(0, 0, 90));
SetPixel(hdc, 35, 131, RGB(0, 0, 90));
SetPixel(hdc, 35, 132, RGB(0, 0, 90));
SetPixel(hdc, 35, 133, RGB(0, 0, 90));
SetPixel(hdc, 35, 134, RGB(0, 0, 90));
SetPixel(hdc, 35, 135, RGB(0, 0, 90));
SetPixel(hdc, 35, 136, RGB(0, 0, 90));
SetPixel(hdc, 35, 137, RGB(0, 0, 90));
SetPixel(hdc, 35, 138, RGB(0, 0, 90));
SetPixel(hdc, 35, 139, RGB(0, 0, 90));
SetPixel(hdc, 35, 140, RGB(0, 0, 90));
SetPixel(hdc, 35, 141, RGB(0, 0, 90));
SetPixel(hdc, 35, 142, RGB(0, 0, 90));
SetPixel(hdc, 35, 143, RGB(0, 0, 90));
SetPixel(hdc, 35, 144, RGB(0, 0, 90));
SetPixel(hdc, 35, 145, RGB(0, 0, 90));
SetPixel(hdc, 35, 146, RGB(0, 0, 90));
SetPixel(hdc, 35, 147, RGB(0, 0, 90));
SetPixel(hdc, 35, 148, RGB(0, 0, 90));
SetPixel(hdc, 35, 149, RGB(0, 0, 90));
SetPixel(hdc, 35, 150, RGB(0, 0, 90));
SetPixel(hdc, 35, 151, RGB(0, 0, 90));
SetPixel(hdc, 35, 152, RGB(0, 0, 90));
SetPixel(hdc, 35, 153, RGB(0, 0, 90));
SetPixel(hdc, 35, 154, RGB(0, 0, 90));
SetPixel(hdc, 35, 155, RGB(0, 0, 90));
SetPixel(hdc, 34, 155, RGB(0, 0, 90));
SetPixel(hdc, 33, 155, RGB(0, 0, 90));
SetPixel(hdc, 32, 155, RGB(0, 0, 90));
SetPixel(hdc, 31, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, jmpjmp--, 165, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 166, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 167, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 168, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 169, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp--, 170, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 171, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 172, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 173, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 174, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 175, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 176, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 177, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 178, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 179, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 180, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 181, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 182, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 183, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 184, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 185, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 186, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 187, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 188, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 189, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 190, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 191, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 192, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 193, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 194, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 195, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 196, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 197, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 198, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 199, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp--, 200, RGB(80, 100, 125));
POINT pt1[2];
pt1[0].x = 0;
pt1[0].y = 200;
pt1[1].x = 1080;
pt1[1].y = 200;
Polyline(hdc, pt1, 2);
EndPaint(hwnd, &ps);
break;
POINT pt2[2];
pt2[0].x = 0;
pt2[0].y = 200;
pt2[1].x = 1080;
pt2[1].y = 200;
Polyline(hdc, pt2, 2);
SetPixel(hdc, atpos, 152, RGB(0,50,20));
SetPixel(hdc, atpos+1, 151, RGB(100,50,200));
SetPixel(hdc, atpos+2, 150, RGB(255,0,0));
SetPixel(hdc, atpos+3, 149, RGB(1,50,200));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 154, RGB(0, 0, 90));
SetPixel(hdc, 30, 153, RGB(0, 0, 90));
SetPixel(hdc, 30, 152, RGB(0, 0, 90));
SetPixel(hdc, 30, 151, RGB(0, 0, 90));
SetPixel(hdc, 30, 150, RGB(0, 0, 90));
SetPixel(hdc, 30, 149, RGB(0, 0, 90));
SetPixel(hdc, 30, 148, RGB(0, 0, 90));
SetPixel(hdc, 30, 147, RGB(0, 0, 90));
SetPixel(hdc, 30, 146, RGB(0, 0, 90));
SetPixel(hdc, 30, 145, RGB(0, 0, 90));
SetPixel(hdc, 30, 144, RGB(0, 0, 90));
SetPixel(hdc, 30, 143, RGB(0, 0, 90));
SetPixel(hdc, 30, 142, RGB(0, 0, 90));
SetPixel(hdc, 30, 141, RGB(0, 0, 90));
SetPixel(hdc, 30, 140, RGB(0, 0, 90));
SetPixel(hdc, 30, 139, RGB(0, 0, 90));
SetPixel(hdc, 30, 138, RGB(0, 0, 90));
SetPixel(hdc, 30, 137, RGB(0, 0, 90));
SetPixel(hdc, 30, 136, RGB(0, 0, 90));
SetPixel(hdc, 30, 135, RGB(0, 0, 90));
SetPixel(hdc, 30, 134, RGB(0, 0, 90));
SetPixel(hdc, 30, 133, RGB(0, 0, 90));
SetPixel(hdc, 30, 132, RGB(0, 0, 90));
SetPixel(hdc, 30, 131, RGB(0, 0, 90));
SetPixel(hdc, 30, 130, RGB(0, 0, 90));
SetPixel(hdc, 29, 129, RGB(0, 0, 90));
SetPixel(hdc, 28, 129, RGB(0, 0, 90));
SetPixel(hdc, 27, 128, RGB(0, 0, 90));
SetPixel(hdc, 26, 127, RGB(0, 0, 90));
SetPixel(hdc, 25, 127, RGB(0, 0, 90));
SetPixel(hdc, 24, 126, RGB(0, 0, 90));
SetPixel(hdc, 23, 126, RGB(0, 0, 90));
SetPixel(hdc, 22, 125, RGB(0, 0, 90));
SetPixel(hdc, 22, 124, RGB(0, 0, 90));
SetPixel(hdc, 22, 123, RGB(0, 0, 90));
SetPixel(hdc, 22, 122, RGB(0, 0, 90));
SetPixel(hdc, 22, 121, RGB(0, 0, 90));
SetPixel(hdc, 22, 120, RGB(0, 0, 90));
SetPixel(hdc, 22, 119, RGB(0, 0, 90));
SetPixel(hdc, 22, 118, RGB(0, 0, 90));
SetPixel(hdc, 22, 117, RGB(0, 0, 90));
SetPixel(hdc, 22, 116, RGB(0, 0, 90));
SetPixel(hdc, 22, 115, RGB(0, 0, 90));
SetPixel(hdc, 22, 114, RGB(0, 0, 90));
SetPixel(hdc, 22, 113, RGB(0, 0, 90));
SetPixel(hdc, 23, 112, RGB(0, 0, 90));
SetPixel(hdc, 24, 113, RGB(0, 0, 90));
SetPixel(hdc, 25, 114, RGB(0, 0, 90));
SetPixel(hdc, 26, 115, RGB(0, 0, 90));
SetPixel(hdc, 27, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 117, RGB(0, 0, 90));
SetPixel(hdc, 28, 116, RGB(0, 0, 90));
SetPixel(hdc, 28, 115, RGB(0, 0, 90));
SetPixel(hdc, 28, 114, RGB(0, 0, 90));
SetPixel(hdc, 28, 113, RGB(0, 0, 90));
SetPixel(hdc, 28, 112, RGB(0, 0, 90));
SetPixel(hdc, 29, 111, RGB(0, 0, 90));
SetPixel(hdc, 30, 110, RGB(0, 0, 90));
SetPixel(hdc, 31, 109, RGB(0, 0, 90));
SetPixel(hdc, 32, 108, RGB(0, 0, 90));
SetPixel(hdc, 32, 109, RGB(0, 0, 90));
SetPixel(hdc, 33, 110, RGB(0, 0, 90));
SetPixel(hdc, 34, 111, RGB(0, 0, 90));
SetPixel(hdc, 34, 112, RGB(0, 0, 90));
SetPixel(hdc, 34, 113, RGB(0, 0, 90));
SetPixel(hdc, 34, 114, RGB(0, 0, 90));
SetPixel(hdc, 34, 115, RGB(0, 0, 90));
SetPixel(hdc, 34, 116, RGB(0, 0, 90));
SetPixel(hdc, 35, 115, RGB(0, 0, 90));
SetPixel(hdc, 35, 114, RGB(0, 0, 90));
SetPixel(hdc, 36, 113, RGB(0, 0, 90));
SetPixel(hdc, 37, 112, RGB(0, 0, 90));
SetPixel(hdc, 37, 111, RGB(0, 0, 90));
SetPixel(hdc, 38, 110, RGB(0, 0, 90));
SetPixel(hdc, 39, 110, RGB(0, 0, 90));
SetPixel(hdc, 40, 109, RGB(0, 0, 90));
SetPixel(hdc, 41, 110, RGB(0, 0, 90));
SetPixel(hdc, 41, 111, RGB(0, 0, 90));
SetPixel(hdc, 41, 112, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 113, RGB(0, 0, 90));
SetPixel(hdc, 42, 114, RGB(0, 0, 90));
SetPixel(hdc, 42, 115, RGB(0, 0, 90));
SetPixel(hdc, 42, 116, RGB(0, 0, 90));
SetPixel(hdc, 42, 117, RGB(0, 0, 90));
SetPixel(hdc, 42, 118, RGB(0, 0, 90));
SetPixel(hdc, 41, 119, RGB(0, 0, 90));
SetPixel(hdc, 40, 120, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 40, 121, RGB(0, 0, 90));
SetPixel(hdc, 39, 122, RGB(0, 0, 90));
SetPixel(hdc, 39, 123, RGB(0, 0, 90));
SetPixel(hdc, 39, 124, RGB(0, 0, 90));
SetPixel(hdc, 38, 125, RGB(0, 0, 90));
SetPixel(hdc, 37, 126, RGB(0, 0, 90));
SetPixel(hdc, 36, 127, RGB(0, 0, 90));
SetPixel(hdc, 35, 128, RGB(0, 0, 90));
SetPixel(hdc, 35, 129, RGB(0, 0, 90));
SetPixel(hdc, 35, 130, RGB(0, 0, 90));
SetPixel(hdc, 35, 131, RGB(0, 0, 90));
SetPixel(hdc, 35, 132, RGB(0, 0, 90));
SetPixel(hdc, 35, 133, RGB(0, 0, 90));
SetPixel(hdc, 35, 134, RGB(0, 0, 90));
SetPixel(hdc, 35, 135, RGB(0, 0, 90));
SetPixel(hdc, 35, 136, RGB(0, 0, 90));
SetPixel(hdc, 35, 137, RGB(0, 0, 90));
SetPixel(hdc, 35, 138, RGB(0, 0, 90));
SetPixel(hdc, 35, 139, RGB(0, 0, 90));
SetPixel(hdc, 35, 140, RGB(0, 0, 90));
SetPixel(hdc, 35, 141, RGB(0, 0, 90));
SetPixel(hdc, 35, 142, RGB(0, 0, 90));
SetPixel(hdc, 35, 143, RGB(0, 0, 90));
SetPixel(hdc, 35, 144, RGB(0, 0, 90));
SetPixel(hdc, 35, 145, RGB(0, 0, 90));
SetPixel(hdc, 35, 146, RGB(0, 0, 90));
SetPixel(hdc, 35, 147, RGB(0, 0, 90));
SetPixel(hdc, 35, 148, RGB(0, 0, 90));
SetPixel(hdc, 35, 149, RGB(0, 0, 90));
SetPixel(hdc, 35, 150, RGB(0, 0, 90));
SetPixel(hdc, 35, 151, RGB(0, 0, 90));
SetPixel(hdc, 35, 152, RGB(0, 0, 90));
SetPixel(hdc, 35, 153, RGB(0, 0, 90));
SetPixel(hdc, 35, 154, RGB(0, 0, 90));
SetPixel(hdc, 35, 155, RGB(0, 0, 90));
SetPixel(hdc, 34, 155, RGB(0, 0, 90));
SetPixel(hdc, 33, 155, RGB(0, 0, 90));
SetPixel(hdc, 32, 155, RGB(0, 0, 90));
SetPixel(hdc, 31, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 30, 155, RGB(0, 0, 90));
SetPixel(hdc, 130, 154, RGB(0, 0, 90));
SetPixel(hdc, 130, 153, RGB(0, 0, 90));
SetPixel(hdc, 130, 152, RGB(0, 0, 90));
SetPixel(hdc, 130, 151, RGB(0, 0, 90));
SetPixel(hdc, 130, 150, RGB(0, 0, 90));
SetPixel(hdc, 130, 149, RGB(0, 0, 90));
SetPixel(hdc, 130, 148, RGB(0, 0, 90));
SetPixel(hdc, 130, 147, RGB(0, 0, 90));
SetPixel(hdc, 130, 146, RGB(0, 0, 90));
SetPixel(hdc, 130, 145, RGB(0, 0, 90));
SetPixel(hdc, 130, 144, RGB(0, 0, 90));
SetPixel(hdc, 130, 143, RGB(0, 0, 90));
SetPixel(hdc, 130, 142, RGB(0, 0, 90));
SetPixel(hdc, 130, 141, RGB(0, 0, 90));
SetPixel(hdc, 130, 140, RGB(0, 0, 90));
SetPixel(hdc, 130, 139, RGB(0, 0, 90));
SetPixel(hdc, 130, 138, RGB(0, 0, 90));
SetPixel(hdc, 130, 137, RGB(0, 0, 90));
SetPixel(hdc, 130, 136, RGB(0, 0, 90));
SetPixel(hdc, 130, 135, RGB(0, 0, 90));
SetPixel(hdc, 130, 134, RGB(0, 0, 90));
SetPixel(hdc, 130, 133, RGB(0, 0, 90));
SetPixel(hdc, 130, 132, RGB(0, 0, 90));
SetPixel(hdc, 130, 131, RGB(0, 0, 90));
SetPixel(hdc, 130, 130, RGB(0, 0, 90));
SetPixel(hdc, 129, 129, RGB(0, 0, 90));
SetPixel(hdc, 128, 129, RGB(0, 0, 90));
SetPixel(hdc, 127, 128, RGB(0, 0, 90));
SetPixel(hdc, 126, 127, RGB(0, 0, 90));
SetPixel(hdc, 125, 127, RGB(0, 0, 90));
SetPixel(hdc, 124, 126, RGB(0, 0, 90));
SetPixel(hdc, 123, 126, RGB(0, 0, 90));
SetPixel(hdc, 122, 125, RGB(0, 0, 90));
SetPixel(hdc, 122, 124, RGB(0, 0, 90));
SetPixel(hdc, 122, 123, RGB(0, 0, 90));
SetPixel(hdc, 122, 122, RGB(0, 0, 90));
SetPixel(hdc, 122, 121, RGB(0, 0, 90));
SetPixel(hdc, 122, 120, RGB(0, 0, 90));
SetPixel(hdc, 122, 119, RGB(0, 0, 90));
SetPixel(hdc, 122, 118, RGB(0, 0, 90));
SetPixel(hdc, 122, 117, RGB(0, 0, 90));
SetPixel(hdc, 122, 116, RGB(0, 0, 90));
SetPixel(hdc, 122, 115, RGB(0, 0, 90));
SetPixel(hdc, 122, 114, RGB(0, 0, 90));
SetPixel(hdc, 122, 113, RGB(0, 0, 90));
SetPixel(hdc, 123, 112, RGB(0, 0, 90));
SetPixel(hdc, 124, 113, RGB(0, 0, 90));
SetPixel(hdc, 125, 114, RGB(0, 0, 90));
SetPixel(hdc, 126, 115, RGB(0, 0, 90));
SetPixel(hdc, 127, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 117, RGB(0, 0, 90));
SetPixel(hdc, 128, 116, RGB(0, 0, 90));
SetPixel(hdc, 128, 115, RGB(0, 0, 90));
SetPixel(hdc, 128, 114, RGB(0, 0, 90));
SetPixel(hdc, 128, 113, RGB(0, 0, 90));
SetPixel(hdc, 128, 112, RGB(0, 0, 90));
SetPixel(hdc, 129, 111, RGB(0, 0, 90));
SetPixel(hdc, 130, 110, RGB(0, 0, 90));
SetPixel(hdc, 131, 109, RGB(0, 0, 90));
SetPixel(hdc, 132, 108, RGB(0, 0, 90));
SetPixel(hdc, 132, 109, RGB(0, 0, 90));
SetPixel(hdc, 133, 110, RGB(0, 0, 90));
SetPixel(hdc, 134, 111, RGB(0, 0, 90));
SetPixel(hdc, 134, 112, RGB(0, 0, 90));
SetPixel(hdc, 134, 113, RGB(0, 0, 90));
SetPixel(hdc, 134, 114, RGB(0, 0, 90));
SetPixel(hdc, 134, 115, RGB(0, 0, 90));
SetPixel(hdc, 134, 116, RGB(0, 0, 90));
SetPixel(hdc, 135, 115, RGB(0, 0, 90));
SetPixel(hdc, 135, 114, RGB(0, 0, 90));
SetPixel(hdc, 136, 113, RGB(0, 0, 90));
SetPixel(hdc, 137, 112, RGB(0, 0, 90));
SetPixel(hdc, 137, 111, RGB(0, 0, 90));
SetPixel(hdc, 138, 110, RGB(0, 0, 90));
SetPixel(hdc, 139, 110, RGB(0, 0, 90));
SetPixel(hdc, 140, 109, RGB(0, 0, 90));
SetPixel(hdc, 141, 110, RGB(0, 0, 90));
SetPixel(hdc, 141, 111, RGB(0, 0, 90));
SetPixel(hdc, 141, 112, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 113, RGB(0, 0, 90));
SetPixel(hdc, 142, 114, RGB(0, 0, 90));
SetPixel(hdc, 142, 115, RGB(0, 0, 90));
SetPixel(hdc, 142, 116, RGB(0, 0, 90));
SetPixel(hdc, 142, 117, RGB(0, 0, 90));
SetPixel(hdc, 142, 118, RGB(0, 0, 90));
SetPixel(hdc, 141, 119, RGB(0, 0, 90));
SetPixel(hdc, 140, 120, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 140, 121, RGB(0, 0, 90));
SetPixel(hdc, 139, 122, RGB(0, 0, 90));
SetPixel(hdc, 139, 123, RGB(0, 0, 90));
SetPixel(hdc, 139, 124, RGB(0, 0, 90));
SetPixel(hdc, 138, 125, RGB(0, 0, 90));
SetPixel(hdc, 137, 126, RGB(0, 0, 90));
SetPixel(hdc, 136, 127, RGB(0, 0, 90));
SetPixel(hdc, 135, 128, RGB(0, 0, 90));
SetPixel(hdc, 135, 129, RGB(0, 0, 90));
SetPixel(hdc, 135, 130, RGB(0, 0, 90));
SetPixel(hdc, 135, 131, RGB(0, 0, 90));
SetPixel(hdc, 135, 132, RGB(0, 0, 90));
SetPixel(hdc, 135, 133, RGB(0, 0, 90));
SetPixel(hdc, 135, 134, RGB(0, 0, 90));
SetPixel(hdc, 135, 135, RGB(0, 0, 90));
SetPixel(hdc, 135, 136, RGB(0, 0, 90));
SetPixel(hdc, 135, 137, RGB(0, 0, 90));
SetPixel(hdc, 135, 138, RGB(0, 0, 90));
SetPixel(hdc, 135, 139, RGB(0, 0, 90));
SetPixel(hdc, 135, 140, RGB(0, 0, 90));
SetPixel(hdc, 135, 141, RGB(0, 0, 90));
SetPixel(hdc, 135, 142, RGB(0, 0, 90));
SetPixel(hdc, 135, 143, RGB(0, 0, 90));
SetPixel(hdc, 135, 144, RGB(0, 0, 90));
SetPixel(hdc, 135, 145, RGB(0, 0, 90));
SetPixel(hdc, 135, 146, RGB(0, 0, 90));
SetPixel(hdc, 135, 147, RGB(0, 0, 90));
SetPixel(hdc, 135, 148, RGB(0, 0, 90));
SetPixel(hdc, 135, 149, RGB(0, 0, 90));
SetPixel(hdc, 135, 150, RGB(0, 0, 90));
SetPixel(hdc, 135, 151, RGB(0, 0, 90));
SetPixel(hdc, 135, 152, RGB(0, 0, 90));
SetPixel(hdc, 135, 153, RGB(0, 0, 90));
SetPixel(hdc, 135, 154, RGB(0, 0, 90));
SetPixel(hdc, 135, 155, RGB(0, 0, 90));
SetPixel(hdc, 134, 155, RGB(0, 0, 90));
SetPixel(hdc, 133, 155, RGB(0, 0, 90));
SetPixel(hdc, 132, 155, RGB(0, 0, 90));
SetPixel(hdc, 131, 155, RGB(0, 0, 90));
SetPixel(hdc, 130, 155, RGB(0, 0, 90));
SetPixel(hdc, jmpjmp++, 165, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 166, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 167, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 168, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 169, RGB(80, 0, 125));
SetPixel(hdc, jmpjmp++, 170, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 171, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 172, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 173, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 174, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 175, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 176, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 177, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 178, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 179, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 180, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 181, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 182, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 183, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 184, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 185, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 186, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 187, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 188, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 189, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 190, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 191, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 192, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 193, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 194, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 195, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 196, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 197, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 198, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 199, RGB(80, 100, 125));
SetPixel(hdc, jmpjmp++, 200, RGB(80, 100, 125));
EndPaint(hwnd, &ps);
break;
}
}
switch (message)
{
case WM_DESTROY:
PostQuitMessage (0);
break;
case WM_PAINT:
hdc = BeginPaint(hwnd, &ps);
SetPixel(hdc, 50, 50, RGB(0, 50, 0));
TextOut(hdc, 20, 40, "Press the right and left arrow keys to move. Also, press space to sprint and press shift to observe any aspects of the game.", 124);
EndPaint(hwnd, &ps);
break;
default:
return DefWindowProc (hwnd, message, wParam, lParam);
}
return 0;
}
|
|
|
|
|
Never mind the code you'll never get a job with hair like that!
|
|
|
|
|
Garbage Repost!!
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
|
|
|
|
|
Here is the source code:
#include <windows.h><br />
HDC hdc;<br />
HWND hwnd;<br />
PAINTSTRUCT ps;<br />
bool room1 = 0;<br />
short constupdate()<br />
{<br />
while(1)<br />
{<br />
InvalidateRect(hwnd, NULL, TRUE);<br />
}<br />
}<br />
int floor;<br />
static int x, y;<br />
int jmpjmp = x+5;<br />
int atpos = jmpjmp;<br />
bool right = 1;<br />
bool left = 0;<br />
void first();<br />
bool keyinroom = 1;<br />
bool havekey = 0;<br />
bool inmenu = 0;<br />
<br />
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);<br />
<br />
<br />
char szClassName[ ] = "CodeBlocksWindowsApp";<br />
<br />
int WINAPI WinMain (HINSTANCE hThisInstance,<br />
HINSTANCE hPrevInstance,<br />
LPSTR lpszArgument,<br />
int nCmdShow)<br />
{<br />
HWND hwnd; <br />
MSG messages; <br />
WNDCLASSEX wincl; <br />
<br />
<br />
wincl.hInstance = hThisInstance;<br />
wincl.lpszClassName = szClassName;<br />
wincl.lpfnWndProc = WindowProcedure; <br />
wincl.style = CS_DBLCLKS; <br />
wincl.cbSize = sizeof (WNDCLASSEX);<br />
<br />
<br />
wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);<br />
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);<br />
wincl.lpszMenuName = NULL; <br />
wincl.cbClsExtra = 0; <br />
wincl.cbWndExtra = 0; <br />
<br />
wincl.hbrBackground = (HBRUSH) COLOR_BACKGROUND+7;<br />
<br />
<br />
if (!RegisterClassEx (&wincl))<br />
return 0;<br />
<br />
<br />
hwnd = CreateWindowEx (<br />
0, <br />
szClassName, <br />
"Window's GDI Pixel Game", <br />
WS_OVERLAPPEDWINDOW, <br />
CW_USEDEFAULT, <br />
CW_USEDEFAULT, <br />
544, <br />
375, <br />
HWND_DESKTOP, <br />
NULL, <br />
hThisInstance, <br />
NULL <br />
);<br />
<br />
<br />
ShowWindow (hwnd, nCmdShow);<br />
<br />
<br />
while (GetMessage (&messages, NULL, 0, 0))<br />
{<br />
<br />
TranslateMessage(&messages);<br />
<br />
DispatchMessage(&messages);<br />
}<br />
<br />
<br />
return messages.wParam;<br />
}<br />
<br />
<br />
<br />
<br />
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)<br />
{<br />
switch(wParam)<br />
{<br />
case VK_SHIFT:<br />
if(havekey == 1 && jmpjmp > 1000)<br />
{<br />
MessageBox(NULL, "Door is unlocked! Proceeding...", "Pixel Game", MB_OK);<br />
}<br />
if(jmpjmp > 1000)<br />
{<br />
MessageBox(NULL, "You cannot go any further to the right. Perhaps there is some OTHER way to continue...", "Pixel Game", MB_OK);<br />
break;<br />
}<br />
else if(jmpjmp < 0)<br />
{<br />
MessageBox(NULL, "You cannot go any further to the left. Perhaps there is some OTHER way to continue...", "Pixel Game", MB_OK);<br />
break;<br />
}<br />
else if(havekey == 0 && jmpjmp > 475)<br />
{<br />
if(jmpjmp < 525)<br />
{<br />
MessageBox(NULL, "You found a key!", "Pixel Game", MB_OK);<br />
havekey = 1;<br />
break;<br />
}<br />
}<br />
else{MessageBox(NULL, "Nothing to observe at this current point.", "Pixel Game", MB_OK); break;}<br />
case VK_SPACE:<br />
if(keyinroom == 1)<br />
if(room1 == 1)<br />
if(right == 1 && jmpjmp < 1000)<br />
{<br />
x = 50;<br />
InvalidateRect(hwnd, NULL, TRUE);<br />
hdc = BeginPaint(hwnd, &ps);<br />
SetPixel(hdc, 485, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 177, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 176, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 174, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 173, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 172, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 170, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 169, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 167, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 166, RGB(0, 0, 0));<br />
SetPixel(hdc, 492, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 166, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 167, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 497, 169, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 170, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 172, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 173, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 174, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 176, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 177, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 492, 185, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 186, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 485, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 484, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 483, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 186, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 185, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 483, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 484, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 184, RGB(0, 0, 0));<br />
POINT pt2[2];<br />
pt2[0].x = 0;<br />
pt2[0].y = 200;<br />
pt2[1].x = 1080;<br />
pt2[1].y = 200;<br />
Polyline(hdc, pt2, 2);<br />
SetPixel(hdc, atpos, 152, RGB(0,50,20));<br />
SetPixel(hdc, atpos+1, 151, RGB(100,50,200));<br />
SetPixel(hdc, atpos+2, 150, RGB(255,0,0));<br />
SetPixel(hdc, atpos+3, 149, RGB(1,50,200));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, jmpjmp++, 165, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 166, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 167, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 168, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 169, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 170, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 171, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 172, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 173, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 174, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 175, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 176, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 177, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 178, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 179, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 180, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 181, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 182, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 183, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 184, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 185, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 186, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 187, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 188, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 189, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 190, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 191, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 192, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 193, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 194, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 195, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 196, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 197, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 198, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 199, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 200, RGB(80, 100, 125));<br />
EndPaint(hwnd, &ps);<br />
break;<br />
}<br />
if(keyinroom == 1)<br />
if(left == 1 && jmpjmp > -10)<br />
{<br />
x = 50;<br />
InvalidateRect(hwnd, NULL, TRUE);<br />
hdc = BeginPaint(hwnd, &ps);<br />
SetPixel(hdc, 485, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 177, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 176, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 174, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 173, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 172, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 170, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 169, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 167, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 166, RGB(0, 0, 0));<br />
SetPixel(hdc, 492, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 166, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 167, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 497, 169, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 170, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 172, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 173, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 174, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 176, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 177, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 492, 185, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 186, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 485, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 484, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 483, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 186, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 185, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 483, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 484, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 184, RGB(0, 0, 0));<br />
POINT pt3[2];<br />
pt3[0].x = 0;<br />
pt3[0].y = 200;<br />
pt3[1].x = 1080;<br />
pt3[1].y = 200;<br />
Polyline(hdc, pt3, 2);<br />
SetPixel(hdc, atpos, 152, RGB(0,50,20));<br />
SetPixel(hdc, atpos+1, 151, RGB(100,50,200));<br />
SetPixel(hdc, atpos+2, 150, RGB(255,0,0));<br />
SetPixel(hdc, atpos+3, 149, RGB(1,50,200));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, jmpjmp--, 165, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 166, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 167, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 168, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 169, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 170, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 171, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 172, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 173, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 174, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 175, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 176, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 177, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 178, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 179, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 180, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 181, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 182, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 183, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 184, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 185, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 186, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 187, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 188, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 189, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 190, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 191, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 192, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 193, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 194, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 195, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 196, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 197, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 198, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 199, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 200, RGB(80, 100, 125));<br />
EndPaint(hwnd, &ps);<br />
break;<br />
}<br />
case VK_RIGHT:<br />
right = 1;<br />
left = 0;<br />
if(keyinroom == 1)<br />
if(jmpjmp < 1010)<br />
{<br />
x = 5;<br />
InvalidateRect(hwnd, NULL, TRUE);<br />
hdc = BeginPaint(hwnd, &ps);<br />
SetPixel(hdc, 485, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 177, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 176, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 174, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 173, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 172, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 170, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 169, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 167, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 166, RGB(0, 0, 0));<br />
SetPixel(hdc, 492, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 166, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 167, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 497, 169, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 170, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 172, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 173, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 174, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 176, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 177, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 492, 185, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 186, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 485, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 484, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 483, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 186, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 185, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 483, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 484, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 130, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, jmpjmp++, 165, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 166, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 167, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 168, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 169, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 170, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 171, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 172, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 173, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 174, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 175, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 176, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 177, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 178, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 179, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 180, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 181, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 182, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 183, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 184, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 185, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 186, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 187, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 188, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 189, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 190, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 191, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 192, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 193, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 194, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 195, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 196, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 197, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 198, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 199, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 200, RGB(80, 100, 125));<br />
POINT pt[2];<br />
pt[0].x = 0;<br />
pt[0].y = 200;<br />
pt[1].x = 1080;<br />
pt[1].y = 200;<br />
Polyline(hdc, pt, 2);<br />
EndPaint(hwnd, &ps);<br />
break;<br />
}<br />
case VK_LEFT:<br />
left = 1;<br />
right = 0;<br />
if(keyinroom == 1)<br />
if(jmpjmp > -10)<br />
{<br />
x = 50;<br />
InvalidateRect(hwnd, NULL, TRUE);<br />
hdc = BeginPaint(hwnd, &ps);<br />
SetPixel(hdc, 485, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 177, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 176, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 174, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 173, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 172, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 170, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 169, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 167, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 166, RGB(0, 0, 0));<br />
SetPixel(hdc, 492, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 165, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 166, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 167, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 168, RGB(0, 0, 0));<br />
SetPixel(hdc, 497, 169, RGB(0, 0, 0));<br />
SetPixel(hdc, 496, 170, RGB(0, 0, 0));<br />
SetPixel(hdc, 495, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 494, 171, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 172, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 173, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 174, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 175, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 176, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 177, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 493, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 492, 185, RGB(0, 0, 0));<br />
SetPixel(hdc, 491, 186, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 485, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 484, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 483, 187, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 186, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 185, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 481, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 482, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 483, 178, RGB(0, 0, 0));<br />
SetPixel(hdc, 484, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 490, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 489, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 488, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 487, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 179, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 180, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 181, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 182, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 183, RGB(0, 0, 0));<br />
SetPixel(hdc, 486, 184, RGB(0, 0, 0));<br />
SetPixel(hdc, 130, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, jmpjmp--, 165, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 166, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 167, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 168, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 169, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp--, 170, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 171, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 172, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 173, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 174, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 175, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 176, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 177, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 178, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 179, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 180, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 181, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 182, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 183, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 184, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 185, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 186, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 187, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 188, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 189, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 190, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 191, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 192, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 193, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 194, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 195, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 196, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 197, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 198, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 199, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp--, 200, RGB(80, 100, 125));<br />
POINT pt1[2];<br />
pt1[0].x = 0;<br />
pt1[0].y = 200;<br />
pt1[1].x = 1080;<br />
pt1[1].y = 200;<br />
Polyline(hdc, pt1, 2);<br />
EndPaint(hwnd, &ps);<br />
break;<br />
POINT pt2[2];<br />
pt2[0].x = 0;<br />
pt2[0].y = 200;<br />
pt2[1].x = 1080;<br />
pt2[1].y = 200;<br />
Polyline(hdc, pt2, 2);<br />
SetPixel(hdc, atpos, 152, RGB(0,50,20));<br />
SetPixel(hdc, atpos+1, 151, RGB(100,50,200));<br />
SetPixel(hdc, atpos+2, 150, RGB(255,0,0));<br />
SetPixel(hdc, atpos+3, 149, RGB(1,50,200));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 22, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 23, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 24, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 25, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 26, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 27, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 28, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 29, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 42, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 41, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 40, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 39, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 38, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 37, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 36, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 35, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 34, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 33, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 32, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 31, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 30, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 122, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 123, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 124, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 125, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 126, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 127, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 128, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 129, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 108, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 109, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 110, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 111, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 112, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 113, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 114, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 115, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 116, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 117, RGB(0, 0, 90));<br />
SetPixel(hdc, 142, 118, RGB(0, 0, 90));<br />
SetPixel(hdc, 141, 119, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 120, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 140, 121, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 122, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 123, RGB(0, 0, 90));<br />
SetPixel(hdc, 139, 124, RGB(0, 0, 90));<br />
SetPixel(hdc, 138, 125, RGB(0, 0, 90));<br />
SetPixel(hdc, 137, 126, RGB(0, 0, 90));<br />
SetPixel(hdc, 136, 127, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 128, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 129, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 130, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 131, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 132, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 133, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 134, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 135, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 136, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 137, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 138, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 139, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 140, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 141, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 142, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 143, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 144, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 145, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 146, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 147, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 148, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 149, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 150, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 151, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 152, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 153, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 154, RGB(0, 0, 90));<br />
SetPixel(hdc, 135, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 134, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 133, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 132, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 131, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, 130, 155, RGB(0, 0, 90));<br />
SetPixel(hdc, jmpjmp++, 165, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 166, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 167, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 168, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 169, RGB(80, 0, 125));<br />
SetPixel(hdc, jmpjmp++, 170, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 171, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 172, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 173, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 174, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 175, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 176, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 177, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 178, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 179, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 180, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 181, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 182, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 183, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 184, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 185, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 186, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 187, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 188, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 189, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 190, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 191, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 192, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 193, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 194, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 195, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 196, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 197, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 198, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 199, RGB(80, 100, 125));<br />
SetPixel(hdc, jmpjmp++, 200, RGB(80, 100, 125));<br />
EndPaint(hwnd, &ps);<br />
break;<br />
}<br />
}<br />
switch (message) <br />
{<br />
case WM_DESTROY:<br />
PostQuitMessage (0); <br />
break;<br />
case WM_PAINT:<br />
hdc = BeginPaint(hwnd, &ps);<br />
SetPixel(hdc, 50, 50, RGB(0, 50, 0));<br />
TextOut(hdc, 20, 40, "Press the right and left arrow keys to move. Also, press space to sprint and press shift to observe any aspects of the game.", 124);<br />
EndPaint(hwnd, &ps);<br />
break;<br />
default:<br />
return DefWindowProc (hwnd, message, wParam, lParam);<br />
}<br />
<br />
return 0;<br />
}<br />
<br />
<br />
<br />
|
|
|
|
|
|
|
What's funny about my code?
|
|
|
|
|
Nothing, it's quite sad really.
The best things in life are not things.
|
|
|
|
|
You've missed the joke Andy.
The joke was that it was believed that the code should have been posted in the "Hall Of Shame" forum, rather than the "Game Development" forum.
Although if this is a serious question, let me know and I'll give you a serious answer!!
|
|
|
|
|
So you're the culprit
A hidden needle is way more effective than an unsheathed sword.
|
|
|
|
|
Anyone knows game development with Unity?
|
|
|
|
|
I've played with it a little bit. I started back when it was this Open Source mammoth C++ project and far too complicated to understand properly.
|
|
|
|
|
I've played with the recent release. It has some good things to offer but it is quite expensive. If you plan to make money then you should invest. Other than that, you can download the free indie version and play around with it. If you're good enough, you can get a job too.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll
|
|
|
|
|
I think it's a cool tool for Web3D . lol~~
|
|
|
|
|
This is my first post on Game Development board :P
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.cacttus.com
|
|
|
|
|
Thats great!!
Congrats.
|
|
|
|
|
No, there is an invisible post that you can see only if you possess some nitro packs...
|
|
|
|
|