bmap_for_texture (STRING* name)
Returns a BMAP* pointer to a level texture. This way, the content of textures can be replaced.
|| The name of the texture in WED. Only the first 15 characters are significant.
BMAP* pointer to a bmap if operation was successfully, otherwise NULL.
- Functions like media_play etc. can use the BMAP* pointer for playing movies on level textures.
- When tex_share is set, the function searches the level blocks and all map entities. Otherwise it searches the level block textures only.
BMAP* bm = bmap_for_texture("stone");
► latest version online