/* Steven Andrews 1/99 */
/* Moved string routines to string.c 11/01 */
/* See documentation called Utility doc */
/* Copyright 2003 by Steven Andrews.  Permission is granted
   for non-commercial use of and modifications to the code. */


#ifndef __Utility_h
#define __Utility_h

#include <Events.h>

#define inputf(E1,E2,A) {printf(E1,A);scanf(E2,&##A);}
#define lcase(A) ((A)>='A'&&(A)<='Z'?((A)-'A'+'a'):(A))
#define isnum(A) ((A)>='0'&&(A)<='9'||(A)=='-')

void WaitTime(float dt);
char Wait4Event();
char Wait4Mouse(int *x,int *y);
char inkey();
void beep();
void SiouxWindow(float left,float top,int columns,int rows,int event);
int CheckEvents(EventRecord *event);

#endif