Similarly, over the years, there have been lots of people asking questions like "how can I make sure my powerup never runs out?" and the answer given is often something like "give it a duration of 0x7FFFFFFF which equates to almost 2 years game time and is effectively infinite for all practical purposes." That's just an example - it comes up in several other duration-related questions too.
So, what I was wondering is, why has a true infinity never been added that *ZDoom can see as a duration? Is there some kind of technical limitation? Would it be problematic to have some routine that recognises a symbol/word that means "never run out"?
e.g.
Code: Select all
Powerup.Duration InfiniteCode: Select all
Radius_Quake (9, Infinite, 64, 64, 0);It's always just struck me as a bit of a weird thing, and it also itches at the back of my brain that 0x7FFFFFFF is not truly infinite (even if it is in practical terms) and a game could be left running for 2 years and the duration would expire. Given that the question has come up many times over the years, it seems like it might have been added already if there wasn't a good reason for it not to be. So, I was just wondering what that reason might be.
