Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ build
*.exe
*.out
*.app

build.sh
.vscode/c_cpp_properties.json
.vscode/settings.json
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ add_executable(
patches/random_costs.cpp
patches/teamwork.cpp
patches/duplicate_techs.cpp
patches/256x.cpp
ids.h
)
set_property(TARGET create-data-mod PROPERTY CXX_STANDARD 17)
Expand Down
3 changes: 2 additions & 1 deletion create-data-mod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "patches/no_wall.h"
#include "patches/random_costs.h"
#include "patches/teamwork.h"
#include "patches/256x.h"


using namespace std;
Expand Down Expand Up @@ -101,7 +102,7 @@ void applyModifications(genie::DatFile *df, const string &modIdentifier) {
} else if (X_9_TECH == modIdentifier) {
duplicateTechs(df, 9);
} else if (X_256_TECH == modIdentifier) {
duplicateTechs(df, 256);
configure256x(df);
} else {
cout << "Unknown mod identifier: '" << modIdentifier << "'" << endl;
}
Expand Down
3 changes: 3 additions & 0 deletions ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,7 @@ static const int ACTION_LOOT = 122;
static const int CLASS_CIVILIAN = 4;
static const int CLASS_BUILDING = 3;

static const int MARKET = 84;
static const int SARACENS = 9;

#endif //CREATE_DATA_MOD_IDS_H
Loading