After learning how to compile and link on a raspberry pi (that was interesting), I have the changes that make DroneAnarchy run without having to specify any additional command line arguments. So click an play, instead of click and hang. Hanging on a raspberry pi is a bad thing, it often corrupts files it was using at the time of the hang.
// in DroneAnarchy.cpp
void DroneAnarchy::Start()
{
String plat = GetPlatform();
if (plat == "Raspberry Pi" || plat == "Android" || plat == "iOS")
{
Renderer* renderer = GetSubsystem<Renderer>();
if ( renderer )
{
renderer->SetReuseShadowMaps (false);
renderer->SetShadowQuality(SHADOWQUALITY_LOW_16BIT);
renderer->SetTextureQuality(QUALITY_MEDIUM); // HIGH casuses hang on RPI
}
}
SetRandomSeed(rand());
// in DroneAnarchy.as
void Start()
{
String platform = GetPlatform();
if ( platform == "Raspberry Pi" || platform == "Android" || platform == "iOS" )
{
renderer.reuseShadowMaps = false;
renderer.shadowQuality = SHADOWQUALITY_LOW_16BIT;
renderer.textureQuality = QUALITY_MEDIUM; // HIGH casuses hang on RPI
}
graphics.windowTitle = "Drone Anarchy";