View Single Post
Re: what happends when game ends?
Old
  (#5)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: what happends when game ends? - 09-11-2004

for setting such a preprocessor variable like _DEBUG, check your compiler's manual. for gcc it's -D, for MSVS, just go to the property page of your project and then compiler ...
outputting debug messages to the console is normally possible, but not during receiving messages, since you'd produce a new message and HL doesnt really like "recursive" messages

pfnMsgBegin is some nice function and there are different approaches to variable length message handling. I guess you just have to do some more experimenting. one day isnt much and this message you are talking about is one which has multible recipients, I think. Therefore the handling is a bit different. take a close look at it with debug_engine like pierre suggested and it should be fine


  
Reply With Quote