Jump to content

[Python] Management graphic mode


VegaS™
 Share

Recommended Posts


constInfo... 2017 pls.

 

xD Yeah i know but a lot a people fuck me on some forums "why fuck you did a lot a macro defines for all shits things in source, and why you not put in constInfo to enable/disable more fast."

 

So, here it is for people who want in source: (Check first tutorial, was edited)

//@Src/Client/UserInterface/Locale_inc.h
#define ENABLE_GRAPHIC_MODE

//@Src/Client/UserInterface/PythonApplicationModule.cpp
#ifdef ENABLE_GRAPHIC_MODE
	PyModule_AddIntConstant(poModule, "ENABLE_GRAPHIC_MODE",	1);
#else
	PyModule_AddIntConstant(poModule, "ENABLE_GRAPHIC_MODE",	0);
#endif
//Search:
if constInfo.ENABLE_GRAPHIC_MODE_FEATURES_VEGAS:
//Replace with:
if app.ENABLE_GRAPHIC_MODE:

Ahh and i forgot bro, happy new year  :ph34r:

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...