bool keys[4] = { false, false, false, false };\r
bool keys_old[4] = { false, false, false, false };\r
\r
int jumping = 0;\r
\r
clock_t jump_clock = clock();\r
bool keys[4] = { false, false, false, false };\r
bool keys_old[4] = { false, false, false, false };\r
\r
int jumping = 0;\r
\r
clock_t jump_clock = clock();\r
\r
print_text(4, 2, "Move with left/right.", 30);\r
\r
\r
print_text(4, 2, "Move with left/right.", 30);\r
\r
update_play(false);\r
if (x == 5) {\r
print_text(4, 4, "Jump with up.", 30);\r
update_play(false);\r
if (x == 5) {\r
print_text(4, 4, "Jump with up.", 30);\r
\r
SetWindowPos(hwnd, HWND_TOPMOST, 100, 100, 750, 750, SWP_SHOWWINDOW);\r
}\r
\r
SetWindowPos(hwnd, HWND_TOPMOST, 100, 100, 750, 750, SWP_SHOWWINDOW);\r
}\r