-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardware.h
30 lines (25 loc) · 1.01 KB
/
hardware.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//*******************************************************************************************************
//*******************************************************************************************************
//
// Name: Hardware.H
// Purpose: Hardware Interface Headers
// Author: Paul Robson
// Date: 1st January 2014
//
//*******************************************************************************************************
//*******************************************************************************************************
#include "general.h"
#ifndef _HARDWARE_H
#define _HARDWARE_H
void IF_Initialise(int w,int h);
BOOL IF_Render(BOOL debugMode);
void IF_Terminate(void);
void IF_Write(int x,int y,char ch,int colour);
BOOL IF_KeyPressed(char ch);
void IF_SetSound(BOOL isOn);
void IF_SetPitch(int frequency);
int IF_GetTime(void);
void IF_RenderScreen(BOOL debugMode);
void IF_ProcessRotaryControl();
void IF_LoadOverlay(char *binFile);
#endif