mirror of
https://github.com/libretro/libretro-prboom.git
synced 2024-11-23 07:59:39 +00:00
Make sure some strings are newlined
This commit is contained in:
parent
3db3e620e4
commit
746478e694
10
src/r_data.c
10
src/r_data.c
@ -236,7 +236,7 @@ static void R_InitTextures (void)
|
||||
if (patch->patch == -1)
|
||||
{
|
||||
//jff 8/3/98 use logical output routine
|
||||
lprintf(LO_ERROR,"\nR_InitTextures: Missing patch %d in texture %.8s",
|
||||
lprintf(LO_ERROR,"\nR_InitTextures: Missing patch %d in texture %.8s\n",
|
||||
SHORT(mpatch->patch), texture->name); // killough 4/17/98
|
||||
++errors;
|
||||
}
|
||||
@ -407,13 +407,13 @@ const lighttable_t* R_ColourMap(int lightlevel, fixed_t spryscale)
|
||||
|
||||
void R_InitData(void)
|
||||
{
|
||||
lprintf(LO_INFO, "Textures ");
|
||||
lprintf(LO_INFO, "Textures\n");
|
||||
R_InitTextures();
|
||||
lprintf(LO_INFO, "Flats ");
|
||||
lprintf(LO_INFO, "Flats\n");
|
||||
R_InitFlats();
|
||||
lprintf(LO_INFO, "Sprites ");
|
||||
lprintf(LO_INFO, "Sprites\n");
|
||||
R_InitSpriteLumps();
|
||||
lprintf(LO_INFO, "Colormaps ");
|
||||
lprintf(LO_INFO, "Colormaps\n");
|
||||
R_InitColormaps(); // killough 3/20/98
|
||||
}
|
||||
|
||||
|
14
src/r_main.c
14
src/r_main.c
@ -487,20 +487,20 @@ void R_Init (void)
|
||||
// CPhipps - R_DrawColumn isn't constant anymore, so must
|
||||
// initialise in code
|
||||
// current column draw function
|
||||
lprintf(LO_INFO, "\nR_LoadTrigTables: ");
|
||||
lprintf(LO_INFO, "\nR_LoadTrigTables:\n");
|
||||
R_LoadTrigTables();
|
||||
lprintf(LO_INFO, "\nR_InitData: ");
|
||||
lprintf(LO_INFO, "\nR_InitData:\n");
|
||||
R_InitData();
|
||||
R_SetViewSize(screenblocks);
|
||||
lprintf(LO_INFO, "\nR_Init: R_InitPlanes ");
|
||||
lprintf(LO_INFO, "\nR_Init: R_InitPlanes\n");
|
||||
R_InitPlanes();
|
||||
lprintf(LO_INFO, "R_InitLightTables ");
|
||||
lprintf(LO_INFO, "R_InitLightTables\n");
|
||||
R_InitLightTables();
|
||||
lprintf(LO_INFO, "R_InitSkyMap ");
|
||||
lprintf(LO_INFO, "R_InitSkyMap\n");
|
||||
R_InitSkyMap();
|
||||
lprintf(LO_INFO, "R_InitTranslationsTables ");
|
||||
lprintf(LO_INFO, "R_InitTranslationsTables\n");
|
||||
R_InitTranslationTables();
|
||||
lprintf(LO_INFO, "R_InitPatches ");
|
||||
lprintf(LO_INFO, "R_InitPatches\n");
|
||||
R_InitPatches();
|
||||
}
|
||||
|
||||
|
12
src/tables.c
12
src/tables.c
@ -1870,7 +1870,7 @@ void R_LoadTrigTables(void)
|
||||
{
|
||||
lump = (W_CheckNumForName)("SINETABL",ns_prboom);
|
||||
if (lump == -1)
|
||||
lprintf(LO_INFO,"SINETABL:internal ");
|
||||
lprintf(LO_INFO,"SINETABL:internal\n");
|
||||
else if (W_LumpLength(lump) != sizeof(finesine))
|
||||
I_Error("R_LoadTrigTables: Invalid SINETABL");
|
||||
else
|
||||
@ -1879,7 +1879,7 @@ void R_LoadTrigTables(void)
|
||||
{
|
||||
lump = (W_CheckNumForName)("TANGTABL",ns_prboom);
|
||||
if (lump == -1)
|
||||
lprintf(LO_INFO,"TANGTABL:internal ");
|
||||
lprintf(LO_INFO,"TANGTABL:internal\n");
|
||||
else if (W_LumpLength(lump) != sizeof(finetangent))
|
||||
I_Error("R_LoadTrigTables: Invalid TANGTABL");
|
||||
else
|
||||
@ -1888,7 +1888,7 @@ void R_LoadTrigTables(void)
|
||||
{
|
||||
lump = (W_CheckNumForName)("TANTOANG",ns_prboom);
|
||||
if (lump == -1)
|
||||
lprintf(LO_INFO,"TANTOANG:internal ");
|
||||
lprintf(LO_INFO,"TANTOANG:internal'\n");
|
||||
else if (W_LumpLength(lump) != sizeof(tantoangle))
|
||||
I_Error("R_LoadTrigTables: Invalid TANTOANG");
|
||||
else
|
||||
@ -1897,12 +1897,12 @@ void R_LoadTrigTables(void)
|
||||
// Endianness correction - might still be non-portable, but is fast where possible
|
||||
{
|
||||
size_t n;
|
||||
lprintf(LO_INFO, "Endianness...");
|
||||
lprintf(LO_INFO, "Endianness...\n");
|
||||
|
||||
// This test doesn't assume the endianness of the tables, but deduces them from
|
||||
// en entry. I hope this is portable.
|
||||
if ((10 < finesine[1]) && (finesine[1] < 100)) {
|
||||
lprintf(LO_INFO, "ok.");
|
||||
lprintf(LO_INFO, "ok.\n");
|
||||
return; // Endianness is correct
|
||||
}
|
||||
|
||||
@ -1913,6 +1913,6 @@ void R_LoadTrigTables(void)
|
||||
CORRECT_TABLE_ENDIAN(finesine);
|
||||
CORRECT_TABLE_ENDIAN(finetangent);
|
||||
CORRECT_TABLE_ENDIAN(tantoangle);
|
||||
lprintf(LO_INFO, "corrected.");
|
||||
lprintf(LO_INFO, "corrected.\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user