mirror of
https://github.com/datajerk/c2d.git
synced 2024-06-02 10:41:31 +00:00
source cleanup, gnuindent
This commit is contained in:
parent
f3b1afb67b
commit
373c4ea6c6
BIN
bin/c2d.exe
BIN
bin/c2d.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -6,11 +6,10 @@ int main()
|
|||
char screen[24][40];
|
||||
|
||||
// build table
|
||||
for(j=0,i=0;i<8;i++) {
|
||||
for (j = 0, i = 0; i < 8; i++, j++) {
|
||||
linemap[0 + 3 * j] = j;
|
||||
linemap[1 + 3 * j] = j + 8;
|
||||
linemap[2 + 3 * j] = j + 16;
|
||||
j++;
|
||||
}
|
||||
|
||||
// clear screen
|
||||
|
|
|
@ -18,11 +18,10 @@ int main()
|
|||
unsigned char screen[24][40];
|
||||
|
||||
// build table
|
||||
for(j=0,i=0;i<8;i++) {
|
||||
for (j = 0, i = 0; i < 8; i++, j++) {
|
||||
linemap[0 + j] = 0 + 3 * j;
|
||||
linemap[8 + j] = 1 + 3 * j;
|
||||
linemap[16 + j] = 2 + 3 * j;
|
||||
j++;
|
||||
}
|
||||
|
||||
// clear screen
|
||||
|
|
Loading…
Reference in New Issue
Block a user