home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / contrib / bcc2grx / include / p2c / tp_port.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-21  |  1.5 KB  |  50 lines

  1. /*
  2.  *  BCC2GRX  -  Interfacing Borland based graphics programs to LIBGRX
  3.  *  Copyright (C) 1993  Hartmut Schirmer
  4.  *
  5.  *  This library is free software; you can redistribute it and/or
  6.  *  modify it under the terms of the GNU Library General Public
  7.  *  License as published by the Free Software Foundation; either
  8.  *  version 2 of the License, or (at your option) any later version.
  9.  *
  10.  *  This library is distributed in the hope that it will be useful,
  11.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.  *  Library General Public License for more details.
  14.  *
  15.  *  You should have received a copy of the GNU Library General Public
  16.  *  License along with this library; if not, write to the Free
  17.  *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  *
  20.  *  Contact :                Hartmut Schirmer
  21.  *                           Feldstrasse 118
  22.  *                    D-2300 Kiel 1
  23.  *                           Germany
  24.  *
  25.  *                    No telephone calls please !
  26.  *
  27.  *           NOTE : Please use ZIP 24105 after July 1 1993 !!
  28.  *
  29.  */
  30.  
  31. #ifndef __TP_PORT_H
  32. #define __TP_PORT_H
  33.  
  34. extern long RANDSEED_TP;
  35. #define randseed RANDSEED_TP
  36. #define RandSeed RANDSEED_TP
  37.  
  38. unsigned short RANDOM_TP(unsigned short range);
  39. void RANDZE_TP(void);
  40. double RANDOM_R_TP(void);
  41.  
  42. #define ReadKey Readkey
  43. char Readkey(void);
  44.  
  45. /* ------ Borland-like delay() function ----- */
  46. void delay(unsigned ms);  /* Source : delay.s */
  47.  
  48. #endif
  49.  
  50.