From 6f07f5c299805ddc7380386b7ac7eabc94e3d342 Mon Sep 17 00:00:00 2001 From: yz70s Date: Thu, 26 May 2016 18:24:19 +0200 Subject: chihiro.cpp: try to boot crtaxihr & small 3d adjustments (nw) --- src/mame/includes/chihiro.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/mame/includes/chihiro.h') diff --git a/src/mame/includes/chihiro.h b/src/mame/includes/chihiro.h index 895cdf6c01c..49801466e9f 100644 --- a/src/mame/includes/chihiro.h +++ b/src/mame/includes/chihiro.h @@ -178,7 +178,7 @@ offset in ramht+4 contains in the lower 16 bits the offset in RAMIN divided by 1 objects have methods used to do drawing most methods set parameters, others actually draw */ -class nv2a_renderer : public poly_manager +class nv2a_renderer : public poly_manager { public: enum class VERTEX_PARAMETER { @@ -361,7 +361,7 @@ public: float w; }; - nv2a_renderer(running_machine &machine) : poly_manager(machine) + nv2a_renderer(running_machine &machine) : poly_manager(machine) { memset(channel, 0, sizeof(channel)); memset(pfifo, 0, sizeof(pfifo)); @@ -490,7 +490,8 @@ public: int read_vertices_0x1818(address_space & space, vertex_nv *destination, UINT32 address, int limit); void convert_vertices_poly(vertex_nv *source, nv2avertex_t *destination, int count); void assemble_primitive(vertex_nv *source, int count, render_delegate &renderspans); - UINT32 render_triangle_culling(const rectangle &cliprect, render_delegate callback, int paramcount, const nv2avertex_t &_v1, const nv2avertex_t &_v2, const nv2avertex_t &_v3); + UINT32 render_triangle_clipping(const rectangle &cliprect, render_delegate callback, int paramcount, nv2avertex_t &_v1, nv2avertex_t &_v2, nv2avertex_t &_v3); + UINT32 render_triangle_culling(const rectangle &cliprect, render_delegate callback, int paramcount, nv2avertex_t &_v1, nv2avertex_t &_v2, nv2avertex_t &_v3); void clear_render_target(int what, UINT32 value); void clear_depth_buffer(int what, UINT32 value); inline UINT8 *direct_access_ptr(offs_t address); -- cgit v1.2.3