/dports/games/frogatto/frogatto-1.3.1/modules/frogatto/data/ |
H A D | control_schemes.cfg | 38 x: "@eval SCREEN_WIDTH - 284*2", 47 x: "@eval SCREEN_WIDTH - 187*2", 55 x: "@eval SCREEN_WIDTH - 187*2", 64 x: "@eval SCREEN_WIDTH - 94*2", 72 x: "@eval SCREEN_WIDTH - 95*2", 112 x: "@eval SCREEN_WIDTH - 126", 120 x: "@eval SCREEN_WIDTH - 90", 297 …x: "@eval SCREEN_WIDTH * 0.69 + (SCREEN_WIDTH * 0.31 - 57 * min( SCREEN_WIDTH * 0.23 / 79, SCREEN_… 305 …x: "@eval SCREEN_WIDTH * 0.78 + (SCREEN_WIDTH * 0.22 - 57 * min( SCREEN_WIDTH * 0.23 / 79, SCREEN_… 313 …x: "@eval SCREEN_WIDTH * 0.46 + 2 + (SCREEN_WIDTH * 0.32 - 57 * min( SCREEN_WIDTH * 0.23 / 79, SCR… [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/nes/ |
H A D | d_nes.cpp | 10653 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT 10670 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT 10687 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT 10704 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT 10721 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT 10738 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT 10755 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT 10772 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT 10789 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT 10806 SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT [all …]
|
/dports/www/firefox/firefox-99.0/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ |
H A D | ScreenshotTest.kt | 36 private const val SCREEN_WIDTH = 800 in <lambda>() constant 93 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 110 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 132 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 147 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 370 .source(0,0,SCREEN_WIDTH, SCREEN_HEIGHT) in <lambda>() 371 .size(SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() 394 .source(SCREEN_WIDTH/2,SCREEN_HEIGHT/2,SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() 414 .size(SCREEN_WIDTH/4, SCREEN_WIDTH/4) in <lambda>() 418 .source(SCREEN_WIDTH/2,SCREEN_HEIGHT/2,SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() [all …]
|
H A D | DynamicToolbarTest.kt | 25 private const val SCREEN_WIDTH = 100 constant 31 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 87 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 121 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 143 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 174 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 212 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 253 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 294 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 318 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ |
H A D | ScreenshotTest.kt | 36 private const val SCREEN_WIDTH = 800 in <lambda>() constant 93 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 110 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 132 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 147 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 353 .source(0,0,SCREEN_WIDTH, SCREEN_HEIGHT) in <lambda>() 354 .size(SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() 377 .source(SCREEN_WIDTH/2,SCREEN_HEIGHT/2,SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() 397 .size(SCREEN_WIDTH/4, SCREEN_WIDTH/4) in <lambda>() 401 .source(SCREEN_WIDTH/2,SCREEN_HEIGHT/2,SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() [all …]
|
H A D | DynamicToolbarTest.kt | 22 private const val SCREEN_WIDTH = 100 constant 28 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 84 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 89 val reference = getComparisonScreenshot(SCREEN_WIDTH, SCREEN_HEIGHT) in positionFixedElementClipping() 118 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 123 val reference = getComparisonScreenshot(SCREEN_WIDTH, SCREEN_HEIGHT) in layoutViewportExpansion() 140 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 171 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 209 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 250 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ |
H A D | ScreenshotTest.kt | 36 private const val SCREEN_WIDTH = 800 in <lambda>() constant 93 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 110 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 132 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 147 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 353 .source(0,0,SCREEN_WIDTH, SCREEN_HEIGHT) in <lambda>() 354 .size(SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() 377 .source(SCREEN_WIDTH/2,SCREEN_HEIGHT/2,SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() 397 .size(SCREEN_WIDTH/4, SCREEN_WIDTH/4) in <lambda>() 401 .source(SCREEN_WIDTH/2,SCREEN_HEIGHT/2,SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() [all …]
|
H A D | DynamicToolbarTest.kt | 22 private const val SCREEN_WIDTH = 100 constant 28 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 84 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 89 val reference = getComparisonScreenshot(SCREEN_WIDTH, SCREEN_HEIGHT) in positionFixedElementClipping() 118 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 123 val reference = getComparisonScreenshot(SCREEN_WIDTH, SCREEN_HEIGHT) in layoutViewportExpansion() 140 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 171 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 209 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 250 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ |
H A D | ScreenshotTest.kt | 34 private const val SCREEN_WIDTH = 800 in <lambda>() constant 91 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 108 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 130 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 144 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) in <lambda>() 265 .source(0,0,SCREEN_WIDTH, SCREEN_HEIGHT) in <lambda>() 266 .size(SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() 289 .source(SCREEN_WIDTH/2,SCREEN_HEIGHT/2,SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() 309 .size(SCREEN_WIDTH/4, SCREEN_WIDTH/4) in <lambda>() 313 .source(SCREEN_WIDTH/2,SCREEN_HEIGHT/2,SCREEN_WIDTH/2, SCREEN_HEIGHT/2) in <lambda>() [all …]
|
H A D | DynamicToolbarTest.kt | 22 private const val SCREEN_WIDTH = 100 constant 28 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 84 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 89 val reference = getComparisonScreenshot(SCREEN_WIDTH, SCREEN_HEIGHT) in positionFixedElementClipping() 118 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 123 val reference = getComparisonScreenshot(SCREEN_WIDTH, SCREEN_HEIGHT) in layoutViewportExpansion() 140 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 171 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 209 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) 250 @WithDisplay(height = SCREEN_HEIGHT, width = SCREEN_WIDTH) [all …]
|
/dports/games/meandmyshadow/meandmyshadow-0.5a/src/ |
H A D | CreditsMenu.cpp | 35 title = titleTextureFromText(renderer, _("Credits"), objThemes.getTextColor(false), SCREEN_WIDTH); in Credits() 86 GUIObjectRoot=new GUIObject(imageManager,renderer,0,0,SCREEN_WIDTH,SCREEN_HEIGHT); in Credits() 89 …backButton=new GUIButton(imageManager,renderer,SCREEN_WIDTH*0.5,SCREEN_HEIGHT-60,-1,36,_("Back"),0… in Credits() 95 …textArea=new GUITextArea(imageManager,renderer,SCREEN_WIDTH*0.05,114,SCREEN_WIDTH*0.9,SCREEN_HEIGH… in Credits() 156 drawTitleTexture(SCREEN_WIDTH, *title, renderer); in render() 163 GUIObjectRoot->width=SCREEN_WIDTH; in resize() 166 backButton->left=SCREEN_WIDTH/2; in resize() 169 textArea->left=SCREEN_WIDTH*0.05; in resize() 170 textArea->width=SCREEN_WIDTH*0.9; in resize()
|
H A D | TitleMenu.cpp | 39 return titleTextureFromText(renderer, text, objThemes.getTextColor(false), SCREEN_WIDTH - 100); in Menu() 79 if(x>=200&&x<SCREEN_WIDTH-200&&y>=(SCREEN_HEIGHT-250)/2&&y<(SCREEN_HEIGHT-200)/2+320){ in handleEvents() 86 if(x>=SCREEN_WIDTH-8){ in handleEvents() 88 }else if(x>=SCREEN_WIDTH-56){ in handleEvents() 90 }else if(x>=SCREEN_WIDTH-104){ in handleEvents() 189 dstRect.x = std::max(SCREEN_WIDTH - dstRect.w, 0) / 2; in render() 198 const int leftOfHighlight = (SCREEN_WIDTH-highlightWidth)/2; in render() 233 drawGUIBox(SCREEN_WIDTH - 100, SCREEN_HEIGHT - 52, 40, 40, renderer, 0xFFFFFF40); in render() 236 drawGUIBox(SCREEN_WIDTH - 52, SCREEN_HEIGHT - 52, 40, 40, renderer, 0xFFFFFF40); in render() 241 applyTexture(SCREEN_WIDTH-96,SCREEN_HEIGHT-48,*creditsIcon,renderer); in render() [all …]
|
/dports/games/alienblaster/alienblaster/src/ |
H A D | banner.cc | 42 pos = Vector2D( SCREEN_WIDTH - sprite->w - 10, in Banner() 63 pos = Vector2D( -(sprite->w) + ((SCREEN_WIDTH + sprite->w)/ 2) * (timeLived / 1000.0), in update() 66 pos = Vector2D( ( SCREEN_WIDTH - sprite->w ) / 2, in update() 69 pos = Vector2D( ((SCREEN_WIDTH - sprite->w)/2) + in update() 70 ((SCREEN_WIDTH + sprite->w)/2)*((timeLived-3000)/2000.0), in update() 78 pos = Vector2D( (SCREEN_WIDTH - sprite->w)/2, in update() 81 pos = Vector2D( (SCREEN_WIDTH - sprite->w)/2, in update() 84 pos = Vector2D( (SCREEN_WIDTH - sprite->w)/2, in update() 116 r.x = SCREEN_WIDTH / 2 - spriteBonus->w / 2; in draw()
|
/dports/emulators/mednafen/mednafen/src/ngp/ |
H A D | gfx_scanline_colour.cpp | 71 if (x >= SCREEN_WIDTH) in drawColourPattern() 85 highmark = std::min<int>(winw+winx, SCREEN_WIDTH)-1; in drawColourPattern() 154 memset(cfb_scanline, 0, SCREEN_WIDTH * sizeof(uint16)); in draw_scanline_colour() 155 memset(zbuffer, 0, SCREEN_WIDTH); in draw_scanline_colour() 164 for (int x = 0; x < SCREEN_WIDTH; x++) in draw_scanline_colour() 172 for (int x = 0; x < std::min<int>(winx, SCREEN_WIDTH); x++) in draw_scanline_colour() 175 for (int x = std::min<int>(winx + winw, SCREEN_WIDTH); x < SCREEN_WIDTH; x++) in draw_scanline_colour() 180 for (int x = 0; x < SCREEN_WIDTH; x++) in draw_scanline_colour() 198 for (int x = winx; x < std::min<int>(winx + winw, SCREEN_WIDTH); x++) in draw_scanline_colour()
|
H A D | gfx_scanline_mono.cpp | 29 if (index == 0 || x < winx || x >= (winw + winx) || x >= SCREEN_WIDTH) in MonoPlot() 131 memset(cfb_scanline, 0, SCREEN_WIDTH * sizeof(uint16)); in draw_scanline_mono() 132 memset(zbuffer, 0, SCREEN_WIDTH); in draw_scanline_mono() 147 for (int x = 0; x < SCREEN_WIDTH; x++) in draw_scanline_mono() 155 for (int x = 0; x < std::min<int>(winx, SCREEN_WIDTH); x++) in draw_scanline_mono() 157 for (int x = std::min<int>(winx + winw, SCREEN_WIDTH); x < SCREEN_WIDTH; x++) in draw_scanline_mono() 162 for (int x = 0; x < SCREEN_WIDTH; x++) in draw_scanline_mono() 183 for (int x = winx; x < std::min<int>(winx + winw, SCREEN_WIDTH); x++) in draw_scanline_mono()
|
/dports/games/openbubbles/openbubbles-1.2/src/ |
H A D | gameloop.cpp | 108 boxRGBA(screen,0,0,SCREEN_WIDTH-1,SCREEN_HEIGHT-1,0,0,0,255); in gameloop() 128 bubs.push_back(new bouncerBubble(random_int(SCREEN_WIDTH), in gameloop() 147 bubs.push_back(new bouncerBubble(SCREEN_WIDTH-1, in gameloop() 157 bubs.push_back(new bonusBubble(random_int(SCREEN_WIDTH), in gameloop() 162 bubs.push_back(new bonusBubble(random_int(SCREEN_WIDTH), in gameloop() 186 bubs.push_back(new bubble(random_int(SCREEN_WIDTH), in gameloop() 195 bubs.push_back(new bubble(SCREEN_WIDTH+rand_radius-1, in gameloop() 297 ((*i)->x()>=SCREEN_WIDTH+(*i)->radius()*2)|| in gameloop() 377 dest.x=SCREEN_WIDTH/2-youwin->w/2; in gameloop() 392 dest.x=SCREEN_WIDTH/2-gameover->w/2; in gameloop() [all …]
|
H A D | main.cpp | 329 dest.x=SCREEN_WIDTH/2-src.w/2; in main() 337 dest.x=SCREEN_WIDTH/2+105; in main() 346 dest.x=SCREEN_WIDTH/2-src.w/2; in main() 354 dest.x=SCREEN_WIDTH/2-src.w/2; in main() 362 dest.x=SCREEN_WIDTH/2+120; in main() 398 dest.x=SCREEN_WIDTH/2-src.w/2; in main() 509 dest.x=SCREEN_WIDTH/2-src.w/2; in main() 653 src.w=dest.w=SCREEN_WIDTH; in transition() 686 src.w=dest.w=SCREEN_WIDTH; in transition() 758 src.w=dest.w=SCREEN_WIDTH; in highscore_transition() [all …]
|
/dports/emulators/x16-emulator/x16-emulator-r38/ |
H A D | video.c | 53 #define SCREEN_WIDTH 640 macro 94 static uint8_t layer_line[2][SCREEN_WIDTH]; 95 static uint8_t sprite_line_col[SCREEN_WIDTH]; 96 static uint8_t sprite_line_z[SCREEN_WIDTH]; 192 SCREEN_WIDTH, SCREEN_HEIGHT); in video_init() 347 for (int x = 0; x < SCREEN_WIDTH; ++x) { in refresh_layer_properties() 478 memset(sprite_line_z, 0, SCREEN_WIDTH); in render_sprite_line() 514 if (line_x >= SCREEN_WIDTH) { in render_sprite_line() 600 for (int x = 0; x < SCREEN_WIDTH; x++) { in render_layer_line_text() 856 uint8_t col_line[SCREEN_WIDTH]; in render_line() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/xeen/ |
H A D | screen.cpp | 35 create(SCREEN_WIDTH, SCREEN_HEIGHT); in Screen() 49 assert(f.size() == (SCREEN_WIDTH * SCREEN_HEIGHT)); in loadBackground() 50 f.read((byte *)getPixels(), SCREEN_WIDTH * SCREEN_HEIGHT); in loadBackground() 57 _pages[0].create(SCREEN_WIDTH, SCREEN_HEIGHT); in loadPage() 58 _pages[1].create(SCREEN_WIDTH, SCREEN_HEIGHT); in loadPage() 76 Common::copy(srcP, srcP + SCREEN_WIDTH - xp, destP); in horizMerge() 79 destP = (byte *)getBasePtr(SCREEN_WIDTH - xp, y); in horizMerge() 95 Common::copy(srcP, srcP + SCREEN_WIDTH, destP); in vertMerge() 101 Common::copy(srcP, srcP + SCREEN_WIDTH, destP); in vertMerge() 108 addDirtyRect(Common::Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)); in drawScreen()
|
/dports/games/scummvm/scummvm-2.5.1/engines/xeen/ |
H A D | screen.cpp | 35 create(SCREEN_WIDTH, SCREEN_HEIGHT); in Screen() 49 assert(f.size() == (SCREEN_WIDTH * SCREEN_HEIGHT)); in loadBackground() 50 f.read((byte *)getPixels(), SCREEN_WIDTH * SCREEN_HEIGHT); in loadBackground() 57 _pages[0].create(SCREEN_WIDTH, SCREEN_HEIGHT); in loadPage() 58 _pages[1].create(SCREEN_WIDTH, SCREEN_HEIGHT); in loadPage() 76 Common::copy(srcP, srcP + SCREEN_WIDTH - xp, destP); in horizMerge() 79 destP = (byte *)getBasePtr(SCREEN_WIDTH - xp, y); in horizMerge() 95 Common::copy(srcP, srcP + SCREEN_WIDTH, destP); in vertMerge() 101 Common::copy(srcP, srcP + SCREEN_WIDTH, destP); in vertMerge() 108 addDirtyRect(Common::Rect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)); in drawScreen()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/ |
H A D | cyberbal_vidhrdw.c | 13 #define SCREEN_WIDTH (42*16) macro 16 #define SCREEN2_SCROLL_OFFSET (SCREEN_WIDTH) 403 if (temp > SCREEN_WIDTH) in update_one_screen() 438 if (cliprect->min_x < SCREEN_WIDTH) in VIDEO_UPDATE() 441 if (rect.max_x >= SCREEN_WIDTH) in VIDEO_UPDATE() 442 rect.max_x = SCREEN_WIDTH; in VIDEO_UPDATE() 445 if (cliprect->max_x >= SCREEN_WIDTH) in VIDEO_UPDATE() 448 if (rect.min_x < SCREEN_WIDTH) in VIDEO_UPDATE() 449 rect.min_x = SCREEN_WIDTH; in VIDEO_UPDATE()
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/ |
H A D | cyberbal_vidhrdw.c | 13 #define SCREEN_WIDTH (42*16) macro 16 #define SCREEN2_SCROLL_OFFSET (SCREEN_WIDTH) 403 if (temp > SCREEN_WIDTH) in update_one_screen() 438 if (cliprect->min_x < SCREEN_WIDTH) in VIDEO_UPDATE() 441 if (rect.max_x >= SCREEN_WIDTH) in VIDEO_UPDATE() 442 rect.max_x = SCREEN_WIDTH; in VIDEO_UPDATE() 445 if (cliprect->max_x >= SCREEN_WIDTH) in VIDEO_UPDATE() 448 if (rect.min_x < SCREEN_WIDTH) in VIDEO_UPDATE() 449 rect.min_x = SCREEN_WIDTH; in VIDEO_UPDATE()
|
/dports/games/libretro-2048/libretro-2048-35a299c/ |
H A D | game_cairo.c | 126 SCREEN_PITCH = cairo_format_stride_for_width(CAIRO_FORMAT_RGB16_565, SCREEN_WIDTH); in game_calculate_pitch() 160 fill_rectangle(static_ctx, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); in init_static_surface() 211 (unsigned char*)frame_buf, CAIRO_FORMAT_RGB16_565, SCREEN_WIDTH, SCREEN_HEIGHT, in game_init() 310 fill_rectangle(ctx, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); in render_title() 316 draw_text_centered(ctx, "2048", 0, 0, SCREEN_WIDTH, TILE_SIZE*3); in render_title() 341 fill_rectangle(ctx, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); in render_win_or_game_over() 355 draw_text_centered(ctx, tmp, 0, 0, SCREEN_WIDTH, TILE_SIZE*5); in render_win_or_game_over() 371 fill_rectangle(ctx, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); in render_paused() 377 draw_text_centered(ctx, "Paused", 0, 0, SCREEN_WIDTH, TILE_SIZE*3); in render_paused() 385 draw_text_centered(ctx, tmp, 0, 0, SCREEN_WIDTH, TILE_SIZE*5); in render_paused() [all …]
|
/dports/emulators/mess/mame-mame0226/src/devices/sound/ |
H A D | vgm_visualizer.cpp | 81 m_bitmap.resize(SCREEN_WIDTH, SCREEN_HEIGHT); in device_start() 251 for (int i = 0; i < SCREEN_WIDTH; i++) in device_reset() 476 m_screen->set_size(SCREEN_WIDTH, SCREEN_HEIGHT); in device_add_mconfig() 560 int width = SCREEN_WIDTH; in draw_spectrogram() 568 for (int x = SCREEN_WIDTH - 1; x >= 1; x--) in draw_spectrogram() 573 width = int(SCREEN_WIDTH * 0.75f); in draw_spectrogram() 660 for (int x = 0; x < SCREEN_WIDTH; x++) in draw_spectrogram() 701 for (int x = 0; x < SCREEN_WIDTH; x++) in draw_waterfall() 703 if (m_waterfall_length < SCREEN_WIDTH) in draw_waterfall() 712 const int x_index = ((m_waterfall_length - SCREEN_WIDTH) + x) % SCREEN_WIDTH; in draw_waterfall() [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/sound/ |
H A D | vgm_visualizer.cpp | 81 m_bitmap.resize(SCREEN_WIDTH, SCREEN_HEIGHT); in device_start() 251 for (int i = 0; i < SCREEN_WIDTH; i++) in device_reset() 476 m_screen->set_size(SCREEN_WIDTH, SCREEN_HEIGHT); in device_add_mconfig() 560 int width = SCREEN_WIDTH; in draw_spectrogram() 568 for (int x = SCREEN_WIDTH - 1; x >= 1; x--) in draw_spectrogram() 573 width = int(SCREEN_WIDTH * 0.75f); in draw_spectrogram() 660 for (int x = 0; x < SCREEN_WIDTH; x++) in draw_spectrogram() 701 for (int x = 0; x < SCREEN_WIDTH; x++) in draw_waterfall() 703 if (m_waterfall_length < SCREEN_WIDTH) in draw_waterfall() 712 const int x_index = ((m_waterfall_length - SCREEN_WIDTH) + x) % SCREEN_WIDTH; in draw_waterfall() [all …]
|