support for alpha-tested models
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1890 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -28,6 +28,14 @@ void mdltranslucent(int translucency)
|
||||
|
||||
COMMAND(mdltranslucent, ARG_1INT);
|
||||
|
||||
void mdlalphatest(int alphatest)
|
||||
{
|
||||
checkmdl;
|
||||
loadingmodel->alphatest = alphatest/100.0f;
|
||||
}
|
||||
|
||||
COMMAND(mdlalphatest, ARG_1INT);
|
||||
|
||||
void mdlscale(int percent)
|
||||
{
|
||||
checkmdl;
|
||||
|
||||
Reference in New Issue
Block a user