Config File Update Initial Update

This commit is contained in:
phredi
2016-05-20 21:03:34 -05:00
parent 04f47f1e32
commit b997a040d7
50 changed files with 247 additions and 93 deletions
+4 -2
View File
@@ -67,7 +67,8 @@ namespace RoF
//create our opcode manager if we havent already
if (opcodes == nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
//load up the opcode manager.
@@ -111,7 +112,8 @@ namespace RoF
if (opcodes != nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
+1
View File
@@ -21,6 +21,7 @@
#define COMMON_ROF_H
#include "../struct_strategy.h"
#include "../eqemu_config_extern.h"
class EQStreamIdentifier;
+4 -2
View File
@@ -67,7 +67,8 @@ namespace RoF2
//create our opcode manager if we havent already
if (opcodes == nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
//load up the opcode manager.
@@ -111,7 +112,8 @@ namespace RoF2
if (opcodes != nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
+1
View File
@@ -21,6 +21,7 @@
#define COMMON_ROF2_H
#include "../struct_strategy.h"
#include "../eqemu_config_extern.h"
class EQStreamIdentifier;
+4 -2
View File
@@ -63,7 +63,8 @@ namespace SoD
//create our opcode manager if we havent already
if (opcodes == nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
//load up the opcode manager.
@@ -107,7 +108,8 @@ namespace SoD
if (opcodes != nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
+1
View File
@@ -21,6 +21,7 @@
#define COMMON_SOD_H
#include "../struct_strategy.h"
#include "../eqemu_config_extern.h"
class EQStreamIdentifier;
+4 -2
View File
@@ -63,7 +63,8 @@ namespace SoF
//create our opcode manager if we havent already
if (opcodes == nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
//load up the opcode manager.
@@ -107,7 +108,8 @@ namespace SoF
if (opcodes != nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
+1
View File
@@ -21,6 +21,7 @@
#define COMMON_SOF_H
#include "../struct_strategy.h"
#include "../eqemu_config_extern.h"
class EQStreamIdentifier;
+4 -2
View File
@@ -16,7 +16,8 @@ static Strategy struct_strategy;
void Register(EQStreamIdentifier &into) {
//create our opcode manager if we havent already
if(opcodes == NULL) {
string opfile = "patch_";
string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
//load up the opcode manager.
@@ -51,7 +52,8 @@ void Reload() {
if(opcodes != NULL) {
//TODO: get this file name from the config file
string opfile = "patch_";
string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
if(!opcodes->ReloadOpcodes(opfile.c_str())) {
+1
View File
@@ -2,6 +2,7 @@
#define TEMPLATE_H_
#include "../struct_strategy.h"
#include "../eqemu_config_extern.h"
class EQStreamIdentifier;
+5 -2
View File
@@ -31,6 +31,7 @@
#include "../string_util.h"
#include "../item.h"
#include "titanium_structs.h"
#include <sstream>
@@ -61,7 +62,8 @@ namespace Titanium
//create our opcode manager if we havent already
if (opcodes == nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
//load up the opcode manager.
@@ -105,7 +107,8 @@ namespace Titanium
if (opcodes != nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
+1
View File
@@ -21,6 +21,7 @@
#define COMMON_TITANIUM_H
#include "../struct_strategy.h"
#include "../eqemu_config_extern.h"
class EQStreamIdentifier;
+4 -2
View File
@@ -63,7 +63,8 @@ namespace UF
//create our opcode manager if we havent already
if (opcodes == nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
//load up the opcode manager.
@@ -107,7 +108,8 @@ namespace UF
if (opcodes != nullptr) {
//TODO: get this file name from the config file
std::string opfile = "patch_";
std::string opfile = Config->PatchDir;
opfile += "patch_";
opfile += name;
opfile += ".conf";
if (!opcodes->ReloadOpcodes(opfile.c_str())) {
+1
View File
@@ -21,6 +21,7 @@
#define COMMON_UF_H
#include "../struct_strategy.h"
#include "../eqemu_config_extern.h"
class EQStreamIdentifier;