]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
Add cl_dyntexture.h and .c (don't need to be added to the makefile or vc project...
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 23 Nov 2007 00:26:10 +0000 (00:26 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 23 Nov 2007 00:26:10 +0000 (00:26 +0000)
commit598278f9f54f296bf415bc8cf4435ca7b90b052d
treee0b5fb7231122af0679e58c97b3bf1c80f8264a7
parentf01fef103ef8d8a2ac68855fa989d52ce479e8a9
Add cl_dyntexture.h and .c (don't need to be added to the makefile or vc project yet). They expose a simple interface to manage dynamic textures.
It supports getting the current texture handle for a dynamic texture path, linking a dynamic texture path to a texture handle and unlinking a dynamic texture path.
This is pretty transparent and it could be used for arbitrary dynamic textures (even ones that aren't updated but only linked dynamically into the game world - alias texture names).
This works for both skinframes and cachepics. Still contains lots of todos.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7713 d7cf8633-e32d-0410-b094-e92efae38249
cl_dyntexture.c [new file with mode: 0644]
cl_dyntexture.h [new file with mode: 0644]