parent
cbd20847f6
commit
89954b0344
|
@ -1,4 +1,4 @@
|
|||
frameserver:
|
||||
frameserver: Buffer.cpp Buffers.cpp Server.cpp frameserver.cpp Buffer.h Buffers.h defines.h Server.h
|
||||
g++ -O2 -ggdb Buffer.cpp Buffers.cpp Server.cpp frameserver.cpp `pkg-config --libs --cflags ncurses` `pkg-config --libs --cflags glibmm-2.4` `pkg-config --libs --cflags gthread-2.0` -lboost_system -o frameserver
|
||||
test:
|
||||
g++ -O2 -pipe -fpermissive -fomit-frame-pointer Buffer.cpp Buffers.cpp test.cpp `pkg-config --libs --cflags glibmm-2.4` `pkg-config --libs --cflags gthread-2.0` -o test
|
||||
|
|
|
@ -8,17 +8,17 @@
|
|||
#define NUMBUFS 1000
|
||||
|
||||
#define REMOTE_IP "127.0.0.1"
|
||||
#define REMOTE_PORT 1234
|
||||
#define REMOTE_PORT 4422
|
||||
|
||||
|
||||
#define HASH "abcdefghij"
|
||||
#define HASH "s2j\n8<18< "
|
||||
// one byte number + 10 character hash plus newline
|
||||
#define HEADEROFFSET 12
|
||||
|
||||
// 12 windows per floor, 7 floors, Value:Alpha
|
||||
#define WIDTH 12
|
||||
#define HEIGHT 7
|
||||
#define CHANNELS 2
|
||||
#define CHANNELS 4
|
||||
|
||||
#define WINDOWOFFSET (WIDTH*CHANNELS+1)*HEIGHT
|
||||
|
||||
|
|
Loading…
Reference in New Issue