/dports/games/heretic/glheretic-1.2/ |
H A D | f_finale.c | 91 memset(screen, 0, screenwidth*screenheight); in F_Responder() 167 for (y=0 ; y<screenheight ; y++) in F_TextWrite() 256 for (y=0 ; y<screenheight ; y++) 270 V_MarkRect (0, 0, screenwidth, screenheight); 325 memcpy(screen, p1, screenheight*screenwidth); in F_DemonScroll() 329 if(yval < screenwidth*screenheight) in F_DemonScroll() 338 memcpy(screen, p2, screenwidth*screenheight); in F_DemonScroll() 362 memset(screen, 0, screenwidth*screenheight); in F_DrawUnderwater() 365 screenwidth*screenheight); in F_DrawUnderwater() 374 screenwidth*screenheight); in F_DrawUnderwater() [all …]
|
H A D | v_video.c | 17 int screenwidth,screenheight; variable 135 || y+SHORT(patch->height) > screenheight) in V_DrawPatch() 196 || y+SHORT(patch->height)>screenheight) in V_DrawFuzzPatch() 381 memset(screen, 0, screenwidth*screenheight); 384 screenheight >= SCREENHEIGHT*2) { 420 screenheight=atoi(myargv[res+2]); in V_Init() 435 screenheight=SCREENHEIGHT; in V_Init() 447 if ((screenheight*8)==(screenwidth*5)) in V_Init() 450 if ((screenheight*4)==(screenwidth*3)) in V_Init() 499 int scry=screenheight; in V_Filter_Screen_linear() [all …]
|
H A D | r_draw.c | 61 || dc_yh >= screenheight) in R_DrawColumn() 92 || dc_yh >= screenheight) in R_DrawColumnLow() 176 || dc_yh >= screenheight) in R_DrawFuzzColumn() 215 || dc_yh >= screenheight) in R_DrawTranslatedColumn() 245 || dc_yh >= screenheight) in R_DrawTranslatedFuzzColumn() 331 || (unsigned)ds_y>screenheight) in R_DrawSpan() local 361 || (unsigned)ds_y>screenheight) in R_DrawSpanLow() local 401 viewwindowy = (screenheight-SBARHEIGHT-height) >> 1; in R_InitBuffer() 411 viewwindowy = (screenheight-SBARHEIGHT-height) >> 1; in R_InitBuffer() 413 ylookup[i] = screen + (screenheight-1-(i+viewwindowy))*screenwidth*4; in R_InitBuffer() [all …]
|
H A D | r_plane.c | 70 spanstart=(int *)calloc(screenheight,sizeof(int)); in resinit_r_plane_c() 71 spanstop=(int *)calloc(screenheight,sizeof(int)); in resinit_r_plane_c() 73 yslope=(fixed_t *)calloc(screenheight,sizeof(fixed_t)); in resinit_r_plane_c() 75 cachedheight=(fixed_t *)calloc(screenheight,sizeof(fixed_t)); in resinit_r_plane_c() 76 cacheddistance=(fixed_t *)calloc(screenheight,sizeof(fixed_t)); in resinit_r_plane_c() 77 cachedxstep=(fixed_t *)calloc(screenheight,sizeof(fixed_t)); in resinit_r_plane_c() 78 cachedystep=(fixed_t *)calloc(screenheight,sizeof(fixed_t)); in resinit_r_plane_c() 216 memset (cachedheight, 0, screenheight*sizeof(fixed_t)); in R_ClearPlanes() 444 if ((screenwidth>320) || (screenheight>200)) { in R_DrawPlanes() 455 if ((unsigned)dc_x >= screenwidth || dc_yl < 0 || dc_yh >= screenheight) in R_DrawPlanes()
|
/dports/misc/pfm/pfm-2.12.3/lib/App/PFM/ |
H A D | Browser.pm | 251 my $screenheight = $self->{_screen}->screenheight; 268 if ($self->{_currentline} > $screenheight) { 269 $self->{_baseindex} += $self->{_currentline} - $screenheight; 270 $self->{_currentline} = $screenheight; 300 my $screenheight = $self->{_screen}->screenheight; 325 my $screenheight = $self->{_screen}->screenheight; 349 - (/\cB|pgup/o) * $screenheight 350 + (/\cF|pgdn/o) * $screenheight 351 - (/\cU/o) * int($screenheight/2) 352 + (/\cD/o) * int($screenheight/2) [all …]
|
/dports/games/orthorobot/orthorobot-1.1.1-1-g48f0742/ |
H A D | game.lua | 56 drawcenterY = screenheight/2 509 love.graphics.print("Time", screenwidth/2-70, screenheight/2-170) 510 love.graphics.print("Steps", screenwidth/2-70, screenheight/2-70) 511 love.graphics.print("Warps", screenwidth/2-70, screenheight/2+30) 514 love.graphics.print("You:", screenwidth/2-70, screenheight/2-145) 515 love.graphics.print("You:", screenwidth/2-70, screenheight/2-45) 516 love.graphics.print("You:", screenwidth/2-70, screenheight/2+55) 548 love.graphics.print("Goal:", screenwidth/2-70, screenheight/2-111) 549 love.graphics.print(goaltime, screenwidth/2+30, screenheight/2-111) 550 love.graphics.print("Goal:", screenwidth/2-70, screenheight/2-11) [all …]
|
H A D | intro.lua | 41 love.graphics.draw(logo, screenwidth/2-142, screenheight/2-150) 42 mygraphicssetScissor(0, screenheight/2+150 - y, screenwidth, y) 43 love.graphics.draw(logoblood, screenwidth/2-142, screenheight/2-150) 46 love.graphics.draw(logoblood, screenwidth/2-142, screenheight/2-150) 48 love.graphics.draw(logo, screenwidth/2-142, screenheight/2-150)
|
/dports/multimedia/mjpegtools/mjpegtools-2.1.0/lavtools/ |
H A D | yuvplay.c | 86 int screenwidth=0, screenheight=0; in main() local 100 if (sscanf(optarg, "%dx%d", &screenwidth, &screenheight) != 2) { in main() 153 if ((screenwidth <= 0) || (screenheight <= 0)) { in main() 161 screenheight = frame_height; in main() 166 screenheight = frame_width * aspect.d / aspect.n; in main() 168 screenheight = frame_height; in main() 175 screenheight = frame_height; in main() 193 screen = SDL_SetVideoMode(screenwidth, screenheight, 0, SDL_SWSURFACE); in main() 196 screenwidth, screenheight, SDL_GetError()); in main() 201 screenwidth, screenheight, screen->format->BitsPerPixel); in main() [all …]
|
/dports/games/mari0/ |
H A D | intro.lua | 10 screenheight = 224*scale 53 love.graphics.draw(logo, screenwidth/2, screenheight/2, 0, scale, scale, 142, 150) 54 love.graphics.setScissor(0, screenheight/2+150*scale - y, screenwidth, y) 55 love.graphics.draw(logoblood, screenwidth/2, screenheight/2, 0, scale, scale, 142, 150) 58 love.graphics.draw(logoblood, screenwidth/2, screenheight/2, 0, scale, scale, 142, 150) 60 love.graphics.draw(logo, screenwidth/2, screenheight/2, 0, scale, scale, 142, 150)
|
/dports/print/texinfo/texinfo-6.8/info/ |
H A D | m-x.c | 148 int new_height, old_height = screenheight; 157 new_height = screenheight; 179 screenheight = new_height; 183 if (screenheight == old_height) 193 display_initialize_display (screenwidth, screenheight); 194 window_new_screen_size (screenwidth, screenheight);
|
H A D | pcterm.c | 58 SHORT screenheight; member 230 ti->screenheight = 24; in gettextinfo() 352 DWORD nchars = screenwidth * screenheight; in ScreenClear() 388 DWORD nchars = screenwidth * screenheight; in ScreenVisualBell() 679 terminal_goto_xy (0, screenheight - 1); in w32_kbd_read() 724 screenheight = rows; in w32_kbd_read() 993 screenheight = outside_info.screenheight; in pc_get_screen_size() 997 screenheight = atoi (getenv ("LINES")); in pc_get_screen_size() 1101 if (screenheight != ScreenRows ()) in pc_prep_terminal() 1102 _set_screen_lines (screenheight); in pc_prep_terminal() [all …]
|
/dports/games/heretic/glheretic-1.2/opengl/ |
H A D | gl_fonts.c | 201 #define MNU_Y(y) (int)((float)(y)*screenheight/200.0f) 293 (*glTexCoord2f_s) (fU1, fV1); (*glVertex2f_s) ( x, screenheight-1-y ); in GL_DrawCompressedPatch() 327 (*glTexCoord2f_s)(fU1, fV1); (*glVertex2f_s)( x, screenheight-1-y ); in GL_DrawPatch() 330 (*glTexCoord2f_s)(fU2, fV1); (*glVertex2f_s)( x+iWidth, screenheight-1-y ); in GL_DrawPatch() 428 (*glTexCoord2f_s) (fU1, fV1); (*glVertex2f_s) ( x, screenheight-1-y ); in GL_DrawLetterA() 474 (*glTexCoord2f_s) (fU1, fV1); (*glVertex2f_s) ( x, screenheight-1-y ); in GL_DrawLetterB() 515 (*glVertex2f_s) ( X0, screenheight-1-Y0 ); in GL_DrawLine() 516 (*glVertex2f_s) ( X1, screenheight-1-Y1 ); in GL_DrawLine() 533 (*glDrawPixels_s) (screenwidth,screenheight,GL_RGB,GL_UNSIGNED_BYTE,screen); in GL_DumpScreen() 672 (*glTexCoord2f_s) (0,0); (*glVertex2f_s) (0,(float)screenheight); in GLDrawScreen() [all …]
|
H A D | gl_weapon.c | 78 iGLTexHeight=(int)((float)SHORT(patch->height)*(float)screenheight/200.0f); in fn_vRegisterWeapon() 115 #define Y j+(int)((float)p_bColumn_t->topdelta*(float)screenheight/200.0f) in fn_vRegisterWeapon() 118 length=(int)((float)p_bColumn_t->length*(float)screenheight/200.0f); in fn_vRegisterWeapon() 194 …glOrtho( (GLdouble) 0, (GLdouble) screenwidth, (GLdouble) 0, (GLdouble) screenheight, (GLdouble) -… in GLdrawWeapons() 295 iHeightWeapon=(int)((float)SHORT(patch->height)*(float)screenheight/200.0f); in GLdrawWeapons() 333 (*glTexCoord2f_s) (fU2, fV1); (*glVertex2f_s) ( (float)xWeapon, (float)(screenheight-1-yWeapon) ); in GLdrawWeapons() 334 …(*glTexCoord2f_s) (fU2, fV2); (*glVertex2f_s) ( (float)xWeapon, (float)(screenheight-1-yWeapon-iHe… in GLdrawWeapons() 335 … (fU1, fV2); (*glVertex2f_s) ( (float)(xWeapon+iWidthWeapon), (float)(screenheight-1-yWeapon-iHeig… in GLdrawWeapons() 336 …_s) (fU1, fV1); (*glVertex2f_s) ( (float)(xWeapon+iWidthWeapon), (float)(screenheight-1-yWeapon) ); in GLdrawWeapons()
|
/dports/games/toycars/toycars-0.3.10/toycars/src/ |
H A D | TcPreferences.cpp | 43 if (xScreen->QueryIntAttribute("height", &data.screenheight) != TIXML_SUCCESS) in TcPreferences() 140 data.screenheight = 768; in defaultPrefs() 169 screen.SetAttribute("height", data.screenheight); in savePreferences() 267 sprintf(screenDimsStr, "Screen: %d x %d", tempData.screenwidth, tempData.screenheight); in drawPrefs() 281 tempData.screenheight = 768; in drawPrefs() 285 tempData.screenheight = 800; in drawPrefs() 289 tempData.screenheight = 1050; in drawPrefs() 293 tempData.screenheight = 600; in drawPrefs() 328 tempData.screenheight != data.screenheight || in drawPrefs() 343 dst->screenheight = src->screenheight; in copyPrefsData()
|
/dports/games/lugaru/lugaru-c7b99378439735c60f84869b05c6ebde53083667/Source/ |
H A D | GameInitDispose.cpp | 29 extern float screenwidth, screenheight; 154 if (screenheight == 0) { in ReSizeGLScene() 155 screenheight = 1; in ReSizeGLScene() 158 glViewport(0, 0, screenwidth, screenheight); in ReSizeGLScene() 221 glOrtho(0, screenwidth, 0, screenheight, -100, 100); in LoadingScreen() 225 glTranslatef(screenwidth / 2, screenheight / 2, 0); in LoadingScreen() 278 glTranslatef(screenwidth / 2, screenheight / 2, 0); in LoadingScreen() 368 glScalef(screenwidth, screenheight, 1); in LoadingScreen() 415 glOrtho(0, screenwidth, 0, screenheight, -100, 100); in FadeLoadingScreen() 419 glTranslatef(screenwidth / 2, screenheight / 2, 0); in FadeLoadingScreen() [all …]
|
H A D | GameDraw.cpp | 39 extern float screenwidth, screenheight; 229 if (texviewheight > screenheight) { in DrawGLScene() 230 texviewheight = screenheight; in DrawGLScene() 712 starty = screenheight / 16 + screenheight * 4 / 5; in DrawGLScene() 714 starty = screenheight * 1 / 5 - screenheight / 16; in DrawGLScene() 945 glScalef(screenwidth, screenheight, 1); in DrawGLScene() 978 glScalef(screenwidth, screenheight, 1); in DrawGLScene() 1041 glScalef(screenwidth, screenheight, 1); in DrawGLScene() 1227 glScalef(screenwidth, screenheight, 1); in DrawGLScene() 1277 glScalef(screenwidth, screenheight, 1); in DrawGLScene() [all …]
|
H A D | Tutorial.cpp | 35 extern float screenwidth, screenheight; 783 …) * screenwidth / 1024, screenheight / 16 + screenheight * 4 / 5, string, 1, 1.5 * screenwidth / 1… in DrawTextInfo() 784 …th / 1024, screenheight / 16 + screenheight * 4 / 5 - 20 * screenwidth / 1024, string2, 1, 1.5 * s… in DrawTextInfo() 785 …th / 1024, screenheight / 16 + screenheight * 4 / 5 - 40 * screenwidth / 1024, string3, 1, 1.5 * s… in DrawTextInfo() 791 …* screenwidth / 1024 * .8, 0 + screenheight * 1 / 10, string, 1, 1.5 * screenwidth / 1024 * .8, sc… in DrawTextInfo() 792 …1024 * .8, 0 + screenheight * 1 / 10 - 20 * .8 * screenwidth / 1024, string2, 1, 1.5 * screenwidth… in DrawTextInfo() 793 …1024 * .8, 0 + screenheight * 1 / 10 - 40 * .8 * screenwidth / 1024, string3, 1, 1.5 * screenwidth… in DrawTextInfo()
|
/dports/games/heretic/glheretic-1.2/graphics/ |
H A D | i_ggi.c | 362 ev.pmove.y != screenheight/2) { in I_GetEvent() 380 ev.pmove.y != screenheight/2) { in I_GetEvent() 462 for (i=0; i < screenheight; i++) { in I_FinishUpdate() 475 for (i=0; i < screenheight; i++) { in I_FinishUpdate() 489 for (i=0; i < screenheight; i++) { in I_FinishUpdate() 506 for (i=0; i < screenheight; i++) { in I_FinishUpdate() 519 for (i=0; i < screenheight; i++) { in I_FinishUpdate() 533 for (i=0; i < screenheight; i++) { in I_FinishUpdate() 639 realheight = screenheight; 672 screenheight = realheight / 2; [all …]
|
H A D | i_vga.c | 398 total = screenwidth * screenheight; in I_FinishUpdate() 511 screen = malloc(screenheight*screenwidth); in I_InitGraphics() 530 if (screenwidth >= 1024 && screenheight >=768 && vga_hasmode(G1024x768x256)) in I_CheckRes() 534 screenheight=768; in I_CheckRes() 536 else if (screenwidth >= 800 && screenheight >=600 && vga_hasmode(G800x600x256)) in I_CheckRes() 540 screenheight=600; in I_CheckRes() 542 else if (screenwidth >= 640 && screenheight >=480 && vga_hasmode(G640x480x256)) in I_CheckRes() 546 screenheight=480; in I_CheckRes() 551 screenheight=200; in I_CheckRes()
|
/dports/games/blackshadeselite/blackshadeselite/Source/ |
H A D | SDL_funcs.cpp | 198 int screenheight = config.screenheight; in InitGL() local 214 if(screenwidth < 640 || screenheight < 480) { in InitGL() 229 (screenwidth, screenheight, 0, SDL_OPENGL | fsFlag) == NULL) { in InitGL() 266 int screenheight = config.screenheight; in ReSizeGLScene() local 268 if(screenheight == 0) { in ReSizeGLScene() 269 screenheight = 1; in ReSizeGLScene() 272 glViewport(0, 0, screenwidth, screenheight); in ReSizeGLScene() 278 gluPerspective(fov, (GLfloat) screenwidth / (GLfloat) screenheight, near, in ReSizeGLScene()
|
H A D | GameDraw.cpp | 44 int height = config.screenheight; in SaveScreenshot() 99 (int)(screenheight * 0.396) - i * 1, 0); in LoadingScreen() 197 "LOADING...", 1, 1, screenwidth, screenheight); in LoadingScreen() 220 mouseloc.v = screenheight - mouseloc.v; in DrawMouse() 288 glScalef(screenwidth, screenheight, 1); in DrawFlash() 423 text.glPrint(0, 0, string, 1, .8, screenwidth, screenheight); in DrawMainMenu() 429 1, .6, screenwidth, screenheight); in DrawMainMenu() 1128 glScalef(screenwidth, screenheight, 1); in DrawGame() 1203 glScalef(screenwidth, screenheight, 1); in DrawGame() 1256 glScalef(screenwidth, screenheight, 1); in DrawGame() [all …]
|
/dports/games/apricots/apricots-0.2.6/apricots/ |
H A D | drawall.cpp | 204 int screenheight = 0; in drawall() local 206 screenheight = limit(GAME_HEIGHT,GAME_HEIGHT,464); in drawall() 208 screenheight = limit(GAME_HEIGHT,GAME_HEIGHT,224); in drawall() 212 int y1 = limit(int(g.player1->y)-54, 0, GAME_HEIGHT-screenheight); in drawall() 217 srcrect.h = screenheight; in drawall() 223 cliprect.h = screenheight; in drawall() 239 srcrect.h = screenheight; in drawall() 244 desrect.h = screenheight; in drawall() 250 cliprect.h = screenheight; in drawall() 284 rect.y = screenheight; in drawall() [all …]
|
/dports/editors/wordgrinder/wordgrinder-0.6/src/c/arch/unix/x11/ |
H A D | x11.c | 46 static int screenwidth, screenheight; variable 82 if ((y < 0) || (y >= screenheight)) in sput() 161 screenwidth = screenheight = 0; in dpy_start() 171 dpy_cleararea(0, 0, screenwidth-1, screenheight-1); in dpy_clearscreen() 177 *y = screenheight; in dpy_getscreensize() 183 frontbuffer = calloc(screenwidth * screenheight, sizeof(unsigned int)); in dpy_sync() 238 for (int y = 0; y<screenheight; y++) in redraw() 305 for (int y=0; y<screenheight; y++) in dpy_getchar() 322 if ((w != screenwidth) || (h != screenheight)) in dpy_getchar() 325 screenheight = h; in dpy_getchar() [all …]
|
/dports/emulators/atari800/atari800-3.1.0/src/win32/ |
H A D | render_direct3d.h | 11 void startupdirect3d(int screenwidth, int screenheight, BOOL windowed, FRAMEPARAMS *fp); 16 void initpresentparams(int screenwidth, int screenheight, BOOL windowed); 17 void resetdevice(int screenwidth, int screenheight, BOOL windowed, FRAMEPARAMS *fp);
|
/dports/print/gv/gv-3.7.4/src/ |
H A D | popup.c | 94 Dimension screenwidth, screenheight; in popup_positionPopup() local 109 screenheight = XtScreen(ref_widget)->height; in popup_positionPopup() 110 IIMESSAGE(screenwidth,screenheight); in popup_positionPopup() 137 if (posy + (Position)height >= (Position)screenheight) in popup_positionPopup() 138 posy = ((Position)screenheight) - ((Position)height) - ((Position)wmbdecor); in popup_positionPopup()
|