aboutsummaryrefslogtreecommitdiff
path: root/Source/Support.cpp
blob: d6a90152766584757603a80788fd321678d9d0d1 (plain) (blame)
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
#include "Support.h"

#include <unistd.h>

#include "SDL.h"

void Microseconds (UnsignedWide *microTickCount)
{
	/* NOTE: hi isn't used in BS, so it's not implemented here */
	/* TODO: does game need microsecond precision? */
	microTickCount->hi = 0;
	microTickCount->lo = SDL_GetTicks() * 1000;
}

OSErr FSRead(int refNum, long *count, void *buffPtr)
{
	read(refNum, buffPtr, *count);
	
	return 0;
}

void GetMouse(Point *p)
{
STUB_FUNCTION;
}

void GetKeys(unsigned long *keys)
{
STUB_FUNCTION;
}