URL: <http://gna.org/bugs/?10852>
Summary: Getting rid of huge of busy loop in atmos.c Project: Warzone Resurrection Project Submitted by: buginator Submitted on: Wednesday 01/23/2008 at 04:23 Category: Engine: Graphics Severity: 4 - Important Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: svn/trunk Operating System: All Planned Release: None _______________________________________________________ Details: in r2996, "Remove unused function. Remove unnecessary references to VISIBLE_X|YTILES." I think that was a bit premature, and causes a huge performance hit, since we do not have any other clipping code in atmos.c, we basically have a big busy loop. The define should be changed back to: #define MAX_ATMOS_PARTICLES ((VISIBLE_XTILES * VISIBLE_YTILES)) Would be nice also if the log would be more verbose as to why you think it is unnecessary. (This goes for most all log entries, not just this one) _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?10852> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev