Description: spelling fix Author: Sébastien Noel Forwarded: not-needed, already fixed in https://github.com/DescentDevelopers/Descent3/pull/546 --- a/Descent3/BriefingParse.cpp +++ b/Descent3/BriefingParse.cpp @@ -827,7 +827,7 @@ done_parsing:; if (reading_text) { ParseError("Missing '$endtext'"); } else { - mprintf(0, "Parse sucessful\n"); + mprintf(0, "Parse successful\n"); } } --- a/Descent3/OsirisLoadandBind.cpp +++ b/Descent3/OsirisLoadandBind.cpp @@ -3422,7 +3422,7 @@ void Osiris_InitOMMS(void) { } void Osiris_CloseOMMS(void) { - mprintf(0, "OSIRIS: Reseting OMMS memory\n"); + mprintf(0, "OSIRIS: Resetting OMMS memory\n"); tOMMSHashNode *curr = OMMS_Hash_node_root; --- a/Descent3/Player.cpp +++ b/Descent3/Player.cpp @@ -3668,7 +3668,7 @@ bool PlayerResetShipPermissions(int pnum int perm; - mprintf(0, "Reseting ship permissions\n"); + mprintf(0, "Resetting ship permissions\n"); if (set_default) perm = Default_ship_permission; --- a/Descent3/TelCom.cpp +++ b/Descent3/TelCom.cpp @@ -1972,7 +1972,7 @@ void TelcomLoadHiLites(const char *filel TelcomHiLites[monitor] = (int *)mem_malloc(sizeof(int) * TelcomHiLiteCount[monitor]); if (!TelcomHiLites[monitor]) { - mprintf(0, "Unable to allocate memory for hilights monitor=%d\n", monitor); + mprintf(0, "Unable to allocate memory for HiLites monitor=%d\n", monitor); TelcomHiLiteCount[monitor] = 0; return; } --- a/Descent3/buddymenu.cpp +++ b/Descent3/buddymenu.cpp @@ -363,7 +363,7 @@ void MultiDoGuidebotMenuData(uint8_t *da Guidebot_data_download_status = 1; Multi_bail_ui_menu = true; - mprintf(0, "Recieved Guidebot data from server\n"); + mprintf(0, "Received Guidebot data from server\n"); } // downloads data for the buddybot @@ -415,7 +415,7 @@ int BuddyBotDownloadData(void) { case UID_CANCEL: case NEWUIRES_FORCEQUIT: if (Guidebot_data_download_status == 1) { - // we recieved data + // we received data Multi_bail_ui_menu = false; } else { Guidebot_data_download_status = -1; --- a/Descent3/multi.cpp +++ b/Descent3/multi.cpp @@ -4432,7 +4432,7 @@ void MultiDoWorldStates(uint8_t *data) { int flags = MultiGetInt(data, &count); int temp = 0xFFFFFFFF; - mprintf(0, "Recieved Level Goal World State: %d\n", goal_index); + mprintf(0, "Received Level Goal World State: %d\n", goal_index); Level_goals.GoalSetName(goal_index, name); Level_goals.GoalStatus(goal_index, LO_CLEAR_SPECIFIED, &temp); Level_goals.GoalStatus(goal_index, LO_SET_SPECIFIED, &flags, false); --- a/Descent3/pilot.cpp +++ b/Descent3/pilot.cpp @@ -1791,7 +1791,7 @@ void PltReadFile(pilot *Pilot, bool keyc filever = cf_ReadInt(file); cfclose(file); } catch (...) { - mprintf(0, "File exception has occured\n"); + mprintf(0, "File exception has occurred\n"); Int3(); Error(TXT_MAJORPLTERROR); return; @@ -1811,7 +1811,7 @@ void PltReadFile(pilot *Pilot, bool keyc try { _ReadOldPilotFile(Pilot, keyconfig, missiondata); } catch (...) { - mprintf(0, "File exception has occured\n"); + mprintf(0, "File exception has occurred\n"); Int3(); Error(TXT_MAJORPLTERROR); return; --- a/bitmap/bumpmap.cpp +++ b/bitmap/bumpmap.cpp @@ -72,7 +72,7 @@ int bump_AllocBumpmap(int w, int h) { GameBumpmaps[n].data = (uint16_t *)mem_malloc(w * h * 2); if (!GameBumpmaps[n].data) { - mprintf(0, "NOT ENOUGHT MEMORY FOR BUMPMAP!\n"); + mprintf(0, "NOT ENOUGH MEMORY FOR BUMPMAP!\n"); Int3(); return BAD_BUMP_INDEX; } --- a/bitmap/lightmap.cpp +++ b/bitmap/lightmap.cpp @@ -68,7 +68,7 @@ int lm_AllocLightmap(int w, int h) { memset(&GameLightmaps[n], 0, sizeof(bms_lightmap)); GameLightmaps[n].data = (uint16_t *)mem_malloc((w * h * 2)); if (!GameLightmaps[n].data) { - mprintf(0, "NOT ENOUGHT MEMORY FOR LIGHTMAP!\n"); + mprintf(0, "NOT ENOUGH MEMORY FOR LIGHTMAP!\n"); Int3(); return BAD_LM_INDEX; } --- a/manage/pagelock.cpp +++ b/manage/pagelock.cpp @@ -236,7 +236,7 @@ char *mng_CheckIfLockerPresent() { cf_ReadString(lockname, sizeof(lockname), infile); - mprintf(0, "%s has already got exlusive access to the table file.\n", lockname); + mprintf(0, "%s has already got exclusive access to the table file.\n", lockname); cfclose(infile); --- a/model/polymodel.cpp +++ b/model/polymodel.cpp @@ -1661,7 +1661,7 @@ int ReadNewModelFile(int polynum, CFILE if (pm->n_attach == (num_normals = cf_ReadInt(infile))) f_uvec = true; else { - mprintf(0, "WARNING: Ingoring ATTACH normals - total number doesn't match number of attach points\n"); + mprintf(0, "WARNING: Ignoring ATTACH normals - total number doesn't match number of attach points\n"); // Int3(); DataError("Model <%s> specifies %d attach points but only contains %d attach normals\n", pm->name, pm->n_attach, num_normals); --- a/netgames/dmfc/dmfcpackets.cpp +++ b/netgames/dmfc/dmfcpackets.cpp @@ -526,7 +526,7 @@ void DMFCBase::GetDMFCVersionCheck(uint8 if ((major != DMFC_VERSION_MAJOR) || (minor != DMFC_VERSION_MINOR)) { char buffer[200]; - snprintf(buffer, sizeof(buffer), "Excpecting Version %d.%d, found %d.%d", major, minor, DMFC_VERSION_MAJOR, + snprintf(buffer, sizeof(buffer), "Expecting Version %d.%d, found %d.%d", major, minor, DMFC_VERSION_MAJOR, DMFC_VERSION_MINOR); FatalError(buffer); } --- a/networking/networking.cpp +++ b/networking/networking.cpp @@ -1554,7 +1554,7 @@ void nw_HandleConnectResponse(uint8_t *d Net_connect_socket_id = i; reliable_sockets[i].last_sent = timer_GetTime(); reliable_sockets[i].waiting_packet_number = -1; - mprintf(0, "Succesfully connected to server in nw_ConnectToServer().\n"); + mprintf(0, "Successfully connected to server in nw_ConnectToServer().\n"); // Now send I_AM_HERE packet conn_header.type = RNT_I_AM_HERE; conn_header.seq = INTEL_SHORT((int16_t)(~CONNECTSEQ)); --- a/scripts/Level6.cpp +++ b/scripts/Level6.cpp @@ -1282,7 +1282,7 @@ void PriestJustEnteredPuzzle(void) { } void PriestResetPuzzle(void) { - mprintf(0, "Reseting Priest Key Puzzle\n"); + mprintf(0, "Resetting Priest Key Puzzle\n"); if (Var_PriestPuzzleCompleted != 1.0f) { Var_PriestPlayerCurrNode = 0; Var_PriestPuzzleGoofed = 0; --- a/sndlib/sdlsound.cpp +++ b/sndlib/sdlsound.cpp @@ -292,7 +292,7 @@ int lnxsound::PlaySound2d(play_informati // do common processing. if (SoundFiles[Sounds[sound_index].sample_index].used == 0) { - mprintf(0, "Tryed to play %d sound, it DNE.\n", sound_index); + mprintf(0, "Tried to play %d sound, it DNE.\n", sound_index); return -1; } #ifdef _DEBUG --- a/sndlib/soundload.cpp +++ b/sndlib/soundload.cpp @@ -431,7 +431,7 @@ int LoadSoundFile(const char *filename, len = strlen(filename); if (len < 4) { - mprintf(0, "SOUND LOADER: %s does not have a 3 charactor extension.\n", filename); + mprintf(0, "SOUND LOADER: %s does not have a 3 character extension.\n", filename); Int3(); // Get chris goto error_state; }