Page 1 of 1

SNDINFO $EDFOVERRIDE flag

Posted: Sun Mar 27, 2011 1:46 pm
by Quasar
I am implementing support for Hexen SNDINFO in Eternity. Our implementation will be capable of ignoring all unknown tokens, but I am not aware if this is true of ZDoom's implementation or not. Due to that, in interest of maintaining cross-port compatibility in this lump format, I am requesting that ZDoom add support for ignoring an $EDFOVERRIDE token in SNDINFO files, as this token will be used in Eternity to indicate that a SNDINFO lump should be capable of overriding sound information derived from the EDF hive, from the point it is seen to the end of a given SNDINFO lump.

Re: SNDINFO $EDFOVERRIDE flag

Posted: Mon Mar 28, 2011 11:26 pm
by randi
Added, though I think you should know that SNDINFO is not line-based.

Re: SNDINFO $EDFOVERRIDE flag

Posted: Mon Mar 28, 2011 11:39 pm
by Quasar
So I guess I need to go back and replace it with a full finite state automaton then. Lovely. I mainly say that because C++ doesn't really help with them. Method pointers can't be called through a superclass, and using class objects as states is ridiculous overkill IMO. So that leaves you with pointers to statics at best, which is no better than C.

EDIT: Though I have some ideas... ;)