Home
last modified time | relevance | path

Searched refs:MAPY (Results 1 – 25 of 54) sorted by relevance

123

/dports/math/xgraph/xgraph/
H A Dhpgl.c8 #define MAPY(state,y) ( MAXY - (y) + P1Y - state->clipminY) macro
107 MAPY(myInfo,myInfo->clipmaxY-myInfo->clipminY),
109 MAPY(myInfo,0));
131 fprintf(userState->plotterFile,"PA%d,%d;",MAPX(userState,x),MAPY(userState,y));
229 MAPY(userState,segs[i].y1));
234 MAPY(userState,segs[i].y2));
256 MAPY(userState,lly));
259 MAPX(userState,lrx),MAPY(userState,lry),
260 MAPX(userState,urx),MAPY(userState,ury),
261 MAPX(userState,ulx),MAPY(userState,uly) );
[all …]
/dports/devel/kyra/kyra/tests/
H A Dbemgame.cpp37 const int BemGame::map[MAPY][MAPX] =
143 MAPX / 2, MAPY / 2, 0 ); in BemGame()
230 isoMath->TileToScreen( MAPX/2, MAPY/2, 0, &x, &y ); in SetupLeftWindow()
328 for( j=0; j<MAPY; j++ ) in AddFloor()
367 isoMath->TileToScreen( MAPX/2, MAPY/2, 0, &x1, &y1 ); in AddRoomObjects()
375 ty = MAPY-1; in AddRoomObjects()
394 for( int j=0; j<MAPY; j++ ) in AddActors()
518 + (y.ToDouble()-double(MAPY)/2.0) * (y.ToDouble()-double(MAPY)/2.0) ); in DistanceFromCenter()
544 int factorY = cres->Height() / MAPY; in DrawMiniMap()
552 for( n=0; n<MAPY; n++ ) in DrawMiniMap()
[all …]
H A Ddemos.h266 MAPY = 12, enumerator
346 static const int map[MAPY][MAPX];
/dports/games/yadex/yadex-1.7.0/src/
H A Ddrawmap.cc115 int mapy0 = MAPY (ScrMaxY); in draw_map()
116 int mapy9 = MAPY (0); in draw_map()
192 int mapy0 = MAPY (ScrMaxY); in draw_grid()
193 int mapy1 = MAPY (0); in draw_grid()
317 int mapy0 = MAPY (ScrMaxY); in draw_vertices()
318 int mapy9 = MAPY (0); in draw_vertices()
359 int mapy0 = MAPY (ScrMaxY); in draw_linedefs()
360 int mapy9 = MAPY (0); in draw_linedefs()
552 int mapy0 = MAPY (ScrMaxY) - max_radius; in draw_things_squares()
740 mapy0 = MAPY (ScrMaxY) - max_height / 2; in draw_things_sprites()
[all …]
H A Dgotoobj.cc66 OrigY = y - (MAPY (is.y) - OrigY); in focus_on_map_coords()
77 GetCurObject (o, OBJ_SECTORS, MAPX (is.x), MAPY (is.y)); in sector_under_pointer()
104 && GetCurObject (objid.type, MAPX (is.x), MAPY (is.y)) != objid.num) in GoToObject()
H A Deditgrid.h69 (MAPY (is.y) + e.grid_step / 2) & ~(e.grid_step - 1));
H A Deditloop.cc539 if (MAPX (is.x) != e.pointer_x || MAPY (is.y) != e.pointer_y) in EditorLoop()
545 e.pointer_y = MAPY (is.y); in EditorLoop()
1483 else if (is.key == YK_UP && MAPY (ScrCenterY) < 20000) in EditorLoop()
1488 else if (is.key == YK_DOWN && MAPY (ScrCenterY) > -20000) in EditorLoop()
1496 else if (is.key == YK_PU && MAPY (ScrCenterY) < /*MapMaxY*/ 20000) in EditorLoop()
1501 else if (is.key == YK_PD && MAPY (ScrCenterY) > /*MapMinY*/ -20000) in EditorLoop()
2343 if (MAPY (ScrCenterY) < /*MapMaxY*/ 20000) in EditorLoop()
2355 if (MAPY (ScrCenterY) > /*MapMinY*/ -20000) in EditorLoop()
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/ai/final_battle/
H A Dsidekicks.cpp158 o->timer3 = (player->y >= MAPY(10)) ? OBJ_MISERY_CRITTER : OBJ_MISERY_BAT; in ai_misery_frenzied()
183 if (y < MAPY(2)) y = MAPY(2); in ai_misery_frenzied()
184 if (y > MAPY(map.ysize - 3)) y = MAPY(map.ysize - 3); in ai_misery_frenzied()
330 if (o->y > MAPY(map.ysize)) in ai_misery_critter()
375 o->y < 0 || o->y > MAPY(map.ysize)) in ai_misery_bat()
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/ai/final_battle/
H A Dsidekicks.cpp174 o->timer3 = (player->y >= MAPY(10)) ? OBJ_MISERY_CRITTER : OBJ_MISERY_BAT; in ai_misery_frenzied()
201 if (y < MAPY(2)) in ai_misery_frenzied()
202 y = MAPY(2); in ai_misery_frenzied()
203 if (y > MAPY(map.ysize - 3)) in ai_misery_frenzied()
204 y = MAPY(map.ysize - 3); in ai_misery_frenzied()
349 if (o->y > MAPY(map.ysize)) in ai_misery_critter()
394 if (o->x < 0 || o->x > MAPX(map.xsize) || o->y < 0 || o->y > MAPY(map.ysize)) in ai_misery_bat()
/dports/games/starlanes/starlanes-1.2.2/
H A Dstarlanes.c113 #define down_obj(move) (((move)+MAPX >= MAPX*MAPY)?SPACE:map[(move)+MAPX])
177 int MAPY = 10; /* y dimension of map */ variable
280 if ((map=malloc(MAPX*MAPY)) == NULL) { in initialize()
298 for(j=0;j<MAPY;j++) { in initialize()
330 if ((mapwin = newwin(MAPY+2,MAPX*3+2,1,1)) == NULL) { in initialize()
335 if ((general = newwin(LINES-2-MAPY-2,COLUMNS-2,MAPY+3,1)) == NULL) { in initialize()
438 for(i=0;i<MAPY;i++) in showmap()
540 move[i] = rand()%(MAPX*MAPY); in get_move()
724 for(i=0;i<MAPX*MAPY;i++) in do_merge()
1122 return (sum*100)/(MAPX*MAPY) >= END_PERCENT && maptotal <= MAPX*MAPY-4; in check_endgame()
[all …]
/dports/games/tanks-of-freedom/Tanks-of-Freedom-0.7.0-beta/translations/
H A Dtranslations_pl.csv66 LABEL_MAP_NAME,NAZWA MAPY
145 MSG_WORKSHOP_CREATE_NEW_ISLAND,TWORZY NOWA WYSPĘ NA ŚRODKU MAPY
160 LABEL_REQUIES_RESTART,WYMAGA RESTARTU MAPY
168 LABEL_MAPS,MAPY
179 LABEL_ONLINE_MENU,MAPY ONLINE
180 MSG_ONLINE_MENU_DESC,"POBIERAJ NOWE MAPY I DZIEL SIĘ SWOIMI DZIEŁAMI ZE ŚWIATEM!"
284 MSG_ASK_UPLOAD,"ROZPOCZĄĆ WYSYŁANIE MAPY?"
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/dialogs/
H A Ddialog_color_picker.cpp237 #undef MAPY in createRGBBitmap()
239 #define MAPY( yy ) bmsize.y / 2 - ( yy ) in createRGBBitmap() macro
276 img.SetRGB( MAPX( xx ), MAPY( yy - (slope*xx) ), color.r, color.g, color.b ); in createRGBBitmap()
290 img.SetRGB( MAPX( -xx ), MAPY( yy - (slope*xx) ), color.r, color.g, color.b ); in createRGBBitmap()
311 img.SetRGB( MAPX( drawX ), MAPY( drawY - std::abs( slope*drawX ) ), in createRGBBitmap()
330 #define MAPY( yy ) bmsize.y / 2 - ( yy ) in createHSVBitmap() macro
376 img.SetRGB( MAPX( xx ), MAPY( yy ), color.r*255, color.g*255, color.b*255 ); in createHSVBitmap()
/dports/games/yadex/yadex-1.7.0/patches/
H A D1.5.0_gcc27.diff85 - mapy0 = MAPY (ScrMaxY) - dim->second.height / 2;
86 - mapy9 = MAPY (0) + dim->second.height / 2;
89 + mapy0 = MAPY (ScrMaxY) - (*dim).second.height / 2;
90 + mapy9 = MAPY (0) + (*dim).second.height / 2;
/dports/games/eureka/eureka-1.27b-source/src/
H A Dui_canvas.h158 inline double MAPY(int sy) const { return grid.orig_y + (h()/2 - sy + y()) / grid.Scale; } in MAPY() function
166 inline double MAPY(int sy) const { return grid.orig_y + (sy - h()/2) / grid.Scale; } in MAPY() function
H A Dui_canvas.cc147 map_ly = floor(MAPY(yy + h())); in draw()
150 map_hy = ceil(MAPY(yy)); in draw()
156 map_ly = floor(MAPY(0)); in draw()
159 map_hy = ceil(MAPY(h())); in draw()
242 edit.map_y = MAPY(raw_y); in PointerPos()
249 edit.map_y = MAPY(h() - 1 - raw_y); in PointerPos()
2132 float map_y = MAPY(y); in RenderSector()
2165 int ty = (0 - (int)MAPY(y)) & (th - 1); in RenderSector()
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/ai/boss/
H A Dheavypress.cpp102 CreateObject(MAPX(17), MAPY(15), OBJ_BUTE_FALLING)->dir = UP; in Run()
107 CreateObject(MAPX(3), MAPY(15), OBJ_BUTE_FALLING)->dir = UP; in Run()
H A Dundead_core.cpp346 MAPY(3 + random(-3, 0)), OBJ_UDMINI_PLATFORM); in Run()
354 MAPY(10 + random(-1, 3)), OBJ_UDMINI_PLATFORM); in Run()
806 o->ymark = MAPY(9); in ai_udmini_platform()
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/
H A Dmap.h17 #define MAPY(Y) ( ( (Y) * TILE_H ) << CSF ) macro
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/ai/boss/
H A Dheavypress.cpp114 CreateObject(MAPX(17), MAPY(15), OBJ_BUTE_FALLING)->dir = UP; in Run()
119 CreateObject(MAPX(3), MAPY(15), OBJ_BUTE_FALLING)->dir = UP; in Run()
H A Dundead_core.cpp365 CreateObject(MAPX(map.xsize) + 40, MAPY(3 + random(-3, 0)), OBJ_UDMINI_PLATFORM); in Run()
372 CreateObject(MAPX(map.xsize) + 40, MAPY(10 + random(-1, 3)), OBJ_UDMINI_PLATFORM); in Run()
829 o->ymark = MAPY(9); in ai_udmini_platform()
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/endgame/
H A Dendgame_misc.cpp62 cloud->x = o->x + MAPY(random(-10, 10)); in ai_cloud_spawner()
69 cloud->y = o->y + MAPY(random(-7, 7)); in ai_cloud_spawner()
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/
H A Dmap.h18 #define MAPY(Y) (((Y)*TILE_H) * CSFI) macro
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/endgame/
H A Dmisc.cpp70 cloud->x = o->x + MAPY(random(-10, 10)); in ai_cloud_spawner()
77 cloud->y = o->y + MAPY(random(-7, 7)); in ai_cloud_spawner()
/dports/games/libretro-nxengine/nxengine-libretro-10c4381/nxengine/ai/hell/
H A Dballos_priest.cpp32 #define FLOAT_Y MAPY(11) // Y position to rise to during lightning attack
33 #define LIGHTNING_Y MAPY(19) // Y position lightning strikes hit (i.e., the floor)
/dports/games/nxengine/nxengine-evo-2.6.5-1/src/ai/hell/
H A Dballos_priest.cpp46 #define FLOAT_Y MAPY(11) // Y position to rise to during lightning attack
47 #define LIGHTNING_Y MAPY(19) // Y position lightning strikes hit (i.e., the floor)

123