diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt
index 538382e5f..a504198ed 100644
--- a/code/CMakeLists.txt
+++ b/code/CMakeLists.txt
@@ -260,14 +260,14 @@ IF(WIN32)
ENDIF(NOT CMAKE_BUILD_TYPE STREQUAL "Release")
# Install CEGUI and its dependencies.
- IF(WITH_CEGUI)
+ IF(WITH_NEL_CEGUI)
INSTALL(FILES "${CEGUI_LIB_DIR}/CEGUIBase.dll" DESTINATION bin)
INSTALL(FILES "${CEGUI_LIB_DIR}/CEGUIDevilImageCodec.dll" DESTINATION bin)
INSTALL(FILES "${CEGUI_LIB_DIR}/CEGUIExpatParser.dll" DESTINATION bin)
INSTALL(FILES "${CEGUI_LIB_DIR}/CEGUIFalagardWRBase.dll" DESTINATION bin)
INSTALL(FILES "${CEGUI_LIB_DIR}/Devil.dll" DESTINATION bin)
INSTALL(FILES "${CEGUI_LIB_DIR}/ILU.dll" DESTINATION bin)
- ENDIF(WITH_CEGUI)
+ ENDIF(WITH_NEL_CEGUI)
# Only the tools require MFC.
IF(WITH_TOOLS)
diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake
index 94fdf346d..d96937cc2 100644
--- a/code/CMakeModules/nel.cmake
+++ b/code/CMakeModules/nel.cmake
@@ -42,6 +42,7 @@ MACRO(NL_DEFAULT_PROPS name label)
# Set versions only if target is a shared library
SET_TARGET_PROPERTIES(${name} PROPERTIES
VERSION ${NL_VERSION} SOVERSION ${NL_VERSION_MAJOR}
+ INSTALL_NAME_DIR ${NL_LIB_PREFIX}
PROJECT_LABEL ${label})
ELSE(${type} STREQUAL SHARED_LIBRARY)
SET_TARGET_PROPERTIES(${name} PROPERTIES
@@ -288,7 +289,7 @@ MACRO(NL_SETUP_BUILD)
# without inlining it's unusable, use custom optimizations again
SET(MIN_OPTIMIZATIONS "/Ob1")
- SET(PLATFORM_CFLAGS "/D_CRT_SECURE_NO_WARNINGS /DWIN32 /D_WINDOWS /W3 /Zi")
+ SET(PLATFORM_CFLAGS "/D_CRT_SECURE_NO_WARNINGS /DWIN32 /D_WINDOWS /W3 /Zi /Zm1000")
IF(WITH_STLPORT)
# deactivate all global include paths
diff --git a/code/nel/CMakeLists.txt b/code/nel/CMakeLists.txt
index bff4ab359..74c8a1902 100644
--- a/code/nel/CMakeLists.txt
+++ b/code/nel/CMakeLists.txt
@@ -32,9 +32,9 @@ IF(WITH_3D)
ENDIF(NOT WIN32)
ENDIF(WITH_DRIVER_OPENGL)
- IF(WITH_CEGUI)
+ IF(WITH_NEL_CEGUI)
FIND_PACKAGE(CEGUI)
- ENDIF(WITH_CEGUI)
+ ENDIF(WITH_NEL_CEGUI)
ENDIF(WITH_3D)
diff --git a/code/nel/include/nel/3d/driver.h b/code/nel/include/nel/3d/driver.h
index 914a1ea57..329dd19d2 100644
--- a/code/nel/include/nel/3d/driver.h
+++ b/code/nel/include/nel/3d/driver.h
@@ -558,6 +558,12 @@ public:
/// Swap the back and front buffers.
virtual bool swapBuffers(void)=0;
+ /// Copy a string to system clipboard.
+ virtual bool copyTextToClipboard(const ucstring &text) =0;
+
+ /// Paste a string from system clipboard.
+ virtual bool pasteTextFromClipboard(ucstring &text) =0;
+
/** set the number of VBL wait when a swapBuffers() is issued. 0 means no synchronisation to the VBL
* Default is 1. Values >1 may be clamped to 1 by the driver.
*/
diff --git a/code/nel/include/nel/3d/driver_user.h b/code/nel/include/nel/3d/driver_user.h
index 699691d89..1d079a2b7 100644
--- a/code/nel/include/nel/3d/driver_user.h
+++ b/code/nel/include/nel/3d/driver_user.h
@@ -535,6 +535,11 @@ public:
virtual void deleteWaterEnvMap(UWaterEnvMap *map);
// @}
+ // Copy a string to system clipboard.
+ virtual bool copyTextToClipboard(const ucstring &text);
+
+ // Paste a string from system clipboard.
+ virtual bool pasteTextFromClipboard(ucstring &text);
virtual uint64 getSwapBufferCounter();
diff --git a/code/nel/include/nel/3d/u_driver.h b/code/nel/include/nel/3d/u_driver.h
index ce421b46d..9fe5c86d0 100644
--- a/code/nel/include/nel/3d/u_driver.h
+++ b/code/nel/include/nel/3d/u_driver.h
@@ -816,6 +816,15 @@ public:
virtual uint64 getSwapBufferCounter() = 0;
+ /// \name Clipboard management
+ // @{
+ // Copy a string to system clipboard.
+ virtual bool copyTextToClipboard(const ucstring &text) =0;
+
+ // Paste a string from system clipboard.
+ virtual bool pasteTextFromClipboard(ucstring &text) =0;
+ // @}
+
public:
/**
diff --git a/code/nel/include/nel/CMakeLists.txt b/code/nel/include/nel/CMakeLists.txt
index 0be2a83a0..9e2d5586c 100644
--- a/code/nel/include/nel/CMakeLists.txt
+++ b/code/nel/include/nel/CMakeLists.txt
@@ -28,6 +28,6 @@ IF(WITH_PACS)
SUBDIRS(pacs)
ENDIF(WITH_PACS)
-IF(WITH_CEGUI)
+IF(WITH_NEL_CEGUI)
SUBDIRS(cegui)
-ENDIF(WITH_CEGUI)
+ENDIF(WITH_NEL_CEGUI)
diff --git a/code/nel/include/nel/cegui/inellibrary.h b/code/nel/include/nel/cegui/inellibrary.h
index 73ff3e2f8..4cc3c17e2 100644
--- a/code/nel/include/nel/cegui/inellibrary.h
+++ b/code/nel/include/nel/cegui/inellibrary.h
@@ -1,3 +1,19 @@
+// NeL - MMORPG Framework
+// Copyright (C) 2010 Winch Gate Property Limited
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+
#ifndef __INELLIBRARY_H__
#define __INELLIBRARY_H__
diff --git a/code/nel/src/ligo/zone_bank.h b/code/nel/include/nel/ligo/zone_bank.h
similarity index 100%
rename from code/nel/src/ligo/zone_bank.h
rename to code/nel/include/nel/ligo/zone_bank.h
diff --git a/code/nel/include/nel/misc/big_file.h b/code/nel/include/nel/misc/big_file.h
index 582b44e46..c7c96912a 100644
--- a/code/nel/include/nel/misc/big_file.h
+++ b/code/nel/include/nel/misc/big_file.h
@@ -58,7 +58,10 @@ public:
void remove (const std::string &sBigFileName);
// true if a bigFile is added
- bool isBigFileAdded(const std::string &sBigFileName);
+ bool isBigFileAdded(const std::string &sBigFileName) const;
+
+ // return name of Big File
+ std::string getBigFileName(const std::string &sBigFileName) const;
// List all files in a bigfile
void list (const std::string &sBigFileName, std::vector &vAllFiles);
diff --git a/code/nel/include/nel/misc/eid_translator.h b/code/nel/include/nel/misc/eid_translator.h
index 82d239511..695f7724e 100644
--- a/code/nel/include/nel/misc/eid_translator.h
+++ b/code/nel/include/nel/misc/eid_translator.h
@@ -20,6 +20,7 @@
#include
#include
#include