Fix spello "rturns"

This commit is contained in:
Jan Engelhardt 2024-11-04 10:20:43 +01:00
parent 9b2675b1f7
commit 6fb7684a85
17 changed files with 17 additions and 17 deletions

View File

@ -434,7 +434,7 @@ int mng_FindSpecificDoorPage(char *name, mngs_door_page *doorpage, int offset) {
} }
// Given a door page, allocs a door and calls AssignDoorPageToDoor to actually // Given a door page, allocs a door and calls AssignDoorPageToDoor to actually
// load models and values. Rturns door handle on success, -1 if fail // load models and values. Returns door handle on success, -1 if fail
int mng_SetAndLoadDoor(mngs_door_page *doorpage) { int mng_SetAndLoadDoor(mngs_door_page *doorpage) {
int n; int n;

View File

@ -51,7 +51,7 @@ int mng_ReadNewDoorPage(CFILE *infile, mngs_door_page *doorpage);
int mng_FindSpecificDoorPage(char *name, mngs_door_page *doorpage, int offset = 0); int mng_FindSpecificDoorPage(char *name, mngs_door_page *doorpage, int offset = 0);
// Given a door page, allocs a door and calls AssignDoorPageToDoor to actually // Given a door page, allocs a door and calls AssignDoorPageToDoor to actually
// load model and values. Rturns door handle on success, -1 if fail // load model and values. Returns door handle on success, -1 if fail
int mng_SetAndLoadDoor(mngs_door_page *doorpage); int mng_SetAndLoadDoor(mngs_door_page *doorpage);
// Given a doorpage and a door handle, attempts to make door n correspond to // Given a doorpage and a door handle, attempts to make door n correspond to

View File

@ -196,7 +196,7 @@ int mng_FindSpecificGamefilePage(char *name, mngs_gamefile_page *gamefilepage, i
} }
// Given a gamefile page, allocs a gamefile and calls AssignGamefilePageToGamefile to actually // Given a gamefile page, allocs a gamefile and calls AssignGamefilePageToGamefile to actually
// load models and values. Rturns gamefile handle on success, -1 if fail // load models and values. Returns gamefile handle on success, -1 if fail
int mng_SetAndLoadGamefile(mngs_gamefile_page *gamefilepage) { int mng_SetAndLoadGamefile(mngs_gamefile_page *gamefilepage) {
int n; int n;

View File

@ -48,7 +48,7 @@ int mng_ReadNewGamefilePage(CFILE *infile, mngs_gamefile_page *gamefilepage);
int mng_FindSpecificGamefilePage(char *name, mngs_gamefile_page *gamefilepage, int offset = 0); int mng_FindSpecificGamefilePage(char *name, mngs_gamefile_page *gamefilepage, int offset = 0);
// Given a gamefile page, allocs a gamefile and calls AssignGamefilePageToGamefile to actually // Given a gamefile page, allocs a gamefile and calls AssignGamefilePageToGamefile to actually
// load bitmaps and values. Rturns gamefile handle on success, -1 if fail // load bitmaps and values. Returns gamefile handle on success, -1 if fail
int mng_SetAndLoadGamefile(mngs_gamefile_page *gamefilepage); int mng_SetAndLoadGamefile(mngs_gamefile_page *gamefilepage);
// Given a gamefilepage and a gamefile handle, attempts to make gamefile n correspond to // Given a gamefilepage and a gamefile handle, attempts to make gamefile n correspond to

View File

@ -1838,7 +1838,7 @@ try_again:;
} }
// Given a generic page, allocs a generic and calls AssignGenericPageTogeneric to actually // Given a generic page, allocs a generic and calls AssignGenericPageTogeneric to actually
// load models and values. Rturns generic handle on success, -1 if fail // load models and values. Returns generic handle on success, -1 if fail
int mng_SetAndLoadGeneric(mngs_generic_page *genericpage, CFILE *infile) { int mng_SetAndLoadGeneric(mngs_generic_page *genericpage, CFILE *infile) {
int i, j, n; int i, j, n;
bool f_anim = false; bool f_anim = false;

View File

@ -61,7 +61,7 @@ int mng_ReadNewGenericPage(CFILE *infile, mngs_generic_page *genericpage);
int mng_FindSpecificGenericPage(char *name, mngs_generic_page *genericpage, int offset = 0); int mng_FindSpecificGenericPage(char *name, mngs_generic_page *genericpage, int offset = 0);
// Given a generic page, allocs a generic and calls AssignGenericPageToGeneric to actually // Given a generic page, allocs a generic and calls AssignGenericPageToGeneric to actually
// load model and values. Rturns generic handle on success, -1 if fail // load model and values. Returns generic handle on success, -1 if fail
int mng_SetAndLoadGeneric(mngs_generic_page *genericpage, CFILE *infile = NULL); int mng_SetAndLoadGeneric(mngs_generic_page *genericpage, CFILE *infile = NULL);
// Given a genericpage and a generic handle, attempts to make generic n correspond to // Given a genericpage and a generic handle, attempts to make generic n correspond to

View File

@ -233,7 +233,7 @@ int mng_FindSpecificMegacellPage(char *name, mngs_megacell_page *megacellpage, i
return found; // successful! return found; // successful!
} }
// Given a megacell page, allocs a megacell and calls AssignMegacellPageToMegacell to actually // Given a megacell page, allocs a megacell and calls AssignMegacellPageToMegacell to actually
// load models and values. Rturns megacell handle on success, -1 if fail // load models and values. Returns megacell handle on success, -1 if fail
int mng_SetAndLoadMegacell(mngs_megacell_page *megacellpage) { int mng_SetAndLoadMegacell(mngs_megacell_page *megacellpage) {
int n; int n;

View File

@ -49,7 +49,7 @@ int mng_ReadNewMegacellPage(CFILE *infile, mngs_megacell_page *megacellpage);
int mng_FindSpecificMegacellPage(char *name, mngs_megacell_page *megacellpage, int local); int mng_FindSpecificMegacellPage(char *name, mngs_megacell_page *megacellpage, int local);
// Given a megacell page, allocs a megacell and calls AssignMegacellPageToMegacell to actually // Given a megacell page, allocs a megacell and calls AssignMegacellPageToMegacell to actually
// load model and values. Rturns megacell handle on success, -1 if fail // load model and values. Returns megacell handle on success, -1 if fail
int mng_SetAndLoadMegacell(mngs_megacell_page *megacellpage); int mng_SetAndLoadMegacell(mngs_megacell_page *megacellpage);
// Given a megacellpage and a megacell handle, attempts to make megacell n correspond to // Given a megacellpage and a megacell handle, attempts to make megacell n correspond to

View File

@ -53,7 +53,7 @@ int mng_DeletePowPage(char *name, int local);
int mng_FindSpecificPowPage(char *name, mngs_power_page *powpage, int offset = 0); int mng_FindSpecificPowPage(char *name, mngs_power_page *powpage, int offset = 0);
// Given a power page, allocs a powerup and calls AssignPowPageToPowerup to actually // Given a power page, allocs a powerup and calls AssignPowPageToPowerup to actually
// load bitmaps and values. Rturns powerup handle on success, -1 if fail // load bitmaps and values. Returns powerup handle on success, -1 if fail
int mng_SetAndLoadPowerup(mngs_power_page *powpage); int mng_SetAndLoadPowerup(mngs_power_page *powpage);
// Given a powpage and a powerup handle, attempts to make powerup n correspond to // Given a powpage and a powerup handle, attempts to make powerup n correspond to

View File

@ -53,7 +53,7 @@ int mng_DeleteRobotPage(char *name, int local);
int mng_FindSpecificRobotPage(char *name, mngs_robot_page *robotpage); int mng_FindSpecificRobotPage(char *name, mngs_robot_page *robotpage);
// Given a robot page, allocs a robot and calls AssignRobotPageToRobot to actually // Given a robot page, allocs a robot and calls AssignRobotPageToRobot to actually
// load model and values. Rturns robot handle on success, -1 if fail // load model and values. Returns robot handle on success, -1 if fail
int mng_SetAndLoadRobot(mngs_robot_page *robotpage); int mng_SetAndLoadRobot(mngs_robot_page *robotpage);
// Given a robotpage and a robot handle, attempts to make robot n correspond to // Given a robotpage and a robot handle, attempts to make robot n correspond to

View File

@ -913,7 +913,7 @@ try_again:;
} }
// Given a ship page, allocs a ship and calls AssignShipPageToShip to actually // Given a ship page, allocs a ship and calls AssignShipPageToShip to actually
// load models and values. Rturns ship handle on success, -1 if fail // load models and values. Returns ship handle on success, -1 if fail
int mng_SetAndLoadShip(mngs_ship_page *shippage, CFILE *infile) { int mng_SetAndLoadShip(mngs_ship_page *shippage, CFILE *infile) {
int n; int n;

View File

@ -57,7 +57,7 @@ int mng_ReadNewShipPage(CFILE *infile, mngs_ship_page *shippage);
int mng_FindSpecificShipPage(char *name, mngs_ship_page *shippage, int offset = 0); int mng_FindSpecificShipPage(char *name, mngs_ship_page *shippage, int offset = 0);
// Given a ship page, allocs a ship and calls AssignShipPageToShip to actually // Given a ship page, allocs a ship and calls AssignShipPageToShip to actually
// load model and values. Rturns ship handle on success, -1 if fail // load model and values. Returns ship handle on success, -1 if fail
int mng_SetAndLoadShip(mngs_ship_page *shippage, CFILE *infile); int mng_SetAndLoadShip(mngs_ship_page *shippage, CFILE *infile);
// Given a shippage and a ship handle, attempts to make ship n correspond to // Given a shippage and a ship handle, attempts to make ship n correspond to

View File

@ -381,7 +381,7 @@ int mng_FindSpecificSoundPage(char *name, mngs_sound_page *soundpage, int offset
return found; // successful! return found; // successful!
} }
// Given a sound page, allocs a sound and calls AssignSoundPageToSound to actually // Given a sound page, allocs a sound and calls AssignSoundPageToSound to actually
// load raws and values. Rturns sound handle on success, -1 if fail // load raws and values. Returns sound handle on success, -1 if fail
int mng_SetAndLoadSound(mngs_sound_page *soundpage) { int mng_SetAndLoadSound(mngs_sound_page *soundpage) {
int n; int n;

View File

@ -48,7 +48,7 @@ int mng_ReadNewSoundPage(CFILE *infile, mngs_sound_page *soundpage);
int mng_FindSpecificSoundPage(char *name, mngs_sound_page *soundpage, int offset = 0); int mng_FindSpecificSoundPage(char *name, mngs_sound_page *soundpage, int offset = 0);
// Given a sound page, allocs a sound and calls AssignSoundPageToSound to actually // Given a sound page, allocs a sound and calls AssignSoundPageToSound to actually
// load model and values. Rturns sound handle on success, -1 if fail // load model and values. Returns sound handle on success, -1 if fail
int mng_SetAndLoadSound(mngs_sound_page *soundpage); int mng_SetAndLoadSound(mngs_sound_page *soundpage);
// Given a soundpage and a sound handle, attempts to make sound n correspond to // Given a soundpage and a sound handle, attempts to make sound n correspond to

View File

@ -916,7 +916,7 @@ try_again:;
} }
// Given a texture page, allocs a texture and calls AssignTexPageToTexture to actually // Given a texture page, allocs a texture and calls AssignTexPageToTexture to actually
// load bitmaps and values. Rturns texture handle on success, -1 if fail // load bitmaps and values. Returns texture handle on success, -1 if fail
int mng_SetAndLoadTexture(mngs_texture_page *texpage, CFILE *infile) { int mng_SetAndLoadTexture(mngs_texture_page *texpage, CFILE *infile) {
int n; int n;

View File

@ -1345,7 +1345,7 @@ int mng_GetGuaranteedWeaponPage(char *name, CFILE *infile) {
} }
// Given a weapon page, allocs a weapon and calls AssignWeaponPageToWeapon to actually // Given a weapon page, allocs a weapon and calls AssignWeaponPageToWeapon to actually
// load models and values. Rturns weapon handle on success, -1 if fail // load models and values. Returns weapon handle on success, -1 if fail
int mng_SetAndLoadWeapon(mngs_weapon_page *weaponpage, CFILE *infile) { int mng_SetAndLoadWeapon(mngs_weapon_page *weaponpage, CFILE *infile) {
int n; int n;

View File

@ -61,7 +61,7 @@ int mng_FindSpecificWeaponPage(char *name, mngs_weapon_page *weaponpage, int off
int mng_FindSpecificWeaponPage(char *name, mngs_weapon_page *weaponpage); int mng_FindSpecificWeaponPage(char *name, mngs_weapon_page *weaponpage);
// Given a weapon page, allocs a weapon and calls AssignWeaponPageToWeapon to actually // Given a weapon page, allocs a weapon and calls AssignWeaponPageToWeapon to actually
// load model and values. Rturns weapon handle on success, -1 if fail // load model and values. Returns weapon handle on success, -1 if fail
int mng_SetAndLoadWeapon(mngs_weapon_page *weaponpage, CFILE *infile); int mng_SetAndLoadWeapon(mngs_weapon_page *weaponpage, CFILE *infile);
// Given a weaponpage and a weapon handle, attempts to make weapon n correspond to // Given a weaponpage and a weapon handle, attempts to make weapon n correspond to