Home
last modified time | relevance | path

Searched refs:destrect (Results 1 – 25 of 38) sorted by relevance

12

/dports/games/gnurobbo/gnurobbo-0.68/gnurobbo/
H A Dscreen.c407 destrect = in show_game_area()
848 destrect = in show_game_area_fade()
1447 destrect = in show_game_area_fade()
1599 destrect = in show_scoreline()
1630 destrect = in show_scoreline()
1660 destrect = in show_scoreline()
1692 destrect = in show_scoreline()
1776 destrect = in show_scoreline()
2440 destrect = in show_introscreen()
2446 destrect = in show_introscreen()
[all …]
H A Dfont.c275 SDL_Rect srcrect, destrect; in TTF_RenderUTF8_Shaded() local
313 destrect.x = destrect.y = text_offset = 0; in TTF_RenderUTF8_Shaded()
316 destrect.w = srcrect.w; in TTF_RenderUTF8_Shaded()
317 destrect.h = srcrect.h; in TTF_RenderUTF8_Shaded()
318 SDL_BlitSurface(font, &srcrect, rendered_text, &destrect); in TTF_RenderUTF8_Shaded()
319 destrect.x += destrect.w + character_spacing; in TTF_RenderUTF8_Shaded()
H A Dkonstruktor.c416 destrect, in konstruktor_show_game_area() local
434 destrect = in konstruktor_show_game_area()
444 SDL_FillRect(screen, &destrect, in konstruktor_show_game_area()
474 SDL_FillRect(screen, &destrect, in konstruktor_show_game_area()
530 &destrect); in konstruktor_show_game_area()
549 &destrect); in konstruktor_show_game_area()
555 &destrect); in konstruktor_show_game_area()
563 &destrect); in konstruktor_show_game_area()
575 SDL_BlitSurface(k_icons, &srcrect, screen, &destrect); in konstruktor_show_game_area()
591 &destrect); in konstruktor_show_game_area()
[all …]
/dports/games/tong/tong/
H A Dtext.cpp98 destrect.x = letterx; in Draw()
99 destrect.y = lettery; in Draw()
102 SDL_BlitSurface(textbits, &srcrect, surf, &destrect); in Draw()
402 destrect.x = x - (MENUTILE / 2) + (i * MENUTILE); in Draw()
403 destrect.y = y - (MENUTILE / 2) + (j * MENUTILE); in Draw()
431 destrect.x = letterx; in Draw()
432 destrect.y = lettery; in Draw()
446 destrect.x = x - MENUTILE; in Draw()
457 destrect.x = x - (MENUTILE / 2); in Draw()
458 destrect.y = y - (MENUTILE / 2); in Draw()
[all …]
H A Dtetris.cpp366 destrect.x = ((piece[i] % 10) * TILESIZE) + OFFSET_X; in Draw()
367 destrect.y = ((piece[i] / 10) * TILESIZE) + OFFSET_Y; in Draw()
378 SDL_BlitSurface(tetrisbits, &tetradrect, surf, &destrect); in Draw()
383 destrect.x = ((piece[i]%10) * TILESIZE) + OFFSET_X; in Draw()
400 destrect.x = ((piece[i] % 10) * TILESIZE) + in Preview()
403 if(SDL_BlitSurface(tetrisbits, &rect, surf, &destrect)) { in Preview()
405 SDL_BlitSurface(tetrisbits, &rect, surf, &destrect); in Preview()
607 destrect.x = ((i % 10) * TILESIZE) + OFFSET_X; in Draw()
608 destrect.y = ((i / 10) * TILESIZE) + OFFSET_Y; in Draw()
631 &destrect)) { in Draw()
[all …]
H A Dpong.cpp453 destrect.x=(int)x; in Draw()
454 destrect.y=(int)y; in Draw()
457 SDL_BlitSurface(pongbits, &ballrect, surf, &destrect); in Draw()
629 destrect.x = x + (TILESIZE * i); in Draw()
630 destrect.y = BOUND_TOP - TILESIZE; in Draw()
633 SDL_BlitSurface(pongbits, &paddlerect, surf, &destrect); in Draw()
635 destrect.y = BOUND_BOTTOM; in Draw()
638 SDL_BlitSurface(pongbits, &paddlerect, surf, &destrect); in Draw()
652 destrect.y = y + (TILESIZE * i); in Draw()
653 destrect.x = BOUND_LEFT - TILESIZE; in Draw()
[all …]
H A Dtext.h51 SDL_Rect destrect; variable
73 SDL_Rect destrect; variable
H A Dpong.h61 SDL_Rect ballrect, destrect; variable
83 SDL_Rect paddlerect, destrect; variable
H A Dtetris.h75 SDL_Rect tetradrect, shadowrect, destrect; variable
106 SDL_Rect stackrect, destrect; variable
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/math/
H A Danchor_point.cpp118 Vector get_anchor_pos(const Rectf& destrect, float width, float height, in get_anchor_pos() argument
125 result.x = destrect.get_left(); in get_anchor_pos()
128 result.x = destrect.get_middle().x - width / 2.0f; in get_anchor_pos()
131 result.x = destrect.get_right() - width; in get_anchor_pos()
135 result.x = destrect.get_left(); in get_anchor_pos()
141 result.y = destrect.get_top(); in get_anchor_pos()
144 result.y = destrect.get_middle().y - height / 2.0f; in get_anchor_pos()
147 result.y = destrect.get_bottom() - height; in get_anchor_pos()
151 result.y = destrect.get_top(); in get_anchor_pos()
/dports/games/minetest/minetest-5.4.1/src/client/
H A Dguiscalingfilter.cpp74 const core::rect<s32> &destrect) in guiScalingResizeCached() argument
88 destrect.getWidth(), in guiScalingResizeCached()
89 destrect.getHeight()); in guiScalingResizeCached()
113 core::dimension2d<u32>((u32)destrect.getWidth(), in guiScalingResizeCached()
114 (u32)destrect.getHeight())); in guiScalingResizeCached()
122 core::dimension2d<u32>(npot2((u32)destrect.getWidth()), in guiScalingResizeCached()
123 npot2((u32)destrect.getHeight()))); in guiScalingResizeCached()
156 const core::rect<s32> &destrect, const core::rect<s32> &srcrect, in draw2DImageFilterScaled() argument
161 video::ITexture *scaled = guiScalingResizeCached(driver, txr, srcrect, destrect); in draw2DImageFilterScaled()
167 ? core::rect<s32>(0, 0, destrect.getWidth(), destrect.getHeight()) in draw2DImageFilterScaled()
[all …]
H A Dguiscalingfilter.h36 const core::rect<s32> &srcrect, const core::rect<s32> &destrect);
48 const core::rect<s32> &destrect, const core::rect<s32> &srcrect,
/dports/games/vultures-eye/vulture-2.3.67/vulture/winclass/
H A Dminimap.cpp49 SDL_Rect destrect = {0, 0, 3, 2}; in draw() local
113 destrect.x = 40 + 2*map_x - 2*map_y; in draw()
114 destrect.y = map_x + map_y; in draw()
117 minimapbg->pitch * (destrect.y+6) + (destrect.x+6) * 4); in draw()
130 minimapbg->pitch * (destrect.y+7) + (destrect.x+6) * 4); in draw()
/dports/games/widelands/widelands-build21/utils/pywi/
H A Danimation.py193 destrect = (
199 pic[destrect[0]:destrect[2], destrect[
200 1]:destrect[3]] = blit.chunk.pic
202 pc_pic[destrect[0]:destrect[2], destrect[
203 1]:destrect[3]] = blit.chunk.pc_pic
/dports/games/freeminer/freeminer-0.4.10.4/src/
H A DguiChatConsole.cpp342 core::rect<s32> destrect( in drawText() local
348 destrect, in drawText()
357 destrect, in drawText()
384 core::rect<s32> destrect( in drawPrompt() local
388 destrect, in drawPrompt()
403 core::rect<s32> destrect( in drawPrompt() local
411 destrect, in drawPrompt()
/dports/games/minetest/minetest-5.4.1/src/gui/
H A DguiChatConsole.cpp319 core::rect<s32> destrect( in drawText() local
328 destrect, in drawText()
339 destrect, in drawText()
367 core::rect<s32> destrect( in drawPrompt() local
371 destrect, in drawPrompt()
387 core::rect<s32> destrect( in drawPrompt() local
396 destrect, in drawPrompt()
/dports/japanese/timidity++-slang/TiMidity++-2.15.0/interface/
H A Dmac_wrdwindow.c105 destrect; in dev_draw_text_gmode() local
131 destrect.left=x; destrect.top=y; in dev_draw_text_gmode()
132 destrect.right=x+width; destrect.bottom=destrect.top+16; in dev_draw_text_gmode()
135 rect, destrect, 0x11/*trans*/, trans, pmask, in dev_draw_text_gmode()
/dports/audio/ocp/ocp-0.2.90/playgmi/timidity-git/interface/
H A Dmac_wrdwindow.c105 destrect;
131 destrect.left=x; destrect.top=y;
132 destrect.right=x+width; destrect.bottom=destrect.top+16;
135 rect, destrect, 0x11/*trans*/, trans, pmask,
/dports/audio/timidity++-gtk/TiMidity++-2.15.0/interface/
H A Dmac_wrdwindow.c105 destrect; in dev_draw_text_gmode() local
131 destrect.left=x; destrect.top=y; in dev_draw_text_gmode()
132 destrect.right=x+width; destrect.bottom=destrect.top+16; in dev_draw_text_gmode()
135 rect, destrect, 0x11/*trans*/, trans, pmask, in dev_draw_text_gmode()
/dports/audio/timidity++-motif/TiMidity++-2.15.0/interface/
H A Dmac_wrdwindow.c105 destrect; in dev_draw_text_gmode() local
131 destrect.left=x; destrect.top=y; in dev_draw_text_gmode()
132 destrect.right=x+width; destrect.bottom=destrect.top+16; in dev_draw_text_gmode()
135 rect, destrect, 0x11/*trans*/, trans, pmask, in dev_draw_text_gmode()
/dports/audio/timidity++/TiMidity++-2.15.0/interface/
H A Dmac_wrdwindow.c105 destrect; in dev_draw_text_gmode() local
131 destrect.left=x; destrect.top=y; in dev_draw_text_gmode()
132 destrect.right=x+width; destrect.bottom=destrect.top+16; in dev_draw_text_gmode()
135 rect, destrect, 0x11/*trans*/, trans, pmask, in dev_draw_text_gmode()
/dports/audio/timidity++-emacs/TiMidity++-2.15.0/interface/
H A Dmac_wrdwindow.c105 destrect; in dev_draw_text_gmode() local
131 destrect.left=x; destrect.top=y; in dev_draw_text_gmode()
132 destrect.right=x+width; destrect.bottom=destrect.top+16; in dev_draw_text_gmode()
135 rect, destrect, 0x11/*trans*/, trans, pmask, in dev_draw_text_gmode()
/dports/audio/timidity++-slang/TiMidity++-2.15.0/interface/
H A Dmac_wrdwindow.c105 destrect; in dev_draw_text_gmode() local
131 destrect.left=x; destrect.top=y; in dev_draw_text_gmode()
132 destrect.right=x+width; destrect.bottom=destrect.top+16; in dev_draw_text_gmode()
135 rect, destrect, 0x11/*trans*/, trans, pmask, in dev_draw_text_gmode()
/dports/audio/timidity++-xaw/TiMidity++-2.15.0/interface/
H A Dmac_wrdwindow.c105 destrect;
131 destrect.left=x; destrect.top=y;
132 destrect.right=x+width; destrect.bottom=destrect.top+16;
135 rect, destrect, 0x11/*trans*/, trans, pmask,
/dports/audio/timidity++-xskin/TiMidity++-2.15.0/interface/
H A Dmac_wrdwindow.c105 destrect; in dev_draw_text_gmode() local
131 destrect.left=x; destrect.top=y; in dev_draw_text_gmode()
132 destrect.right=x+width; destrect.bottom=destrect.top+16; in dev_draw_text_gmode()
135 rect, destrect, 0x11/*trans*/, trans, pmask, in dev_draw_text_gmode()

12