当前位置: 首页>>代码示例>>C++>>正文


C++ VIDEO_START_CALL_MEMBER函数代码示例

本文整理汇总了C++中VIDEO_START_CALL_MEMBER函数的典型用法代码示例。如果您正苦于以下问题:C++ VIDEO_START_CALL_MEMBER函数的具体用法?C++ VIDEO_START_CALL_MEMBER怎么用?C++ VIDEO_START_CALL_MEMBER使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了VIDEO_START_CALL_MEMBER函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: VIDEO_START_MEMBER

VIDEO_START_MEMBER(galaxold_state,mooncrst)
{
	VIDEO_START_CALL_MEMBER(galaxold);

	m_modify_charcode   = &galaxold_state::mooncrst_modify_charcode;
	m_modify_spritecode = &galaxold_state::mooncrst_modify_spritecode;
}
开发者ID:MisterTea,项目名称:MAMEHub,代码行数:7,代码来源:galaxold.c

示例2: VIDEO_START_MEMBER

VIDEO_START_MEMBER(toaplan2_state,bgareggabl)
{
	VIDEO_START_CALL_MEMBER( toaplan2 );

	/* Create the Text tilemap for this game */
	create_tx_tilemap(4, 4);
}
开发者ID:MASHinfo,项目名称:mame,代码行数:7,代码来源:toaplan2.cpp

示例3: VIDEO_START_MEMBER

VIDEO_START_MEMBER(leland_state,ataxx)
{
	/* first do the standard stuff */
	VIDEO_START_CALL_MEMBER(leland);

	/* allocate memory */
	m_ataxx_qram = auto_alloc_array_clear(machine(), UINT8, QRAM_SIZE);
}
开发者ID:coinhelper,项目名称:jsmess,代码行数:8,代码来源:leland.c

示例4: VIDEO_START_MEMBER

VIDEO_START_MEMBER(alg_state,alg)
{
	/* standard video start */
	VIDEO_START_CALL_MEMBER(amiga);

	/* configure pen 4096 as transparent in the renderer and use it for the genlock color */
	m_palette->set_pen_color(4096, rgb_t(0,0,0,0));
	amiga_set_genlock_color(machine(), 4096);
}
开发者ID:stengun,项目名称:mame,代码行数:9,代码来源:alg.cpp

示例5: VIDEO_START_MEMBER

VIDEO_START_MEMBER(toaplan2_state,truxton2)
{
	VIDEO_START_CALL_MEMBER( toaplan2 );

	/* Create the Text tilemap for this game */
	m_gfxdecode->m_gfx[0]->set_source(reinterpret_cast<UINT8 *>(m_tx_gfxram16.target()));
	machine().save().register_postload(save_prepost_delegate(FUNC(toaplan2_state::truxton2_postload), this));

	create_tx_tilemap(0x1d5, 0x16a);
}
开发者ID:libretro,项目名称:mame2014-libretro,代码行数:10,代码来源:toaplan2.c

示例6: VIDEO_START_MEMBER

VIDEO_START_MEMBER(aim65_state,aim65)
{
    m_print_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(aim65_state::aim65_printer_timer),this));
    m_printerRAM = std::make_unique<uint16_t[]>((600 * 10 * 2) / 2);
    memset(m_printerRAM, 0, videoram_size);
    VIDEO_START_CALL_MEMBER(generic);
    m_printer_x = 0;
    m_printer_y = 0;
    m_printer_dir = 0;
    m_flag_a = 0;
    m_flag_b = 0;
    m_printer_level = 0;
}
开发者ID:Robbbert,项目名称:store1,代码行数:13,代码来源:aim65.cpp

示例7: VIDEO_START_MEMBER

VIDEO_START_MEMBER(kaneko16_berlwall_state,berlwall)
{
	int sx, x,y;
	UINT8 *RAM  =   memregion("gfx3")->base();

	/* Render the hi-color static backgrounds held in the ROMs */

	m_bg15_bitmap.allocate(256 * 32, 256 * 1);

/*
    8aba is used as background color
    8aba/2 = 455d = 10001 01010 11101 = $11 $0a $1d
*/

	for (sx = 0 ; sx < 32 ; sx++)   // horizontal screens
		for (x = 0 ; x < 256 ; x++) // horizontal pixels
		for (y = 0 ; y < 256 ; y++) // vertical pixels
		{
			int addr  = sx * (256 * 256) + x + y * 256;
			int data = RAM[addr * 2 + 0] * 256 + RAM[addr * 2 + 1];
			int r,g,b;

			r = (data & 0x07c0) >>  6;
			g = (data & 0xf800) >> 11;
			b = (data & 0x003e) >>  1;

			/* apply a simple decryption */
			r ^= 0x09;

			if (~g & 0x08) g ^= 0x10;
			g = (g - 1) & 0x1f;     /* decrease with wraparound */

			b ^= 0x03;
			if (~b & 0x08) b ^= 0x10;
			b = (b + 2) & 0x1f;     /* increase with wraparound */

			/* kludge to fix the rollercoaster picture */
			if ((r & 0x10) && (b & 0x10))
				g = (g - 1) & 0x1f;     /* decrease with wraparound */

			m_bg15_bitmap.pix16(y, sx * 256 + x) = 2048 + ((g << 10) | (r << 5) | b);
		}

	VIDEO_START_CALL_MEMBER(kaneko16);
}
开发者ID:CJBass,项目名称:mame2013-libretro,代码行数:45,代码来源:kaneko16.c

示例8: VIDEO_START_MEMBER

VIDEO_START_MEMBER(rohga_state,schmeisr)
{
	VIDEO_START_CALL_MEMBER( rohga );
	// wire mods on pcb..
	m_sprgen1->set_col_callback(schmeisr_col_callback);
}
开发者ID:Ilgrim,项目名称:MAMEHub,代码行数:6,代码来源:rohga.c

示例9: VIDEO_START_MEMBER

VIDEO_START_MEMBER(nmk16_state,raphero)
{
	VIDEO_START_CALL_MEMBER( macross2 );
	m_simple_scroll = 0;
}
开发者ID:CJBass,项目名称:mame2013-libretro,代码行数:5,代码来源:nmk16.c


注:本文中的VIDEO_START_CALL_MEMBER函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。