Jump to content

problem with skill color


Recommended Posts

  • 7 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

// UserInterface/PythonApplication.h
// Find this:

#include "MovieMan.h"

// Add after this:

#include "PythonConfig.h"

// Find this:

CPythonSystem m_pySystem;

// Add after this:

#ifdef ENABLE_CONFIG_MODULE
CPythonConfig m_pyConfig;
#endif

//locale_inc.h
// Add

#define ENABLE_CONFIG_MODULE // Enable configuration module for saving settings

 

Userinterface.cpp

//search for

extern "C" {
extern int _fltused;
volatile int _AVOID_FLOATING_POINT_LIBRARY_BUG = _fltused;
};


// replace to

#ifdef ENABLE_NEW_MODULE_CONFIG
#include "PythonConfig.h"
#include "minIni.h"
#endif

extern "C" {
#include "minIni.c"
extern int _fltused;
volatile int _AVOID_FLOATING_POINT_LIBRARY_BUG = _fltused;
};

 

RENAME minIni.c in minIni.cpp

 

//minIni.cpp

//search for

#if defined NDEBUG
#define assert(e)
#else
#include <assert.h>
#endif


// replace to

#include "StdAfx.h"

#include "minIni.h"
#include "PythonApplication.h"
#include "PythonConfig.h"

#if defined NDEBUG
#define assert(e)
#else
#include <assert.h>
#endif

 

Source:  just4metin

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.