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:
beaglejoe 2014-08-21 02:56:49 +00:00
parent 4caa3028dd
commit a2020f4a19
6 changed files with 15 additions and 15 deletions

View file

@ -1975,7 +1975,7 @@ static void SetFuelAtRaceStart(tTrack* track, void **carParmHandle,
PRM_FUEL, NULL, 0.0f); PRM_FUEL, NULL, 0.0f);
if (initial_fuel) { if (initial_fuel) {
// If starting fuel is set up explicitely, // If starting fuel is set up explicitly,
// no use computing anything... // no use computing anything...
fuel_requested = initial_fuel; fuel_requested = initial_fuel;
} else { } 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", 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); GfParmSetNum(*carParmHandle, SECT_CAR, PRM_FUEL, NULL, fuel_requested);
} // SetFuelAtRaceStart } // SetFuelAtRaceStart

View file

@ -144,7 +144,7 @@ GfuiFontClass::GfuiFontClass(char *FileName)
//fread(font, sizeof(GLFONT), 1, Input); //fread(font, sizeof(GLFONT), 1, Input);
readSize = fread(font, 24, 1, Input); // for IA64... readSize = fread(font, 24, 1, Input); // for IA64...
if( readSize <= 0 ) 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); //GfLogDebug("Font(%s) : texW=%d, texH=%d\n", FileName, font->TexWidth, font->TexHeight);
#ifndef WIN32 #ifndef WIN32
@ -167,7 +167,7 @@ GfuiFontClass::GfuiFontClass(char *FileName)
//Read glFont characters //Read glFont characters
readSize = fread(font->Char, sizeof(GLFONTCHAR), Num, Input); readSize = fread(font->Char, sizeof(GLFONTCHAR), Num, Input);
if( readSize <= 0 ) if( readSize <= 0 )
GfLogWarning( "Not all bytes are succesfully read" ); GfLogWarning( "Not all bytes are successfully read" );
#ifndef WIN32 #ifndef WIN32
#if BYTE_ORDER == BIG_ENDIAN #if BYTE_ORDER == BIG_ENDIAN
@ -193,7 +193,7 @@ GfuiFontClass::GfuiFontClass(char *FileName)
//Read texture data //Read texture data
readSize = fread(TexBytes, sizeof(char), Num, Input); readSize = fread(TexBytes, sizeof(char), Num, Input);
if( readSize < Num ) if( readSize < Num )
GfLogWarning( "Not all bytes are succesfully read" ); GfLogWarning( "Not all bytes are successfully read" );
fclose(Input); fclose(Input);

View file

@ -259,7 +259,7 @@ typedef void (*tfuiComboboxCallback)(tComboBoxInfo *);
typedef void (*tfuiCheckboxCallback)(tCheckBoxInfo *); 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 */ event loop callback is overriden after a call to GfuiActivateScreen */
TGFCLIENT_API void GfuiDisplay(void); TGFCLIENT_API void GfuiDisplay(void);
TGFCLIENT_API void GfuiDisplayNothing(void); TGFCLIENT_API void GfuiDisplayNothing(void);

View file

@ -417,7 +417,7 @@ double NetClient::WaitForRaceStart()
void NetClient::ReadStartTimePacket(ENetPacket *pPacket) void NetClient::ReadStartTimePacket(ENetPacket *pPacket)
{ {
GfLogTrace("Recieved the start race Packet\n"); GfLogTrace("Received the start race Packet\n");
//double time = GfTimeClock(); //double time = GfTimeClock();
PackedBuffer msg(pPacket->data, pPacket->dataLength); PackedBuffer msg(pPacket->data, pPacket->dataLength);
@ -583,7 +583,7 @@ void NetClient::ReadPacket(ENetEvent event)
void NetClient::ReadPrepareToRacePacket(ENetPacket *pPacket) 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]; //unsigned char packetId = pPacket->data[0];
@ -691,7 +691,7 @@ void NetClient::ReadAllDriverReadyPacket(ENetPacket *pPacket)
GfLogFatal("ReadAllDriverReadyPacket: packed buffer error\n"); 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) void NetClient::ReadFinishTimePacket(ENetPacket *pPacket)
@ -713,7 +713,7 @@ void NetClient::ReadFinishTimePacket(ENetPacket *pPacket)
GfLogFatal("ReadFinishTimePacket: packed buffer error\n"); GfLogFatal("ReadFinishTimePacket: packed buffer error\n");
} }
GfOut("Recieved finish time packet\n"); GfOut("Received finish time packet\n");
} }
void NetClient::ReadTimePacket(ENetPacket *pPacket) void NetClient::ReadTimePacket(ENetPacket *pPacket)

View file

@ -707,7 +707,7 @@ void NetNetwork::ReadCarStatusPacket(ENetPacket *pPacket)
{ {
GfLogTrace("Rejected car status from startRank %i\n",status.startRank); 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; break;
} }
} }

View file

@ -439,7 +439,7 @@ void loadAndGroup(char *OutputFileName)
fprintf(ofile, "OBJECT group\n"); fprintf(ofile, "OBJECT group\n");
fprintf(ofile, "name \"___%s_gl3\"\n", array_groups[i].tkmn->name); fprintf(ofile, "name \"___%s_gl3\"\n", array_groups[i].tkmn->name);
fprintf(ofile, "kids %d\n", array_groups[i].numkids3); 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; tmpob = array_groups[i].kids3;
while (tmpob != NULL) while (tmpob != NULL)
{ {
@ -456,7 +456,7 @@ void loadAndGroup(char *OutputFileName)
fprintf(ofile, "name \"%%___%s_gl2\"\n", fprintf(ofile, "name \"%%___%s_gl2\"\n",
array_groups[i].tkmn->name); array_groups[i].tkmn->name);
fprintf(ofile, "kids %d\n", array_groups[i].numkids2); 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; tmpob = array_groups[i].kids2;
while (tmpob != NULL) while (tmpob != NULL)
{ {
@ -470,7 +470,7 @@ void loadAndGroup(char *OutputFileName)
fprintf(ofile, "OBJECT group\n"); fprintf(ofile, "OBJECT group\n");
fprintf(ofile, "name \"___%s_gl1\"\n", array_groups[i].tkmn->name); fprintf(ofile, "name \"___%s_gl1\"\n", array_groups[i].tkmn->name);
fprintf(ofile, "kids %d\n", array_groups[i].numkids1); 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; tmpob = array_groups[i].kids1;
while (tmpob != NULL) while (tmpob != NULL)
{ {
@ -484,7 +484,7 @@ void loadAndGroup(char *OutputFileName)
fprintf(ofile, "OBJECT group\n"); fprintf(ofile, "OBJECT group\n");
fprintf(ofile, "name \"___%s_gl0\"\n", array_groups[i].tkmn->name); fprintf(ofile, "name \"___%s_gl0\"\n", array_groups[i].tkmn->name);
fprintf(ofile, "kids %d\n", array_groups[i].numkids0 + 1); 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; tmpob = array_groups[i].kids0;
while (tmpob != NULL) while (tmpob != NULL)
{ {