DoggoMaster Posted March 31, 2018 Share Posted March 31, 2018 How to draw custom picture to my menu? C++ Link to comment Share on other sites More sharing options...
ikt Posted March 31, 2018 Share Posted March 31, 2018 You either draw one from a texture dictionary or use SHV's texture drawing thing to draw your own. Link to comment Share on other sites More sharing options...
RavCoder Posted April 16, 2018 Share Posted April 16, 2018 You can use method with .ytd file, you putting in this your own sprites and after draw it in your menu. Link to comment Share on other sites More sharing options...
Juarez Posted April 30, 2018 Share Posted April 30, 2018 (edited) //Variables static char *pszDictName = "dictName";static char* pszTextureName = "textureName";// LoadGRAPHICS::REQUEST_STREAMED_TEXTURE_DICT(pszDictName, false);while(!GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED(pszDictName)){}// DrawGRAPHICS::DRAW_SPRITE(pszDictName, pszTextureName, 0.0, 0.0, 200.0f, 200.0f, 0.0f, 255, 255, 255, 255);// ReleaseGRAPHICS::SET_STREAMED_TEXTURE_DICT_AS_NO_LONGER_NEEDED(pszDictName); Edited April 30, 2018 by juarez Link to comment Share on other sites More sharing options...
RavCoder Posted May 3, 2018 Share Posted May 3, 2018 //Variables static char *pszDictName = "dictName";static char* pszTextureName = "textureName";// LoadGRAPHICS::REQUEST_STREAMED_TEXTURE_DICT(pszDictName, false);while(!GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED(pszDictName)){}// DrawGRAPHICS::DRAW_SPRITE(pszDictName, pszTextureName, 0.0, 0.0, 200.0f, 200.0f, 0.0f, 255, 255, 255, 255);// ReleaseGRAPHICS::SET_STREAMED_TEXTURE_DICT_AS_NO_LONGER_NEEDED(pszDictName); Custom Picture, no Sprite. Czytaj ze zrozumieniem Link to comment Share on other sites More sharing options...
Juarez Posted May 8, 2018 Share Posted May 8, 2018 (edited) Custom Picture, no Sprite. Czytaj ze zrozumieniem I'm really sorry for that, my bad. Edited May 8, 2018 by juarez Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now