home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d8xx
/
d834
/
pinfocom.lha
/
PInfoCom
/
pinfocom-3.0.lha
/
amiga_protos.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-04
|
4KB
|
104 lines
/* amiga_protos.h
*
* ``pinfocom'' -- a portable Infocom Inc. data file interpreter.
* Copyright (C) 1987-1992 InfoTaskForce
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to the
* Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* $Header$
*/
/* Clipboard support routines. */
VOID ClipClose(VOID);
LONG ClipRead(STRPTR Buffer,const LONG Len);
VOID ClipSave(const STRPTR Buffer,const LONG Len);
Bool ClipOpen(VOID);
/* Console text output and auxilary routines. */
Bool ConLayerSetup(LONG Width,LONG Height);
VOID ConLayerCleanup(VOID);
VOID ConUnblockWindow(struct Window *Window);
VOID ConBlockWindow(struct Window *Window);
WORD ConCharWidth(const UBYTE Char);
VOID ConCursorOff(VOID);
VOID ConCursorOn(const int New);
VOID ConSet(const int X,const int Y,const int New);
VOID ConMove(const int Delta,const int New);
VOID ConClearEOL(VOID);
VOID ConCharBackspace(const int Delta,const int New);
VOID ConCharDelete(const int New);
VOID ConCharInsert(const UBYTE Char);
VOID ConScrollUp(VOID);
VOID ConPad(const char *Line,LONG Len,LONG Indent);
VOID ConWrite(const char *Line,LONG Len,LONG Indent);
Bool ConOpenLibs(VOID);
VOID ConCleanup(VOID);
Bool ConSetup(VOID);
UBYTE ConGetChar(const Bool SingleKey);
VOID ConSetColour(const int Colour);
VOID ConSetFont(const int Font);
VOID ConSetKey(const int Key,const STRPTR String,const int Len);
VOID ConPrintf(const char *Format,...);
VOID ConSwap(STRPTR a,STRPTR b,int Len);
int ConInput(char *Prompt,char *Input,const int MaxLen,const Bool DoHistory);
VOID ConPrintStatus(const char *Left,const char *Right);
LONG ConShowRequest(struct Window *Window,const STRPTR Text,const STRPTR Gadgets,...);
Bool ConQueryOption(int Option);
VOID ConUpdateMenus(VOID);
VOID ConLockMenus(VOID);
VOID ConUnlockMenus(VOID);
char * ConSplitLine(char *Line,int Len,Bool ReturnPrompt);
VOID ConPrintLine(const char *Buffer,int Len,int Indent,Bool PadLine);
Bool ConCheckStory(const char *Name);
char * ConLocateStory(const char *Directory,const char *Default);
VOID ConQueryStoryInformation(const char *Name);
VOID ConAbout(VOID);
/* Game file selection routines. */
VOID GameAdd(struct List *List,int Index,const char *FileName);
Bool GameMatch(const char *Name,const char *Pattern);
VOID GameMultiScan(struct List *GameList,const char *Pattern);
char * GameGetNodeName(struct List *List,const int Offset);
VOID GameFreeList(struct List *List);
Bool GameIsAssign(const STRPTR Name);
struct List * GameBuildList(const char *Pattern);
char * GameGetStoryName(const char *Pattern,struct Window *Window);
VOID GameCentreWindow(const struct Screen *Screen,const WORD WindowWidth,const WORD WindowHeight,WORD *LeftEdge,WORD *TopEdge);
struct Gadget * GameCreateGadgets(struct Gadget **GadgetArray,struct Gadget **GadgetList,const APTR VisualInfo,const struct List *Labels,const struct Screen *Screen,WORD *Width,WORD *Height);
Bool GameSelect(char *Name);
/* Scripting support routines. */
VOID ScriptPadCleanup(VOID);
Bool ScriptPadSetup(int Width);
Bool ScriptPad(const char *Line,int Len);
Bool ScriptWrite(const char *Buffer,const int Width);
struct Gadget * ScriptCreateGadgets(struct Gadget **GadgetArray,struct Gadget **GadgetList,const APTR VisualInfo,UWORD *Width,UWORD *Height,const struct Screen *Screen);
Bool ScriptGetPrinterName(STRPTR PrinterName,int *PrinterWidth);
char * ScriptSplitLine(char *Line,int Len,const Bool ReturnPrompt);
/* Sound support routines. */
Bool SoundInit(VOID);
VOID SoundExit(VOID);
VOID SoundAbort(VOID);
VOID SoundStop(VOID);
VOID SoundStart(VOID);