Simplified race loading screen : merged the Initializing driver ... lines and the Loading driver ... lines (no more useless repeat, 1 screen is now enough for all lines in many more cases)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1188 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 67ea56e950738ccbc778d9f4d92c674a255cab6d Former-commit-id: a2f954b33d492dc5fa075e5567aafb7a9fe3b168
This commit is contained in:
parent
48f5594a81
commit
a03480e007
2 changed files with 4 additions and 3 deletions
|
@ -573,8 +573,9 @@ ReInitCars(void)
|
|||
GfOut("Car file: %s\n", buf);
|
||||
carhdle = GfParmReadFile(buf, GFPARM_RMODE_STD | GFPARM_RMODE_CREAT);
|
||||
category = GfParmGetStr(carhdle, SECT_CAR, PRM_CATEGORY, NULL);
|
||||
sprintf(buf, "Loading driver %s (%s) ...", curModInfo->name, elt->_carName);
|
||||
RmLoadingScreenSetText(buf);
|
||||
//sprintf(buf, "Loading driver %s (%s) ...", curModInfo->name, elt->_carName);
|
||||
//RmLoadingScreenSetText(buf);
|
||||
GfOut("Loading driver %s (%s) ...", curModInfo->name, elt->_carName);
|
||||
if (category != 0) {
|
||||
strncpy(elt->_category, category, MAX_NAME_LEN - 1);
|
||||
elt->_category[MAX_NAME_LEN - 1] = '\0';
|
||||
|
|
|
@ -216,7 +216,7 @@ reRaceRealStart(void)
|
|||
}
|
||||
|
||||
for (i = 0; i < s->_ncars; i++) {
|
||||
sprintf(buf, "Initializing driver %s ...", s->cars[i]->_name);
|
||||
sprintf(buf, "Loading driver %s (%s) ...", s->cars[i]->_name, s->cars[i]->_carName);
|
||||
RmLoadingScreenSetText(buf);
|
||||
robot = s->cars[i]->robot;
|
||||
robot->rbNewRace(robot->index, s->cars[i], s);
|
||||
|
|
Loading…
Reference in a new issue