Source code from here:
http://rogue.rogueforge.net/advanced-rogue-5-8/SVN page:
http://rogue.rogueforge.net/trac/browser/arogue5.8/trunkAttempted compilation:
person@computer ~/Games/arogue5.8.2-src $ make
gcc -g -c -o chase.o chase.c
gcc -g -c -o command.o command.c
command.c: In function ‘command’:
command.c:251:4: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
exit(0);
^
command.c: In function ‘quit’:
command.c:454:2: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
exit(0);
^
command.c: In function ‘call’:
command.c:925:6: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
free(guess[obj->o_which]);
^
command.c:926:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
strcpy(prbuf, elsewise);
^
command.c:930:6: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
strncpy(obj->o_mark, prbuf, MARKLEN-1);
^
command.c:934:47: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
guess[obj->o_which] = new((unsigned int) strlen(prbuf) + 1);
^
command.c:935:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
strcpy(guess[obj->o_which], prbuf);
^
gcc -g -c -o daemon.o daemon.c
gcc -g -c -o daemons.o daemons.c
gcc -g -c -o encumb.o encumb.c
gcc -g -c -o fight.o fight.c
gcc -g -c -o init.o init.c
init.c: In function ‘init_names’:
init.c:244:28: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
s_names[i] = (char *) new(strlen(prbuf)+1);
^
init.c:247:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
strcpy(s_names[i], prbuf);
^
init.c: In function ‘init_player’:
init.c:302:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
strcpy(pstats.s_dmg,"3d4");
^
init.c:353:6: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
strcpy(pstats.s_dmg,"1d4");
^
gcc -g -c -o io.o io.c
io.c: In function ‘endmsg’:
io.c:68:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
strcpy(huh, msgbuf);
^
io.c: In function ‘doadd’:
io.c:90:14: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
newpos = strlen(msgbuf);
^
io.c: In function ‘status’:
io.c:235:15: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
pb = &buf[strlen(buf)];
^
gcc -g -c -o list.o list.c
gcc -g -c -o main.o main.c
main.c: In function ‘main’:
main.c:58:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ [enabled by default]
strncpy(home,md_gethomedir(),LINELEN);
^
main.c:61:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
strcpy(file_name, home);
^
main.c:62:5: warning: incompatible implicit declaration of built-in function ‘strcat’ [enabled by default]
strcat(file_name, "arogue58.sav");
^
main.c:76:43: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
strucpy(whoami, md_getusername(), strlen(md_getusername()));
^
main.c:90:2: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
exit(0);
^
main.c:144:6: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
exit(1);
^
main.c: In function ‘fatal’:
main.c:236:5: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
exit(0);
^
gcc -g -c -o maze.o maze.c
gcc -g -c -o mdport.o mdport.c
mdport.c:59:26: fatal error: ncurses/term.h: No such file or directory
#include <ncurses/term.h>
^
compilation terminated.
make: *** [mdport.o] Error 1
[2]person@computer ~/Games/arogue5.8.2-src $
I'll look up these error messages in my free time. Documenting here in case anyone is interested.
EDIT
It compiles if I change mdport.c
line 59 : #include <ncurses/term.h>
to
line 59 : #include <term.h>
This part goes over the character limit, so I moved it to pastebin.
Compilation:
http://pastebin.com/pibXnZN2