Grid the landscape, and shortcircuit checks on the collision array if there are no nearby checked in collisions to be collided with. This is a big win for fire's ammoshove in particular. Also add a +2 that seemed missing in the check, and update fire accordingly.
/*
* Copyright (C) 2008 Remko Troncon
*/
#ifndef AUTOUPDATER_H
#define AUTOUPDATER_H
class AutoUpdater
{
public:
virtual ~AutoUpdater();
virtual void checkForUpdates() = 0;
};
#endif