I just love breaking things ;) If I remember correctly I wanted to display the statistics about the game (kills etc.) at the end of a multiplayer game. It should be possible to enable fireworks again without removing this functionality.
The intRemoveMissionResultNoAnim might have something to do with an empty blue intelligence box appearing at the bottom of the screen when you were defeated, but I'm not sure about that. - Gerard -----Original Message----- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Wed 27-6-2007 8:55 To: [email protected] Subject: [Warzone-dev] [patch] Enable Fireworks when win again! I see pattern. Gerard breaks, I fix. ;) In mission.c, compare to original source code. They had comment out. Unknown why it was enabled. Did no seem to do anything when enabled. Test in both SP & skirmish. In wrappers.c, yes, just one line comment out (or just remove). Again, unknown why he do this, I just know it broke fireworks @ end. The SDL_Delay call I had add as berlios version, for reason state before, no real good reason why not to use. It only does that when menu calls are up. I see no way to 'skip' when create patch. notes, there is bug someplace else also about fireworks. For now, it seem to work fine for players >=3. I only test skirmish. So please reports if you see fireworks when win in MP or skirmish games now. Index: src/mission.c =================================================================== --- src/mission.c (revision 1626) +++ src/mission.c (working copy) @@ -3535,11 +3535,11 @@ intRemoveMissionResultNoAnim(); }*/ // intRemoveMissionResultNoAnim(); - - if (bMultiPlayer) - { - intRemoveMissionResultNoAnim(); - } +//Unknown why below was needed?? +// if (bMultiPlayer) +// { +// intRemoveMissionResultNoAnim(); +// } } void intProcessMissionResult(UDWORD id) Index: src/wrappers.c =================================================================== --- src/wrappers.c (revision 1626) +++ src/wrappers.c (working copy) @@ -268,6 +268,7 @@ && keyPressed(KEY_RETURN)) { screenToggleMode(); } + SDL_Delay(30); //To release CPU when menu are up. return RetCode; } @@ -412,7 +413,7 @@ // this bit decides whether to auto quit to front end. //if(!getDebugMappingStatus()) - if(!bMultiPlayer) +// if(!bMultiPlayer) { if(bDidit) { -- Click to find great rates on life insurance, save big, shop here http://tagline.hushmail.com/fc/Ioyw6h4d8MKqJxS6q0gTDzFqQW4MFnETYpwFhtFmFe7QvFs1lLmJCO/ _______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
