Xref: utzoo comp.sources.games.bugs:287 rec.games.empire:414 Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!osu-cis!att!mtunx!whuts!homxb!homxc!smile From: smile@homxc.UUCP (E.BARLOW) Newsgroups: comp.sources.games.bugs,rec.games.empire Subject: conquer version 3 - patch number 1 Message-ID: <2431@homxc.UUCP> Date: 17 Jun 88 13:56:36 GMT Organization: AT&T Bell Laboratories, Holmdel Lines: 259 Hi again... Conquer version 3 was just posted to the world. Have a small patch below that I decided to post now as it requires recompiliation of the whole code. Lots of new features in the new code (magical monsters, new magic powers...). Hope you have fun with it. As with previous versions, I dont know where discussion of the game should go, so I am cross posting to rec.games.empire (after all, conquer is kind of like empire). Hope the empire purists dont get too annoyed. If you want to be on a mailing list, send your email address to {ihnp4,mtune}!homxc!smile. Enjoy The Ed XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX *** oldcexecute.c Fri Jun 17 09:40:20 1988 --- cexecute.c Fri Jun 17 09:40:39 1988 *************** *** 83,88 ntn[country].nvy[armynum].xloc=x; ntn[country].nvy[armynum].yloc=y; break; case XNASHP: /*nadjshp*/ ntn[country].nvy[armynum].merchant=x; ntn[country].nvy[armynum].warships=y; --- 83,92 ----- ntn[country].nvy[armynum].xloc=x; ntn[country].nvy[armynum].yloc=y; break; + case XNACREW: + ntn[country].nvy[armynum].crew=x; + ntn[country].nvy[armynum].armynum=y; + break; case XNASHP: /*nadjshp*/ ntn[country].nvy[armynum].merchant=x; ntn[country].nvy[armynum].warships=y; *** oldcommands.c Fri Jun 17 09:40:09 1988 --- commands.c Fri Jun 17 09:40:41 1988 *************** *** 345,351 return; } ! if( sct[XREAL][YREAL].people < (wnumber+mnumber) * mnumber ){ errormsg("NOT ENOUGH CIVILIANS IN SECTOR"); if(isgod==TRUE) country=0; return; --- 345,351 ----- return; } ! if( sct[XREAL][YREAL].people < (wnumber+mnumber) * SHIPCREW ){ errormsg("NOT ENOUGH CIVILIANS IN SECTOR"); if(isgod==TRUE) country=0; return; *************** *** 353,360 if((nvynum>=0)&&(nvynum=0)&&(nvynum=0)&&(nvynum'); if(selector==(nfound%5)*2) standout(); ! mvprintw((nfound%5)*2,COLS-20,"navy %d: move %d",nvynum,NMOVE); ! mvprintw((nfound%5)*2+1,COLS-20," war:%d mer:%d",NWAR,NMER); standend(); } nfound++; --- 679,686 ----- /*print a navy*/ mvaddch((nfound%5)*2,COLS-21,'>'); if(selector==(nfound%5)*2) standout(); ! mvprintw((nfound%5)*2,COLS-20,"nvy %d: war:%d mv:%d",nvynum,NWAR,NMOVE); ! mvprintw((nfound%5)*2+1,COLS-20," mer %d crew %d",NMER,NCREW); standend(); } nfound++; *** oldnpc.c Fri Jun 17 09:40:08 1988 --- npc.c Fri Jun 17 09:41:05 1988 *************** *** 254,259 } ntn[country].tmil -= militia; /*make sure enough men in army 0 -- garrison duty in capitol*/ armynum=0; ASTAT=GARRISON; --- 254,262 ----- } ntn[country].tmil -= militia; + for(armynum=1;armynum0)&&(ATYPE==A_INFANTRY)) ASTAT = DEFEND; + /*make sure enough men in army 0 -- garrison duty in capitol*/ armynum=0; ASTAT=GARRISON; *************** *** 441,447 &&(i!=armynum)&&(free==0)){ free=1; ntn[country].arm[i].sold += ASOLD; - ntn[country].arm[i].unittyp=A_INFANTRY; ASOLD=0; } } --- 444,449 ----- &&(i!=armynum)&&(free==0)){ free=1; ntn[country].arm[i].sold += ASOLD; ASOLD=0; } } *************** *** 485,491 } if(free==FALSE) { /* draft a new militia army */ for(armynum=0;armynum