Path: utzoo!attcan!uunet!tektronix!tekgen!tekred!games From: games@tekred.TEK.COM Newsgroups: comp.sources.games Subject: v05i004: conquer3 - middle earth multi-player game (V3), Patch1 Message-ID: <2813@tekred.TEK.COM> Date: 19 Jul 88 17:13:56 GMT Sender: billr@tekred.TEK.COM Lines: 276 Approved: billr@saab.CNA.TEK.COM Submitted by: ihnp4!homxc!smile Comp.sources.games: Volume 5, Issue 4 Archive-name: conquer3/Patch1 [This has already been posted to comp.sources.games.bugs and is posted here for archival purposes. If you have the latest version of patch you can feed this file directly to patch, otherwise you will have to unshar it first. -br] #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh 'patches01' <<'END_OF_FILE' X*** oldcexecute.c Fri Jun 17 09:40:20 1988 X--- cexecute.c Fri Jun 17 09:40:39 1988 X*************** X*** 83,88 X ntn[country].nvy[armynum].xloc=x; X ntn[country].nvy[armynum].yloc=y; X break; X case XNASHP: /*nadjshp*/ X ntn[country].nvy[armynum].merchant=x; X ntn[country].nvy[armynum].warships=y; X X--- 83,92 ----- X ntn[country].nvy[armynum].xloc=x; X ntn[country].nvy[armynum].yloc=y; X break; X+ case XNACREW: X+ ntn[country].nvy[armynum].crew=x; X+ ntn[country].nvy[armynum].armynum=y; X+ break; X case XNASHP: /*nadjshp*/ X ntn[country].nvy[armynum].merchant=x; X ntn[country].nvy[armynum].warships=y; X*** oldcommands.c Fri Jun 17 09:40:09 1988 X--- commands.c Fri Jun 17 09:40:41 1988 X*************** X*** 345,351 X return; X } X X! if( sct[XREAL][YREAL].people < (wnumber+mnumber) * mnumber ){ X errormsg("NOT ENOUGH CIVILIANS IN SECTOR"); X if(isgod==TRUE) country=0; X return; X X--- 345,351 ----- X return; X } X X! if( sct[XREAL][YREAL].people < (wnumber+mnumber) * SHIPCREW ){ X errormsg("NOT ENOUGH CIVILIANS IN SECTOR"); X if(isgod==TRUE) country=0; X return; X*************** X*** 353,360 X X if((nvynum>=0)&&(nvynum=0)&&(nvynum=0)&&(nvynum'); X if(selector==(nfound%5)*2) standout(); X! mvprintw((nfound%5)*2,COLS-20,"navy %d: move %d",nvynum,NMOVE); X! mvprintw((nfound%5)*2+1,COLS-20," war:%d mer:%d",NWAR,NMER); X standend(); X } X nfound++; X X--- 679,686 ----- X /*print a navy*/ X mvaddch((nfound%5)*2,COLS-21,'>'); X if(selector==(nfound%5)*2) standout(); X! mvprintw((nfound%5)*2,COLS-20,"nvy %d: war:%d mv:%d",nvynum,NWAR,NMOVE); X! mvprintw((nfound%5)*2+1,COLS-20," mer %d crew %d",NMER,NCREW); X standend(); X } X nfound++; X*** oldnpc.c Fri Jun 17 09:40:08 1988 X--- npc.c Fri Jun 17 09:41:05 1988 X*************** X*** 254,259 X } X ntn[country].tmil -= militia; X X /*make sure enough men in army 0 -- garrison duty in capitol*/ X armynum=0; X ASTAT=GARRISON; X X--- 254,262 ----- X } X ntn[country].tmil -= militia; X X+ for(armynum=1;armynum0)&&(ATYPE==A_INFANTRY)) ASTAT = DEFEND; X+ X /*make sure enough men in army 0 -- garrison duty in capitol*/ X armynum=0; X ASTAT=GARRISON; X*************** X*** 441,447 X &&(i!=armynum)&&(free==0)){ X free=1; X ntn[country].arm[i].sold += ASOLD; X- ntn[country].arm[i].unittyp=A_INFANTRY; X ASOLD=0; X } X } X X--- 444,449 ----- X &&(i!=armynum)&&(free==0)){ X free=1; X ntn[country].arm[i].sold += ASOLD; X ASOLD=0; X } X } X*************** X*** 485,491 X } X if(free==FALSE) { /* draft a new militia army */ X for(armynum=0;armynum