cvg,sst1, init: shortened a few messages.
This commit is contained in:
@@ -247,23 +247,23 @@ FX_ENTRY FxBool FX_CALL sst1InitVoodooFile()
|
||||
|
||||
if(inCfg) {
|
||||
if(!sst1InitParseFieldCfg(buffer)) {
|
||||
if(helper) INIT_PRINTF(("sst1InitVoodooFile(): ERROR in [CFG] section of .ini file...\n"));
|
||||
if(helper) INIT_PRINTF(("ERROR in %s section of .ini file...\n", "[CFG]"));
|
||||
retVal = FXFALSE;
|
||||
break;
|
||||
}
|
||||
} else if(inDac) {
|
||||
if(!sst1InitParseFieldDac(buffer)) {
|
||||
if(helper) INIT_PRINTF(("sst1InitVoodooFile(): ERROR in [DAC] section of .ini file...\n"));
|
||||
if(helper) INIT_PRINTF(("ERROR in %s section of .ini file...\n", "[DAC]"));
|
||||
retVal = FXFALSE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (file != NULL) fclose(file);
|
||||
INIT_PRINTF(("sst1Init Routines(): Using Initialization file '%s'\n", filename));
|
||||
fclose(file);
|
||||
INIT_PRINTF(("INIT: Using .ini file '%s'\n", filename));
|
||||
|
||||
__errExit:
|
||||
checkedFileP = FXTRUE;
|
||||
checkedFileP = FXTRUE;
|
||||
#endif /* !DIRECTX */
|
||||
|
||||
return retVal;
|
||||
@@ -336,7 +336,7 @@ FX_ENTRY FxBool FX_CALL sst1InitVoodooFile() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
INIT_PRINTF(("sst1Init Routines(): Using Initialization file '%s'\n", filename));
|
||||
INIT_PRINTF(("INIT: Using .ini file '%s'\n", filename));
|
||||
|
||||
__errExit:
|
||||
if (file) fclose(file);
|
||||
|
||||
@@ -245,7 +245,6 @@ FX_EXPORT FxU32 * FX_CSTYLE sst1InitMapBoardDirect(FxU32 BoardNumber,
|
||||
}
|
||||
|
||||
if( clearBoardInfo ) {
|
||||
INIT_PRINTF(("sst1Init Routines"));
|
||||
INIT_PRINTF(("sst1InitMapBoard(): BoardsInSystem = %d\n",
|
||||
boardsInSystem));
|
||||
|
||||
|
||||
@@ -135,19 +135,19 @@ FX_ENTRY FxBool FX_CALL sst1InitVoodooFile()
|
||||
if(inCfg) {
|
||||
if(!sst1InitParseFieldCfg(buffer)) {
|
||||
if(helper)
|
||||
INIT_PRINTF(("sst1InitVoodooFile(): ERROR in [CFG] section of .ini file...\n"));
|
||||
INIT_PRINTF(("ERROR in %s section of .ini file...\n", "[CFG]"));
|
||||
return(FXFALSE);
|
||||
}
|
||||
} else if(inDac) {
|
||||
if(!sst1InitParseFieldDac(buffer)) {
|
||||
if(helper)
|
||||
INIT_PRINTF(("sst1InitVoodooFile(): ERROR in [DAC] section of .ini file...\n"));
|
||||
INIT_PRINTF(("ERROR in %s section of .ini file...\n", "[DAC]"));
|
||||
return(FXFALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
fclose(file);
|
||||
INIT_PRINTF(("sst1Init Routines(): Using Initialization file '%s'\n", filename));
|
||||
INIT_PRINTF(("INIT: Using .ini file '%s'\n", filename));
|
||||
|
||||
return(FXTRUE);
|
||||
#endif
|
||||
@@ -217,7 +217,7 @@ FX_ENTRY FxBool FX_CALL sst1InitVoodooFile() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
INIT_PRINTF(("sst1Init Routines(): Using Initialization file '%s'\n", filename));
|
||||
INIT_PRINTF(("INIT: Using .ini file '%s'\n", filename));
|
||||
|
||||
__errExit:
|
||||
if (file) fclose(file);
|
||||
|
||||
@@ -164,7 +164,6 @@ FX_EXPORT FxU32 * FX_CSTYLE sst1InitMapBoard(FxU32 BoardNumber)
|
||||
}
|
||||
|
||||
if(BoardNumber == 0) {
|
||||
INIT_PRINTF(("sst1Init Routines"));
|
||||
INIT_PRINTF(("sst1InitMapBoard(): BoardsInSystem = %d\n",
|
||||
boardsInSystem));
|
||||
|
||||
|
||||
@@ -247,23 +247,23 @@ FX_ENTRY FxBool FX_CALL sst1InitVoodooFile()
|
||||
|
||||
if(inCfg) {
|
||||
if(!sst1InitParseFieldCfg(buffer)) {
|
||||
if(helper) INIT_PRINTF(("sst1InitVoodooFile(): ERROR in [CFG] section of .ini file...\n"));
|
||||
if(helper) INIT_PRINTF(("ERROR in %s section of .ini file...\n", "[CFG]"));
|
||||
retVal = FXFALSE;
|
||||
break;
|
||||
}
|
||||
} else if(inDac) {
|
||||
if(!sst1InitParseFieldDac(buffer)) {
|
||||
if(helper) INIT_PRINTF(("sst1InitVoodooFile(): ERROR in [DAC] section of .ini file...\n"));
|
||||
if(helper) INIT_PRINTF(("ERROR in %s section of .ini file...\n", "[DAC]"));
|
||||
retVal = FXFALSE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (file != NULL) fclose(file);
|
||||
INIT_PRINTF(("sst1Init Routines(): Using Initialization file '%s'\n", filename));
|
||||
fclose(file);
|
||||
INIT_PRINTF(("INIT: Using .ini file '%s'\n", filename));
|
||||
|
||||
__errExit:
|
||||
checkedFileP = FXTRUE;
|
||||
checkedFileP = FXTRUE;
|
||||
#endif /* !DIRECTX */
|
||||
|
||||
return retVal;
|
||||
@@ -336,7 +336,7 @@ FX_ENTRY FxBool FX_CALL sst1InitVoodooFile() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
INIT_PRINTF(("sst1Init Routines(): Using Initialization file '%s'\n", filename));
|
||||
INIT_PRINTF(("INIT: Using .ini file '%s'\n", filename));
|
||||
|
||||
__errExit:
|
||||
if (file) fclose(file);
|
||||
|
||||
@@ -245,7 +245,6 @@ FX_EXPORT FxU32 * FX_CSTYLE sst1InitMapBoardDirect(FxU32 BoardNumber,
|
||||
}
|
||||
|
||||
if( clearBoardInfo ) {
|
||||
INIT_PRINTF(("sst1Init Routines"));
|
||||
INIT_PRINTF(("sst1InitMapBoard(): BoardsInSystem = %d\n",
|
||||
boardsInSystem));
|
||||
|
||||
|
||||
@@ -135,19 +135,19 @@ FX_ENTRY FxBool FX_CALL sst1InitVoodooFile()
|
||||
if(inCfg) {
|
||||
if(!sst1InitParseFieldCfg(buffer)) {
|
||||
if(helper)
|
||||
INIT_PRINTF(("sst1InitVoodooFile(): ERROR in [CFG] section of .ini file...\n"));
|
||||
INIT_PRINTF(("ERROR in %s section of .ini file...\n", "[CFG]"));
|
||||
return(FXFALSE);
|
||||
}
|
||||
} else if(inDac) {
|
||||
if(!sst1InitParseFieldDac(buffer)) {
|
||||
if(helper)
|
||||
INIT_PRINTF(("sst1InitVoodooFile(): ERROR in [DAC] section of .ini file...\n"));
|
||||
INIT_PRINTF(("ERROR in %s section of .ini file...\n", "[DAC]"));
|
||||
return(FXFALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
fclose(file);
|
||||
INIT_PRINTF(("sst1Init Routines(): Using Initialization file '%s'\n", filename));
|
||||
INIT_PRINTF(("INIT: Using .ini file '%s'\n", filename));
|
||||
|
||||
return(FXTRUE);
|
||||
#endif
|
||||
@@ -217,7 +217,7 @@ FX_ENTRY FxBool FX_CALL sst1InitVoodooFile() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
INIT_PRINTF(("sst1Init Routines(): Using Initialization file '%s'\n", filename));
|
||||
INIT_PRINTF(("INIT: Using .ini file '%s'\n", filename));
|
||||
|
||||
__errExit:
|
||||
if (file) fclose(file);
|
||||
|
||||
@@ -164,7 +164,6 @@ FX_EXPORT FxU32 * FX_CSTYLE sst1InitMapBoard(FxU32 BoardNumber)
|
||||
}
|
||||
|
||||
if(BoardNumber == 0) {
|
||||
INIT_PRINTF(("sst1Init Routines"));
|
||||
INIT_PRINTF(("sst1InitMapBoard(): BoardsInSystem = %d\n",
|
||||
boardsInSystem));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user