home *** CD-ROM | disk | FTP | other *** search
/ Quark 3 / Quark3.iso / KATALOG / ARCHIV / TOOL / T001.ZIP / SOURCE.ZIP / system.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-04  |  1.5 KB  |  58 lines

  1. /*
  2. Copyright (C) Matthew 'pagan' Baranowski & Sander 'FireStorm' van Rossen
  3.  
  4. This program is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU General Public License
  6. as published by the Free Software Foundation; either version 2
  7. of the License, or (at your option) any later version.
  8.  
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. GNU General Public License for more details.
  13.  
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  17. */
  18.  
  19. #ifndef _SYSTEM_H_
  20. #define _SYSTEM_H_
  21.  
  22. /*
  23. system dependent function exported to the rest of the application
  24. redefine these for each platform being ported
  25. */
  26.  
  27. #ifdef WIN32
  28.     #include <windows.h>
  29.     #include <windowsx.h>
  30. #endif
  31.  
  32. #include <GL\gl.h>
  33. #include <GL\glu.h>
  34. #include <iostream.h>
  35. #include <memory.h>
  36. #include <stdio.h>
  37. #include <time.h>
  38. #include <math.h>
  39.  
  40. double getDoubleTime (void);
  41.  
  42. void    repaint_main();
  43. void    set_cursor( int x, int y );
  44.  
  45. bool    file_exists( char *fname );
  46. char    *getCmdLine();
  47. void    swap_buffers();
  48.  
  49. typedef int GLMODEL_DBLPTR;
  50. void    tagMenu_append( char *name, GLMODEL_DBLPTR model );
  51. void    tagMenu_seperatorAppend( char *name );
  52. void    tagMenu_remove( GLMODEL_DBLPTR tagid );
  53.  
  54. #include "Error.h"
  55. #include "Base.h"
  56. #include "BaseMesh.h"
  57.  
  58. #endif