mirror of
https://github.com/SWG-Source/client-tools.git
synced 2026-01-16 23:04:27 -05:00
this at least adds a checkbox but we'll need to prob edit an stf file and
also make it actually send/set the objvar
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SoePix", "SoePix.vcproj", "{700EC69B-692D-4218-AA90-23CAE933E587}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
EndProjectSection
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25123.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SoePix", "SoePix.vcxproj", "{700EC69B-692D-4218-AA90-23CAE933E587}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfiguration) = preSolution
|
||||
Debug = Debug
|
||||
Release = Release
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfiguration) = postSolution
|
||||
{700EC69B-692D-4218-AA90-23CAE933E587}.Debug.ActiveCfg = Debug|Win32
|
||||
{700EC69B-692D-4218-AA90-23CAE933E587}.Debug.Build.0 = Debug|Win32
|
||||
{700EC69B-692D-4218-AA90-23CAE933E587}.Release.ActiveCfg = Release|Win32
|
||||
{700EC69B-692D-4218-AA90-23CAE933E587}.Release.Build.0 = Release|Win32
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{700EC69B-692D-4218-AA90-23CAE933E587}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{700EC69B-692D-4218-AA90-23CAE933E587}.Debug|x86.Build.0 = Debug|Win32
|
||||
{700EC69B-692D-4218-AA90-23CAE933E587}.Release|x86.ActiveCfg = Release|Win32
|
||||
{700EC69B-692D-4218-AA90-23CAE933E587}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityAddIns) = postSolution
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
||||
@@ -400,6 +400,7 @@ namespace
|
||||
|
||||
float ms_playerCameraHeight = 1.4f;
|
||||
|
||||
bool ms_autoLootChronicleRelics = false;
|
||||
bool ms_autoLootCorpses = false;
|
||||
|
||||
float ms_speakerVolume = 0.5f;
|
||||
@@ -849,6 +850,7 @@ void CuiPreferences::install ()
|
||||
|
||||
REGISTER_OPTION(playerCameraHeight);
|
||||
|
||||
REGISTER_OPTION(autoLootChronicleRelics);
|
||||
REGISTER_OPTION(autoLootCorpses);
|
||||
|
||||
REGISTER_OPTION(speakerVolume);
|
||||
@@ -3531,6 +3533,20 @@ bool CuiPreferences::getShowAppearanceInventory()
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
bool CuiPreferences::getLootChronRelics()
|
||||
{
|
||||
return ms_autoLootChronicleRelics;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void CuiPreferences::setLootChronRelics(bool loot)
|
||||
{
|
||||
ms_autoLootChronicleRelics = loot;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
void CuiPreferences::setAutoLootCorpses(bool loot)
|
||||
{
|
||||
ms_autoLootCorpses = loot;
|
||||
|
||||
@@ -562,6 +562,9 @@ public:
|
||||
static bool getShowAppearanceInventory();
|
||||
static void setShowAppearanceInventory(bool show);
|
||||
|
||||
static bool getLootChronRelics();
|
||||
static void setLootChronRelics(bool loot);
|
||||
|
||||
static bool getAutoLootCorpses();
|
||||
static void setAutoLootCorpses(bool loot);
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<OutDir>.\..\..\lib\win32-x86\</OutDir>
|
||||
<OutDir>.\..\..\..\..\..\..\compile\win32\dpvs\Release\</OutDir>
|
||||
<IntDir>.\release\</IntDir>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
@@ -145,16 +145,17 @@
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<OutputFile>.\..\..\..\..\..\..\compile\win32\dpvs\Release/dpvs.dll</OutputFile>
|
||||
<OutputFile>.\..\..\..\..\..\..\compile\win32\dpvs\Release\dpvs.dll</OutputFile>
|
||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||
<AdditionalLibraryDirectories>..\flexlm\release;..\..\..\remotedebugger\library\;..\..\..\hl\lib\win32-x86-msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ProgramDatabaseFile>.\..\..\lib\win32-x86/dpvs.pdb</ProgramDatabaseFile>
|
||||
<ProgramDatabaseFile>.\..\..\..\..\..\..\compile\win32\dpvs\Release\dpvs.pdb</ProgramDatabaseFile>
|
||||
<GenerateMapFile>true</GenerateMapFile>
|
||||
<MapFileName>.\release/dpvs.map</MapFileName>
|
||||
<MapFileName>.\..\..\..\..\..\..\compile\win32\dpvs\Release\dpvs.map</MapFileName>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<ImportLibrary>.\..\..\lib\win32-x86/dpvs.lib</ImportLibrary>
|
||||
<ImportLibrary>.\..\..\..\..\..\..\compile\win32\dpvs\Release\dpvs.lib</ImportLibrary>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
</Link>
|
||||
<Bscmake>
|
||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -142,6 +142,9 @@ SwgCuiOptBase ("SwgCuiOptMisc", page)
|
||||
getCodeDataObject(TUIComboBox, combobox, "currencyFormat");
|
||||
registerComboBox (*combobox, onComboCurrencyFormatSet, onComboCurrencyFormatGet, getDefaultCurrencyFormat);
|
||||
|
||||
getCodeDataObject(TUICheckbox, checkbox, "checkAutoLootChronicleRelics");
|
||||
registerCheckbox(*checkbox, CuiPreferences::setLootChronRelics, CuiPreferences::getLootChronRelics, SwgCuiOptBase::getFalse);
|
||||
|
||||
getCodeDataObject(TUICheckbox, checkbox, "checkAutoLootCorpses");
|
||||
registerCheckbox (*checkbox, CuiPreferences::setAutoLootCorpses, CuiPreferences::getAutoLootCorpses, SwgCuiOptBase::getFalse);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user