summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/namcos22.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/namcos22.h')
-rw-r--r--src/mame/includes/namcos22.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/mame/includes/namcos22.h b/src/mame/includes/namcos22.h
index 335e3aa89dd..d04cbb8ae8d 100644
--- a/src/mame/includes/namcos22.h
+++ b/src/mame/includes/namcos22.h
@@ -71,7 +71,8 @@ struct namcos22_scenenode
struct
{
- float vx, vy, vw, vh;
+ float vx, vy;
+ float vu, vd, vl, vr;
int texturebank;
int color;
int cmode;
@@ -148,8 +149,8 @@ private:
struct namcos22_scenenode m_scenenode_root;
struct namcos22_scenenode *m_scenenode_cur;
- int m_clipx;
- int m_clipy;
+ float m_clipx;
+ float m_clipy;
rectangle m_cliprect;
inline u8 nthbyte(const u32 *src, int n) { return (src[n / 4] << ((n & 3) * 8)) >> 24; }
@@ -555,8 +556,10 @@ private:
float m_camera_zoom;
float m_camera_vx;
float m_camera_vy;
- float m_camera_vw;
- float m_camera_vh;
+ float m_camera_vu;
+ float m_camera_vd;
+ float m_camera_vl;
+ float m_camera_vr;
float m_camera_lx; // unit vector for light direction
float m_camera_ly; // "
float m_camera_lz; // "