vector draw_mousepointer_offset;\r
vector draw_mousepointer_size;\r
\r
-string draw_UseSkinFor(string pic)\r
-{\r
- if(substring(pic, 0, 1) == "/")\r
- return substring(pic, 1, strlen(pic)-1);\r
- else\r
- return strcat(draw_currentSkin, "/", pic);\r
-}\r
-\r
void draw_setMousePointer(string pic, vector theSize, vector theOffset)\r
{\r
draw_mousepointer = strzone(draw_UseSkinFor(pic));\r
return v;\r
}\r
\r
-void draw_PreloadPicture(string pic)\r
+string draw_PreloadPicture(string pic)\r
{\r
pic = draw_UseSkinFor(pic);\r
- precache_pic(pic);\r
+ return precache_pic(pic);\r
}\r
\r
void draw_Picture(vector theOrigin, string pic, vector theSize, vector theColor, float theAlpha)\r