Chris Cason wrote:
> It would require the parser to track the deprecated
> status of each #declared item (passing up the state if a new declare
> inherits a deprecated declare, and so forth), which isn't as clean as
> I'd like it to be.
If the SDL could be changed to allow calling parameterless macros
without parantheses, it might be possible to do something like
#declare I_Glass4_Deprecated =
interior {
ior 1.5
fade_distance 2.0
fade_power 1001
}
#macro I_Glass4()
#warning "I_Glass4 is deprecated"
I_Glass4_Deprecated
#end
Post a reply to this message
|