Replaced slow pexpect with subprocess.popen which is fast. Implemented Results()...
[progcomp10.git] / src / link / C / agents / c_lucifer.c
index af4741f..f497366 100644 (file)
@@ -53,8 +53,9 @@ ITEMTYPE Defend( char * foeName, ITEMTYPE foePromisedAttack ) {
 
 /* You need to define a results function, even if it isn't used
  (otherwise the linker will complain) */
-void Results( char * foeName, int isInstigatedByYou, ITEMTYPE yourItem, 
-                        ITEMTYPE theirItem, ITEMTYPE promisedItem) {
+void Results( char * foeName, int isInstigatedByYou, RESULTTYPE winner,
+             ITEMTYPE attItem, ITEMTYPE defItem, ITEMTYPE bluffItem,
+             int pointDelta ) {
        
        return; /* Ignore whatever just happened. */
 }

UCC git Repository :: git.ucc.asn.au