本文整理汇总了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;
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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;
}
示例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);
}
示例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);
}
示例9: VIDEO_START_MEMBER
VIDEO_START_MEMBER(nmk16_state,raphero)
{
VIDEO_START_CALL_MEMBER( macross2 );
m_simple_scroll = 0;
}