Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
yestab123 authored Mar 21, 2017
1 parent 08cc396 commit 0380c18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "screen.h"
#include "ranking_list.h"
#include "queue.h"
//Version 1.0.21
//Version 2.1

extern Queue Q;
extern float dropTIME;
Expand All @@ -29,7 +29,7 @@ int testnum=0;
int setCOLOR=0;//blocks with color;1=red,2=blue,3=green,4=yellow,0=;
int setCOLORfore=0;
int downCOLOR=0;
HANDLE setHandleaa;//¾ä±úÉùÃ÷
HANDLE setHandleaa;//¾ä±úÉùÃ÷
clock_t clockNow,clockLast;//remeber two time.

int screen_a[24][12]={0};
Expand Down Expand Up @@ -443,7 +443,7 @@ int KEY_CATCH()
if (clockNow - clockLast > dropTIME * CLOCKS_PER_SEC)//if twice time max 0.45s ,down;
{
clockLast = clockNow;
r_move(); // ·½¿éÍùÏÂÒÆ
r_move(); // ·½¿éÍùÏÂÒÆ
}
}
else if(kbhit())
Expand All @@ -470,7 +470,7 @@ int main()
int i,j,k,m;
InitQueue(&Q);//
setHandleaa=GetStdHandle(STD_OUTPUT_HANDLE);//Get stdin handle
SetConsoleTitleA("Program Project Tetris .Ver.1.0.21");//set title
SetConsoleTitleA("Program Project Tetris .Ver-2.1");//set title
system("cls");
GAMECHOICE();
return 0;
Expand Down

0 comments on commit 0380c18

Please sign in to comment.