Revision [243]

This is an old revision of PlatformVMAPI made by JohnMcIntosh on 2008-10-18 01:27:36.

 

These are the basic api routines you need to implement when you compile the source code without
the majority of the plugins

sqInt ioExit(void)
sqInt ioDisablePowerManager(sqInt disableIfNonZero)
sqInt ioMicroMSecs(void)
sqInt ioMSecs(void)
sqInt ioLowResMSecs(void)
sqInt ioRelinquishProcessorForMicroseconds(sqInt microSeconds)
sqInt dir_Lookup(char *pathString, . . . )
sqInt dir_Create(char *pathString, sqInt pathStringLength)
sqInt dir_Delete(char *pathString, sqInt pathStringLength)
sqInt dir_Delimitor(void)
sqInt dir_SetMacFileTypeAndCreator(char *filename, sqInt filenameSize, char *fType, char *fCreator)
sqInt dir_GetMacFileTypeAndCreator(char *filename, sqInt filenameSize, char *fType, char *fCreator)
sqInt dir_PathToWorkingDir(char *pathName, sqInt pathNameMax)
sqInt getAttributeIntoLength(sqInt indexNumber, sqInt byteArrayIndex, sqInt length)
sqInt attributeSize(sqInt indexNumber)
sqInt sqGetFilenameFromString(char * aCharBuffer, char * aFilenameString, sqInt filenameLength, sqInt resolveAlias)
sqInt ioScreenSize(void)
sqInt ioScreenDepth(void)
sqInt ioHasDisplayDepth(sqInt depth)
sqInt ioForceDisplayUpdate(void)
sqInt display_ioShowDisplay(sqInt dispBitsIndex, sqInt width, sqInt height, sqInt depth, sqInt affectedL, sqInt affectedR, sqInt affectedT, sqInt affectedB)
sqInt ioProcessEvents(void)
sqInt ioSetInputSemaphore(sqInt semaIndex)
sqInt ioGetNextEvent( sqInputEvent *evt)
sqInt ioBeep(void)
sqInt sqAllocateMemory(minHeapSize, desiredHeapSize)
sqInt sqGrowMemoryBy(sqInt oldLimit, sqInt delta)
sqInt sqShrinkMemoryBy(sqInt oldLimit, sqInt delta)
sqInt sqMemoryExtraBytesLeft(sqInt includingSwap)
imageName
char *getImageName(void)
sqInt imageNamePutLength(sqInt sqImageNameIndex, sqInt length)
sqInt imageNameGetLength(sqInt sqImageNameIndex, sqInt length)
sqInt imageNameSize(void)
sqInt vmPathSize(void)
sqInt vmPathGetLength(sqInt sqVMPathIndex, sqInt length)
#define sqImageFileClose(f) fclose(f) #define sqImageFileOpen(fileName, mode) fopen(fileName, mode) #define sqImageFilePosition(f) ftell(f) #define sqImageFileRead(ptr, sz, count, f) fread(ptr, sz, count, f) #define sqImageFileSeek(f, pos) fseek(f, pos, SEEK_SET) #define sqImageFileWrite(ptr, sz, count, f) fwrite(ptr, sz, count, f) #define sqImageFileStartLocation(fileRef, fileName, size) 0
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki