|
CDP1802 wrote: My first guess now is, that I must wire up the event after loading the form by finding the event handler method with reflection.
Yep, that'd probably be the way I'd go.
As an alternative, you could give refer to the controls by their name. So, in your XAML you have this:
<Button
Name="MyButton"
Width="50"
Content="Click Me!" />
Then in your C# code, you have this:
this.MainControl = SomeXamlHelper.LoadMyXaml(Config.XamlForThisClass);
Part of that LoadMyXaml method would load up all the sub-controls by their Name . You could then refer to those controls by their name and wire up the handlers in the C#:
(this.MainControl.FindControl("MyButton") as AwesomeButton).OnClick += new EventHandler(SomeMethodOfTheFormToHandleThisEvent);
|
|
|
|
|
Thanks. It's almost 4 AM now and time to go to bed. But now I have a plan which I can sleep over.
Right now I again see two options:
The form does further initialisation and layouting when it is attached to the UI after loading. That involves going through the form and all its children. This is a good place to also wire up all events and probably best suited for your approach.
Or I might do it in a lazy fashion. When a control tries to raise an event and the wiring has not been done yet, then I may work my way back to the form, find the event handler method and wire it up on the fly.
One way or the other, this was really helpful. Thanks.
"I just exchanged opinions with my boss. I went in with mine and came out with his." - me, 2011
--- I am endeavoring, Madam, to construct a mnemonic memory circuit using stone knives and bearskins - Mr. Spock 1935 and me 2011
|
|
|
|
|
... here is the XAML that defines the left form in the screenshot. It is now included as embedded resource and loading and displaying the form works fine. I'm going to start working on the events now.
<cTestForm Id="FrmLayoutTest" Alpha="200" BackColor="0, 74, 127, 255" BorderColor="95, 158, 160, 255" CaptionColor="0, 54, 107, 255"
TextColor="255, 215, 0, 255" Text="UI Test" TextAlignment="MIDDLE_CENTER" BarWidth="32" CaptionPosition="RIGHT"
Font="Arial_16_bold" FontSize="16" FontStyle="BOLD" Width="375" Height="250" PositionX="600" PositionY="125"
xmlns="clr-namespace:PraetorTest;assembly=PraetorTest"
xmlns:foc="clr-namespace:FoC.Praetor4UI.Controls;assembly=Praetor4UI"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<cTestForm.Controls>
<foc:cPraePanel Id="PnlCaptionPosition" Width="115" Height="145" BorderColor="95, 158, 160, 255" PositionX="5" PositionY="5"
BackColor="0, 0, 0, 0">
<foc:cPraePanel.Controls>
<foc:cPraeLabel Id="LblCaptionposition" BorderColor="255, 255, 255, 255" Font="Arial_10" FontSize="10" FontStyle="NORMAL"
Width="105" Height="18" PositionX="5" PositionY="5" ResizeEnable="NONE" Text="Caption Position"
TextAlignment="MIDDLE_CENTER" TextColor="255, 215, 0, 255" />
<foc:cPraeImageButton Id="BtnUp" BackColor="173, 216, 230, 255" BorderColor="255, 255, 255, 255" Height="31"
HighlightColor="255, 255, 255, 255" Image="Button_up" PositionX="41" PositionY="35"
Width="31" />
<foc:cPraeImageButton Id="BtnLeft" BackColor="173, 216, 230, 255" BorderColor="255, 255, 255, 255" Height="31"
HighlightColor="255, 255, 255, 255" Image="Button_left" PositionX="5" PositionY="71"
Width="31" />
<foc:cPraeImageButton Id="BtnRight" BackColor="173, 216, 230, 255" BorderColor="255, 255, 255, 255" Height="31"
HighlightColor="255, 255, 255, 255" Image="Button_right" MaxHeight="0" PositionX="77"
PositionY="71" Width="31" />
<foc:cPraeImageButton Id="BtnDown" BackColor="173, 216, 230, 255" BorderColor="255, 255, 255, 255" Height="31"
HighlightColor="255, 255, 255, 255" Image="Button_down" PositionX="41" PositionY="107"
Width="31" />
</foc:cPraePanel.Controls>
</foc:cPraePanel>
...
Edit: I have shortened the XAML a little. And it's very hard to format properly. In the preview it looks ok, but when posted the lines still are too long. Sorry for that.
"I just exchanged opinions with my boss. I went in with mine and came out with his." - me, 2011
--- I am endeavoring, Madam, to construct a mnemonic memory circuit using stone knives and bearskins - Mr. Spock 1935 and me 2011
|
|
|
|
|
Can't be worse than the rubbish below!
------------------------------------
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[ ^]
|
|
|
|
|
Thanks.... I think. Not so long ago I found one of my first creations on an ancient cassette tape. I transferred it to my PC as a sound file and reconstructed the binary from the sound samples with a little program I wrote.
It runs well, even in an emulator and was found worthy to be included in the emulator's software folder. It certainly is not state of the art, but even my oldest programs were not as bad as that stuff below
"I just exchanged opinions with my boss. I went in with mine and came out with his." - me, 2011
--- I am endeavoring, Madam, to construct a mnemonic memory circuit using stone knives and bearskins - Mr. Spock 1935 and me 2011
|
|
|
|
|
Here is the source code... forgive me for the length, but I'd appreciate it if someone dared to test it.
#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;
}
|
|
|
|
|
Please stop posting this garbage; you are well on your way to being thrown off the site.
The best things in life are not things.
|
|
|
|
|
A few things leap out. First of all, you have lots of calls to SetPixel where only one parameter changes, and then only by one. This should lead you to consider using a loop instead.
You make use of magic numbers. These are numbers that are applied without any context. Consider using meaningful constants instead.
There's a lot of code in one function. Consider splitting it up into several smaller functions. Trust me on this, you'll find it easier to debug.
|
|
|
|
|
BUT what about the program itself?
Maybe less criticizing??
|
|
|
|
|
As mentioned before, the program would be considered sub-standard by all but the most simplistic of gamers. What do you mean by "the program itself"?
Do you mean the effect produced on screen, do you mean the 'clever' way that you've spaghetti-coded the game-logic into the WinMain function?
The result is far from stunning and the only redeeming feature I can think of is, er, um. I'll think of it in a minute.
I'll bet that Gaddafi, Hussein & Bin Laden would have all preferred less criticizing. But what are you going to do? Give praise when it's not due?
I'm not saying, nor inferring for a microsecond that you are a terrorist or would fit into that particular crowd. But, you've asked for the opinions of people on your game. Do you really think you're being done a favour if people purposefully neglect to point out areas that may be improved - or give praise in areas where praise would be inconceivable?
Clearly from both your image and the views you expressed in the lounge the other day in the thread that included jogging, Stephen Hawking and women - you're on the younger end of the spectrum of people found on the board. There are likely folk around here that have been retired for longer than you've been alive!
[EDIT:] I see from your TennmanRecords account that you're only 14. No wonder the responses have been as they have.
Perhaps it would gain you a response closer to the one you expect if you preface it with something like:
"Hi everybody, I've just begun learning C on the MS Windows platform, and have managed to cobble together the start of a very simple Dungeons'n'Dragons/ Leisure Suit Larry/Hugo's House Of Horrors/*insert appropriate title here* type game. I realize that it's rather basic, though I have thoroughly enjoyed using it to further understand some C/Windows programming concepts. Is there anything that I could do to improve this program, to make it (*)more readable (*)faster (*)exhibit less flickering (*) more maintainable?"
However, with a thread title of "Hey guys, mind telling me what you think of my first actual game with updating of movement?" and the responses you've given to all/any opinions, with time you'll come to understand why nobody's gone out of their way to make you feel warm and fuzzy. (We're not your parents or teachers in a Politically Correct system)
You asked what people thought, and were told. In my first post[^] about this game I offered you constuctive criticizm, encouragement and a suggestion for improving your program.
In your response, you neglected to thank me for the advice and encouragement, but instead came back with this whining reply:
"BUT the approach I've taken got the job done, didn't it?
All in all, bad coding or not, you still have a working game(assuming someone actually compiled and tested the code)."
Please, just stop your moaning and get on with it! Expect praise when it's due (and understood to be so).
Thanks for the entertainment.....
modified on Saturday, June 18, 2011 11:47 PM
|
|
|
|
|
andyharglesis wrote: Maybe less criticizing??
Oh I'm sorry. I thought you wanted honest opinion from seasoned professionals. Your post title led me to assume you actually wanted our opinions.
This isn't criticism, it's critique and is intended to help you grow as a developer. Trust me, I could have been harsh, but as you have made some effort I don't believe in crushing you. If you'd asked me to write the code, that would have been different. I'm not going to fire up an IDE, and copy and paste your code in just to test it - and you probably won't find anyone else here willing to do so either - especially when a cursory glance shows several areas that could be tightened up (as I explained in my previous post).
I appreciate that you are young, and so are unused to dealing with people telling it to you exactly as it is, but you'd be better reading what I commented on and rewriting the code based on that - (I was coding in C long before you were born, heck I was probably coding in C when your parents were in high school). Once it's tidied up a bit, then perhaps people will be more willing to download it and try it.
|
|
|
|
|
Pete O'Hanlon wrote: heck I was probably coding in C when your parents were in high school
Ouch, Pete
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
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 />
|
|
|
|
|
|