Merge
This commit is contained in:
parent
1c66a607df
commit
29d3ba8367
4 changed files with 10 additions and 3 deletions
|
@ -1018,8 +1018,8 @@ void CPatchDLMContext::computeTextureFar()
|
||||||
// compute src pixel
|
// compute src pixel
|
||||||
const CRGBA *srcPixel= pTile->getPixels(CTileFarBank::diffuse, CTileFarBank::order1);
|
const CRGBA *srcPixel= pTile->getPixels(CTileFarBank::diffuse, CTileFarBank::order1);
|
||||||
// compute src info, for this tile rot and 256x256 context.
|
// compute src info, for this tile rot and 256x256 context.
|
||||||
sint srcDeltaX;
|
sint srcDeltaX = 0;
|
||||||
sint srcDeltaY;
|
sint srcDeltaY = 0;
|
||||||
srcPixel= computeTileFarSrcDeltas(nRot, is256x256, uvOff, srcPixel, srcDeltaX, srcDeltaY);
|
srcPixel= computeTileFarSrcDeltas(nRot, is256x256, uvOff, srcPixel, srcDeltaX, srcDeltaY);
|
||||||
|
|
||||||
// compute dst coordinate. start writing at pixel (1,1)
|
// compute dst coordinate. start writing at pixel (1,1)
|
||||||
|
|
|
@ -2118,7 +2118,7 @@ bool CPrimAlias::read (xmlNodePtr xmlNode, const char *filename, uint version, C
|
||||||
xmlNodePtr ptNode = CIXml::getFirstChildNode (xmlNode, "ALIAS");
|
xmlNodePtr ptNode = CIXml::getFirstChildNode (xmlNode, "ALIAS");
|
||||||
if (ptNode)
|
if (ptNode)
|
||||||
{
|
{
|
||||||
int val;
|
sint val = 0;
|
||||||
if (ReadInt ("VALUE", val, filename, ptNode))
|
if (ReadInt ("VALUE", val, filename, ptNode))
|
||||||
{
|
{
|
||||||
_Alias = uint32(val);
|
_Alias = uint32(val);
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
// 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/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
#include "stdpch.h"
|
||||||
#include "app_bundle_utils.h"
|
#include "app_bundle_utils.h"
|
||||||
|
|
||||||
#if defined(NL_OS_MAC)
|
#if defined(NL_OS_MAC)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
FILE(GLOB SRC main.cpp
|
FILE(GLOB SRC main.cpp
|
||||||
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/app_bundle_utils.cpp
|
||||||
${CMAKE_SOURCE_DIR}/ryzom/client/src/client_cfg.cpp
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/client_cfg.cpp
|
||||||
${CMAKE_SOURCE_DIR}/ryzom/client/src/login_patch.cpp
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/login_patch.cpp
|
||||||
${CMAKE_SOURCE_DIR}/ryzom/client/src/login_xdelta.cpp
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/login_xdelta.cpp
|
||||||
|
@ -21,6 +22,11 @@ TARGET_LINK_LIBRARIES(ryzom_client_patcher
|
||||||
ryzom_sevenzip
|
ryzom_sevenzip
|
||||||
${CURL_LIBRARIES})
|
${CURL_LIBRARIES})
|
||||||
|
|
||||||
|
IF(APPLE)
|
||||||
|
FIND_LIBRARY(FOUNDATION_LIBRARY Foundation)
|
||||||
|
TARGET_LINK_LIBRARIES(ryzom_client_patcher ${FOUNDATION_LIBRARY})
|
||||||
|
ENDIF(APPLE)
|
||||||
|
|
||||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} ${CURL_DEFINITIONS} -DRZ_NO_CLIENT -DNL_USE_SEVENZIP)
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} ${CURL_DEFINITIONS} -DRZ_NO_CLIENT -DNL_USE_SEVENZIP)
|
||||||
|
|
||||||
NL_DEFAULT_PROPS(ryzom_client_patcher "Ryzom, Tools: Ryzom Client Patcher")
|
NL_DEFAULT_PROPS(ryzom_client_patcher "Ryzom, Tools: Ryzom Client Patcher")
|
||||||
|
|
Loading…
Reference in a new issue