Skip to content

Commit

Permalink
Save Registry entries under Human Head entry
Browse files Browse the repository at this point in the history
  • Loading branch information
FriskTheFallenHuman committed Oct 29, 2024
1 parent e07c61f commit 358ff3a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion neo/framework/Licensee.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ If you have questions concerning this license or the applicable additional terms
#define RENDERDEMO_VERSION 100

// editor info
#define TOOLS_REGISTRY_PATH "Software\\id Software\\Human Head\\Tools\\"
#define TOOLS_REGISTRY_PATH "Software\\Human Head\\Prey\\Tools\\"
#define EDITOR_REGISTRY_KEY "PreyEditor"
#define EDITOR_WINDOWTEXT "PREDITOR"

Expand Down
2 changes: 1 addition & 1 deletion neo/tools/debugger/DebuggerApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ rvDebuggerApp::rvDebuggerApp
================
*/
rvDebuggerApp::rvDebuggerApp( ) //:
//mOptions ( "Software\\id Software\\DOOM3\\Tools\\Debugger" )
//mOptions ( TOOLS_REGISTRY_PATH "Debugger" )
{
mInstance = NULL;
mDebuggerWindow = NULL;
Expand Down
2 changes: 1 addition & 1 deletion neo/tools/guied/GEOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ rvGEOptions::Init
*/
void rvGEOptions::Init()
{
mRegistry.Init( "Software\\id Software\\DOOM3\\Tools\\GUIEditor" );
mRegistry.Init( TOOLS_REGISTRY_PATH "GUIEditor" );
}

/*
Expand Down
2 changes: 1 addition & 1 deletion neo/tools/materialeditor/FindDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ END_MESSAGE_MAP()
FindDialog::FindDialog( CWnd* pParent )
: CDialog( FindDialog::IDD, pParent )
{
registry.Init( "Software\\id Software\\DOOM3\\Tools\\MaterialEditor\\Find" );
registry.Init( TOOLS_REGISTRY_PATH "MaterialEditor\\Find" );
parent = ( MEMainFrame* )pParent;
}

Expand Down
2 changes: 1 addition & 1 deletion neo/tools/materialeditor/MEOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you have questions concerning this license or the applicable additional terms
MEOptions::MEOptions( )
{

registry.Init( "Software\\id Software\\DOOM3\\Tools\\MaterialEditor" );
registry.Init( TOOLS_REGISTRY_PATH "MaterialEditor" );

materialTreeWidth = 0;
stageWidth = 0;
Expand Down
2 changes: 1 addition & 1 deletion neo/tools/materialeditor/MEOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ If you have questions concerning this license or the applicable additional terms
/**
* Wrapper class that is responsible for reading and writing Material Editor
* settings to the registry. Settings are written to
* Software\\id Software\\DOOM3\\Tools\\MaterialEditor
* TOOLS_REGISTRY_PATH\\MaterialEditor
*/
class MEOptions
{
Expand Down
2 changes: 1 addition & 1 deletion neo/tools/materialeditor/MaterialPropTreeView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ END_MESSAGE_MAP()
*/
MaterialPropTreeView::MaterialPropTreeView()
{
registry.Init( "Software\\id Software\\DOOM3\\Tools\\MaterialEditor\\PropertySettings" );
registry.Init( TOOLS_REGISTRY_PATH "MaterialEditor\\PropertySettings" );
internalChange = false;
}

Expand Down

0 comments on commit 358ff3a

Please sign in to comment.