Home
last modified time | relevance | path

Searched refs:SCREENY (Results 1 – 25 of 48) sorted by relevance

12

/dports/devel/z88dk/z88dk/examples/ticalc/
H A Dspritest.c18 #define SCREENY 64 macro
23 #define SCREENY 64 macro
112 if(y>(SCREENY-8)) y=(SCREENY-8); in main()
/dports/devel/kyra/kyra/tutorial1/
H A Dcode_b.cpp44 const int SCREENY = 480; variable
75 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
99 carpet->SetPos( SCREENX, SCREENY / 2 ); in main()
H A Dtutorial2.cpp13 const int SCREENY = 480; variable
47 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
71 carpet->SetPos( SCREENX, SCREENY / 2 ); in main()
H A Dcode_c.cpp46 const int SCREENY = 480; variable
77 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
101 carpet->SetPos( SCREENX, SCREENY / 2 ); in main()
H A Dtutorial3.cpp13 const int SCREENY = 480; variable
47 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
71 carpet->SetPos( SCREENX, SCREENY / 2 ); in main()
H A Dcode_d.cpp46 const int SCREENY = 480; variable
90 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
114 carpet->SetPos( SCREENX, SCREENY / 2 ); in main()
160 || particle->Y() > SCREENY ) in main()
H A Dtutorial4.cpp13 const int SCREENY = 480; variable
56 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
80 carpet->SetPos( SCREENX, SCREENY / 2 ); in main()
123 || particle->Y() > SCREENY ) in main()
H A DtutorialMaster.cpp53 const int SCREENY = 480; variable
100 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
125 carpet->SetPos( SCREENX, SCREENY / 2 ); in main()
174 || particle->Y() > SCREENY ) in main()
H A Dcode_a.cpp41 const int SCREENY = 480; variable
72 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
H A Dtutorial1.cpp12 const int SCREENY = 480; variable
46 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
/dports/games/eureka/eureka-1.27b-source/src/
H A Dui_canvas.cc267 int y1 = SCREENY(my2); in ApproxBoxSize()
268 int y2 = SCREENY(my1); in ApproxBoxSize()
569 int sy = SCREENY(ny); in DrawGrid_Dotty()
995 int sy = SCREENY(y); in DrawThingSprites()
1107 int y1 = SCREENY(my1); in DrawLineNumber()
1109 int y2 = SCREENY(my2); in DrawLineNumber()
1142 int y1 = SCREENY(map_y1); in DrawLineInfo()
1684 int sy = SCREENY(map_y); in DrawSplitPoint()
1935 int scr_dy = abs(SCREENY(y2) - SCREENY(y1)); in SelboxGet()
2097 int sy1 = SCREENY(py1); in RenderSector()
[all …]
H A Dui_canvas.h162 …inline int SCREENY(double my) const { return (y() + h()/2 + I_ROUND((grid.orig_y - my) * grid.Scal… in SCREENY() function
170 inline int SCREENY(double my) const { return (h()/2 + I_ROUND((my - grid.orig_y) * grid.Scale)); } in SCREENY() function
/dports/devel/kyra/kyra/tests/
H A Ddemos.cpp40 const int SCREENY = 480; variable
161 depth = SDL_VideoModeOK( SCREENX, SCREENY, 32, flags ); in main()
176 screen = SDL_SetVideoMode( SCREENX, SCREENY, depth, flags ); in main()
180 SCREENX, SCREENY, depth, in main()
H A Dshooter.cpp85 shooter->SetPos( 50, SCREENY - 40, mainWindow ); in Init()
137 SCREENY * 2 / 3, in AddBlocks()
167 SCREENY * 2 / 3- ( SHIELD_Y_SCALE * SHIELDSIZE + 5 ).ToInt(), in AddShield()
258 50 + random.Rand( SCREENY / 2 - ( SHIELD_Y_SCALE * SHIELDSIZE ).ToInt() ), in AddMonsters()
/dports/games/yadex/yadex-1.7.0/src/
H A Ddrawmap.cc158 draw_obj_no (SCREENX (mapx) + FONTW, SCREENY (mapy) + 2, n, THING_NO); in draw_map()
173 draw_obj_no (SCREENX (mapx) + xoffset, SCREENY (mapy) - FONTH / 2, n, in draw_map()
287 points[0].y = SCREENY (j); in draw_grid()
299 int dispy = SCREENY (j); in draw_grid()
329 register int scry = SCREENY (mapy); in draw_vertices()
343 int y = SCREENY (mapy) + 2; in draw_vertices()
458 int scny0 = SCREENY (y1); in draw_linedefs()
459 int scny1 = SCREENY (y2); in draw_linedefs()
792 draw_vint (t.type, SCREENX (mapx), SCREENY (mapy), Scale); in draw_things_sprites()
794 sticker.draw (drw, 'c', SCREENX (mapx), SCREENY (mapy)); in draw_things_sprites()
H A Dgfx.cc967 putpixel (SCREENX (mapx), SCREENY (mapy), current_bgicolour); in draw_map_point()
969 XDrawPoint (dpy, drw, gc, SCREENX (mapx), SCREENY (mapy)); in draw_map_point()
981 line (SCREENX (mapx1), SCREENY (mapy1), SCREENX (mapx2), SCREENY (mapy2)); in DrawMapLine()
983 XDrawLine (dpy, drw, gc, SCREENX (mapx1), SCREENY (mapy1), in DrawMapLine()
984 SCREENX (mapx2), SCREENY (mapy2)); in DrawMapLine()
996 circle (SCREENX (mapx), SCREENY (mapy), (int) (mapradius * Scale)); in DrawMapCircle()
998 XDrawArc (dpy, drw, gc, SCREENX (mapx - mapradius), SCREENY (mapy + mapradius), in DrawMapCircle()
1013 int scry1 = SCREENY (mapy1); in DrawMapVector()
1015 int scry2 = SCREENY (mapy2); in DrawMapVector()
1051 int scry1 = SCREENY (mapy1); in DrawMapArrow()
[all …]
/dports/devel/kyra/kyra/bugtests/
H A Ddrawcanvas.cpp33 const int SCREENY = 480; variable
64 screen = SDL_SetVideoMode( SCREENX, SCREENY, 0, SDL_SWSURFACE ); in main()
/dports/games/mirrormagic/mirrormagic-2.0.2/src/
H A Dtools.c301 if (!(FrameCounter % delay) && IN_SCR_FIELD(SCREENX(x), SCREENY(y))) in DrawGraphicAnimationExt()
304 DrawGraphicThruMask(SCREENX(x), SCREENY(y), graphic + phase); in DrawGraphicAnimationExt()
306 DrawGraphic(SCREENX(x), SCREENY(y), graphic + phase); in DrawGraphicAnimationExt()
732 if (IN_LEV_FIELD(x, y) && IN_SCR_FIELD(SCREENX(x), SCREENY(y))) in DrawLevelElementExt()
733 DrawScreenElementExt(SCREENX(x), SCREENY(y), dx, dy, element, in DrawLevelElementExt()
771 if (IN_LEV_FIELD(x, y) && IN_SCR_FIELD(SCREENX(x), SCREENY(y))) in DrawLevelElement()
772 DrawScreenElement(SCREENX(x), SCREENY(y), element); in DrawLevelElement()
801 sy = SCREENY(oldy); in DrawScreenField()
/dports/devel/kyra/kyra/encoder/
H A Dmain.cpp53 const int SCREENY = 480; variable
/dports/games/rnd_jue/rnd_jue-3.3.0.0/src/
H A Dtools.c70 int sy = SCREENY(y); in DumpTile()
1460 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledInnerCorners()
1504 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledBorders()
1650 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledExt()
1779 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledDigging()
1787 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledNeighbours()
1941 sy = SCREENY(oldy); in DrawScreenField()
1976 if (IN_SCR_FIELD(SCREENX(x), SCREENY(y))) in DrawLevelField()
2856 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelGraphicAnimationIfNeeded()
2877 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelElementAnimationIfNeeded()
[all …]
H A Dgame.c5445 int sx = SCREENX(x), sy = SCREENY(y); in DrawDynamite()
8490 int sy = SCREENY(yy); in StartMoving()
10112 DrawGraphic(SCREENX(ax), SCREENY(ay - 1), in MauerAbleger()
10122 DrawGraphic(SCREENX(ax), SCREENY(ay + 1), in MauerAbleger()
10139 DrawGraphic(SCREENX(ax - 1), SCREENY(ay), in MauerAbleger()
10150 DrawGraphic(SCREENX(ax + 1), SCREENY(ay), in MauerAbleger()
10220 DrawGraphic(SCREENX(ax), SCREENY(ay - 1), in MauerAblegerStahl()
10230 DrawGraphic(SCREENX(ax), SCREENY(ay + 1), in MauerAblegerStahl()
10245 DrawGraphic(SCREENX(ax - 1), SCREENY(ay), in MauerAblegerStahl()
10256 DrawGraphic(SCREENX(ax + 1), SCREENY(ay), in MauerAblegerStahl()
[all …]
/dports/games/rocksndiamonds/rnd_jue-3.3.0.0/src/
H A Dtools.c70 int sy = SCREENY(y); in DumpTile()
1460 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledInnerCorners()
1504 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledBorders()
1650 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledExt()
1779 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledDigging()
1787 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledNeighbours()
1941 sy = SCREENY(oldy); in DrawScreenField()
1976 if (IN_SCR_FIELD(SCREENX(x), SCREENY(y))) in DrawLevelField()
2856 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelGraphicAnimationIfNeeded()
2877 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelElementAnimationIfNeeded()
[all …]
/dports/math/xgraph/xgraph/
H A Dxgraph.c250 #define SCREENY(ws, userY) \ macro
1849 Yspot = SCREENY(wi, Yindex);
1887 Yspot = SCREENY(wi, Yindex);
2223 Xsegs[X_idx].y1 = SCREENY(wi, sy1);
2225 Xsegs[X_idx].y2 = SCREENY(wi, sy2);
2257 baseSpot = SCREENY(wi, PM_DBL("BarBase"));
2297 d.y = SCREENY(wi, thisList->yvec[thisList->numPoints-1]);
2326 baseSpot = SCREENY(wi, PM_DBL("BarBase"));
/dports/games/rocksndiamonds/rocksndiamonds-3.3.1.2/src/
H A Dtools.c70 int sy = SCREENY(y); in DumpTile()
1882 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledInnerCorners()
1936 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledBorders()
2102 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledExt()
2231 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledDigging()
2239 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledNeighbours()
2393 sy = SCREENY(oldy); in DrawScreenField()
2428 if (IN_SCR_FIELD(SCREENX(x), SCREENY(y))) in DrawLevelField()
3340 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelGraphicAnimationIfNeeded()
3361 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelElementAnimationIfNeeded()
[all …]
/dports/games/rnd_jue/rocksndiamonds-3.3.1.0/src/
H A Dtools.c70 int sy = SCREENY(y); in DumpTile()
1882 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledInnerCorners()
1936 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledBorders()
2102 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledExt()
2231 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledDigging()
2239 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelFieldCrumbledNeighbours()
2393 sy = SCREENY(oldy); in DrawScreenField()
2428 if (IN_SCR_FIELD(SCREENX(x), SCREENY(y))) in DrawLevelField()
3340 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelGraphicAnimationIfNeeded()
3361 int sx = SCREENX(x), sy = SCREENY(y); in DrawLevelElementAnimationIfNeeded()
[all …]

12