summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/includes/pocketc.h
blob: 52dd58145a7c03dd82abf13e971326958ac63232 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                  





                                                                              

                               
 
                                     
 


                                          
                                                                                       


                                                       
 

                                                                                                          
                                             
  
 
                                 
// license:GPL-2.0+
// copyright-holders:Peter Trauner
/*****************************************************************************
 *
 * includes/pocketc.h
 *
 ****************************************************************************/

#ifndef MAME_INCLUDES_POCKETC_H
#define MAME_INCLUDES_POCKETC_H

typedef const char *POCKETC_FIGURE[];

class pocketc_state : public driver_device
{
public:
	pocketc_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) { }

	DECLARE_PALETTE_INIT(pocketc);

	static const unsigned short pocketc_colortable[8][2];
	void pocketc_draw_special(bitmap_ind16 &bitmap,int x, int y, const POCKETC_FIGURE fig, int color);
	void pocketc(machine_config &config);
};

#endif // MAME_INCLUDES_POCKETC_H