Fixed typos (in logs) as reported by Christoph
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5807 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 5d0bbf08bc12379eabb34b552f4d69a62e934ded Former-commit-id: b13f96451dc602818f59b7c9ecf11edeb0fda79b
This commit is contained in:
parent
4caa3028dd
commit
a2020f4a19
6 changed files with 15 additions and 15 deletions
|
@ -1975,7 +1975,7 @@ static void SetFuelAtRaceStart(tTrack* track, void **carParmHandle,
|
|||
PRM_FUEL, NULL, 0.0f);
|
||||
|
||||
if (initial_fuel) {
|
||||
// If starting fuel is set up explicitely,
|
||||
// If starting fuel is set up explicitly,
|
||||
// no use computing anything...
|
||||
fuel_requested = initial_fuel;
|
||||
} else {
|
||||
|
@ -1997,7 +1997,7 @@ static void SetFuelAtRaceStart(tTrack* track, void **carParmHandle,
|
|||
}
|
||||
|
||||
GfLogInfo("Human #%d : Starting race session with %.1f l of fuel (%s)\n",
|
||||
idx, fuel_requested, initial_fuel ? "as explicitely stated" : "computed");
|
||||
idx, fuel_requested, initial_fuel ? "as explicitly stated" : "computed");
|
||||
|
||||
GfParmSetNum(*carParmHandle, SECT_CAR, PRM_FUEL, NULL, fuel_requested);
|
||||
} // SetFuelAtRaceStart
|
||||
|
|
|
@ -144,7 +144,7 @@ GfuiFontClass::GfuiFontClass(char *FileName)
|
|||
//fread(font, sizeof(GLFONT), 1, Input);
|
||||
readSize = fread(font, 24, 1, Input); // for IA64...
|
||||
if( readSize <= 0 )
|
||||
GfLogWarning( "Not all bytes are succesfully read" );
|
||||
GfLogWarning( "Not all bytes are successfully read" );
|
||||
//GfLogDebug("Font(%s) : texW=%d, texH=%d\n", FileName, font->TexWidth, font->TexHeight);
|
||||
|
||||
#ifndef WIN32
|
||||
|
@ -167,7 +167,7 @@ GfuiFontClass::GfuiFontClass(char *FileName)
|
|||
//Read glFont characters
|
||||
readSize = fread(font->Char, sizeof(GLFONTCHAR), Num, Input);
|
||||
if( readSize <= 0 )
|
||||
GfLogWarning( "Not all bytes are succesfully read" );
|
||||
GfLogWarning( "Not all bytes are successfully read" );
|
||||
|
||||
#ifndef WIN32
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
|
@ -193,7 +193,7 @@ GfuiFontClass::GfuiFontClass(char *FileName)
|
|||
//Read texture data
|
||||
readSize = fread(TexBytes, sizeof(char), Num, Input);
|
||||
if( readSize < Num )
|
||||
GfLogWarning( "Not all bytes are succesfully read" );
|
||||
GfLogWarning( "Not all bytes are successfully read" );
|
||||
|
||||
fclose(Input);
|
||||
|
||||
|
|
|
@ -259,7 +259,7 @@ typedef void (*tfuiComboboxCallback)(tComboBoxInfo *);
|
|||
typedef void (*tfuiCheckboxCallback)(tCheckBoxInfo *);
|
||||
|
||||
|
||||
/* Event loop callback functions (should be called explicitely if the corresponding
|
||||
/* Event loop callback functions (should be called explicitly if the corresponding
|
||||
event loop callback is overriden after a call to GfuiActivateScreen */
|
||||
TGFCLIENT_API void GfuiDisplay(void);
|
||||
TGFCLIENT_API void GfuiDisplayNothing(void);
|
||||
|
|
|
@ -417,7 +417,7 @@ double NetClient::WaitForRaceStart()
|
|||
|
||||
void NetClient::ReadStartTimePacket(ENetPacket *pPacket)
|
||||
{
|
||||
GfLogTrace("Recieved the start race Packet\n");
|
||||
GfLogTrace("Received the start race Packet\n");
|
||||
//double time = GfTimeClock();
|
||||
|
||||
PackedBuffer msg(pPacket->data, pPacket->dataLength);
|
||||
|
@ -583,7 +583,7 @@ void NetClient::ReadPacket(ENetEvent event)
|
|||
|
||||
void NetClient::ReadPrepareToRacePacket(ENetPacket *pPacket)
|
||||
{
|
||||
GfLogTrace("Recieved the start race Packet\n");
|
||||
GfLogTrace("Received the start race Packet\n");
|
||||
|
||||
//unsigned char packetId = pPacket->data[0];
|
||||
|
||||
|
@ -691,7 +691,7 @@ void NetClient::ReadAllDriverReadyPacket(ENetPacket *pPacket)
|
|||
GfLogFatal("ReadAllDriverReadyPacket: packed buffer error\n");
|
||||
}
|
||||
|
||||
GfLogTrace("Recieved All Driver Ready Packet\n");
|
||||
GfLogTrace("Received All Driver Ready Packet\n");
|
||||
}
|
||||
|
||||
void NetClient::ReadFinishTimePacket(ENetPacket *pPacket)
|
||||
|
@ -713,7 +713,7 @@ void NetClient::ReadFinishTimePacket(ENetPacket *pPacket)
|
|||
GfLogFatal("ReadFinishTimePacket: packed buffer error\n");
|
||||
}
|
||||
|
||||
GfOut("Recieved finish time packet\n");
|
||||
GfOut("Received finish time packet\n");
|
||||
}
|
||||
|
||||
void NetClient::ReadTimePacket(ENetPacket *pPacket)
|
||||
|
|
|
@ -707,7 +707,7 @@ void NetNetwork::ReadCarStatusPacket(ENetPacket *pPacket)
|
|||
{
|
||||
GfLogTrace("Rejected car status from startRank %i\n",status.startRank);
|
||||
}
|
||||
GfLogTrace("Recieved car status from startRank %i\n",status.startRank);
|
||||
GfLogTrace("Received car status from startRank %i\n",status.startRank);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -439,7 +439,7 @@ void loadAndGroup(char *OutputFileName)
|
|||
fprintf(ofile, "OBJECT group\n");
|
||||
fprintf(ofile, "name \"___%s_gl3\"\n", array_groups[i].tkmn->name);
|
||||
fprintf(ofile, "kids %d\n", array_groups[i].numkids3);
|
||||
printf("writting group: ___%s_gl3\n", array_groups[i].tkmn->name);
|
||||
printf("writing group: ___%s_gl3\n", array_groups[i].tkmn->name);
|
||||
tmpob = array_groups[i].kids3;
|
||||
while (tmpob != NULL)
|
||||
{
|
||||
|
@ -456,7 +456,7 @@ void loadAndGroup(char *OutputFileName)
|
|||
fprintf(ofile, "name \"%%___%s_gl2\"\n",
|
||||
array_groups[i].tkmn->name);
|
||||
fprintf(ofile, "kids %d\n", array_groups[i].numkids2);
|
||||
printf("writting group: ___%s_gl2\n", array_groups[i].tkmn->name);
|
||||
printf("writing group: ___%s_gl2\n", array_groups[i].tkmn->name);
|
||||
tmpob = array_groups[i].kids2;
|
||||
while (tmpob != NULL)
|
||||
{
|
||||
|
@ -470,7 +470,7 @@ void loadAndGroup(char *OutputFileName)
|
|||
fprintf(ofile, "OBJECT group\n");
|
||||
fprintf(ofile, "name \"___%s_gl1\"\n", array_groups[i].tkmn->name);
|
||||
fprintf(ofile, "kids %d\n", array_groups[i].numkids1);
|
||||
printf("writting group: ___%s_gl1\n", array_groups[i].tkmn->name);
|
||||
printf("writing group: ___%s_gl1\n", array_groups[i].tkmn->name);
|
||||
tmpob = array_groups[i].kids1;
|
||||
while (tmpob != NULL)
|
||||
{
|
||||
|
@ -484,7 +484,7 @@ void loadAndGroup(char *OutputFileName)
|
|||
fprintf(ofile, "OBJECT group\n");
|
||||
fprintf(ofile, "name \"___%s_gl0\"\n", array_groups[i].tkmn->name);
|
||||
fprintf(ofile, "kids %d\n", array_groups[i].numkids0 + 1);
|
||||
printf("writting group: ___%s_gl0\n", array_groups[i].tkmn->name);
|
||||
printf("writing group: ___%s_gl0\n", array_groups[i].tkmn->name);
|
||||
tmpob = array_groups[i].kids0;
|
||||
while (tmpob != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue