QTfrontend/CocoaInitializer.h
author nemo
Thu, 01 Jul 2010 17:00:14 -0400
changeset 3603 b6b1989744ef
parent 2948 3f21a9dc93d0
child 5095 15dd764b728c
permissions -rw-r--r--
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 COCOAINITIALIZER_H
#define COCOAINITIALIZER_H

class CocoaInitializer
{
    public:
        CocoaInitializer();
        ~CocoaInitializer();

    private:
        class Private;
        Private* d;
                Private* c;
};

#endif