--
[ Picked text/plain from multipart/alternative ]
Just a follow up actually.  I was picking through saytext.cpp in hopes I'd find ways 
to format text printout and didn't find any (cough cough, help me please) and when I 
saw EnsureTextFitsInOneLineAndWrapIfHaveTo( i ); and figured that maybe that was a 
method to overflow lengthy speech onto the next line instead of cutting it off but 
apparently not.  Is there anyway to possibly do that?

----- Original Message -----
From: botman
Sent: Monday, March 11, 2002 11:24 AM
To: [EMAIL PROTECTED]
Subject: [hlcoders] HUD saytext.cpp question

So I was working on getting the client.dll to compile, link, and run using the
Borland or MinGW C++ compilers and noticed this in the
CHudSayText::SayTextPrint() function of the saytext.cpp file...

   PlaySound( "misc/talk.wav", 1 );

...I don't see a "misc" directory in the "sound" directory of the
valve\pak0.pak file.  Also, since the valve directory doesn't have a "sound"
directory, that file doesn't exist on my machine.

The cstrike folder does contain a sound\misc\talk.wav file that just contains
the mike off click.  But why would you want to play a mike off click when
someone sends a TEXT message???

P.S. I like the name of this function...

EnsureTextFitsInOneLineAndWrapIfHaveTo( i );

...it's pretty easy to tell what it does without even looking at the code.  :)

Jeffrey "botman" Broome


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcodersGet more from the Web.  FREE 
MSN Explorer download : http://explorer.msn.com
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to