Subversion Repositories Games.Rick Dangerous

Rev

Rev 1 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * src/rick.c
  3.  *
  4.  * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
  5.  *
  6.  * The use and distribution terms for this software are contained in the file
  7.  * named README, which can be found in the root of this distribution. By
  8.  * using this software in any fashion, you are agreeing to be bound by the
  9.  * terms of this license.
  10.  *
  11.  * You must not remove this notice, or any other, from this software.
  12.  */
  13.  
  14. #include "system.h"
  15. #include "game.h"
  16.  
  17. #include <SDL.h>
  18.  
  19.  
  20. /*
  21.  * main
  22.  */
  23. #ifdef __APPLE__
  24. int SDL_main (int argc, char **argv)
  25. #else
  26. int main (int argc, char **argv)
  27. #endif
  28. {
  29.    sys_init (argc, argv);
  30.    game_run ();
  31.    sys_shutdown ();
  32.    return 0;
  33. }
  34.