aboutsummaryrefslogblamecommitdiff
path: root/Source/Support.cpp
blob: d6a90152766584757603a80788fd321678d9d0d1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                    

                   





                                                                     
                               

                                                   






                                                    









                                 
#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;
}