Clean up some superfluous logging messages

This commit is contained in:
ROllerozxa 2026-02-15 23:32:23 +01:00
commit 9584af22d1
5 changed files with 7 additions and 13 deletions

View file

@ -161,7 +161,6 @@ p_font::p_font(struct tms_atlas *atlas, const char *font_path, int height, bool
if (extended_charset) {
this->glyph_indices_local = new FT_UInt[256];
for (int i = CHAR_OFFSET; i < 256; ++i) {
tms_infof("Getting glyph index for char code %d", i);
this->glyph_indices_local[i] = FT_Get_Char_Index(this->face, i);
}
}

View file

@ -821,7 +821,6 @@ gui_spritesheet::upload_text_atlas()
tms_texture_upload(&atlas_text->texture);
gui_spritesheet::text_atlas_modified = false;
tms_debugf("Done");
}
void

View file

@ -287,7 +287,6 @@ init_framebuffers(void)
}
if (settings["enable_shadows"]->v.b) {
tms_infof("SM(%u,%u)", settings["shadow_map_resx"]->v.i,settings["shadow_map_resy"]->v.i);
gi_fb = tms_fb_alloc(settings["shadow_map_resx"]->v.i,settings["shadow_map_resy"]->v.i, (settings["swap_shadow_map"]->v.b?1:0));
/* XXX use RGB is only shadows, RGBA if shadows+gi */
//tms_fb_add_texture(gi_fb, GL_RGB, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE, GL_NEAREST, GL_NEAREST);
@ -324,7 +323,6 @@ init_framebuffers(void)
}
if (settings["enable_ao"]->v.i) {
tms_infof("AO!!!!!!");
int res = settings["ao_map_res"]->v.i == 512 ? 512 : (
settings["ao_map_res"]->v.i == 256 ? 256 :
128);
@ -1931,6 +1929,7 @@ initial_loader(int step)
case 17:
{
#if 0
uint32_t total = 0;
for (int x=0; x<step; x++) {
tms_infof("%27s: %u", load_step_name[x], loader_times[x]);
@ -1938,6 +1937,7 @@ initial_loader(int step)
}
tms_infof("%27s: %u", "Total", total);
#endif
ui::emit_signal(SIGNAL_QUICKADD_REFRESH);
}

View file

@ -517,7 +517,7 @@ static int last_loaded = -1;
void
material_factory::load_bg_texture(bool soft)
{
tms_debugf("Load BG Texture...");
tms_debugf("Load BG Textures...");
char bgname[256];
if (material_factory::background_id >= num_bgs || material_factory::background_id < 0)
@ -566,8 +566,6 @@ material_factory::load_bg_texture(bool soft)
tex_bg->upload();
tms_texture_free_buffer(tex_bg);
tms_debugf("Done");
}
#define TEX_LAZYLOAD_FN(name, body) \
@ -1192,10 +1190,10 @@ material_factory::init_shaders()
char *buf;
int r;
tms_debugf("Reading %s vertex shader...", sld->name);
//tms_debugf("Reading %s vertex shader...", sld->name);
read_shader(sld, GL_VERTEX_SHADER, global_flags, &buf);
if (!buf) {
tms_infof("Falling back, failed to read!");
tms_infof("Failed to read %s vertex shader!", sld->name);
*sld->shader = (sld->fallback ? *sld->fallback : 0);
continue;
}
@ -1207,10 +1205,10 @@ material_factory::init_shaders()
free(buf);
buf = 0;
tms_debugf("Reading %s fragment shader...", sld->name);
//tms_debugf("Reading %s fragment shader...", sld->name);
read_shader(sld, GL_FRAGMENT_SHADER, global_flags, &buf);
if (!buf) {
tms_infof("Falling back, failed to read!");
tms_infof("Failed to read %s fragment shader!", sld->name);
*sld->shader = (sld->fallback ? *sld->fallback : 0);
continue;
}

View file

@ -31,8 +31,6 @@ load_3ds_model(struct tms_model *model,
filesz = SDL_RWtell(fp);
SDL_RWseek(fp, 0, SEEK_SET);
tms_debugf("3DS FILE SIZE: %d", (int)filesz);
while (SDL_RWtell(fp) < filesz) {
SDL_RWread(fp, &chunk_id, 2, 1);
SDL_RWread(fp, &chunk_len, 4, 1);