#include "hgimg3.as"
#usecom IDirect3DDevice8 "{7385E5DF-8FE8-41D5-86B6-D7B48547B6CF}"
#comfunc SetRenderState 50 int,int
screen
hgini
hggetreq i,SYSREQ_PTRD3DDEV
newcom com,,-1,i
SetRenderState com,8,2
addbox i,20,20
modelshade i
regobj i,i
hgdraw
hgsync 15
onexit *EXIT
stop
*EXIT
delcom com
end