diff --git a/TODO b/TODO index e11e92b..a533ce0 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,7 @@ -- change naming convention? make globals stand out more -- implement basic types +TODO: +- maintain the TODO list properly +- skeleton +- examples - geometry lock/unlock -> reinstance -> revisit pipelines @@ -10,8 +12,7 @@ - more file formats (PNG) - PS2 rendering! - Im2d and Im3d -- skeleton -- examples +- change naming convention? make globals stand out more BUGS: - fseek with negative offset on ps2 over ps2link messes up the current position @@ -37,12 +38,6 @@ Clump & related: R* 2dfx 0x253F2F8 R* Collision 0x253F2FA -Texture Dictionary / Native Textures - - Pipelines (PDS, Xbox, PC) - ADC conversion - -- uninstance geometry (PS2) - -- anim interpolation (only stubs right now) diff --git a/src/rwbase.h b/src/rwbase.h index 7955006..539fb29 100644 --- a/src/rwbase.h +++ b/src/rwbase.h @@ -262,6 +262,18 @@ inline void convMatrix(RawMatrix *dst, Matrix *src){ dst->posw = 1.0; } +struct Line +{ + V3d start; + V3d end; +}; + +struct Rect +{ + int32 h, w; + int32 x, y; +}; + struct Sphere { V3d center;