Done. But only for omitting optional arguments. That way it doesn't have to be versioned.Xaser wrote:Since function overloading isn't a thing (and won't ever be, as it seems), here's an odd proposal: allow virtual overrides to omit trailing parameters in their function signature (with the obvious caveat that if you don't add the parameter, you can't use it). This would implicitly fix the problem since existing Die() overrides will work after the base implementation adds a new parameter.
[up to 3.3.2] MeansOfDeath is in the wrong place
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49066
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany