Archived
6
0

reindentert til 4 mellomrom

This commit is contained in:
2008-10-08 17:25:20 +00:00
parent 9ab50fbd9b
commit f4fa43c695
2 changed files with 162 additions and 159 deletions

@ -1,3 +1,5 @@
/* -*- c-basic-offset: 4 -*- */
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #include <netinet/in.h>

@ -1,3 +1,4 @@
/* -*- c-basic-offset: 4 -*- */
#define NONE 0 #define NONE 0
#define PHARAO 1 #define PHARAO 1
@ -18,9 +19,9 @@ struct square {
/* /*
struct pieceinfo { struct pieceinfo {
char ascii[]; char ascii[];
} pieceinfo[] = { } pieceinfo[] = {
{ //NONE { //NONE
.ascii = { ' ' } } .ascii = { ' ' } }
{ //PHARAO { //PHARAO
@ -33,16 +34,16 @@ struct pieceinfo {
.ascii = { 'o' } } .ascii = { 'o' } }
{ //OBELISK2 { //OBELISK2
.ascii = { '@' } } .ascii = { '@' } }
}; };
*/ */
/* /*
void void
print_board() { print_board() {
for (int y=0; y<8; y++) for (int y=0; y<8; y++)
for (int x=0; x<10; x++) for (int x=0; x<10; x++)
; ;
} }
*/ */
int int