make use of the texture command simplifications
Merge pull request #11 from plankatron/master

map work
texunload command for unloading texture packs
better comment
use just one loop
properly update remaining packs after texunload
cleanups
texture improvements: if you texunload, further calls to texture try to reuse vslots of unloaded slots (allows for clean reloading)
texreload command; allow a texpack to be loaded only once
turn texpacks into a doubly linked list
cleanups
tex(un|re)load -> texpack(un|re)load, add new texpack command to create virtual texpacks without executing files, and use that in media.cfg
cleanups
cleanups
get rid of a cast
savemap by default writes media.cfg
convert default and core textures to texture packs
when culling away slots, do not erase all texture packs, only those that had textures removed
sync @ 979