Forgot to add file for last commit.

This commit is contained in:
WrinklyNinja
2013-06-11 14:31:21 +01:00
parent 1160f33ce3
commit 39fa77af73
2 changed files with 70 additions and 5 deletions
+12 -5
View File
@@ -109,17 +109,15 @@ Leandro Conde, Psymon, Loucifer, Torrello, Malonn, Skyline, Sharlikran, Red Eye,
iyumichan, Peste, Calen Ellefson, SilentSpike, Arkangel, zyp, v111, Chevenga,
rowynyew
LOOT will be a self-contained installation that can be dropped anywhere. It will have an installer option that also installs some Start menu shortcuts and a Registry entry, but these will not be required for LOOT to function.
Directory structure will be:
BOSSv3's directory structure is split between a folder in %LOCALAPPDATA% and a folder wherever the user wants it:
Program Files (or wherever):
```
/
BOSS/
BOSS.exe
resource/
l10n/
...translation files...
settings.yaml
libespm.yaml
...CSS and JS files...
docs/
@@ -127,9 +125,18 @@ Directory structure will be:
...readme images...
BOSS Readme.html
...other docs...
```
%LOCALAPPDATA%:
```
BOSS/
settings.yaml
BOSSDebugLog.txt
Oblivion/
masterlist.yaml
userlist.yaml
report.html
...other game folders with same structure as Oblivion...
```
BOSSv3's installer will also add some Start menu shortucts and a Registry entry, but these are not required for BOSS to function.
+58
View File
@@ -0,0 +1,58 @@
/* BOSS
A plugin load order optimiser for games that use the esp/esm plugin system.
Copyright (C) 2012 WrinklyNinja
This file is part of BOSS.
BOSS is free software: you can redistribute
it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
BOSS 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with BOSS. If not, see
<http://www.gnu.org/licenses/>.
*/
#include "globals.h"
#include "helpers.h"
namespace boss {
//Game values.
const unsigned int GAME_AUTODETECT = 0;
const unsigned int GAME_TES4 = 1;
const unsigned int GAME_TES5 = 2;
const unsigned int GAME_FO3 = 3;
const unsigned int GAME_FONV = 4;
//Message types.
const unsigned int MESSAGE_SAY = 0;
const unsigned int MESSAGE_WARN = 1;
const unsigned int MESSAGE_ERROR = 2;
const unsigned int MESSAGE_TAG = 3;
//Languages
const unsigned int LANG_AUTO = 0;
const unsigned int LANG_ENG = 1;
//Version numbers.
const unsigned int VERSION_MAJOR = 3;
const unsigned int VERSION_MINOR = 0;
const unsigned int VERSION_PATCH = 0;
//Common paths.
const boost::filesystem::path readme_path = "Docs/BOSS Readme.html";
const boost::filesystem::path libespm_options_path = "resources/libespm.yaml";
const boost::filesystem::path svn_path = "resources/svn/svn.exe";
const boost::filesystem::path local_path = GetLocalAppDataPath() / "BOSS";
const boost::filesystem::path settings_path = local_path / "settings.yaml";
const boost::filesystem::path log_path = local_path / "BOSSDebugLog.txt";
}