/dports/games/five-or-more/five-or-more-3.32.2/src/ |
H A D | theme-renderer.vala | 29 private int sprite_size = DEFAULT_SPRITE_SIZE; 99 if (is_theme_changed || tile_pattern == null || sprite_size != size) 102 sprite_size = size; 106 Game.N_ANIMATIONS * sprite_size, 107 Game.N_TYPES * sprite_size); 111 matrix.scale ((sprite_sheet_width/theme_sprite_size) * sprite_size / sprite_sheet_width, 112 Game.N_TYPES * sprite_size / sprite_sheet_height); 122 var texture_x = sprite_size * animation; 123 var texture_y = sprite_size * type; 129 cr.rectangle (x, y, sprite_size, sprite_size);
|
/dports/emulators/darcnes/darcnes/ |
H A D | tms9918.c | 132 if ((sprites[i].y_pos + sprite_size) < vdp->scanline) { in tms9918_cache_sprites() 161 if (((cache[3].x_pos - cache[2].x_pos) & 0x1ff) < sprite_size) { in tms9918_check_sprite_collision() 164 if (((cache[3].x_pos - cache[1].x_pos) & 0x1ff) < sprite_size) { in tms9918_check_sprite_collision() 167 if (((cache[3].x_pos - cache[0].x_pos) & 0x1ff) < sprite_size) { in tms9918_check_sprite_collision() 193 int sprite_size; in tms9918_render_sprites() local 195 sprite_size = (vdp->regs[1] & 0x02)? 16: 8; in tms9918_render_sprites() 218 if ((cache[i].x_pos + sprite_size) < 0) { in tms9918_render_sprites() 227 } else if ((cache[i].x_pos + sprite_size) > 255) { in tms9918_render_sprites() 229 data &= ((sprite_size == 8)? 0xff00: 0xffff) in tms9918_render_sprites() 230 << ((cache[i].x_pos + sprite_size + 1) & 0xff); in tms9918_render_sprites() [all …]
|
/dports/www/netsurf/netsurf-3.10/frontends/riscos/ |
H A D | buffer.c | 88 os_coord sprite_size; in ro_gui_buffer_open() local 121 sprite_size.x = clipping.x1 - clipping.x0 + 1; in ro_gui_buffer_open() 122 sprite_size.y = clipping.y1 - clipping.y0 + 1; in ro_gui_buffer_open() 123 ro_convert_os_units_to_pixels(&sprite_size, (os_mode)-1); in ro_gui_buffer_open() 124 if (sprite_size.y == 1) /* work around SpriteExtend bug */ in ro_gui_buffer_open() 125 sprite_size.y = 2; in ro_gui_buffer_open() 139 word_width = ((sprite_size.x << bpp) + 31) >> 5; in ro_gui_buffer_open() 143 (word_width * sprite_size.y * 4) + palette_size; in ro_gui_buffer_open() 300 header->height = sprite_size.y - 1; in ro_gui_buffer_open() 302 header->right_bit = ((sprite_size.x << bpp) - 1) & 31; in ro_gui_buffer_open()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/invaders/src/ |
H A D | Shield.cpp | 151 float sprite_size = PIXEL_SIZE * NUM_SHIELD_CELLS; in CheckHit() local 157 && check_position.x <= position.x + sprite_size in CheckHit() 159 && check_position.y <= position.y + sprite_size) in CheckHit()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/luainvaders/src/ |
H A D | Shield.cpp | 151 float sprite_size = PIXEL_SIZE * NUM_SHIELD_CELLS; in CheckHit() local 157 && check_position.x <= position.x + sprite_size in CheckHit() 159 && check_position.y <= position.y + sprite_size) in CheckHit()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/pyinvaders/src/ |
H A D | Shield.cpp | 151 float sprite_size = PIXEL_SIZE * NUM_SHIELD_CELLS; in CheckHit() local 157 && check_position.x <= position.x + sprite_size in CheckHit() 159 && check_position.y <= position.y + sprite_size) in CheckHit()
|
/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | namcos1.cpp | 149 static const int sprite_size[4] = { 16, 8, 32, 4 }; in draw_sprites() local 155 const u16 sizex = sprite_size[(attr1 & 0xc0) >> 6]; in draw_sprites() 156 const u16 sizey = sprite_size[(attr2 & 0x06) >> 1]; in draw_sprites()
|
H A D | namcos86.cpp | 278 static const int sprite_size[4] = { 16, 8, 32, 4 }; in draw_sprites() local 284 int sizex = sprite_size[(attr1 & 0xc0) >> 6]; in draw_sprites() 285 int sizey = sprite_size[(attr2 & 0x06) >> 1]; in draw_sprites()
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | namcos1.cpp | 149 static const int sprite_size[4] = { 16, 8, 32, 4 }; in draw_sprites() local 155 const u16 sizex = sprite_size[(attr1 & 0xc0) >> 6]; in draw_sprites() 156 const u16 sizey = sprite_size[(attr2 & 0x06) >> 1]; in draw_sprites()
|
H A D | namcos86.cpp | 278 static const int sprite_size[4] = { 16, 8, 32, 4 }; in draw_sprites() local 284 int sizex = sprite_size[(attr1 & 0xc0) >> 6]; in draw_sprites() 285 int sizey = sprite_size[(attr2 & 0x06) >> 1]; in draw_sprites()
|
/dports/games/instead/instead-3.4.1/stead/stead2/ |
H A D | sprites.lua | 21 stead.sprite_size = instead_sprite_size 76 return stead.sprite_size(spr); 168 sprite_size = instead_sprite_size
|
/dports/devel/love08/love-0.8.0/src/modules/graphics/opengl/ |
H A D | SpriteBatch.cpp | 239 int sprite_size = sizeof(vertex) * 4; in addv() local 243 array_buf->fill(index * sprite_size, sprite_size, v); in addv()
|
/dports/devel/love10/love-0.10.2/src/modules/graphics/opengl/ |
H A D | SpriteBatch.cpp | 286 const size_t sprite_size = 4 * sizeof(Vertex); // bytecount in addv() local 299 array_buf->fill(index * sprite_size, sprite_size, sprite); in addv()
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pst90s/ |
H A D | d_legionna.cpp | 45 static UINT32 sprite_size; variable 896 DrvGfxROM2 = Next; Next += sprite_size * 2; in MemIndex() 963 for (INT32 i = sprite_size - 0x100000; i >= 0; i -= 0x100000) in DrvGfxDecode() 998 sprite_size = 0x200000; in LegionnaInit() 1060 GenericTilemapSetGfx(2, DrvGfxROM2, 4, 16, 16, sprite_size * 2, 0x400, 0xf); in LegionnaInit() 1077 sprite_size = 0x200000; in HeatbrlInit() 1140 GenericTilemapSetGfx(2, DrvGfxROM2, 4, 16, 16, sprite_size * 2, 0x400, 0xf); in HeatbrlInit() 1157 sprite_size = 0x600000; in GodzillaInit() 1225 GenericTilemapSetGfx(2, DrvGfxROM2, 4, 16, 16, sprite_size * 2, 0x400, 0xf); in GodzillaInit() 1249 sprite_size = 0x500000; in DenjinmkInit() [all …]
|
/dports/games/openttd/openttd-12.1/src/ |
H A D | misc_gui.cpp | 794 Dimension sprite_size = GetSpriteSize(rtl ? SPR_IMG_DELETE_RIGHT : SPR_IMG_DELETE_LEFT); in DrawEditBox() local 795 int clearbtn_width = sprite_size.width + WD_IMGBTN_LEFT + WD_IMGBTN_RIGHT; in DrawEditBox() 806 …btn_left + WD_IMGBTN_LEFT + (wi->IsLowered() ? 1 : 0), (top + bottom - sprite_size.height) / 2 + (… in DrawEditBox() 852 Dimension sprite_size = GetSpriteSize(rtl ? SPR_IMG_DELETE_RIGHT : SPR_IMG_DELETE_LEFT); in GetCaretPosition() local 853 int clearbtn_width = sprite_size.width + WD_IMGBTN_LEFT + WD_IMGBTN_RIGHT; in GetCaretPosition() 882 Dimension sprite_size = GetSpriteSize(rtl ? SPR_IMG_DELETE_RIGHT : SPR_IMG_DELETE_LEFT); in GetBoundingRect() local 883 int clearbtn_width = sprite_size.width + WD_IMGBTN_LEFT + WD_IMGBTN_RIGHT; in GetBoundingRect() 919 Dimension sprite_size = GetSpriteSize(rtl ? SPR_IMG_DELETE_RIGHT : SPR_IMG_DELETE_LEFT); in GetCharAtPosition() local 920 int clearbtn_width = sprite_size.width + WD_IMGBTN_LEFT + WD_IMGBTN_RIGHT; in GetCharAtPosition()
|
H A D | order_gui.cpp | 219 Dimension sprite_size = GetSpriteSize(sprite); in DrawOrderString() local 221 …, PAL_NONE, rtl ? right - sprite_size.width : left, y + ((int)FONT_HEIGHT_… in DrawOrderString() 222 …, PAL_NONE, rtl ? right - 2 * sprite_size.width : left + sprite_size.width, y + ((int)FONT_HEIGHT_… in DrawOrderString() 224 …, PAL_NONE, rtl ? right - sprite_size.width : left, y + ((int)FONT_HEIGHT_… in DrawOrderString() 235 …DrawString(left, rtl ? right - 2 * sprite_size.width - 3 : middle, y, STR_ORDER_INDEX, colour, SA_… in DrawOrderString()
|
/dports/multimedia/xanim/xanim2920/ |
H A D | xa_replay.h | 46 xaULONG sprite_size; /*I size of sprite info */ member
|
/dports/games/libretro-snes9x2005/snes9x2005-218be8e/source/ |
H A D | dsp4emu.c | 1086 sprite_size = true; in DSP4_Op09() 1105 sprite_size = !sprite_size; in DSP4_Op09() 1166 DSP4_Op06(sprite_size, (int8_t) sp_msb); in DSP4_Op09() 1184 DSP4_Op06(sprite_size, (int8_t) sp_msb); in DSP4_Op09()
|
H A D | dsp4.h | 54 bool sprite_size; /* sprite size: 8x8 or 16x16 */ variable
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/devices/ |
H A D | tms9928a.cpp | 459 UINT8 sprite_size = ( tms.Regs[1] & 0x02 ) ? 16 : 8; in TMS9928AScanline_INT() local 461 UINT8 sprite_height = sprite_size * ( sprite_mag + 1 ); in TMS9928AScanline_INT() 488 UINT16 pataddr = tms.spritepattern + ( ( sprite_size == 16 ) ? sprcode & ~0x03 : sprcode ) * 8; in TMS9928AScanline_INT() 512 for ( INT32 s = 0; s < sprite_size; s += 8 ) in TMS9928AScanline_INT()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/devices/ |
H A D | tms9928a.cpp | 457 UINT8 sprite_size = ( tms.Regs[1] & 0x02 ) ? 16 : 8; in TMS9928AScanline_INT() local 459 UINT8 sprite_height = sprite_size * ( sprite_mag + 1 ); in TMS9928AScanline_INT() 486 UINT16 pataddr = tms.spritepattern + ( ( sprite_size == 16 ) ? sprcode & ~0x03 : sprcode ) * 8; in TMS9928AScanline_INT() 509 for ( INT32 s = 0; s < sprite_size; s += 8 ) in TMS9928AScanline_INT()
|
/dports/emulators/mess/mame-mame0226/src/devices/video/ |
H A D | tms9928a.cpp | 554 uint8_t sprite_size = ( m_Regs[1] & 0x02 ) ? 16 : 8; in device_timer() local 556 uint8_t sprite_height = sprite_size * ( sprite_mag + 1 ); in device_timer() 583 uint16_t pataddr = m_spritepattern + ( ( sprite_size == 16 ) ? sprcode & ~0x03 : sprcode ) * 8; in device_timer() 606 for ( int s = 0; s < sprite_size; s += 8 ) in device_timer()
|
/dports/emulators/mame/mame-mame0226/src/devices/video/ |
H A D | tms9928a.cpp | 554 uint8_t sprite_size = ( m_Regs[1] & 0x02 ) ? 16 : 8; in device_timer() local 556 uint8_t sprite_height = sprite_size * ( sprite_mag + 1 ); in device_timer() 583 uint16_t pataddr = m_spritepattern + ( ( sprite_size == 16 ) ? sprcode & ~0x03 : sprcode ) * 8; in device_timer() 606 for ( int s = 0; s < sprite_size; s += 8 ) in device_timer()
|
/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/chip/dsp4/ |
H A D | dsp4emu.h | 79 bool8 sprite_size; // sprite size: 8x8 or 16x16 member
|
/dports/emulators/mednafen/mednafen/src/snes/src/chip/dsp4/ |
H A D | dsp4emu.h | 79 bool8 sprite_size; // sprite size: 8x8 or 16x16 member
|