home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 106 / EnigmaAmiga106CD.iso / software / utilities / hexy / src / hexy_main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-23  |  1.9 KB  |  67 lines

  1.  
  2. /*
  3.  * [!BGN - MACHINE GENERATED - DO NOT EDIT THIS HEADER]
  4.  *
  5.  * Program   : Hexy (Binary file viewer/editor for the Amiga.)
  6.  * Version   : 1.6
  7.  * File      : Work:Source/!WIP/HisoftProjects/Hexy/Hexy_main.h
  8.  * Author    : Andrew Bell
  9.  * Copyright : Copyright © 1998-1999 Andrew Bell (See GNU GPL)
  10.  * Created   : Saturday 28-Feb-98 16:00:00
  11.  * Modified  : Sunday 22-Aug-99 23:31:45
  12.  * Comment   : 
  13.  *
  14.  * (Generated with StampSource 1.2 by Andrew Bell)
  15.  *
  16.  * [!END - MACHINE GENERATED - DO NOT EDIT THIS HEADER]
  17.  *
  18.  */
  19.  
  20. /* Fri/30/Oct/1998 */
  21.  
  22.  
  23. /*
  24.  *  Hexy, binary file viewer and editor for the Amiga.
  25.  *  Copyright (C) 1999 Andrew Bell
  26.  *
  27.  *  Author's email address: andrew.ab2000@bigfoot.com
  28.  *
  29.  *  This program is free software; you can redistribute it and/or modify
  30.  *  it under the terms of the GNU General Public License as published by
  31.  *  the Free Software Foundation; either version 2 of the License, or
  32.  *  (at your option) any later version.
  33.  *
  34.  *  This program is distributed in the hope that it will be useful,
  35.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  36.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  37.  *  GNU General Public License for more details.
  38.  *
  39.  *  You should have received a copy of the GNU General Public License
  40.  *  along with this program; if not, write to the Free Software
  41.  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  42.  *
  43.  */
  44.  
  45. enum { HEXYMODE_HEX = 0, HEXYMODE_ASCII };
  46.  
  47. struct VCtrl
  48. {
  49.   UBYTE *VC_FileAddress;
  50.   ULONG VC_FileLength;
  51.   ULONG VC_CurrentPoint;
  52.   struct RastPort *VC_RPort;
  53.   UWORD VC_InitialYPos;
  54.   UWORD VC_YAmount;
  55.   UWORD VC_XPos;
  56.   UWORD VC_Mode;
  57.   struct FileInfoBlock *VC_FIB;
  58. };
  59.  
  60. #define XBYTES      20
  61. #define YLINES      24
  62. #define XAMOUNT_ASCII 64
  63. #define XAMOUNT_HEX   20
  64.  
  65. enum { ARG_FILE = 0, ARG_ASCII, ARG_AMT };
  66. enum { HEXYUCODE_NOTPACKED = 0, HEXYUCODE_OK, HEXYUCODE_ABORT };
  67.