Commit graph

2110 commits

Author SHA1 Message Date
Guillaume Dupuy
116769bc4e Remove duplicate code 2016-12-17 14:31:27 +01:00
Guillaume Dupuy
82dcde8aa6 Fix a bug where a monster could be stuck after dropping aggro while rooted 2016-12-17 02:47:05 +01:00
kervala
487a6eacfa Merge with develop 2016-12-15 21:12:19 +01:00
kervala
77c4520ce3 Changed: Support VC++ 2013 DLLs 2016-12-15 21:11:27 +01:00
ulukyn
ae32111ea2 Fixed: Load Scenographic Editor lua files 2016-12-14 22:24:49 +01:00
ulukyn
fd1f324c5c Fixed: Load Scenographic Editor lua files 2016-12-14 20:16:42 +01:00
ulukyn
8fc66a4af4 Fixed: Load Scenographic Editor lua files 2016-12-14 16:14:33 +01:00
ulukyn
569793d779 Added: sceneedit.lua and json.lua used by Scenographic Editor 2016-12-14 13:36:59 +01:00
ulukyn
390765d49f Fixed: updateVector don't need return a boolean 2016-12-13 23:42:02 +01:00
ulukyn
66a34ace54 Fusion 2016-12-13 21:16:30 +01:00
ulukyn
448da5375d Fixed: Removing some nlinfo and correction getMouseRightDown 2016-12-13 21:08:33 +01:00
kervala
d3dc21ad46 Merge with develop 2016-12-12 12:03:15 +01:00
kervala
e084c2014a Fixed: Compilation 2016-12-12 12:02:25 +01:00
kervala
5acd03d77d Merge with develop 2016-12-11 19:27:27 +01:00
kervala
ea2caaeb55 Changed: Fix warning 2016-12-11 19:26:38 +01:00
kervala
64bcfd92fa Fixed: Compilation with clang 2016-12-11 19:26:23 +01:00
kervala
861a9b399a Merge with develop 2016-12-11 14:25:19 +01:00
kervala
3e98e267a2 Fixed: Use -Wno-... 2016-12-11 14:24:43 +01:00
kervala
879cac9d29 Changed: GCC warnings 2016-12-11 14:23:58 +01:00
kervala
bb3f3370b8 Fixed: Wrong indent 2016-12-11 14:21:28 +01:00
kervala
43a3391a98 Chnged: Sign comparison warning 2016-12-11 14:20:52 +01:00
kervala
b4d5bb9af5 Changed: Removed unused variables 2016-12-11 14:20:31 +01:00
kervala
f3147c7616 Merge with develop 2016-12-11 12:43:05 +01:00
kervala
e8b906c59b Fixed: Compilation 2016-12-11 12:42:06 +01:00
kervala
486a5e4638 Merge with develop 2016-12-11 12:32:05 +01:00
kervala
3665c79b3a Fixed: Use std::vector instead of CUniquePtr for arrays 2016-12-11 12:31:24 +01:00
kervala
ffdbcd1ab8 Changed: Use %u for uint 2016-12-11 11:59:30 +01:00
kervala
42497fed77 Changed: Display line number instead of a pointer on a string 2016-12-11 11:59:10 +01:00
kervala
93fa57d25c Fixed: %s needs a const char* 2016-12-11 11:58:30 +01:00
kervala
27d3fd12d9 Fixed: Don't crash if a file is not unique in BNPs 2016-12-11 11:57:02 +01:00
ulukyn
2a7615b2f4 Added: ARKPACSBorders to enable/disable the display of collisions by user 2016-12-10 22:05:38 +01:00
ulukyn
512d300741 Added: Export usefull cursor and shape functions in lua:
getGroundAtMouse
getMousePos
getMouseDown
getMouseMiddleDown
getMouseRightDown
setMouseCursor
setupShape
getShapeIdAt
addShape
moveShape
rotateShape
getShapePos
getShapeScale
getShapeRot
getShapeColPos
getShapeColScale
getShapeColOrient
deleteShape
2016-12-10 22:04:33 +01:00
ulukyn
18b024f0c7 Added: Add lua function to have an icon at left of menu option 2016-12-10 21:58:15 +01:00
kervala
dab3de7a74 Merge with develop 2016-12-10 19:52:43 +01:00
kervala
f2368f2a91 Merge 2016-12-10 19:47:19 +01:00
kervala
f3fae4fc60 Changed: Replace Win32 calls by NeL methods 2016-12-10 19:46:51 +01:00
kervala
98544addc3 Changed: Removed unused methods and used TCHARs 2016-12-10 19:42:02 +01:00
kervala
674e240fdd Changed: Use _T macro 2016-12-10 19:39:39 +01:00
kervala
2fa6b8d316 Fixed: Compilation 2016-12-10 19:36:41 +01:00
kervala
f485c71918 Changed: Use 3dsmax SDK definitions 2016-12-10 19:07:15 +01:00
kervala
e387a1c31f Fixed: Warning on 64 bits 2016-12-10 19:05:24 +01:00
kervala
b1b13aedb8 Fixed: Compilation with 3dsmax 2017 SDK 2016-12-10 19:05:05 +01:00
kervala
ba441d034a Fixed: C++11 forbids to throw exception in destructor 2016-12-10 19:04:29 +01:00
kervala
e1f810ffba Changed: extern keyword useless there 2016-12-10 19:02:06 +01:00
kervala
0be5b4b248 Fixed: Don't call CCoTask::releaseInstance() because allocated on heap 2016-12-10 19:01:34 +01:00
kervala
7fb636f37d Changed: Minor changes 2016-12-10 18:58:13 +01:00
kervala
2c5a5b15d6 Fixed: Strict aliasing warnings 2016-12-10 18:55:31 +01:00
kervala
dca976b855 Changed: New "new" definitions for NEW_DEBUG macro defined by MFC 2016-12-10 18:50:01 +01:00
kervala
af70349233 Changed: Destructor for CApplicationContext to display singletons still in memory 2016-12-10 18:48:53 +01:00
kervala
cf840353ce Removed: Empty cpp files 2016-12-10 18:40:17 +01:00
kervala
a4f0c1f4d8 Changed: Replace a lot of const char* by std::string parameters 2016-12-10 18:40:03 +01:00
kervala
b36b97b05a Changed: Some warnings are specific to clang 2016-12-10 18:38:46 +01:00
kervala
1ee5aa36bc Fixed: Compilation of World Editor in Unicode 2016-12-10 18:15:01 +01:00
Nimetu
ef96b3ec6e Fixed: Protocol-less url in windows 2016-12-10 18:56:44 +02:00
kervala
12f39043b0 Changed: Use TCHAR functions 2016-12-10 14:21:20 +01:00
kervala
3c9e4e3098 Changed: Use TCHAR functions 2016-12-10 13:43:00 +01:00
kervala
51068e2164 Changed: Already a std::string 2016-12-10 13:09:16 +01:00
kervala
7a270ff9c0 Changed: Use addSlashR to replace \n by \r\n 2016-12-10 13:08:39 +01:00
kervala
08071b75dd Changed: NeL helpers to launch an external editor 2016-12-10 13:02:26 +01:00
kervala
a184dd7d8f Changed: Convert std::string <> TCHAR 2016-12-10 13:01:27 +01:00
kervala
d3b6102228 Changed: Check return code of WaitForSingleObject and log error 2016-12-10 12:36:04 +01:00
kervala
5a5bc16225 Fixed: Compilation 2016-12-10 12:33:44 +01:00
kervala
a625bccce3 Changed: Replace a lot of const char* by std::string parameters 2016-12-10 12:30:57 +01:00
kervala
bbeac21e82 Changed: Use a CUniquePtr macro since std::unique_ptr doesn't exist on all (yet) supported platforms 2016-12-10 12:05:29 +01:00
kervala
a6b31df8de Changed: Release all memory when leaving in login screen 2016-12-09 16:15:18 +01:00
kervala
9bfa8f1049 Fixed: Release CCurrentCoTask singleton 2016-12-09 16:14:16 +01:00
kervala
ffdbf0be8c Changed: Delete filenames before allocating new ones 2016-12-09 16:05:13 +01:00
kervala
a905001849 Changed: Unimplemented functions 2016-12-09 16:04:50 +01:00
kervala
914980875b Changed: Unicode MFC support 2016-12-09 16:04:26 +01:00
kervala
a0221817f2 Changed: New tga2dds option -g to force grayscale image instead of alpha 2016-12-09 13:53:43 +01:00
kervala
2a8a904b0a Removed: Empty cpp files 2016-12-09 13:51:52 +01:00
kervala
de6bb36f73 Changed: Memory leaks detection 2016-12-09 13:51:09 +01:00
kervala
c05158f6de Changed: VC++ 2005 (even if not supported...) 2016-12-09 13:47:43 +01:00
kervala
8ce3151275 Changed: Define _USING_V110_SDK71_ if targeting XP with VC++ 2012, 2013 and 2015 2016-12-09 13:47:15 +01:00
kervala
75e183e637 Backed out changeset: 6b7af3bc4752 2016-12-08 18:20:34 +01:00
kervala
b9adbbca89 Changed: Version 3.1.0 2016-12-08 18:19:36 +01:00
kervala
1c8dff239d Merge with develop 2016-12-08 10:51:07 +01:00
kervala
1c06a65bd7 Fixed: Replace Win32 code by multiplatform one using NeL classes 2016-12-07 14:22:50 +01:00
kervala
b497d1139c Changed: Use UNICODE for all MFC projects because it's recommended by MS 2016-12-07 13:04:43 +01:00
kervala
52301431e4 Merge with develop 2016-12-06 20:29:22 +01:00
kervala
fc43d58aab Changed: Warning 2016-12-06 20:27:05 +01:00
kervala
10d0667a2f Fixed: Compilation with clang 2016-12-06 20:26:48 +01:00
kervala
dc8b7d0d5c Changed: Use _M and _T macros 2016-12-06 20:26:26 +01:00
kervala
e76f5d5919 Fixed: Truncated pointer 2016-12-06 20:25:31 +01:00
kervala
1e32e85b2a Fixed: Compilation 2016-12-06 20:24:48 +01:00
kervala
c70aa5143b Changed: Don't close a display already closed 2016-12-06 20:24:21 +01:00
kervala
c6e4e1d15a Changed: Little less verbose warnings 2016-12-06 20:23:49 +01:00
kervala
6d67ad70e0 Merge with develop 2016-12-05 20:13:49 +01:00
kervala
426098fd9e Fixed: Compilation with clang 2016-12-05 20:13:15 +01:00
kervala
21f31f1827 Merge with develop 2016-12-05 19:53:15 +01:00
kervala
d548256abd Changed: Minor change 2016-12-05 19:52:25 +01:00
kervala
b73cf7ac22 Changed: Display more warnings if using -fstack-protector 2016-12-05 19:52:14 +01:00
kervala
8c4e14e20b Changed: Display if using Ninja 2016-12-05 19:42:21 +01:00
kervala
17411bcc35 Changed: Display all warnings excepted unused parameters 2016-12-05 19:42:11 +01:00
kervala
1568d0f770 Fixed: Only compile in c++0x in C++ 2016-12-05 19:40:48 +01:00
kervala
ac4df3b65a Changed: Only compile with libc++ in C++ 2016-12-05 19:40:24 +01:00
kervala
aead758a0c Fixed: Compilation with clang 2016-12-05 19:39:19 +01:00
kervala
7ea585dffd Changed: Use NLMISC::openURL to open a page in browser 2016-12-05 19:35:55 +01:00
kervala
4cdcbb1332 Changed: Use ADD_PLATFORM_LINKFLAGS macro 2016-12-05 19:35:29 +01:00
kervala
7036702324 Merge with develop 2016-12-05 14:06:48 +01:00
kervala
13544a4d84 Fixed: Compilation of Ryzom Installer with Qt versions older than 5.6 2016-12-05 14:06:17 +01:00
kervala
b276f39ac8 Fixed: CMake definitions in PCH 2016-12-05 14:04:43 +01:00
kervala
7ad66f8ebd Fixed: Target OS X 10.7 so we can switch to libc++ instead of very old GCC 4.2.1 STL 2016-12-05 14:04:22 +01:00
kervala
eff218b8ab Fixed: Force c++0x for GCC and clang to be able to use std::unique_ptr and std::shared_ptr 2016-12-05 14:03:44 +01:00
kervala
1ae9e6c9f1 Merge with develop 2016-12-05 12:03:34 +01:00
kervala
ec9e4cbd56 Fixed: Compilation 2016-12-05 12:03:08 +01:00
kervala
5e67e0f93c Merge with develop 2016-12-05 09:53:58 +01:00
kervala
70f7f510e5 Changed: Ligo headers path 2016-12-05 09:53:25 +01:00
kervala
c93a04743c Changed: Moved other Ligo headers to include 2016-12-05 09:51:48 +01:00
kervala
018203a62c Changed: Disable -fno-strict-aliasing (and fix all strict aliasing warnings) 2016-12-05 09:24:26 +01:00
kervala
5baaa3bcd9 Merge with develop 2016-12-05 09:04:36 +01:00
kervala
671610b101 Fixed: Compilation under Linux 2016-12-05 09:03:13 +01:00
kervala
b61c9d4cf8 Merge with develop 2016-12-04 20:31:56 +01:00
kervala
14bfc8070e Changed: Only compile gameshare for Ryzom servers, client or tools 2016-12-04 20:31:24 +01:00
kervala
b3e23b5ef0 Merge with develop 2016-12-04 20:01:00 +01:00
kervala
25960c83fc Changed: Use -200.f instead of float(-200) 2016-12-04 20:00:37 +01:00
kervala
23f3ef683c Changed: Catch constification 2016-12-04 19:59:45 +01:00
kervala
c10b96fe24 Fixed: Support 3dsmax 2017 SDK 2016-12-04 19:59:25 +01:00
kervala
2b4fd383c4 Changed: Convert MSTR to UTF-8 2016-12-04 19:35:47 +01:00
kervala
c53133e7f2 Merge with develop 2016-12-04 19:19:15 +01:00
kervala
2f78215beb Changed: Use !empty() instead of size() 2016-12-04 19:18:08 +01:00
kervala
0da495081a Fixed: Release libxml2 structures before exit 2016-12-04 19:17:21 +01:00
kervala
ab047793cf Fixed: Compatibility with CMake 2.8 2016-12-04 19:16:34 +01:00
kervala
061bed6635 Merge with develop 2016-12-04 18:39:21 +01:00
kervala
9d39532d7d Changed: Don't use std::auto_ptr anymore (use std::unique_ptr instead) 2016-12-04 18:38:16 +01:00
kervala
18ca67b199 Merge with develop 2016-12-04 17:32:34 +01:00
kervala
380dd952ed Fixed: Prototype of method NotifyRefChanged changed in latest 3dsmax SDK versions 2016-12-04 17:27:29 +01:00
kervala
8f8578c57b Fixed: Latest 3dsmax SDK versions are using p_end instead of end 2016-12-04 17:25:27 +01:00
kervala
12aa9f54e7 Changed: nlwarning already put a \n 2016-12-04 17:24:00 +01:00
kervala
95bf392fe3 Fixed: Fix memory leaks about logs, displayers, etc... 2016-12-04 17:23:28 +01:00
kervala
35d98fda26 Changed: Don't need to use const char* 2016-12-04 17:22:49 +01:00
kervala
11b56a7e6d Changed: Renamed thread to Thread and assign InstallThread and DownloadThread 2016-12-04 17:19:37 +01:00
kervala
162b9e182b Changed: Replace 0 by NULL 2016-12-04 17:17:25 +01:00
kervala
5709cd0a5f Fixed: Delete CViewRenderer instance (fix a memory leak) 2016-12-04 17:17:06 +01:00
kervala
e805d78297 Fixed: Delete created thread (fix a memory leak) 2016-12-04 17:15:43 +01:00
kervala
8f7ab70efe Changed: Don't need to use CSString 2016-12-04 17:14:47 +01:00
kervala
bd58acdf86 Fixed: Warnings with GGC 6 2016-12-04 17:12:58 +01:00
kervala
26e76f796a Fixed: getMission returns a mission instead of NULL 2016-12-04 17:12:39 +01:00
kervala
5f1da53bd9 Fixed: Typo 2016-12-04 17:11:23 +01:00
kervala
70ea375a94 Fixed: Only 1 parameter for forceMissionProgress 2016-12-04 17:11:12 +01:00
kervala
d42bb07919 Fixed: Don't truncate 64 bits pointers 2016-12-04 17:10:10 +01:00
kervala
b58fd4b100 Changed: Remove empty function 2016-12-04 17:05:36 +01:00
kervala
e3e2fe0e74 Changed: Only delete _ProcessName if not NULL 2016-12-04 17:05:17 +01:00
kervala
63c925371d Changed: Use NULL instead of 0 2016-12-04 17:04:55 +01:00
kervala
038fbf0ea8 Fixed: Warning with VC++ 2015 2016-12-04 17:04:38 +01:00
kervala
f91c328261 Fixed: Compilation restore new to use new placement 2016-12-04 17:04:05 +01:00
kervala
95ee56ca5b Changed: Include PCH 2016-12-04 17:03:15 +01:00
kervala
c6b34b000b Removed: Empty sources 2016-12-04 17:01:38 +01:00
kervala
3f67ec3e5d Changed: Memory leaks detection 2016-12-04 17:00:20 +01:00
kervala
56d2a24352 Fixed: Define new operators when memory leaks detectin is enabled 2016-12-04 16:56:32 +01:00