Get Line/Sector hit and hit location from a LineAttack

Moderator: GZDoom Developers

User avatar
ZZYZX
 
 
Posts: 1384
Joined: Sun Oct 14, 2012 1:43 am
Location: Ukraine
Contact:

Re: Get Line/Sector hit and hit location from a LineAttack

Post by ZZYZX »

I'd rather put all GZDoom classes under a namespace and require all future mods to use it after some version.
That is, e.g. if ZScript version is 3.4+, then it should be gz::Tracer instead of Tracer if you want to make an instance of it.
Won't solve issues with the existing mods, but probably will fix the future ones and separate user code from engine code once and forever. (remember Grenade?)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49073
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Get Line/Sector hit and hit location from a LineAttack

Post by Graf Zahl »

It needs to be a bit more intelligent to avoid problems. The reasons it wasn't done originally is because the type system was written in a way that made namespacing close to impossible and after rewriting the relevant parts to be more flexible I had no time to do it.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”