Downloads containing bonus.c

Downloads
Name Author Game Mode Rating
OpenJazz source code Alister Other N/A Download file

File preview

/*
 *
 * bonus.c
 * Created on the 23rd of August 2005
 *
 * Part of the OpenJazz project
 *
 *
 * Copyright (c) 2005 Alister Thomson
 *
 * OpenJazz is distributed under the terms of
 * the GNU General Public License, version 2.0
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */

/*
 * Deals with the loading, running and freeing of bonus levels.
 *
 */


#include "OpenJazz.h"


int loadBonus (char * fn) {

  FILE *f;

  f = fopenFromPath(fn);

  // To do

  fclose(f);

  return -1;

}


void freeBonus (void) {

  // To do

  return;

}


void bonusLoop (void) {

  while (1) {

    DORETURN(loop(), freeBonus();)

    // To do

  }

}