mirror of
https://github.com/aap/librw.git
synced 2024-11-25 05:05:42 +00:00
slightly fixed ps2 build
This commit is contained in:
parent
aa627a8f2c
commit
3eedea8285
@ -237,7 +237,7 @@ project "ps2test"
|
|||||||
libdirs { "$(PS2SDK)/ee/lib" }
|
libdirs { "$(PS2SDK)/ee/lib" }
|
||||||
links { "librw" }
|
links { "librw" }
|
||||||
-- "c -lc" is a hack because we need -lc twice for some reason
|
-- "c -lc" is a hack because we need -lc twice for some reason
|
||||||
links { "c", "kernel", "mf" }
|
links { "c -lc", "kernel", "mf" }
|
||||||
|
|
||||||
--project "ps2rastertest"
|
--project "ps2rastertest"
|
||||||
-- kind "ConsoleApp"
|
-- kind "ConsoleApp"
|
||||||
|
@ -233,3 +233,4 @@ Charset::printBuffered(const char *str, int32 x, int32 y, bool32 hideSpaces)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ Texture *readNativeTexture(Stream *stream);
|
|||||||
void writeNativeTexture(Texture *tex, Stream *stream);
|
void writeNativeTexture(Texture *tex, Stream *stream);
|
||||||
uint32 getSizeNativeTexture(Texture *tex);
|
uint32 getSizeNativeTexture(Texture *tex);
|
||||||
|
|
||||||
enum : uint32 {
|
enum {
|
||||||
D3DFMT_UNKNOWN = 0xFFFFFFFF,
|
D3DFMT_UNKNOWN = 0xFFFFFFFF,
|
||||||
|
|
||||||
/* Swizzled formats */
|
/* Swizzled formats */
|
||||||
|
@ -210,11 +210,13 @@ namespace null {
|
|||||||
void beginUpdate(Camera*);
|
void beginUpdate(Camera*);
|
||||||
void endUpdate(Camera*);
|
void endUpdate(Camera*);
|
||||||
void clearCamera(Camera*, RGBA *col, uint32 mode);
|
void clearCamera(Camera*, RGBA *col, uint32 mode);
|
||||||
void showRaster(Raster*);
|
void showRaster(Raster*, uint32 flags);
|
||||||
|
|
||||||
void setRenderState(int32 state, void *value);
|
void setRenderState(int32 state, void *value);
|
||||||
void *getRenderState(int32 state);
|
void *getRenderState(int32 state);
|
||||||
|
|
||||||
|
bool32 rasterRenderFast(Raster *raster, int32 x, int32 y);
|
||||||
|
|
||||||
Raster *rasterCreate(Raster*);
|
Raster *rasterCreate(Raster*);
|
||||||
uint8 *rasterLock(Raster*, int32 level, int32 lockMode);
|
uint8 *rasterLock(Raster*, int32 level, int32 lockMode);
|
||||||
void rasterUnlock(Raster*, int32 level);
|
void rasterUnlock(Raster*, int32 level);
|
||||||
@ -226,17 +228,17 @@ namespace null {
|
|||||||
bool32 rasterFromImage(Raster*, Image*);
|
bool32 rasterFromImage(Raster*, Image*);
|
||||||
Image *rasterToImage(Raster*);
|
Image *rasterToImage(Raster*);
|
||||||
|
|
||||||
void im2DRenderLine(void*, int32, int32, int32);
|
void im2DRenderLine(void*, int32, int32, int32);
|
||||||
void im2DRenderTriangle(void*, int32, int32, int32, int32);
|
void im2DRenderTriangle(void*, int32, int32, int32, int32);
|
||||||
void im2DRenderPrimitive(PrimitiveType, void*, int32);
|
void im2DRenderPrimitive(PrimitiveType, void*, int32);
|
||||||
void im2DRenderIndexedPrimitive(PrimitiveType,
|
void im2DRenderIndexedPrimitive(PrimitiveType, void*, int32, void*, int32);
|
||||||
void*, int32, void*, int32);
|
|
||||||
|
|
||||||
void im3DTransform(void *vertices, int32 numVertices, Matrix *world);
|
void im3DTransform(void *vertices, int32 numVertices, Matrix *world, uint32 flags);
|
||||||
void im3DRenderIndexed(PrimitiveType primType, void *indices, int32 numIndices);
|
void im3DRenderPrimitive(PrimitiveType primType);
|
||||||
|
void im3DRenderIndexedPrimitive(PrimitiveType primType, void *indices, int32 numIndices);
|
||||||
void im3DEnd(void);
|
void im3DEnd(void);
|
||||||
|
|
||||||
int deviceSystem(DeviceReq req, void*);
|
int deviceSystem(DeviceReq req, void *arg0, int32 n);
|
||||||
|
|
||||||
extern Device renderdevice;
|
extern Device renderdevice;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user