Home
last modified time | relevance | path

Searched refs:TM_BASE_TYPE (Results 1 – 24 of 24) sorted by relevance

/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/
H A Dmaterial.cpp36 mat_info->set_texture_map(TM_BASE_TYPE, texture); in material_set_unlit()
65 mat_info->set_texture_map(TM_BASE_TYPE, texture); in material_set_unlit_color()
86 mat_info->set_texture_map(TM_BASE_TYPE, texture); in material_set_interface()
109 mat_info->set_texture_map(TM_BASE_TYPE, texture); in material_set_unlit_volume()
122 mat_info->set_texture_map(TM_BASE_TYPE, texture); in material_set_distortion()
131 mat_info->set_texture_map(TM_BASE_TYPE, texture); in material_set_rocket_interface()
186 mat_info->set_texture_map(TM_BASE_TYPE, diffuse_tex); in material_set_decal()
213 Texture_maps[TM_BASE_TYPE] = -1; in material()
264 Texture_maps[TM_BASE_TYPE] > -1 || in is_textured()
718 if ( get_texture_map(TM_BASE_TYPE) > 0 && !Basemap_override ) { in get_shader_flags()
H A Ddecal_draw_list.cpp70 auto left_diffuse_base = bm_get_base_frame(left.draw_mat.get_texture_map(TM_BASE_TYPE)); in sort_draws()
71 auto right_diffuse_base = bm_get_base_frame(right.draw_mat.get_texture_map(TM_BASE_TYPE)); in sort_draws()
H A Duniforms.cpp137 data_out->sBasemapIndex = bm_get_array_index(material.get_texture_map(TM_BASE_TYPE)); in convert_model_material()
H A Drender.cpp137 render_mat.set_texture_map(TM_BASE_TYPE, gr_screen.current_bitmap); in bitmap_ex_internal()
499 render_mat.set_texture_map(TM_BASE_TYPE, fontData->bitmap_id); in gr_string_old()
1272 render_mat.set_texture_map(TM_BASE_TYPE, gr_screen.current_bitmap); in gr_aabitmap_list()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/model/
H A Dmodelrender.cpp1036 texture_maps[TM_BASE_TYPE] = -1; in model_render_buffers()
1057 texture_maps[TM_BASE_TYPE] = -1; in model_render_buffers()
1060 tex_replace[TM_BASE_TYPE] = texture_info(replacement_textures[rt_begin_index + TM_BASE_TYPE]); in model_render_buffers()
1061 … texture_maps[TM_BASE_TYPE] = model_interp_get_texture(&tex_replace[TM_BASE_TYPE], base_frametime); in model_render_buffers()
1064 …texture_maps[TM_BASE_TYPE] = model_interp_get_texture(&tmap->textures[TM_BASE_TYPE], base_frametim… in model_render_buffers()
1067 if ( texture_maps[TM_BASE_TYPE] < 0 ) { in model_render_buffers()
1149 tex_replace[TM_BASE_TYPE] = texture_info(replacement_textures[rt_begin_index + TM_BASE_TYPE]); in model_render_buffers()
1150 … texture_maps[TM_BASE_TYPE] = model_interp_get_texture(&tex_replace[TM_BASE_TYPE], base_frametime); in model_render_buffers()
1152 …texture_maps[TM_BASE_TYPE] = model_interp_get_texture(&tmap->textures[TM_BASE_TYPE], base_frametim… in model_render_buffers()
1203 rendering_material->set_texture_map(TM_BASE_TYPE, texture_maps[TM_BASE_TYPE]); in model_render_buffers()
[all …]
H A Dmodelcollide.cpp164 Mc->hit_bitmap = Mc_pm->maps[ntmap].textures[TM_BASE_TYPE].GetTexture(); in mc_check_face()
258 Mc->hit_bitmap = Mc_pm->maps[ntmap].textures[TM_BASE_TYPE].GetTexture(); in mc_check_sphereline_face()
322 Mc->hit_bitmap = Mc_pm->maps[ntmap].textures[TM_BASE_TYPE].GetTexture(); in mc_check_sphereline_face()
468 …if ( (!(Mc->flags & MC_CHECK_INVISIBLE_FACES)) && (Mc_pm->maps[tmap_num].textures[TM_BASE_TYPE].Ge… in model_collide_tmappoly()
588 …& MC_CHECK_INVISIBLE_FACES)) && (Mc_pm->maps[leaf->tmap_num].textures[TM_BASE_TYPE].GetTexture() <… in model_collide_bsp_poly()
H A Dmodel.h633 #define TM_BASE_TYPE 0 // the standard base map macro
H A Dmodelinterp.cpp2441 int bitmap_handle = tmap->textures[TM_BASE_TYPE].GetTexture(); in interp_create_transparency_index_buffer()
H A Dmodelread.cpp2662 texture_info *tbase = &tmap->textures[TM_BASE_TYPE]; in model_load_texture()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scripting/api/objs/
H A Dtexturemap.cpp81 tmap->textures[TM_BASE_TYPE].SetTexture(new_tex->handle);
84 return ade_set_args(L, "o", l_Texture.Set(texture_h(tmap->textures[TM_BASE_TYPE].GetTexture())));
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/opengl/
H A Dgropengltnl.cpp733 int base_map = material_info->get_texture_map(TM_BASE_TYPE); in opengl_tnl_set_material()
846 …gr_opengl_tcache_set(material_info->get_texture_map(TM_BASE_TYPE), TCACHE_TYPE_NORMAL, &u_scale, &… in opengl_tnl_set_model_material()
1045 if (gr_opengl_tcache_set(material_info->get_texture_map(TM_BASE_TYPE), in opengl_tnl_set_material_decal()
1090 …if (!gr_opengl_tcache_set(material_info->get_texture_map(TM_BASE_TYPE), material_info->get_texture… in opengl_tnl_set_rocketui_material()
1092 …f(("WARNING: Error setting bitmap texture (%i)!\n", material_info->get_texture_map(TM_BASE_TYPE))); in opengl_tnl_set_rocketui_material()
H A Dgropengldraw.cpp619 if (material_info->get_texture_map(TM_BASE_TYPE) >= 0) { in gr_opengl_render_shield_impact()
622 …if (!gr_opengl_tcache_set(material_info->get_texture_map(TM_BASE_TYPE), material_info->get_texture… in gr_opengl_render_shield_impact()
624 …f(("WARNING: Error setting bitmap texture (%i)!\n", material_info->get_texture_map(TM_BASE_TYPE))); in gr_opengl_render_shield_impact()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/model/
H A Dmodelcollide.cpp162 Mc->hit_bitmap = Mc_pm->maps[ntmap].textures[TM_BASE_TYPE].GetTexture(); in mc_check_face()
252 Mc->hit_bitmap = Mc_pm->maps[ntmap].textures[TM_BASE_TYPE].GetTexture(); in mc_check_sphereline_face()
319 Mc->hit_bitmap = Mc_pm->maps[ntmap].textures[TM_BASE_TYPE].GetTexture(); in mc_check_sphereline_face()
459 …if ( (!(Mc->flags & MC_CHECK_INVISIBLE_FACES)) && (Mc_pm->maps[tmap_num].textures[TM_BASE_TYPE].Ge… in model_collide_tmappoly()
579 …& MC_CHECK_INVISIBLE_FACES)) && (Mc_pm->maps[leaf->tmap_num].textures[TM_BASE_TYPE].GetTexture() <… in model_collide_bsp_poly()
H A Dmodelinterp.cpp759 texture_info *tbase = &tmap->textures[TM_BASE_TYPE]; in model_interp_tmappoly()
937 …cement_textures != NULL) && (Interp_new_replacement_textures[rt_begin_index + TM_BASE_TYPE] >= 0)){ in model_interp_tmappoly()
938 … texture_info tt = texture_info(Interp_new_replacement_textures[rt_begin_index + TM_BASE_TYPE]); in model_interp_tmappoly()
970 for(int tmn = TM_BASE_TYPE+1; tmn < TM_NUM_TYPES; tmn++) in model_interp_tmappoly()
4624 …extures != NULL) && (Interp_new_replacement_textures[rt_begin_index + TM_BASE_TYPE] == REPLACE_WIT… in model_render_buffers()
4627 …ment_textures != NULL) && (Interp_new_replacement_textures[rt_begin_index + TM_BASE_TYPE] >= 0) ) { in model_render_buffers()
4629 …tex_replace[TM_BASE_TYPE] = texture_info(Interp_new_replacement_textures[rt_begin_index + TM_BASE_… in model_render_buffers()
4630 texture = model_interp_get_texture(&tex_replace[TM_BASE_TYPE], Interp_base_frametime); in model_render_buffers()
4633 texture = model_interp_get_texture(&tmap->textures[TM_BASE_TYPE], Interp_base_frametime); in model_render_buffers()
H A Dmodel.h615 #define TM_BASE_TYPE 0 // the standard base map macro
H A Dmodelread.cpp2316 texture_info *tbase = &tmap->textures[TM_BASE_TYPE]; in model_load_texture()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/paths/
H A DNanoVGRenderer.cpp672 mat.set_texture_map(TM_BASE_TYPE, -1); in drawFill()
790 mat.set_texture_map(TM_BASE_TYPE, tex->bitmap); in materialSetTexture()
795 mat.set_texture_map(TM_BASE_TYPE, -1); in materialSetTexture()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ship/
H A Dshield.cpp403 material_info.set_texture_map(TM_BASE_TYPE, bitmap_id); in shield_render_decal()
H A Dship.cpp7550 diffuse_handle = pm->maps[i].textures[TM_BASE_TYPE].GetTexture(); in ship_add_cockpit_display()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/debris/
H A Ddebris.cpp1089 tbase = &pm->maps[0].textures[TM_BASE_TYPE]; in debris_render()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/debris/
H A Ddebris.cpp177 tbase = &pm->maps[0].textures[TM_BASE_TYPE]; in MONITOR()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/render/
H A D3ddraw.cpp674 bm_get_info(mat_params->get_texture_map(TM_BASE_TYPE), &bw, &bh, NULL); in g3_render_rect_screen_aligned_2d()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/parse/
H A Dlua.cpp3834 tmap->textures[TM_BASE_TYPE].SetTexture(new_tex);
3837 return ade_set_args(L, "o", l_Texture.Set(tmap->textures[TM_BASE_TYPE].GetTexture()));
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ship/
H A Dship.cpp6725 diffuse_handle = pm->maps[i].textures[TM_BASE_TYPE].GetTexture(); in ship_add_cockpit_display()