home *** CD-ROM | disk | FTP | other *** search
/ Photo CD Demo 1 / Demo.bin / icoons / source / icoons.c < prev    next >
C/C++ Source or Header  |  1992-11-19  |  2KB  |  55 lines

  1. /* :ts=8 */
  2. /************************************************************************/
  3. /*                                                                      */
  4. /* This file contains the main program for ICoons.            */
  5. /*                                                                      */
  6. /* ICoons may be distributed under the terms  of  the  GNU  General      */
  7. /* Public License,  this  license  has been included in file COPYING     */
  8. /* found in this distribution.                        */
  9. /*                                                                      */
  10. /* Author: Helge E. Rasmussen (her@compel.dk).                */
  11. /*                                                                      */
  12. /************************************************************************/
  13.  
  14. #include  <stdio.h>
  15. #include <string.h>
  16. #include <ctype.h>
  17.  
  18. #include "general.h"
  19. #include "globals.h"
  20. #include "intui.h"
  21. #include "file.h"
  22. #include "spl_math.h"
  23. #include "spl_util.h"
  24. #include "spl_gfx.h"
  25. #include "normal.h"
  26.  
  27.  
  28. main()
  29. /************************************************************************/
  30. /*                                                                      */
  31. /*                Main program.                */
  32. /*                                                                      */
  33. /************************************************************************/
  34. {
  35.  
  36.     OpenStuff();
  37.  
  38.     Config_File_Read(Default_Config_File_Name);
  39.  
  40.     Set_Mode_Normal();
  41.     Transformation_Init();
  42.     Splines_Init();
  43.     Draw_All(What_All);
  44.  
  45.     do {
  46.  
  47.         Check_Event();
  48.  
  49.     } while (! Quit_Flag);
  50.  
  51.  
  52.     Finish();
  53.  
  54. } /* main */
  55.