r7713 - trunk/darkplaces

black at icculus.org black at icculus.org
Thu Nov 22 19:26:11 EST 2007


Author: black
Date: 2007-11-22 19:26:10 -0500 (Thu, 22 Nov 2007)
New Revision: 7713

Added:
   trunk/darkplaces/cl_dyntexture.c
   trunk/darkplaces/cl_dyntexture.h
Log is attached.
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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20071123.002611.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20071122/85d6d080/attachment.diff>


More information about the twilight-commits mailing list