home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / progrmng / stk110.lzh / STKSRC.COM / SPR_LOW.C < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-25  |  1.7 KB  |  56 lines

  1. /**********************************************************************
  2. * spr_low.c
  3. *
  4. * A loader module which combines the low level sprite functions for 
  5. * different display hardware. The hardware dependent defines are
  6. * defined in herclues.def and egamono.def.
  7. *
  8. * If you add new display types, you might have to define new
  9. * macros (for example to change color map). In that case define
  10. * something reasonable for the existing displays types, too.
  11. *
  12. **********************************************************************
  13.                     This file is part of
  14.  
  15.           STK -- The sprite toolkit -- version 1.1
  16.  
  17.               Copyright (C) Jari Karjala 1991
  18.  
  19. The sprite toolkit (STK) is a FreeWare toolkit for creating high
  20. resolution sprite graphics with PCompatible hardware. This toolkit 
  21. is provided as is without any warranty or such thing. See the file
  22. COPYING for further information.
  23.  
  24. **********************************************************************/
  25.  
  26. /** Tell compiler to use assembler immediately if assembler version **/
  27. #ifndef C_VER
  28. #pragma inline
  29. #endif
  30.  
  31. #include <dos.h>
  32.  
  33. #include "grtypes.h"
  34.  
  35. /** The version information. Do not modify it! **/
  36. char *spr_version = "STK version 1.1  Copyright (C) Jari Karjala 1991";
  37.  
  38.  
  39. /***** Include defines for hardware dependent defines *****/
  40. #include "hercules.def"
  41. #define PUT     spr_low_herc_put
  42. #define ERASE   spr_low_herc_erase
  43.  
  44. /***** Include the skeletons for the functions *****/
  45. #include "spr_low.def"
  46.  
  47.  
  48. /***** Include defines for hardware dependent defines *****/
  49. #include "egamono.def"
  50. #define PUT     spr_low_ega_mono_put
  51. #define ERASE   spr_low_ega_mono_erase
  52.  
  53. /***** Include the skeletons for the functions *****/
  54. #include "spr_low.def"
  55.  
  56.