diff options
Diffstat (limited to 'servergreps')
-rw-r--r-- | servergreps/.gitignore | 1 | ||||
-rwxr-xr-x | servergreps/hercules/update.sh | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/servergreps/.gitignore b/servergreps/.gitignore new file mode 100644 index 0000000..f2887a5 --- /dev/null +++ b/servergreps/.gitignore @@ -0,0 +1 @@ +/links/ diff --git a/servergreps/hercules/update.sh b/servergreps/hercules/update.sh index 7b02954..dc10cc8 100755 --- a/servergreps/hercules/update.sh +++ b/servergreps/hercules/update.sh @@ -5,8 +5,8 @@ function preproc { -DCOMMON_SOCKET_H \ "-DWFIFOW(fd,pos)=WFIFOW(fd,pos)" \ "-DWBUFW(p,pos)=WBUFW(p,pos)" \ - -I../../../server-code/src -I../../../server-code/3rdparty \ - ../../../server-code/src/$3/$4 \ + -I../links/hercules/src -I../links/hercules/3rdparty \ + ../links/hercules/src/$3/$4 \ $1/src/$4 } @@ -14,7 +14,7 @@ function genpackets { if [ ! -d "$1/src" ]; then mkdir -p "$1/src" fi - cpp -DPACKETVER=$2 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../../../server-code/src/map/packets.h $1/src/packets.h + cpp -DPACKETVER=$2 "-Dpacket(id,size,...)=packet(id,size,__VA_ARGS__)" ../links/hercules/src/map/packets.h $1/src/packets.h preproc $1 $2 map packets_struct.h preproc $1 $2 char char.c preproc $1 $2 login login.c |