@ -1,4 +1,4 @@
LIBRARY nelligoscapeutility.dlx
;LIBRARY nelligoscapeutility.dlx
EXPORTS
LibDescription @1
LibNumberClasses @2
@ -18,6 +18,14 @@
#include <assert.h>
#ifdef _STLPORT_VERSION
namespace std
{
float fabsf(float f);
double fabsl(double f);
}
#endif
// Various MAX and MXS includes
#include <maxversion.h>
#if MAX_VERSION_MAJOR >= 14
@ -14,6 +14,19 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef STDAFX_H
#define STDAFX_H
#include <string>
#include <windows.h>
#include <locale.h>
@ -58,3 +71,5 @@
#include "nel/misc/bsphere.h"
@ -49,6 +49,7 @@
#include <vector>
#include <map>
#include "../nel_patch_lib/rpo.h"
#include "nel/misc/time_nl.h"
@ -27,6 +27,14 @@
using namespace NLMISC;
using namespace NL3D;
float fabsf(float f) { return ::fabsf(f); }
double fabsl(double f) { return ::fabsl(f); }
// ***************************************************************************
// --------------------------------------------------
LIBRARY nelconvertpatch.dlm
;LIBRARY nelconvertpatch.dlm
@ -19,7 +19,19 @@
#pragma conform(forScope, push)
#pragma conform(forScope, off)
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
LIBRARY neleditpatch
;LIBRARY neleditpatch
LIBRARY neleditpatchadv
;LIBRARY neleditpatchadv
@ -1,4 +1,6 @@
#pragma warning (disable : 4786)
#include <max.h>
#include <decomp.h>
#include <buildver.h>
@ -17,7 +17,9 @@
LIBRARY nelpaintpatch.dlm
;LIBRARY nelpaintpatch.dlm
LIBRARY nel_vertex_tree_paint
;LIBRARY nel_vertex_tree_paint
LIBRARY neltileutility.dlu
;LIBRARY neltileutility.dlu
@ -20,7 +20,9 @@
#include <Max.h>
@ -10,6 +10,9 @@
#pragma once
#endif // _MSC_VER > 1000
#include "nel/misc/types_nl.h"
#include "nel/misc/file.h"
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
@ -263,7 +263,7 @@ void CHeaderDialog::getFromDocument (const NLGEORGES::CFileHeader &header)
if (end)
// Build a string
int length = std::min (31, end-start);
int length = std::min (31, (int)(end-start));
memcpy (name, start, length);
name[length] = 0;