reindentert til 4 mellomrom
This commit is contained in:
@ -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>
|
||||||
|
13
src/server.c
13
src/server.c
@ -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
|
||||||
|
Reference in New Issue
Block a user