summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/chihiro.h
diff options
context:
space:
mode:
author yz70s <yz70s@users.noreply.github.com>2016-05-26 18:24:19 +0200
committer yz70s <yz70s@users.noreply.github.com>2016-05-26 23:52:38 +0200
commit6f07f5c299805ddc7380386b7ac7eabc94e3d342 (patch)
tree4966716bced31eea7959be9bdfddf20351539924 /src/mame/includes/chihiro.h
parentf77c7d3afc67f19d0cf00c80fc007f021484733c (diff)
chihiro.cpp: try to boot crtaxihr & small 3d adjustments (nw)
Diffstat (limited to 'src/mame/includes/chihiro.h')
-rw-r--r--src/mame/includes/chihiro.h7
1 files changed, 4 insertions, 3 deletions
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<float, nvidia_object_data, 13, 8192>
+class nv2a_renderer : public poly_manager<double, nvidia_object_data, 13, 8192>
{
public:
enum class VERTEX_PARAMETER {
@@ -361,7 +361,7 @@ public:
float w;
};
- nv2a_renderer(running_machine &machine) : poly_manager<float, nvidia_object_data, 13, 8192>(machine)
+ nv2a_renderer(running_machine &machine) : poly_manager<double, nvidia_object_data, 13, 8192>(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);