Home
last modified time | relevance | path

Searched refs:vga_width (Results 1 – 25 of 26) sorted by relevance

12

/dports/games/opentyrian/opentyrian-opentyrian-77a8715634e3/src/
H A Dvideo_scale.c50 { 1 * vga_width, 1 * vga_height, no_scale, nn_16, nn_32, "None" },
51 { 2 * vga_width, 2 * vga_height, NULL, nn_16, nn_32, "2x" },
53 { 2 * vga_width, 2 * vga_height, NULL, NULL, hq2x_32, "hq2x" },
54 { 3 * vga_width, 3 * vga_height, NULL, nn_16, nn_32, "3x" },
57 { 4 * vga_width, 4 * vga_height, NULL, nn_16, nn_32, "4x" },
108 width = vga_width, // src_surface->w in nn_32()
157 width = vga_width, // src_surface->w in nn_16()
207 width = vga_width; // src_surface->w in scale2x_32()
260 width = vga_width; // src_surface->w in scale2x_16()
314 width = vga_width; // src_surface->w in scale3x_32()
[all …]
H A Dscroller.c130 coins[i].x = mt_rand() % (vga_width - 12); in scroller_sine()
217 fill_rectangle_xy(VGAScreen, 0, 0, vga_width - 1, 14, 0); in scroller_sine()
218 fill_rectangle_xy(VGAScreen, 0, vga_height - 14, vga_width - 1, vga_height - 1, 0); in scroller_sine()
251 coin->x = mt_rand() % (vga_width - 12); in scroller_sine()
264 beer[i].x = mt_rand() % (vga_width - 24); in scroller_sine()
272 …if (beer[i].x + beer[i].vx > vga_width - 24 || beer[i].x + beer[i].vx < 0) // check if the beer hi… in scroller_sine()
H A Dvideo.c49 …VGAScreen = VGAScreenSeg = SDL_CreateRGBSurface(SDL_SWSURFACE, vga_width, vga_height, 8, 0, 0, 0, … in init_video()
50 VGAScreen2 = SDL_CreateRGBSurface(SDL_SWSURFACE, vga_width, vga_height, 8, 0, 0, 0, 0); in init_video()
51 game_screen = SDL_CreateRGBSurface(SDL_SWSURFACE, vga_width, vga_height, 8, 0, 0, 0, 0); in init_video()
H A Dkeyboard.c124 SDL_WarpMouse(x * scalers[scaler].width / vga_width, y * scalers[scaler].height / vga_height); in set_mouse_position()
147 mouse_x = ev.motion.x * vga_width / scalers[scaler].width; in service_SDL_events()
222 lastmouse_x = ev.button.x * vga_width / scalers[scaler].width; in service_SDL_events()
H A Dvideo.h26 #define vga_width 320 macro
H A Dvideo_scale_hqNx.c189 width = vga_width; // src_surface->w in hq2x_32()
2982 width = vga_width; // src_surface->w in hq3x_32()
6835 width = vga_width; // src_surface->w in hq4x_32()
/dports/games/bstone/bstone-1.1.9/src/
H A Dmarkhack.cpp61 int fraction = (::vid_is_3d ? ::vga_width : 1); in generic_draw_post()
71 ((max_height - 1) * ::vga_width) + in generic_draw_post()
126 screen_column -= ::vga_width; in generic_draw_post()
127 fraction += 2 * ::vga_width; in generic_draw_post()
H A Did_vl.cpp40 int vga_width = 0; variable
470 ::vga_width, in sdl_initialize_screen_texture()
584 ::vga_width = ::window_width; in sdl_calculate_dimensions()
585 ::vga_width += 4 - 1; in sdl_calculate_dimensions()
586 ::vga_width /= 4; in sdl_calculate_dimensions()
587 ::vga_width *= 4; in sdl_calculate_dimensions()
594 ::vga_area = ::vga_width * ::vga_height; in sdl_calculate_dimensions()
596 ::screen_width = ::vga_width; in sdl_calculate_dimensions()
850 const auto src_pitch = ::vga_width; in sdl_refresh_screen()
876 for (int x = 0; x < ::vga_width; ++x) in sdl_refresh_screen()
[all …]
H A D3d_draw2.cpp137 planeylookup[y] = (halfheight - 1 - y) * vga_width; in SetPlaneViewSize()
138 mirrorofs[y] = (y * 2 + 1) * vga_width; in SetPlaneViewSize()
H A Did_vl.h70 extern int vga_width;
H A D3d_draw.cpp979 if (::viewwidth == ::vga_width) { in vga_clear_screen()
982 height * ::vga_width, in vga_clear_screen()
991 pixel_offset += ::vga_width; in vga_clear_screen()
H A Djm_free.cpp252 wallheight.resize(::vga_width); in SetupWalls()
/dports/emulators/fs-uae/fs-uae-3.1.35/src/
H A Dgfxboard.cpp215 int vga_width, vga_height; member
297 gb->vga_width = 0; in init_board()
342 if (gb->vga_width <= 16 || gb->vga_height <= 16) in gfxboard_setmode()
344 picasso96_state.Width = gb->vga_width; in gfxboard_setmode()
348 write_log(_T("GFXBOARD %dx%dx%d\n"), gb->vga_width, gb->vga_height, bpp); in gfxboard_setmode()
366 gb->vga_width = 0; in gfxboard_toggle()
373 if (gb->vga_width > 16 && gb->vga_height > 16) { in gfxboard_toggle()
390 if (gb->vga_width <= 16 || gb->vga_height <= 16) in gfxboard_checkchanged()
392 if (picasso96_state.Width != gb->vga_width || in gfxboard_checkchanged()
412 if (width != gb->vga_width || gb->vga_height != height) in qemu_console_resize()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/openhackware/src/
H A Dnvram.c352 extern int vga_width, vga_height, vga_depth;
442 vga_width = lword; in NVRAM_get_config()
H A Dmain.c350 int vga_width, vga_height, vga_depth; variable
H A Dpci.c713 extern int vga_width, vga_height, vga_depth;
720 vga_set_mode(vga_width, vga_height, vga_depth); in vga_config_cb()
725 vga_width, vga_height, vga_depth, in vga_config_cb()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/openhackware/src/
H A Dnvram.c352 extern int vga_width, vga_height, vga_depth;
442 vga_width = lword; in NVRAM_get_config()
H A Dmain.c350 int vga_width, vga_height, vga_depth; variable
H A Dpci.c713 extern int vga_width, vga_height, vga_depth;
720 vga_set_mode(vga_width, vga_height, vga_depth); in vga_config_cb()
725 vga_width, vga_height, vga_depth, in vga_config_cb()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/openhackware/src/
H A Dnvram.c352 extern int vga_width, vga_height, vga_depth;
442 vga_width = lword; in NVRAM_get_config()
H A Dmain.c350 int vga_width, vga_height, vga_depth; variable
H A Dpci.c713 extern int vga_width, vga_height, vga_depth;
720 vga_set_mode(vga_width, vga_height, vga_depth); in vga_config_cb()
725 vga_width, vga_height, vga_depth, in vga_config_cb()
/dports/print/hp2xx/hp2xx-3.4.4/sources/
H A Dhp2xx.h265 int vga_width; /* (internally needed) */ member
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_kms.c1566 vmw_priv->vga_width = vmw_read(vmw_priv, SVGA_REG_WIDTH); in vmw_kms_save_vga()
1602 save->width = vmw_priv->vga_width - save->pos_x; in vmw_kms_save_vga()
1615 vmw_write(vmw_priv, SVGA_REG_WIDTH, vmw_priv->vga_width); in vmw_kms_restore_vga()
H A Dvmwgfx_drv.h400 uint32_t vga_width; member

12