Updated build tool for orangebox fork (bug 3948, r=ds,dvander).
This commit is contained in:
parent
6425484608
commit
5f6c5cb4fb
@ -45,6 +45,10 @@ namespace builder
|
|||||||
{
|
{
|
||||||
output_folder += ".orangebox";
|
output_folder += ".orangebox";
|
||||||
}
|
}
|
||||||
|
else if (lib.build_mode == BuildMode.BuildMode_Episode2Valve)
|
||||||
|
{
|
||||||
|
output_folder += ".orangeboxvalve";
|
||||||
|
}
|
||||||
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
||||||
{
|
{
|
||||||
output_folder += ".original";
|
output_folder += ".original";
|
||||||
@ -73,6 +77,10 @@ namespace builder
|
|||||||
{
|
{
|
||||||
makefile_args += "ENGINE=\"orangebox\" ";
|
makefile_args += "ENGINE=\"orangebox\" ";
|
||||||
}
|
}
|
||||||
|
else if (lib.build_mode == BuildMode.BuildMode_Episode2Valve)
|
||||||
|
{
|
||||||
|
makefile_args += "ENGINE=\"orangeboxvalve\" ";
|
||||||
|
}
|
||||||
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
||||||
{
|
{
|
||||||
makefile_args += "ENGINE=\"original\"";
|
makefile_args += "ENGINE=\"original\"";
|
||||||
|
@ -15,6 +15,7 @@ namespace builder
|
|||||||
BuildMode_DarkMessiah,
|
BuildMode_DarkMessiah,
|
||||||
BuildMode_Episode1,
|
BuildMode_Episode1,
|
||||||
BuildMode_Episode2,
|
BuildMode_Episode2,
|
||||||
|
BuildMode_Episode2Valve,
|
||||||
BuildMode_Left4Dead
|
BuildMode_Left4Dead
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -177,6 +177,14 @@ namespace builder
|
|||||||
lib.build_mode = BuildMode.BuildMode_Episode2;
|
lib.build_mode = BuildMode.BuildMode_Episode2;
|
||||||
libraries.Add(lib);
|
libraries.Add(lib);
|
||||||
|
|
||||||
|
lib = new Library();
|
||||||
|
lib.package_path = "addons/sourcemod/bin";
|
||||||
|
lib.source_path = "core";
|
||||||
|
lib.binary_name = "sourcemod.2.ep2valve";
|
||||||
|
lib.vcproj_name = "sourcemod_mm";
|
||||||
|
lib.build_mode = BuildMode.BuildMode_Episode2Valve;
|
||||||
|
libraries.Add(lib);
|
||||||
|
|
||||||
lib = new Library();
|
lib = new Library();
|
||||||
lib.package_path = "addons/sourcemod/bin";
|
lib.package_path = "addons/sourcemod/bin";
|
||||||
lib.source_path = "core";
|
lib.source_path = "core";
|
||||||
@ -231,6 +239,14 @@ namespace builder
|
|||||||
lib.build_mode = BuildMode.BuildMode_Episode2;
|
lib.build_mode = BuildMode.BuildMode_Episode2;
|
||||||
libraries.Add(lib);
|
libraries.Add(lib);
|
||||||
|
|
||||||
|
lib = new Library();
|
||||||
|
lib.package_path = "addons/sourcemod/extensions/auto.2.ep2valve";
|
||||||
|
lib.source_path = "extensions/bintools";
|
||||||
|
lib.binary_name = "bintools.ext";
|
||||||
|
lib.vcproj_name = "bintools";
|
||||||
|
lib.build_mode = BuildMode.BuildMode_Episode2Valve;
|
||||||
|
libraries.Add(lib);
|
||||||
|
|
||||||
lib = new Library();
|
lib = new Library();
|
||||||
lib.package_path = "addons/sourcemod/extensions/auto.2.l4d";
|
lib.package_path = "addons/sourcemod/extensions/auto.2.l4d";
|
||||||
lib.source_path = "extensions/bintools";
|
lib.source_path = "extensions/bintools";
|
||||||
@ -271,6 +287,14 @@ namespace builder
|
|||||||
lib.build_mode = BuildMode.BuildMode_Episode2;
|
lib.build_mode = BuildMode.BuildMode_Episode2;
|
||||||
libraries.Add(lib);
|
libraries.Add(lib);
|
||||||
|
|
||||||
|
lib = new Library();
|
||||||
|
lib.package_path = "addons/sourcemod/extensions/auto.2.ep2valve";
|
||||||
|
lib.source_path = "extensions/sdktools";
|
||||||
|
lib.binary_name = "sdktools.ext";
|
||||||
|
lib.vcproj_name = "sdktools";
|
||||||
|
lib.build_mode = BuildMode.BuildMode_Episode2Valve;
|
||||||
|
libraries.Add(lib);
|
||||||
|
|
||||||
lib = new Library();
|
lib = new Library();
|
||||||
lib.package_path = "addons/sourcemod/extensions/auto.2.l4d";
|
lib.package_path = "addons/sourcemod/extensions/auto.2.l4d";
|
||||||
lib.source_path = "extensions/sdktools";
|
lib.source_path = "extensions/sdktools";
|
||||||
@ -302,11 +326,11 @@ namespace builder
|
|||||||
libraries.Add(lib);
|
libraries.Add(lib);
|
||||||
|
|
||||||
lib = new Library();
|
lib = new Library();
|
||||||
lib.package_path = "addons/sourcemod/extensions/auto.2.ep2";
|
lib.package_path = "addons/sourcemod/extensions/auto.2.ep2valve";
|
||||||
lib.source_path = "extensions/tf2";
|
lib.source_path = "extensions/tf2";
|
||||||
lib.binary_name = "game.tf2.ext";
|
lib.binary_name = "game.tf2.ext";
|
||||||
lib.vcproj_name = "tf2";
|
lib.vcproj_name = "tf2";
|
||||||
lib.build_mode = BuildMode.BuildMode_Episode2;
|
lib.build_mode = BuildMode.BuildMode_Episode2Valve;
|
||||||
libraries.Add(lib);
|
libraries.Add(lib);
|
||||||
|
|
||||||
lib = new Library();
|
lib = new Library();
|
||||||
|
@ -50,6 +50,10 @@ namespace builder
|
|||||||
{
|
{
|
||||||
config_name = config_name + " - Orange Box";
|
config_name = config_name + " - Orange Box";
|
||||||
}
|
}
|
||||||
|
else if (lib.build_mode == BuildMode.BuildMode_Episde2Valve)
|
||||||
|
{
|
||||||
|
config_name = config_name + " - Orange Box Valve";
|
||||||
|
}
|
||||||
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
else if (lib.build_mode == BuildMode.BuildMode_OldMetamod)
|
||||||
{
|
{
|
||||||
config_name = config_name + " - Old Metamod";
|
config_name = config_name + " - Old Metamod";
|
||||||
|
Loading…
Reference in New Issue
Block a user