我在论坛这儿,下了一个俄罗斯方块的源程序
我想学习一下,可英文注释我读不懂。
现在把这些英文发上来,请高手按我给的序号翻译。
1 /* Up key*/
2 /* Left key*/
3 /* Right key*/
4 /* Down key*/
5 /* Space key*/
6/* ctrl+s complexKey*/
7 /* ctrl+e complexKey*/
8 /* ctrl+p complexKey*/
9/* ctrl+g complexKey*/
10 /* ctrl+h complexKey*/
11 /* ctrl+r complexKey*/
12 /* ctrl+l complexKey*/
13/*Give out helping information*/
14 /*Set the level of the grame*/
15 /*Output the curr level*/
16 /*Output the curr score*/
17 /*Get the values of score*/
18 /*Set the main intface*/
19/*Remind you of the next diamond*/
20 /*Draw the diamonds leaved */
21/*Get the information of the first diamonds*/
22 /*Clear the last graph*/
23 /*Draw the unit diamonds*/
24 /*Draw indexHead in the function of setinLevel*/
25 /*Grame start */
26 /*Declare the variable of recording Score*/
27 /*Keep the information of all the diamonds*/
28 /*Refresh the content of the array*/
29 /*Judge diamons whether can go on or not*/
30 /*Turn the values of x/y into array suffix*/
31/*For safety ,divide the whole program into four files.*/
32/*Some functions are packed into the following files*/
33/*Declare variables*/
34/*Initialize graph system*/
35/*Get the information of initializing graph system*/
36/*Judge graph system having be well initialized*/
37/*Make asking interface*/
38/*Initialize the array for keeping message of diamonds*/
39/*Initialize score*/
40/*Transfer function*/
41/*Pause program(press any key to continue)*/
42/*Reback to text mode*/
43/*Close graph system*/
44/*Initiate music seting */
45 /*Draw the main interface*/
46 /*Set initial value of the score */
47 /*Set initial value of the level */
48/*Get information for drawing the curr diamond*/
49/*Draw the curr diamond*/
50/*Draw the next diamond*/
51/*Slow down the course of program*/
52/*Grame over*/
53/*Pause(press any key to continue)*/
54/*Ask you whether play againg*/
55/*Get pressKey state*/
56/*Give the information of the key pressed and clear key buffer*/
57/*The key pressed is left key*/
58/*The key pressed is right key*/
59 /*The key pressed is up key*/
60/*The key pressed is down key*/
61/*The key pressed is space key*/
62/*The key pressed is ctrl+s complexKey*/
63/*The key pressed is ctrl+r complexKey*/
64/*The key pressed is ctrl+h complexKey*/
65 /*The key pressed is ctrl+e complexKey*/
66/*The key pressed is ctrl+p complexKey*/
67/*The key pressed is ctrl+l complexKey*/
68/*Have not pressed any key*/
[求助] 一个俄罗斯方块程序的注释(英语好的来)