diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-26 16:25:04 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-26 16:25:04 +0100 |
commit | 8fb54e5c695ae1fbc438f2097ab5ec4e71d61318 (patch) | |
tree | 111183effcb958fa05158eed6db9c6028e075801 /FICS/formula.c | |
parent | b5a9b4cb4863e2af220ff50f51b68c0035caa927 (diff) |
Deleted disabled code
Diffstat (limited to 'FICS/formula.c')
-rw-r--r-- | FICS/formula.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/FICS/formula.c b/FICS/formula.c index 447caba..0a06026 100644 --- a/FICS/formula.c +++ b/FICS/formula.c @@ -482,38 +482,6 @@ void ExplainFormula (game *g, textlist **clauses) } } -#if 0 -void ExplainFormula (game *g, textlist *eval) -{ - int i, newPos, value; - char Head[MAX_STRING_LENGTH], - Tail[MAX_STRING_LENGTH]; - - strcpy (strRet, GetPlayersFormula(&parray[g->black], clause)); - for (i=0; strRet[i] != '\0'; i++) - { - if (strRet[i] == '#') - { - strRet[i] = '\0'; - break; - } - if (!isalpha(strRet[i])) continue; - newPos = i; - if (!VarToToken(g, clause, strRet, &newPos, &value, 1)) - i = newPos; - else - { - strcpy (Head, strRet); - strcpy (Tail, strRet + newPos); - Head[i] = '\0'; - - sprintf(strRet, "%s%d%s", Head, value, Tail); - while (isalpha(strRet[i])) i++; - } - } -} -#endif - /* * GameMatchesFormula() converts parameters to a game structure and * passes a pointer to this game to CheckFormula() for evaluation. It |