Previous 199869 Revisions Next

r40573 Wednesday 2nd September, 2015 at 07:44:51 UTC by Andrew Gardner
A shot in the dark at fixing the clang error reported by travis (nw).
[src/mame/drivers]namcos23.c

trunk/src/mame/drivers/namcos23.c
r249084r249085
12661266
12671267enum { RENDER_MAX_ENTRIES = 1000, POLY_MAX_ENTRIES = 10000 };
12681268
1269class namcos23_state;
1270struct namcos23_render_data;
1271
1272class namcos23_renderer : public poly_manager<float, namcos23_render_data, 4, POLY_MAX_ENTRIES>
1273{
1274public:
1275    namcos23_renderer(namcos23_state &state);
1276   
1277    void render_flush(bitmap_rgb32& bitmap);
1278    void render_scanline(INT32 scanline, const extent_t& extent, const namcos23_render_data& object, int threadid);
1279   
1280private:
1281    namcos23_state& m_state;
1282    bitmap_rgb32 m_bitmap;
1283};
1284
1285typedef namcos23_renderer::vertex_t poly_vertex;
1286
1287
12881269struct namcos23_render_entry
12891270{
12901271   int type;
r249084r249085
13081289   UINT32 (*texture_lookup)(running_machine &machine, const pen_t *pens, float x, float y);
13091290};
13101291
1292class namcos23_state;
1293
1294class namcos23_renderer : public poly_manager<float, namcos23_render_data, 4, POLY_MAX_ENTRIES>
1295{
1296public:
1297    namcos23_renderer(namcos23_state &state);
1298   
1299    void render_flush(bitmap_rgb32& bitmap);
1300    void render_scanline(INT32 scanline, const extent_t& extent, const namcos23_render_data& object, int threadid);
1301   
1302private:
1303    namcos23_state& m_state;
1304    bitmap_rgb32 m_bitmap;
1305};
1306
1307typedef namcos23_renderer::vertex_t poly_vertex;
1308
13111309struct namcos23_poly_entry
13121310{
13131311   namcos23_render_data rd;
r249084r249085
13171315   poly_vertex pv[16];
13181316};
13191317
1318
13201319struct c417_t
13211320{
13221321   UINT16 ram[0x10000];


Previous 199869 Revisions Next


© 1997-2024 The MAME Team