mirror of
https://github.com/holub/mame
synced 2025-10-08 09:30:17 +03:00
small typofix (hello GuyveR800 :P)
This commit is contained in:
parent
7b1fa76446
commit
d652cbe576
@ -1820,7 +1820,7 @@ void copybitmap_trans(bitmap_rgb32 &dest, bitmap_rgb32 &src, int flipx, int flip
|
|||||||
/*-------------------------------------------------
|
/*-------------------------------------------------
|
||||||
copyscrollbitmap - copy from one bitmap to
|
copyscrollbitmap - copy from one bitmap to
|
||||||
another, copying all unclipped pixels, and
|
another, copying all unclipped pixels, and
|
||||||
applying scrolling to one or more rows/colums
|
applying scrolling to one or more rows/columns
|
||||||
-------------------------------------------------*/
|
-------------------------------------------------*/
|
||||||
|
|
||||||
void copyscrollbitmap(bitmap_ind16 &dest, bitmap_ind16 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect)
|
void copyscrollbitmap(bitmap_ind16 &dest, bitmap_ind16 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect)
|
||||||
@ -1842,7 +1842,7 @@ void copyscrollbitmap(bitmap_rgb32 &dest, bitmap_rgb32 &src, UINT32 numrows, con
|
|||||||
copyscrollbitmap_trans - copy from one bitmap
|
copyscrollbitmap_trans - copy from one bitmap
|
||||||
to another, copying all unclipped pixels
|
to another, copying all unclipped pixels
|
||||||
except those that match transpen, and applying
|
except those that match transpen, and applying
|
||||||
scrolling to one or more rows/colums
|
scrolling to one or more rows/columns
|
||||||
-------------------------------------------------*/
|
-------------------------------------------------*/
|
||||||
|
|
||||||
template<class _BitmapClass>
|
template<class _BitmapClass>
|
||||||
|
@ -313,11 +313,11 @@ void copybitmap_trans(bitmap_rgb32 &dest, bitmap_rgb32 &src, int flipx, int flip
|
|||||||
scrolls as a whole in at least one direction.
|
scrolls as a whole in at least one direction.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* copy from one bitmap to another, copying all unclipped pixels, and applying scrolling to one or more rows/colums */
|
/* copy from one bitmap to another, copying all unclipped pixels, and applying scrolling to one or more rows/columns */
|
||||||
void copyscrollbitmap(bitmap_ind16 &dest, bitmap_ind16 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect);
|
void copyscrollbitmap(bitmap_ind16 &dest, bitmap_ind16 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect);
|
||||||
void copyscrollbitmap(bitmap_rgb32 &dest, bitmap_rgb32 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect);
|
void copyscrollbitmap(bitmap_rgb32 &dest, bitmap_rgb32 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect);
|
||||||
|
|
||||||
/* copy from one bitmap to another, copying all unclipped pixels except those that match transpen, and applying scrolling to one or more rows/colums */
|
/* copy from one bitmap to another, copying all unclipped pixels except those that match transpen, and applying scrolling to one or more rows/columns */
|
||||||
void copyscrollbitmap_trans(bitmap_ind16 &dest, bitmap_ind16 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect, UINT32 transpen);
|
void copyscrollbitmap_trans(bitmap_ind16 &dest, bitmap_ind16 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect, UINT32 transpen);
|
||||||
void copyscrollbitmap_trans(bitmap_rgb32 &dest, bitmap_rgb32 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect, UINT32 transpen);
|
void copyscrollbitmap_trans(bitmap_rgb32 &dest, bitmap_rgb32 &src, UINT32 numrows, const INT32 *rowscroll, UINT32 numcols, const INT32 *colscroll, const rectangle &cliprect, UINT32 transpen);
|
||||||
|
|
||||||
|
@ -571,7 +571,7 @@ private:
|
|||||||
|
|
||||||
// scroll information
|
// scroll information
|
||||||
UINT32 m_scrollrows; // number of independently scrolled rows
|
UINT32 m_scrollrows; // number of independently scrolled rows
|
||||||
UINT32 m_scrollcols; // number of independently scrolled colums
|
UINT32 m_scrollcols; // number of independently scrolled columns
|
||||||
INT32 * m_rowscroll; // array of rowscroll values
|
INT32 * m_rowscroll; // array of rowscroll values
|
||||||
INT32 * m_colscroll; // array of colscroll values
|
INT32 * m_colscroll; // array of colscroll values
|
||||||
INT32 m_dx; // global horizontal scroll offset
|
INT32 m_dx; // global horizontal scroll offset
|
||||||
|
@ -69,7 +69,7 @@ Note: if MAME_DEBUG is defined, pressing Z with:
|
|||||||
|
|
||||||
[ Floating Tilemap ]
|
[ Floating Tilemap ]
|
||||||
|
|
||||||
There's a floating tilemap made of vertical colums composed of 2x16
|
There's a floating tilemap made of vertical columns composed of 2x16
|
||||||
"sprites". Each 32 consecutive "sprites" define a column.
|
"sprites". Each 32 consecutive "sprites" define a column.
|
||||||
|
|
||||||
For column I:
|
For column I:
|
||||||
|
@ -359,7 +359,7 @@ static void draw_background(running_machine &machine, bitmap_ind16 &bitmap, cons
|
|||||||
srcy = vf + ((state->m_bg_position << 1) ^ 0xfff) + 1;
|
srcy = vf + ((state->m_bg_position << 1) ^ 0xfff) + 1;
|
||||||
src = &pixmap.pix16(srcy & ymask);
|
src = &pixmap.pix16(srcy & ymask);
|
||||||
|
|
||||||
/* loop over visible colums */
|
/* loop over visible columns */
|
||||||
for (x = cliprect.min_x; x <= cliprect.max_x; x++)
|
for (x = cliprect.min_x; x <= cliprect.max_x; x++)
|
||||||
{
|
{
|
||||||
/* start with HF = flipped H signals */
|
/* start with HF = flipped H signals */
|
||||||
|
Loading…
Reference in New Issue
Block a user