Compile the Texture Font Generator with cmake.
This program is not built by default. Enable one of the following options to utilize it: * WITH_FULL_RELEASE * WITH_TEXTURE_GENERATOR It is heavily advised to make sure the MFC library is installed for Visual Studio and the computer is restarted afterwards. As a bonus, `zlib1.dll` can go away now. The old visual studio projects are still in play in case others still struggle with the code fixes.
This commit is contained in:
@@ -103,7 +103,6 @@ void GetBounds( const Surface *pSurf, RECT *out )
|
||||
#pragma include_alias( "zlib/zlib.h", "../zlib/zlib.h" )
|
||||
#include "png.h"
|
||||
#if defined(_MSC_VER)
|
||||
# pragma comment(lib, "libpng.lib")
|
||||
#pragma warning(disable: 4611) /* interaction between '_setjmp' and C++ object destruction is non-portable */
|
||||
#endif
|
||||
|
||||
|
||||
@@ -15,11 +15,11 @@ using namespace std;
|
||||
// Modify the following defines if you have to target a platform prior to the ones specified below.
|
||||
// Refer to MSDN for the latest info on corresponding values for different platforms.
|
||||
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
|
||||
#define WINVER 0x0500 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
|
||||
#define WINVER 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
|
||||
#define _WIN32_WINNT 0x0500 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
|
||||
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
|
||||
|
||||
Reference in New Issue
Block a user