Code: Select all
// Create the AltHud object. Todo: Make class type configurable.
FName classname = "AltHud";
auto cls = PClass::FindClass(classname);
if (cls)
{
AltHud = cls->CreateNew();
Moderator: GZDoom Developers
Code: Select all
// Create the AltHud object. Todo: Make class type configurable.
FName classname = "AltHud";
auto cls = PClass::FindClass(classname);
if (cls)
{
AltHud = cls->CreateNew();
Hey, that's exactly what I could use right now. If it were possible to modify the alternative HUD, I could provide a lightweight replacement for the main HUD used in my project. It appears that the HUD system I've been developing recently may be just too much for older entry-level CPUs, but I can't use standard HUDs as fallback due to how the weapons are designed.Graf Zahl wrote:for example customize the ammo display which in general is what's needed the most.