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