- hooked up the Shadow Warrior frontend.

It doesn't really work but this way it always gets compiled and linked so that it receives the changes to the backend code.
This commit is contained in:
Christoph Oelckers 2019-10-09 20:14:04 +02:00
parent 0f4abfa4f4
commit eca099681a
3 changed files with 33 additions and 0 deletions

View file

@ -366,6 +366,10 @@ namespace Blood
{
extern GameInterface Interface;
}
namespace ShadowWarrior
{
extern GameInterface Interface;
}
GameInterface *CheckFrontend()
{
@ -384,7 +388,11 @@ GameInterface *CheckFrontend()
return &Redneck::Interface;
}
else
{
f = fopen("sw.grp", "rb");
if (f) return &ShadowWarrior::Interface;
return &Duke::Interface;
}
}
}