On Thu, Aug 23, 2001 at 03:52:34PM -0700, LordHavoc wrote:
> Joseph Carter wrote:
> > > Heh, the name winquake.h is completely out of place in twilight, at
> > > least rename the thing, if not merge it into a more appropriate place.
> >
> > Yes, it's out of place. I do not have a cross-compiler setup or I'd be
> > making more changes to see that things like it die.
>
> Set up a cross-compiler, if only to see what breaks when you change
> things... Makes it practical to do large changes :)
/me whines about windows :p
> > > > SDL_mixer.h
> > > > This is crap. The SDL guys all know it's crap, and it's not part
> > > > of SDL proper. MAYBE it's worthwhile to try and grab the code for
> > > > impulse tracker files out of it for dynamic music. I'm not really
> > > > convinced it's even good for that, I've been told that the .it
> > > > code has a few limitations. I haven't actually looked at it to
> > > > see if it's salvagable.
> > >
> > > The less unnecessary features there are, the better, that's my policy.
> >
> > We do want dynamic music at some point and there is some code for it in
> > SDL_mixer, I just think we could do better to use our own, that's all.
>
> Games seem to be moving toward linear formats like mp3 (Serious Sam and
> others) and wav (SiN, Quake3, and probably a few others), and since mp3
> is not an option... wav is easy to play back, and they both allow
> fading between tracks.
A lot of people would disagree that SDL_mixer is crap, a lot of people use
SDL_mixer :) As far as linear formats, the .mod format is still good! Unreal
Tournament for example used it. .mod formats are far more efficient IMO, and
they support the oldskool element. As far as music, why not ogg/vorbis?
Supporting .wav files for music is lame IMO, let's just force people to use .ogg
:) ogg already sounds better than .mp3 in many circumstances and is royalty &
patent free. It's perfect for what we need! About the only thing (at this
present time) that ogg/vorbis doesn't provide are .wav's loop points, (which
with some creativity you can get around)...
> > > > SDL_timer.h
> > > > Only milisecond accuracy, I think it is possible for us to get
> > > > much tighter tollerances than that on most OSes, but I don't
> > > > recall that we actually USE more than that. If we don't, then we
> > > > should consider using SDL's, one less item in sys_${OS}.c..
> > >
> > > On windoze the reliable timer (used in Q3, QF, lhnqserver, and various
> > > others) is only millisecond accuracy, the other one (PerformanceCounter)
> > > tends to stray over time (the win98 speed cheat bug with original QW) as
> > > it is based on the cycle counter in the CPU, which is usually slightly
> > > misjudged in speed.
> >
> > *nod* We should probably be using it - I think we are anyway.
I would agree, SDL_timer is the most portable thing we can use...
-EvilTypeGuy
_______________________________________________
twilight-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/twilight-devel