Commit graph

1001 commits

Author SHA1 Message Date
kervala
6d651b9c68 Changed: Use !empty() instead of size()
--HG--
branch : develop
2016-12-04 19:18:08 +01:00
kervala
00048f0d6d Changed: Don't use std::auto_ptr anymore (use std::unique_ptr instead)
--HG--
branch : develop
2016-12-04 18:38:16 +01:00
kervala
36cc1ea2b5 Fixed: Prototype of method NotifyRefChanged changed in latest 3dsmax SDK versions
--HG--
branch : develop
2016-12-04 17:27:29 +01:00
kervala
b3da4247d4 Fixed: Latest 3dsmax SDK versions are using p_end instead of end
--HG--
branch : develop
2016-12-04 17:25:27 +01:00
kervala
664f494b07 Changed: nlwarning already put a \n
--HG--
branch : develop
2016-12-04 17:24:00 +01:00
kervala
e69858491c Fixed: Don't truncate 64 bits pointers
--HG--
branch : develop
2016-12-04 17:10:10 +01:00
kervala
d9ab55640c Changed: Use MCHAR and _M macros for 3dsmax SDK strings
--HG--
branch : develop
2016-12-02 17:20:25 +01:00
kervala
ffa5203a79 Changed: Minor changes
--HG--
branch : develop
2016-12-02 16:30:10 +01:00
kervala
7af3a4c68c Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE
--HG--
branch : develop
2016-12-02 16:24:31 +01:00
kervala
1e97c4f6f1 Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE
--HG--
branch : develop
2016-11-29 20:51:53 +01:00
kervala
5988d7ea82 Changed: Support PNG for Snapshot Tool
--HG--
branch : develop
2016-11-29 20:47:33 +01:00
kervala
fa8c29b60b Changed: Constification of catches
--HG--
branch : develop
2016-11-29 20:46:49 +01:00
kervala
25a4d6bbed Changed: Replace all path native functions by NeL methods
--HG--
branch : develop
2016-11-29 20:43:55 +01:00
kervala
c13b007090 Changed: Moved Ligo headers to include
--HG--
branch : develop
2016-11-29 20:34:35 +01:00
kervala
d568a0eedd Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE
--HG--
branch : develop
2016-11-29 20:24:58 +01:00
kervala
1137006eb4 Changed: Minor changes
--HG--
branch : develop
2016-11-25 14:12:03 +01:00
kervala
b17da91efd Changed: Minor changes
--HG--
branch : develop
2016-11-25 13:26:53 +01:00
kervala
033a337419 Changed: Replace all _splitpath by NeL methods
--HG--
branch : develop
2016-11-22 19:34:43 +01:00
kervala
6565603216 Changed: Convert CString and TCHAR* from/to std::string
--HG--
branch : develop
2016-11-22 13:07:52 +01:00
kervala
b7ca1d224c Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-22 12:39:44 +01:00
kervala
a3262bb971 Fixed: Warnings
--HG--
branch : develop
2016-11-22 12:22:17 +01:00
kervala
3fb4424909 Changed: Improved formatting
--HG--
branch : develop
2016-11-20 17:15:56 +01:00
kervala
f605c5faa5 Changed: Replace all "" by empty(), clear(), Empty(), etc...
--HG--
branch : develop
2016-11-20 14:49:13 +01:00
kervala
0fb9906929 Changed: Constification of catches
--HG--
branch : develop
2016-11-20 12:31:48 +01:00
kervala
ebe7357257 Changed: Constification of catches
--HG--
branch : develop
2016-11-19 21:15:58 +01:00
kervala
61bb58bea3 Fixed: Typos
--HG--
branch : develop
2016-11-19 21:07:52 +01:00
kervala
791821d6d6 Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-19 21:07:20 +01:00
kervala
8d82472586 Changed: Macros to convert to/from TCHAR* and std::string
--HG--
branch : develop
2016-11-19 19:46:40 +01:00
kervala
9941fcf82b Fixed: Typos detected by Lintian
--HG--
branch : develop
2016-11-19 19:11:12 +01:00
kervala
c8b9c5dc4b Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-17 10:55:21 +01:00
kervala
e2eedc4852 Changed: Minor changes
--HG--
branch : develop
2016-11-17 10:30:59 +01:00
kervala
b36ded52df Changed: 3dsmax 2013 and up are always using Unicode
--HG--
branch : develop
2016-11-15 10:55:41 +01:00
kervala
947178e859 Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-15 10:39:22 +01:00
kervala
19e8ee1d05 Changed: Simplified all ENDIF and ELSE
--HG--
branch : develop
2016-10-27 10:54:09 +02:00
kervala
59c9b587f0 Changed: New format/f parameter for build_interface to force a format (png or tga)
--HG--
branch : develop
2016-10-23 16:28:51 +02:00
kervala
577e49ef91 Changed: Minor changes
--HG--
branch : develop
2016-10-22 16:52:34 +02:00
kervala
d8f92e1cee Fixed: Ignore extension when looking for textures
--HG--
branch : develop
2016-10-22 16:52:20 +02:00
kervala
891784f23d Changed: Write UNIX EOL in UV files
--HG--
branch : develop
2016-10-22 16:50:31 +02:00
kervala
7f74f70e6f Changed: Allow to extract interface elements with build_interface
--HG--
branch : develop
2016-10-22 16:49:57 +02:00
kervala
8b239df6a9 Changed: Implement and use CBitmap::makeTransparentPixelsBlack()
--HG--
branch : develop
2016-10-22 16:47:25 +02:00
kervala
b2f5fed3bf Changed: Replace sscanf by fromString
--HG--
branch : develop
2016-10-20 12:34:38 +02:00
kervala
3ae41bfa58 Changed: Minor changes
--HG--
branch : develop
2016-10-20 12:34:25 +02:00
kervala
130b270380 Fixed: tga2dds doesn't generate mipmaps
--HG--
branch : develop
2016-09-24 15:54:28 +02:00
kervala
ec5deea3f0 Changed: Generate an exception if file is not a supported bitmap format
--HG--
branch : develop
2016-09-24 14:19:35 +02:00
kervala
536483f8a7 Changed: Factorize saving to right bitmap format
--HG--
branch : develop
2016-09-23 13:31:41 +02:00
kervala
35b4a3d98a Changed: Minor changes
--HG--
branch : develop
2016-09-23 13:29:50 +02:00
kervala
39275558c0 Changed: Simplify outString (a simple printf should be enough)
--HG--
branch : develop
2016-09-23 13:29:00 +02:00
kervala
20f4825686 Changed: Use CCmdArgs for build_interface
--HG--
branch : develop
2016-09-23 13:26:55 +02:00
kervala
b7d37b71e3 Fixed: Compilation without PCH
--HG--
branch : develop
2016-09-19 14:34:49 +02:00
kervala
bd766614bc Changed: Replaced spaces by tabs
--HG--
branch : develop
2016-06-12 14:17:36 +02:00
kervala
7ff21f975d Changed: Q_COMPILER_RVALUE_REFS hack useless with Qt 5.6
--HG--
branch : develop
2016-04-12 15:43:13 +02:00
kervala
89532b2afb Fixed: Compilation (missing NLMISC namespaces for nlfopen)
--HG--
branch : develop
2016-03-20 17:27:25 +01:00
kervala
0d773e3e79 Fixed: Use nlfopen in tools and servers
--HG--
branch : develop
2016-03-19 16:21:06 +01:00
Gary Preston
7281c40577 Update indentation of tiles_model::data to match coding standard use of tabs.
--HG--
branch : develop
2016-02-17 14:07:19 +00:00
Gary Preston
48e86eedee Fix qt4 build error.
--HG--
branch : develop
2016-02-17 14:03:57 +00:00
kaetemi
1fbc179bc3 Centralized project directory configuration mechanism
--HG--
branch : feature-material-editor
2016-02-16 02:28:03 +01:00
kaetemi
874ac2c921 Move pipeline utilities into new pipeline library
--HG--
branch : feature-material-editor
2016-02-16 00:28:24 +01:00
kervala
9913ec7e72 Fixed: Don't try to convert next meshes if an error occurs
--HG--
branch : develop
2016-02-13 13:58:21 +01:00
kervala
7ed708eae8 Fixed: Display an error if unable to find database.cfg
--HG--
branch : develop
2016-02-12 16:04:55 +01:00
kervala
63a36fc2f8 Changed: Removed libxml2 dependencies from other targets
--HG--
branch : develop
2016-01-27 12:56:16 +01:00
kervala
af2f38612a Fixed: Remove inherited dependency on libxml2 for all projects
--HG--
branch : develop
2016-01-26 22:30:13 +01:00
kervala
5892fb8c1c Fixed: -o option of tga2dds for directory output
--HG--
branch : develop
2016-01-23 13:02:29 +01:00
kervala
f8d45d01dc Changed: Replace tabs by spaces
--HG--
branch : develop
2016-01-23 12:28:40 +01:00
kervala
12d87b4914 Changed: Use CCmdArgs for tga2dds
--HG--
branch : develop
2016-01-23 10:27:34 +01:00
kervala
e01f706ccc Fixed: Updated with new changes
--HG--
branch : develop
2016-01-18 21:48:00 +01:00
kervala
c379c61ab7 Changed: Don't need to create it on heap
--HG--
branch : develop
2016-01-18 13:27:48 +01:00
kervala
fc645a5668 Fixed: Import static platform plugin
--HG--
branch : develop
2016-01-18 13:27:23 +01:00
kaetemi
fd950a692b Faster Qt startup
--HG--
branch : develop
2016-01-18 11:27:14 +01:00
kervala
58d23bbe97 Fixed: Compilation with static Qt 5
--HG--
branch : develop
2016-01-17 13:23:25 +01:00
kervala
bb9ac688f6 Changed: Set CMP0020 NEW in root project
--HG--
branch : develop
2016-01-16 23:48:32 +01:00
kervala
4886da5855 Fixed: moc doesn't use the right namespace for std::string when using STLPort, so prefer QString for slots and signals
--HG--
branch : develop
2016-01-16 15:55:56 +01:00
kervala
cd021fc4ef Fixed: Compilation with Qt 5 and STLport (std::move doesn't exist)
--HG--
branch : develop
2016-01-16 15:54:46 +01:00
kervala
c427bb216b Fixed: Compilation with Qt 5 and STLport (std::move doesn't exist)
--HG--
branch : develop
2016-01-16 15:52:51 +01:00
kaetemi
9c687430c8 Update mask pixel format in panoply preview tool
--HG--
branch : develop
2016-01-15 17:22:27 +01:00
kaetemi
8673d27a13 Add panoply preview tool
--HG--
branch : develop
2016-01-15 17:11:10 +01:00
kervala
c844a0bdd1 Fixed: Compilation
--HG--
branch : develop
2016-01-14 23:46:19 +01:00
kervala
b7fe07d781 Improve CCmdArgs (a generic command line parser in NeL Misc), fixes #257
--HG--
branch : develop
2016-01-14 21:26:10 +01:00
kervala
bd5f838d6d Changed: Minor changes
--HG--
branch : develop
2016-01-13 19:54:23 +01:00
kervala
d0c587e445 Changed: Remove duplicate lines
--HG--
branch : develop
2016-01-13 19:53:20 +01:00
kervala
6a3292c600 Fixed: Convert .bank filenames with / and use existing CFile::fileExists
--HG--
branch : develop
2016-01-13 19:51:00 +01:00
kervala
bb3726fd46 Fixed: Compilation of object_viewer_widget in static under Linux
--HG--
branch : develop
2016-01-10 12:12:50 +01:00
kervala
3af2813fbf Fixed: Compilation
--HG--
branch : develop
2016-01-09 16:29:59 +01:00
kervala
14f48d821a Changed: Minor changes
--HG--
branch : develop
2016-01-09 15:57:20 +01:00
kervala
9ee32071d8 Fixed: Compilation under Linux
--HG--
branch : develop
2016-01-09 15:56:50 +01:00
kervala
245726f347 Changed: Don't need to use system API, NeL already has equivalent
--HG--
branch : develop
2016-01-06 23:20:40 +01:00
kervala
ea5b041844 Fixed: Compilation with Qt 4
--HG--
branch : develop
2016-01-06 16:01:53 +01:00
kervala
f323974dba Changed: Don't fix files within panoply_maker, use textures_optimizer (but checks can be enabled)
--HG--
branch : develop
2016-01-06 12:43:57 +01:00
kervala
03c9c93fc1 Changed: Comments to support DXTC1a for textures with one level of transparency later
--HG--
branch : develop
2016-01-06 12:35:21 +01:00
kervala
75eb7cb922 Changed: Compile tile_edit_qt and object_viewer_widget if WITH_QT5 is defined
--HG--
branch : develop
2016-01-06 12:33:58 +01:00
kervala
ec7699aca9 Fixed: Compilation of object_viewer_qt with Qt 5
--HG--
branch : develop
2016-01-06 12:33:05 +01:00
kervala
af14cbe3aa Fixed: Allow to select PNG and TGA for bitmaps
--HG--
branch : develop
2016-01-06 12:31:53 +01:00
kervala
2923fe7c89 Fixed: Remove dependency on Pic (NeL manages TGA and PNG itself, reused code by Kaetemi)
--HG--
branch : develop
2016-01-06 12:31:13 +01:00
kervala
fad179731a Fixed: Compilation of tile_edit_qt with Qt 5
--HG--
branch : develop
2016-01-06 12:29:34 +01:00
kervala
95404bd724 Fixed: Don't load grayscale textures as alpha
--HG--
branch : develop
2016-01-05 17:11:37 +01:00
kervala
f2b43c2d7e Changed: Added default checks for textures and masks (-t and -m)
--HG--
branch : develop
2016-01-05 12:57:26 +01:00
kervala
dc5ddadcbb Fixed: Alpha channel with 0 is correct, don't change it
--HG--
branch : develop
2016-01-05 12:54:47 +01:00
kervala
687301377e Fixed: Instead of returning an error, convert the bitmap in RGBA
--HG--
branch : develop
2016-01-05 12:53:32 +01:00
kervala
798cb1c7ce Fixed: Alpha channel with 0 is correct, don't change it
--HG--
branch : develop
2016-01-05 12:52:45 +01:00
kervala
aaa9c394d7 Fixed: If mask is using colors, convert it to grayscale using Red value (compatible with previous algorithm)
--HG--
branch : develop
2016-01-04 13:58:54 +01:00
kervala
ed98662de3 Changed: OutputPath is already "standardized"
--HG--
branch : develop
2016-01-04 13:57:21 +01:00