#include <pspkernel.h>
#include <pspdisplay.h>
#include <pspdebug.h>
#include <stdlib.h>
#include <stdio.h>
#include <malloc.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include <pspctrl.h>
#include <psputility.h>
#include <pspgu.h>
#include <pspgum.h>
#include <psppower.h>
#include <pspiofilemgr.h>
#include <psphprm.h>
#include "oslmath.h"
#include "vram_mgr.h"
#include "VirtualFile.h"
#include "drawing.h"
#include "map.h"
#include "text.h"
#include "messagebox.h"
#include "keys.h"
#include "audio.h"
#include "bgm.h"
#include "usb.h"
#include "dialog.h"
#include "osk.h"
#include "saveload.h"
#include "net.h"
#include "browser.h"
#include "adhoc/pspadhoc.h"
#include "ccc.h"
#include "sfont.h"
Data Structures | |
struct | OSL_MEMSTATUS |
Defines | |
#define | OSL_VERSION "MOD 1.1.1" |
#define | oslSetQuitOnLoadFailure(enabled) (osl_noFail = (enabled)) |
#define | oslSetQuitOnLoadFailureCallback(function) (osl_noFailCallback = function) |
#define | oslSetExitCallback(function) (osl_exitCallback = function) |
#define | oslSetFrameskip(val) (osl_frameskip = val) |
#define | oslSetMaxFrameskip(val) (osl_maxFrameskip = val) |
#define | oslSetVSync(val) (osl_vsyncEnabled = val) |
#define | oslSyncFrame() oslSyncFrameEx(osl_frameskip,osl_maxFrameskip,osl_vsyncEnabled) |
#define | oslUncacheData(data, size) sceKernelDcacheWritebackInvalidateRange(data, size); |
#define | oslGetUncachedPtr(adr) ((void*)((int)(adr)|0x40000000)) |
#define | oslGetCachedPtr(adr) ((void*)((int)(adr)&(~0x40000000))) |
#define | oslAbs(x) (((x)<0)?(-(x)):(x)) |
#define | oslMin(x, y) (((x)<(y))?(x):(y)) |
#define | oslMax(x, y) (((x)>(y))?(x):(y)) |
#define | oslMinMax(x, min, max) ((x) < (max) ? ((x) > (min) ? (x) : (min)) : (max)) |
#define | oslNumberof(n) (sizeof(n)/sizeof(*(n))) |
#define | oslPrintf(format...) ({ char __str[1000]; sprintf(__str , ##format); oslConsolePrint(__str); }) |
#define | oslPrintf_xy(x, y, str, format...) |
#define | oslCls() (oslClearScreen(0), oslMoveTo(0,0)) |
#define | oslMoveTo(x, y) (osl_consolePosX=x*osl_sceFont->charWidths['0'], osl_consolePosY=y*osl_sceFont->charHeight) |
Enumerations | |
enum | OSL_INITFLAGS { OSL_IF_USEOWNCALLBACKS = 1, OSL_IF_NOVBLANKIRQ = 2 } |
Functions | |
void | oslInit (int flags) |
void | oslQuit () |
void | oslEndFrame () |
int | oslSyncFrameEx (int frameskip, int max_frameskip, int vsync) |
void | oslSetFramerate (int framerate) |
void | oslWaitVSync () |
int | sceDmacMemcpy (void *dest, const void *source, unsigned int size) |
int | sceDmacTryMemcpy (void *dest, const void *source, unsigned int size) |
void | oslFasterMemset (u64 *dst, u64 *src, u32 length) |
void | oslFlushDataCache () |
void * | memalign (size_t, size_t) |
OSL_MEMSTATUS | oslGetRamStatus () |
float | oslSin (float angle, float dist) |
float | oslCos (float angle, float dist) |
int | oslSini (int angle, int dist) |
int | oslCosi (int angle, int dist) |
int | oslGetNextPower2 (int val) |
int | oslBenchmarkTestEx (int startend, int slot) |
int | oslMeanBenchmarkTestEx (int startend, int slot) |
int | oslBenchmarkTest (int startend) |
void | oslSysBenchmarkDisplay () |
int | oslShowSplashScreen (int splashType) |
Variables | |
int | osl_quit |