Color & OLC+ V2

From: Yolan (ajacks01@MAIL.COIN.MISSOURI.EDU)
Date: 08/24/98


I was installing a version of color (circle_color_tar.gz) and most of the
patch worked, but there was one rejected portion. Is there a version of
color that I should be using other than the one I am? I also noticed that
the title portion of the config.c file was missing. Is that why the
circle_color_tar.gz didn't work? The errors of the compile and rej file are
below.

Make Errors:
gcc -c -g -O2 -Wall  comm.c
comm.c: In function `game_loop':
comm.c:578: `d' undeclared (first use this function)
comm.c:578: (Each undeclared identifier is reported only once
comm.c:578: for each function it appears in.)
comm.c:582: parse error before `struct'
comm.c:617: `maxdesc' undeclared (first use this function)
comm.c:643: `missed_pulses' undeclared (first use this function)
comm.c:684: `next_d' undeclared (first use this function)
comm.c:710: `aliased' undeclared (first use this function)
comm.c:792: `pulse' undeclared (first use this function)
comm.c: In function `heartbeat':
comm.c:831: parse error before `int'
comm.c:832: `d' undeclared (first use this function)
comm.c:832: `clvl' undeclared (first use this function)
comm.c: In function `make_prompt':
comm.c:995: `clvl' undeclared (first use this function)
comm.c:995: parse error before `;'
comm.c:997: warning: left-hand operand of comma expression has no effect
comm.c:997: parse error before `)'
comm.c:1017: warning: control reaches end of non-void function
comm.c: At top level:
comm.c:1017: parse error before `else'
comm.c: In function `new_descriptor':
comm.c:1252: `clvl' undeclared (first use this function)
comm.c:1252: warning: passing arg 1 of `proc_color' makes pointer from
integer w
ithout a cast

REJ file (comm.c.rej


***************
*** 1207
-   SEND_TO_Q(GREETINGS, newd);
--- 1219,1224 -----
+ /*  SEND_TO_Q(GREETINGS, newd); */ /* OLD */
+
+   strcpy(titlescreen, GREETINGS); /* copy fixed-size string to larger
+                                      buffer */
+   proc_color(titlescreen, C_CMP); /* C_CMP should be 3 */
+   SEND_TO_Q(titlescreen, newd);



Thanks,
Yolan


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST