catch up with string constant changes

This commit is contained in:
ehouse 2004-05-13 02:13:48 +00:00
parent 8f1f118e68
commit 9810b8cbe2
2 changed files with 14 additions and 0 deletions

View file

@ -46,6 +46,11 @@ enum {
STR_ROBOT_MOVED,
STR_REMOTE_MOVED,
STR_PASSED,
STRSD_SUMMARYSCORED,
STRD_TRADED,
STR_LOSTTURN,
STR_NOT_USED
};

View file

@ -1913,6 +1913,15 @@ ce_util_getUserString( XW_UtilCtxt* uc, XP_U16 stringCode )
case STR_REMOTE_MOVED:
return (XP_UCHAR*)"Remote player made this move:" XP_CR;
case STR_PASSED:
return (XP_UCHAR*)"Passed";
case STRSD_SUMMARYSCORED:
return (XP_UCHAR*)"%s:%d";
case STRD_TRADED:
return (XP_UCHAR*)"Traded %d";
case STR_LOSTTURN:
return (XP_UCHAR*)"Lost turn";
default:
XP_LOGF( "stringCode=%d", stringCode );
return (XP_UCHAR*)"unknown code";