home *** CD-ROM | disk | FTP | other *** search
/ Amiga Dream 59 / CDDream59.ISO / Amiga / Emulation / cp4.lha / cp4 / c2p_src / c2p_module.h < prev    next >
C/C++ Source or Header  |  1998-11-30  |  2KB  |  56 lines

  1. /* :ts=4                            c2p_module.h
  2.  *
  3.  *    cp4 - Commodore C+4 emulator
  4.  *    Copyright (C) 1998 Gßti Gergely
  5.  *
  6.  *    This program is free software; you can redistribute it and/or modify
  7.  *    it under the terms of the GNU General Public License as published by
  8.  *    the Free Software Foundation; either version 2 of the License, or
  9.  *    (at your option) any later version.
  10.  *
  11.  *    This program is distributed in the hope that it will be useful,
  12.  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  *    GNU General Public License for more details.
  15.  *
  16.  *    You should have received a copy of the GNU General Public License
  17.  *    along with this program; if not, write to the Free Software Foundation,
  18.  *    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  19.  *
  20.  *    e-mail: gatig@dragon.klte.hu
  21.  */
  22. #ifndef C2P_MODULE_H
  23. #define C2P_MODULE_H
  24.  
  25. #include <exec/types.h>
  26. #include <graphics/gfx.h>
  27. #include <intuition/intuition.h>
  28. #include <exec/lists.h>
  29.  
  30. struct c2pvec {
  31.     char *(*c2p_init)(ULONG scrmode, ULONG overscan, unsigned char *linedeltatab);
  32.     void (*c2p_free)(void);
  33.     int (*c2p_do)(unsigned char *chunky,unsigned char *delta,int numscreen);
  34.     int (*c2p_dofull)(unsigned char *chunky,unsigned char *delta,int numscreen);
  35.     void (*c2p_sleep)(void);
  36.     void (*c2p_awake)(void);
  37.     char *c2p_Info;                                        // Set via #define-s (NoTouch!)
  38.     char *c2p_Author;                                    // Set via #define-s (NoTouch!)
  39.     char *c2p_Version;                                    // Set via #define-s (NoTouch!)
  40.     char *c2p_Revision;                                    // Set via #define-s (NoTouch!)
  41.     char *c2p_Name;                                        // Set via #define-s (NoTouch!)
  42.     struct Screen *c2p_Scr;                                // Read/Write
  43.     struct Window *c2p_Win;                                // Read/Write
  44.     int (*c2p_GetOptionInt)(char *name,int defval);        // Callable Functions
  45.     void (*c2p_AddOptionInt)(char *name,int value);        // -
  46.     char *(*c2p_GetOptionStr)(char *name,char *defval);    // -
  47.     void (*c2p_AddOptionStr)(char *name,char *value);    // -
  48.     int c2p_Buffering;                                    // Set via #define-s (NoTouch!)
  49.     int c2p_Speed;                                        // Read only
  50.     int c2p_NoSpeed;                                    // PRIVATE!
  51.     struct List c2p_MsgList;                            // Manipulate Allowed
  52.     int (*c2p_dont)(void);
  53. };
  54.  
  55. #endif
  56.