diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 0e8396061..10d0b1e63 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -33,10 +33,51 @@ jobs:
mkdir build
cmake --version
cd build
- cmake -DWITH_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=ON -DWITH_RYZOM=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_CLIENT=ON -DWITH_RYZOM_TOOLS=ON -DWITH_NEL_TOOLS=ON -DWITH_NELNS=ON -DWITH_NELNS_LOGIN_SYSTEM=ON -DWITH_NELNS_SERVER=ON -DWITH_QT5=ON -DWITH_LIBGSF=ON ../code
+ cmake -DWITH_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=ON -DWITH_RYZOM=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_CLIENT=ON -DWITH_RYZOM_TOOLS=ON -DWITH_NEL_TOOLS=ON -DWITH_NELNS=ON -DWITH_NELNS_LOGIN_SYSTEM=ON -DWITH_NELNS_SERVER=ON -DWITH_QT5=ON -DWITH_LIBGSF=ON ..
cat CMakeCache.txt
displayName: 'CMake'
- script: |
cd build
make -j`nproc`
- displayName: 'Make'
\ No newline at end of file
+ displayName: 'Make'
+ - job: ubuntu18
+ timeoutInMinutes: 120
+ pool:
+ vmImage: 'ubuntu-18.04'
+ steps:
+ - script: |
+ sudo apt update
+ sudo apt install -y software-properties-common
+ # sudo add-apt-repository ppa:ubuntu-toolchain-r/test
+ sudo apt update
+ sudo apt install cmake build-essential -y
+ sudo apt install gcc-8 g++-8 -y
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60
+ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60
+ sudo apt install bison autoconf automake -y
+ sudo apt install libpng-dev -y
+ sudo apt install libjpeg-dev -y
+ sudo apt install libgif-dev libfreetype6-dev -y
+ sudo apt install freeglut3-dev -y
+ sudo apt install liblua5.2-dev libluabind-dev libcpptest-dev -y
+ sudo apt install libogg-dev libvorbis-dev libopenal-dev -y
+ sudo apt install libavcodec-dev libavformat-dev libavdevice-dev libswscale-dev libpostproc-dev -y
+ sudo apt install libmysqlclient-dev -y
+ sudo apt install libxml2-dev -y
+ sudo apt install libcurl4-openssl-dev libssl-dev -y
+ sudo apt install libsquish-dev -y
+ sudo apt install liblzma-dev -y
+ sudo apt install libgsf-1-dev -y
+ sudo apt install qtbase5-dev qttools5-dev qttools5-dev-tools
+ displayName: 'Dependencies'
+ - script: |
+ mkdir build
+ cmake --version
+ cd build
+ cmake -DWITH_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=ON -DWITH_LUA51=OFF -DWITH_LUA52=ON -DWITH_RYZOM=ON -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_CLIENT=ON -DWITH_RYZOM_TOOLS=ON -DWITH_NEL_TOOLS=ON -DWITH_NELNS=ON -DWITH_NELNS_LOGIN_SYSTEM=ON -DWITH_NELNS_SERVER=ON -DWITH_QT5=ON -DWITH_LIBGSF=ON ..
+ cat CMakeCache.txt
+ displayName: 'CMake'
+ - script: |
+ cd build
+ make -j`nproc`
+ displayName: 'Make'
diff --git a/nel/include/nel/misc/string_common.h b/nel/include/nel/misc/string_common.h
index 3fd46b835..9f6d59aae 100644
--- a/nel/include/nel/misc/string_common.h
+++ b/nel/include/nel/misc/string_common.h
@@ -290,6 +290,14 @@ inline bool endsWith(const char *str, const char *suffix) { return endsWith(str,
inline bool endsWith(const std::string &str, const char *suffix) { return endsWith(str.c_str(), str.size(), suffix, strlen(suffix)); }
inline bool endsWith(const std::string &str, const std::string &suffix) { return endsWith(str.c_str(), str.size(), suffix.c_str(), suffix.size()); }
+// ****************************************************************************
+// Conversion of strings between
+// - UTF-8
+// - Local codepage (UTF-8 on Linux)
+// - TString (Local codepage or wide on Windows)
+// - Wide (wchar_t *, UTF-16 on Windows, UTF-32 on Linux)
+// ****************************************************************************
+
// Convert local codepage to UTF-8
// On Windows, the local codepage is undetermined
// On Linux, the local codepage is always UTF-8 (no-op)
diff --git a/nel/samples/sound/sound_sources/data/world_editor_classes.xml b/nel/samples/sound/sound_sources/data/world_editor_classes.xml
index 0a26dc5f0..031fc6e86 100644
--- a/nel/samples/sound/sound_sources/data/world_editor_classes.xml
+++ b/nel/samples/sound/sound_sources/data/world_editor_classes.xml
@@ -323,7 +323,7 @@
-->
-
+
@@ -343,7 +343,7 @@
-
+
diff --git a/nel/samples/sound/stream_file/data/world_editor_classes.xml b/nel/samples/sound/stream_file/data/world_editor_classes.xml
index 0a26dc5f0..031fc6e86 100644
--- a/nel/samples/sound/stream_file/data/world_editor_classes.xml
+++ b/nel/samples/sound/stream_file/data/world_editor_classes.xml
@@ -323,7 +323,7 @@
-->
-
+
@@ -343,7 +343,7 @@
-
+
diff --git a/nel/src/misc/i_xml.cpp b/nel/src/misc/i_xml.cpp
index 87f848ab9..24a2b7910 100644
--- a/nel/src/misc/i_xml.cpp
+++ b/nel/src/misc/i_xml.cpp
@@ -171,15 +171,16 @@ bool CIXml::init (IStream &stream)
// Try binary mode
if (_TryBinaryMode)
{
- char header[4];
+ char header[5];
header[0] = buffer[0];
header[1] = buffer[1];
header[2] = buffer[2];
header[3] = buffer[3];
+ header[4] = '\0';
toLower(header);
// Does it a xml stream ?
- if (!strcmp(header, "
+#include
#if (MAX_VERSION_MAJOR < 15)
#define GET_OBJECT_NAME_CONST
@@ -37,9 +38,7 @@ static TSTR MaxTStrFromUtf8(const std::string &src)
{
TSTR dst;
#if (MAX_VERSION_MAJOR < 15)
- ucstring uc;
- uc.fromUtf8(src);
- dst = (const mwchar_t *)uc.c_str();
+ dst = nlUtf8ToTStr(src);
#else
dst.FromUTF8(src.c_str());
#endif
@@ -49,14 +48,7 @@ static TSTR MaxTStrFromUtf8(const std::string &src)
static std::string MaxTStrToUtf8(const TSTR& src)
{
#if (MAX_VERSION_MAJOR < 15)
-#ifdef _UNICODE
- ucstring uc(src.data());
- return uc.toUtf8();
-#else
- WStr ws = src;
- ucstring uc((const ucchar *)ws.data());
- return uc.toUtf8();
-#endif
+ return NLMISC::tStrToUtf8(src.data());
#else
return src.ToUTF8().data();
#endif
@@ -64,13 +56,7 @@ static std::string MaxTStrToUtf8(const TSTR& src)
static std::string MCharStrToUtf8(const MCHAR *src)
{
-#ifdef _UNICODE
- ucstring uc((const ucchar *)src);
- return uc.toUtf8();
-#else
- ucstring uc((const ucchar *)WStr(src).data());
- return uc.toUtf8();
-#endif
+ return NLMISC::tStrToUtf8(src);
}
#endif /* #ifndef NLMAX_STRING_COMMON_H */
diff --git a/nel/tools/3d/plugin_max/nel_patch_converter/script.cpp b/nel/tools/3d/plugin_max/nel_patch_converter/script.cpp
index 2c2f100f7..48bf1d921 100644
--- a/nel/tools/3d/plugin_max/nel_patch_converter/script.cpp
+++ b/nel/tools/3d/plugin_max/nel_patch_converter/script.cpp
@@ -1271,7 +1271,7 @@ Value* get_patch_vertex_cf (Value** arg_list, int count)
// Check to see if the arguments match up to what we expect
// We want to use 'TurnAllTexturesOn
-
+
@@ -128,7 +128,7 @@
@@ -147,7 +147,7 @@
-
+
@@ -159,7 +159,7 @@
-
+
@@ -175,7 +175,7 @@
-
+
@@ -1566,15 +1566,15 @@
-->
-
+
-
+
-
+
@@ -1596,13 +1596,13 @@
@@ -1704,7 +1704,7 @@
-->
-
+
@@ -1865,7 +1865,7 @@
-
+
@@ -1888,7 +1888,7 @@
-
+
@@ -1997,11 +1997,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -2014,11 +2014,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -2033,11 +2033,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -2111,7 +2111,7 @@
-
+
@@ -2131,7 +2131,7 @@
@@ -2151,7 +2151,7 @@
-
+
@@ -2166,7 +2166,7 @@
-
+
@@ -2180,7 +2180,7 @@
-
+
@@ -2196,7 +2196,7 @@
-
+
@@ -2470,22 +2470,22 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2524,10 +2524,10 @@
-->
-
+
-
+
@@ -2584,7 +2584,7 @@
-->
-
+
@@ -2603,7 +2603,7 @@
-->
-
+
@@ -2625,21 +2625,21 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2731,10 +2731,10 @@
-->
-
+
-
+
@@ -2772,10 +2772,10 @@
-->
-
+
-
+
@@ -2813,10 +2813,10 @@
-->
-
+
-
+
@@ -2839,10 +2839,10 @@
-
+
-
+
@@ -2880,7 +2880,7 @@
-
+
@@ -2899,7 +2899,7 @@
-
+
@@ -2918,7 +2918,7 @@
-
+
@@ -2935,7 +2935,7 @@
-
+
@@ -2964,17 +2964,17 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -3026,17 +3026,17 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -3071,11 +3071,11 @@
-
+
@@ -3119,17 +3119,17 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -3242,7 +3242,7 @@
-
+
-
+
@@ -4002,12 +4002,12 @@
-->
-
+
@@ -4030,10 +4030,10 @@
-->
-
+
-
+
@@ -4063,7 +4063,7 @@
-->
-
+
@@ -4109,7 +4109,7 @@
-
+
@@ -4129,18 +4129,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4200,7 +4200,7 @@
-
+
@@ -4225,18 +4225,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4318,18 +4318,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4504,7 +4504,7 @@
-->
-
+
@@ -4646,7 +4646,7 @@
-
+
@@ -4681,7 +4681,7 @@
-
+
@@ -4715,7 +4715,7 @@
-->
-
+
@@ -4749,7 +4749,7 @@
-->
-
+
diff --git a/ryzom/tools/leveldesign/georges_dll/georges_edit.html b/ryzom/tools/leveldesign/georges_dll/georges_edit.html
index fefd3e9d5..79da0501f 100644
--- a/ryzom/tools/leveldesign/georges_dll/georges_edit.html
+++ b/ryzom/tools/leveldesign/georges_dll/georges_edit.html
@@ -16,8 +16,8 @@ Config file
Your "georges.cfg" config file MUST have the following entries:
-- root_search_directory = "l:\"; // (Root search path for georges files)
-- typ_dfn_sub_folder = "dfn"; // (Sub directory for types and dfn files)
+- root_search_directory = "R:\leveldesign\"; // (Root search path for georges files)
+- typ_dfn_sub_folder = "DFN"; // (Sub directory for types and dfn files)
- remember_list_size = 11; // (Size of remember list in combobox)
- max_undo = 20; // (Size of the undo buffer)
- default_type = "default.typ"; // (Default type used when insert a new element in a DFN)
diff --git a/ryzom/tools/leveldesign/icon_search/icon_search_default.cfg b/ryzom/tools/leveldesign/icon_search/icon_search_default.cfg
index b343d9e7d..88fe51b5d 100644
--- a/ryzom/tools/leveldesign/icon_search/icon_search_default.cfg
+++ b/ryzom/tools/leveldesign/icon_search/icon_search_default.cfg
@@ -7,11 +7,11 @@ SearchGUI = 0;
GUIPath = "R:\code\ryzom\data\gamedev\interfaces_v3\";
SearchLevelDesign = 1;
-LevelDesignPath = "L:\";
+LevelDesignPath = "R:\leveldesign\";
-IconPath = { "\\amiga\3d\Database\Interfaces\v3_bricks",
- "\\amiga\3d\Database\Interfaces\v3_dxtc_misc",
- "\\amiga\3d\Database\Interfaces\v3_items"
+IconPath = { "R:\graphics\interfaces\v3_bricks",
+ "R:\graphics\interfaces\v3_dxtc_misc",
+ "R:\graphics\interfaces\v3_items"
};
SizeLimit = 10;
diff --git a/ryzom/tools/leveldesign/install/georges.cfg b/ryzom/tools/leveldesign/install/georges.cfg
index c7d975479..d108f3100 100644
--- a/ryzom/tools/leveldesign/install/georges.cfg
+++ b/ryzom/tools/leveldesign/install/georges.cfg
@@ -1,5 +1,5 @@
-RootSearchDirectory = "l:\leveldesign";
-TypDfnSubFolder = "dfn\";
+RootSearchDirectory = "R:\leveldesign";
+TypDfnSubFolder = "DFN\";
RememberListSize = 11;
MaxUndo = 20;
DefaultType = "default.typ";
@@ -11,5 +11,5 @@ SuperUser = 1;
UserType = {
};
StartExpanded = 1;
-SamplePath = "L:\sound_files\samplebanks";
-PackedSheetPath = "L:\sound_files\";
+SamplePath = "R:\sound\samplebanks";
+PackedSheetPath = "R:\sound\";
diff --git a/ryzom/tools/leveldesign/install/mission_compiler.cfg b/ryzom/tools/leveldesign/install/mission_compiler.cfg
index b95c51bdb..c0ee33d1b 100644
--- a/ryzom/tools/leveldesign/install/mission_compiler.cfg
+++ b/ryzom/tools/leveldesign/install/mission_compiler.cfg
@@ -1,10 +1,10 @@
// A list of recursive search path to build the primitive list
-SearchPath = { "L:\primitives\" };
+SearchPath = { "R:\leveldesign\primitives\" };
// Ligo primitive configuration file path
-LigoConfig = "L:\leveldesign\world_editor_files\world_editor_classes.xml";
+LigoConfig = "R:\leveldesign\world_editor_files\world_editor_classes.xml";
// Default filter
DefaultFilter = "";
@@ -24,7 +24,7 @@ ServerPathPrim = {
// Directory containing txt files
ServerPathText = {
-"R:\code\ryzom\tools\translation\work\phrases\rites",
+"R:\leveldesign\translation\work\phrases\rites",
// "\\linuxshard10\ryzom\cvs\code\ryzom\translation\work\phrases\rites",
};
@@ -35,4 +35,4 @@ ServerName = {
};
// Local path for text files
-LocalTextPath = "R:\code\ryzom\tools\translation\work\phrases\rites";
+LocalTextPath = "R:\leveldesign\translation\work\phrases\rites";
diff --git a/ryzom/tools/leveldesign/install/world_editor_plugin.cfg b/ryzom/tools/leveldesign/install/world_editor_plugin.cfg
index 1fb7d40c6..afeebd355 100644
--- a/ryzom/tools/leveldesign/install/world_editor_plugin.cfg
+++ b/ryzom/tools/leveldesign/install/world_editor_plugin.cfg
@@ -40,12 +40,12 @@ MOSHost = "devl1.ryzom.com";
/////////////////////////////////////////////////////////
PrimitivePluginPath =
{
- "L:/leveldesign/DFN",
- "L:/leveldesign/Game_elem/Creature/objects",
+ "R:/leveldesign/DFN",
+ "R:/leveldesign/game_elem/creature/objects",
};
-PrimitivePluginSheetId = "l:/leveldesign/Game_elem/sheet_id.bin";
+PrimitivePluginSheetId = "R:/leveldesign/game_elem/sheet_id.bin";
/////////////////////////////////////////////////////////
// Var related to shard monitor
@@ -53,7 +53,7 @@ PrimitivePluginSheetId = "l:/leveldesign/Game_elem/sheet_id.bin";
// WARNING : the following path are not recursive
ShardMonitorPath =
{
- "L:/leveldesign/Game_elem" // path where to find sheet_id.bin.
+ "R:/leveldesign/game_elem" // path where to find sheet_id.bin.
};
// if you want to use a specific external editor, uncomment TextEditor and set the fullpath to the exe, by default, it's notepad
diff --git a/ryzom/tools/leveldesign/install/world_editor_script.xml b/ryzom/tools/leveldesign/install/world_editor_script.xml
index 32ff503ba..a12a1c39b 100644
--- a/ryzom/tools/leveldesign/install/world_editor_script.xml
+++ b/ryzom/tools/leveldesign/install/world_editor_script.xml
@@ -4,12 +4,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/ryzom/tools/leveldesign/mission_compiler_lib/main.cpp b/ryzom/tools/leveldesign/mission_compiler_lib/main.cpp
index b4bb6d77c..6c4285d46 100644
--- a/ryzom/tools/leveldesign/mission_compiler_lib/main.cpp
+++ b/ryzom/tools/leveldesign/mission_compiler_lib/main.cpp
@@ -35,7 +35,7 @@ int main(int argc, char *argv[])
if (leveldesignPath == NULL)
{
- printf("Error: You need to define RYZOM_LEVELDESIGN environment variable that points to previous L:\\ equivalent under Windows\n");
+ printf("Error: You need to define RYZOM_LEVELDESIGN environment variable that points to previous R:\\leveldesign\\ equivalent under Windows\n");
return -1;
}
diff --git a/ryzom/tools/leveldesign/mp_generator/raw_material_generation.cfg b/ryzom/tools/leveldesign/mp_generator/raw_material_generation.cfg
index 1df73f8ee..9e04bbd9f 100644
--- a/ryzom/tools/leveldesign/mp_generator/raw_material_generation.cfg
+++ b/ryzom/tools/leveldesign/mp_generator/raw_material_generation.cfg
@@ -1,5 +1,5 @@
-LevelDesignPath = "L:\"
-TranslationPath = "R:\code\ryzom\translation\"
+LevelDesignPath = "R:\leveldesign\"
+TranslationPath = "R:\leveldesign\translation\"
// Format: "sheetFilename", "PropertyName", "Value"
CustomizedProperties =
diff --git a/ryzom/tools/leveldesign/primitive_id_assignator/primitive_id_assignator.cfg b/ryzom/tools/leveldesign/primitive_id_assignator/primitive_id_assignator.cfg
index a9c9b444e..35381c9f5 100644
--- a/ryzom/tools/leveldesign/primitive_id_assignator/primitive_id_assignator.cfg
+++ b/ryzom/tools/leveldesign/primitive_id_assignator/primitive_id_assignator.cfg
@@ -15,9 +15,9 @@ Filters =
// the path (recursive) where the primitives are
SearchPath =
{
- "l:/primitives",
+ "R:/leveldesign/primitives",
};
// the index file that contains the indexed file database
-IndexFile = "l:/primitives/file_index.cfg";
+IndexFile = "R:/leveldesign/primitives/file_index.cfg";
diff --git a/ryzom/tools/leveldesign/world_editor/world_editor/world_editor.cpp b/ryzom/tools/leveldesign/world_editor/world_editor/world_editor.cpp
index 6ad30ccb7..0140452b5 100644
--- a/ryzom/tools/leveldesign/world_editor/world_editor/world_editor.cpp
+++ b/ryzom/tools/leveldesign/world_editor/world_editor/world_editor.cpp
@@ -598,7 +598,7 @@ bool CWorldEditorApp::initPath (const std::string &filename, CSplashScreen &spla
}
else
{
- errorMessage ("Can't open the file %s for reading.", filename);
+ errorMessage ("Can't open the file %s for reading.", filename.c_str());
}
failed:
diff --git a/ryzom/tools/sheets_packer_shard/sheets_packer_shard.cpp b/ryzom/tools/sheets_packer_shard/sheets_packer_shard.cpp
index 14ce53f4a..3062878ed 100644
--- a/ryzom/tools/sheets_packer_shard/sheets_packer_shard.cpp
+++ b/ryzom/tools/sheets_packer_shard/sheets_packer_shard.cpp
@@ -71,7 +71,7 @@ int main(int nNbArg, char **ppArgs)
// verify all params
if (nNbArg < 6)
{
- // sheets_packer_shard.exe L:\leveldesign L:\leveldesign\DFN R:\code\ryzom\server\data_shard\mirror_sheets T:\export\common\leveldesign\visual_slot_tab T:\test_shard
+ // sheets_packer_shard.exe R:\leveldesign R:\leveldesign\DFN R:\code\ryzom\server\data_shard\mirror_sheets T:\export\common\leveldesign\visual_slot_tab T:\test_shard
nlinfo("ERROR : Wrong number of arguments\n");
nlinfo("USAGE : sheets_packer_shard \n");
nlinfo(" : Directory containing visual_slots.tab");
diff --git a/studio/src/plugins/bnp_manager/bnp_manager_window.cpp b/studio/src/plugins/bnp_manager/bnp_manager_window.cpp
index c9e1a1894..9a4af0cd5 100644
--- a/studio/src/plugins/bnp_manager/bnp_manager_window.cpp
+++ b/studio/src/plugins/bnp_manager/bnp_manager_window.cpp
@@ -368,7 +368,7 @@ void BNPManagerWindow::readSettings()
QSettings *settings = Core::ICore::instance()->settings();
settings->beginGroup(Core::Constants::DATA_PATH_SECTION);
- m_DataPath = settings->value(Core::Constants::ASSETS_PATH, "w:/database").toString();
+ m_DataPath = settings->value(Core::Constants::ASSETS_PATH, "R:/graphics").toString();
settings->endGroup();
}
// ***************************************************************************
diff --git a/studio/src/plugins/core/general_settings_page.cpp b/studio/src/plugins/core/general_settings_page.cpp
index 79e1288a4..6fb51b128 100644
--- a/studio/src/plugins/core/general_settings_page.cpp
+++ b/studio/src/plugins/core/general_settings_page.cpp
@@ -211,10 +211,10 @@ void GeneralSettingsPage::readSettings()
QStringList paths;
settings->beginGroup(Core::Constants::DATA_PATH_SECTION);
- m_ui.leveldesignPathLineEdit->setText(settings->value(Core::Constants::LEVELDESIGN_PATH, "l:/leveldesign").toString());
- m_ui.assetsPathLineEdit->setText(settings->value(Core::Constants::ASSETS_PATH, "w:/database").toString());
- m_ui.primitivesPathLineEdit->setText(settings->value(Core::Constants::PRIMITIVES_PATH, "l:/primitives").toString());
- m_ui.ligoConfigFileLineEdit->setText(settings->value(Core::Constants::LIGOCONFIG_FILE, "l:/leveldesign/world_editor_files/world_editor_classes.xml").toString());
+ m_ui.leveldesignPathLineEdit->setText(settings->value(Core::Constants::LEVELDESIGN_PATH, "R:/leveldesign").toString());
+ m_ui.assetsPathLineEdit->setText(settings->value(Core::Constants::ASSETS_PATH, "R:/graphics").toString());
+ m_ui.primitivesPathLineEdit->setText(settings->value(Core::Constants::PRIMITIVES_PATH, "R:/leveldesign/primitives").toString());
+ m_ui.ligoConfigFileLineEdit->setText(settings->value(Core::Constants::LIGOCONFIG_FILE, "R:/leveldesign/world_editor_files/world_editor_classes.xml").toString());
settings->endGroup();
}
diff --git a/studio/src/plugins/georges_editor/georges_editor_form.cpp b/studio/src/plugins/georges_editor/georges_editor_form.cpp
index 231a0efc3..009d2a6f0 100644
--- a/studio/src/plugins/georges_editor/georges_editor_form.cpp
+++ b/studio/src/plugins/georges_editor/georges_editor_form.cpp
@@ -116,7 +116,7 @@ namespace GeorgesQt
m_lastSheetDir = ".";
QSettings *settings = Core::ICore::instance()->settings();
settings->beginGroup(Core::Constants::DATA_PATH_SECTION);
- m_lastSheetDir = settings->value(Core::Constants::LEVELDESIGN_PATH, "l:/leveldesign").toString();
+ m_lastSheetDir = settings->value(Core::Constants::LEVELDESIGN_PATH, "R:/leveldesign").toString();
settings->endGroup();
connect(Core::ICore::instance(), SIGNAL(changeSettings()),
@@ -234,7 +234,7 @@ namespace GeorgesQt
settings->endGroup();
settings->beginGroup(Core::Constants::DATA_PATH_SECTION);
- m_leveldesignPath = settings->value(Core::Constants::LEVELDESIGN_PATH, "l:/leveldesign").toString();
+ m_leveldesignPath = settings->value(Core::Constants::LEVELDESIGN_PATH, "R:/leveldesign").toString();
settings->endGroup();
}
@@ -279,7 +279,7 @@ namespace GeorgesQt
settings->beginGroup(Core::Constants::DATA_PATH_SECTION);
QString oldLDPath = m_leveldesignPath;
- m_leveldesignPath = settings->value(Core::Constants::LEVELDESIGN_PATH, "l:/leveldesign").toString();
+ m_leveldesignPath = settings->value(Core::Constants::LEVELDESIGN_PATH, "R:/leveldesign").toString();
settings->endGroup();
if (oldLDPath != m_leveldesignPath)
diff --git a/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp b/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp
index 48b444945..014b6c6ba 100644
--- a/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp
+++ b/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp
@@ -67,7 +67,7 @@ namespace GeorgesQt
m_lastSheetDir = ".";
QSettings *settings = Core::ICore::instance()->settings();
settings->beginGroup(Core::Constants::DATA_PATH_SECTION);
- m_lastSheetDir = settings->value(Core::Constants::LEVELDESIGN_PATH, "l:/leveldesign").toString();
+ m_lastSheetDir = settings->value(Core::Constants::LEVELDESIGN_PATH, "R:/leveldesign").toString();
settings->endGroup();
m_ui.setupUi(this);