Home
last modified time | relevance | path

Searched refs:mapwin (Results 1 – 25 of 137) sorted by relevance

123456

/dports/games/crimson/crimson-0.5.3/src/cf/
H A Dhistory.cpp162 View *view = mapwin->GetView(); in Replay()
189 mapwin->Draw(); in Replay()
190 mapwin->Show(); in Replay()
568 mapwin->Show( *mv ); in ReplayAttackEvent()
574 mapwin->Show( upd ); in ReplayAttackEvent()
577 mapwin->Show( upd ); in ReplayAttackEvent()
581 mapwin->Show( upd ); in ReplayAttackEvent()
583 mapwin->Show( upd ); in ReplayAttackEvent()
625 mapwin->DisplayHex( pos ); in ReplayTileEvent()
648 mapwin->Draw(); in ReplayCombatEvent()
[all …]
H A Dhistory.h82 void Replay( MapWindow *mapwin );
93 void ReplayAttackEvent( const HistEvent &event, MapWindow *mapwin );
94 void ReplayCombatEvent( const HistEvent &event, MapWindow *mapwin );
96 void ReplayMoveEvent( const HistEvent &event, MapWindow *mapwin );
97 void ReplayTileEvent( const HistEvent &event, MapWindow *mapwin );
98 void ReplayUnitEvent( const HistEvent &event, MapWindow *mapwin );
H A Dmapwindow.cpp377 mapwin = mw; in Panel()
432 y = mapwin->Height() - DEFAULT_PANEL_HEIGHT; in Update()
449 MapView *mv = mapwin->GetMapView(); in Update()
454 y = mapwin->Height() - h; in Update()
478 return mapwin->HandleEvent( event ); in HandleEvent()
663 Window( 0, view ), mapwin( mapwin ), att( combat->GetAttacker() ), in CombatWindow()
667 MapView *mv = mapwin->GetMapView(); in CombatWindow()
677 mapwin->BoxAvoidHexes( win, apos, dpos ); in CombatWindow()
685 mv->DrawTerrain( IMG_CURSOR_HIGHLIGHT, mapwin, punit.x, punit.y, clip ); in CombatWindow()
743 MapView *mv = mapwin->GetMapView(); in Draw()
[all …]
H A Dmapwindow.h49 MapWindow *mapwin; variable
113 CombatWindow( Combat *combat, MapWindow *mapwin, View *view );
122 MapWindow *mapwin; variable
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/mapedit/
H A Dforms.c41 T_FormMultiButton(mapwin, "drawicon_select", 10, 5, TOOLSWIDTH - 20, in BuildMapwinForm()
52 T_FormButton(mapwin, "save", 10 + w, y, w - 1, h - 1, "Save", in BuildMapwinForm()
54 T_FormButton(mapwin, "new", 10 + w * 2, y, w - 1, h - 1, "New", in BuildMapwinForm()
56 T_FormButton(mapwin, "quit", 10 + w * 3, y, w - 1, h - 1, "Quit", in BuildMapwinForm()
59 T_FormButton(mapwin, "cut", 10, y + h, w - 1, h - 1, "Cut", in BuildMapwinForm()
70 T_FormButton(mapwin, "fill", 10 + w * 1, y + h * 2, w - 1, h - 1, in BuildMapwinForm()
74 T_FormButton(mapwin, "neg", 10 + w * 3, y + h * 2, w - 1, h - 1, in BuildMapwinForm()
77 T_FormButton(mapwin, "preferences", 10, y + 3 * h, w - 1, h - 1, in BuildMapwinForm()
79 T_FormButton(mapwin, "help", 10 + w, y + 3 * h, w - 1, h - 1, in BuildMapwinForm()
89 T_FormStringEntry(mapwin, "map_author", 5, in BuildMapwinForm()
[all …]
H A Dexpose.c145 DrawMapPic(mapwin, 14 + j * w, 9 + i * w, in DrawTools()
148 DrawMapPic(mapwin, 13 + j * w, 8 + i * w, in DrawTools()
235 DrawMapPic(mapwin, (i - x) * map.view_zoom + xpos, in DrawMapSection()
550 XDrawPoint(display, mapwin, Wall_GC, i + smlmap_x, in UpdateSmallMap()
554 XDrawPoint(display, mapwin, Fuel_GC, i + smlmap_x, in UpdateSmallMap()
565 XDrawPoint(display, mapwin, Base_GC, i + smlmap_x, in UpdateSmallMap()
603 XDrawPoint(display, mapwin, Base_GC, i + smlmap_x, in UpdateSmallMap()
641 XDrawPoint(display, mapwin, Wall_GC, i + smlmap_x, in UpdateSmallMap()
645 XDrawPoint(display, mapwin, Fuel_GC, i + smlmap_x, in UpdateSmallMap()
656 XDrawPoint(display, mapwin, Base_GC, i + smlmap_x, in UpdateSmallMap()
[all …]
H A Devents.c41 if ((report.type == Expose) && (report.xexpose.window == mapwin) && in MainEventLoop()
43 T_ClearArea(mapwin, 0, 0, TOOLSWIDTH, mapwin_height); in MainEventLoop()
51 if (report.xconfigure.window == mapwin) { in MainEventLoop()
54 T_FormScrollArea(mapwin, "draw_map_icon", T_SCROLL_UNBOUND, in MainEventLoop()
61 if (report.xexpose.window == mapwin) { in MainEventLoop()
82 if (report.xclient.window == mapwin) { in MainEventLoop()
83 XDestroyWindow(display, mapwin); in MainEventLoop()
112 if ((report->xkey.x < TOOLSWIDTH) || (report->xkey.window != mapwin)) { in MapwinKeyPress()
H A Dtools.c136 XDrawLine(display, mapwin, xorgc, in DrawMapIcon()
182 XDrawLine(display, mapwin, xorgc, in DrawMapIcon()
193 XDrawLine(display, mapwin, xorgc, in DrawMapIcon()
204 XDrawLine(display, mapwin, xorgc, in DrawMapIcon()
401 XCopyArea(display, mapwin, mapwin, White_GC, in MoveMapView()
405 XClearArea(display, mapwin, xclear + TOOLSWIDTH, 0, in MoveMapView()
414 XClearArea(display, mapwin, xto + TOOLSWIDTH, yclear, in MoveMapView()
422 XClearArea(display, mapwin, TOOLSWIDTH, 0, in MoveMapView()
563 T_FormCloseWindow(mapwin); in ExitApplication()
931 XFillRectangle(display, mapwin, White_GC, in ShowHoles()
[all …]
H A Dmain.c32 Window mapwin, prefwin; variable
890 mapwin = T_MakeWindow(50, (int) ((root_height - mapwin_height) / 2), in main()
892 T_SetWindowName(mapwin, in main()
895 XSelectInput(display, mapwin, ExposureMask | ButtonPressMask | in main()
900 smlmap_pixmap = XCreatePixmap(display, mapwin, TOOLSWIDTH, TOOLSWIDTH, in main()
912 XMapWindow(display, mapwin); in main()
1061 T_SetWindowSizeLimits(mapwin, TOOLSWIDTH + 50, TOOLSHEIGHT, in ResetMap()
1066 XFillRectangle(display, mapwin, Black_GC, TOOLSWIDTH, 0, in ResetMap()
1069 T_FormScrollArea(mapwin, "draw_map_icon", T_SCROLL_UNBOUND, TOOLSWIDTH, in ResetMap()
1114 T_FormScrollArea(mapwin, "move_view", T_SCROLL_UNBOUND, smlmap_x, in SizeSmallMap()
/dports/games/xpilot/xpilot-4.5.5/src/mapedit/
H A Dforms.c54 T_FormButton(mapwin,"new",10+w*2,y,w-1,h-1,"New",NewMap); in BuildMapwinForm()
55 T_FormButton(mapwin,"quit",10+w*3,y,w-1,h-1,"Quit", in BuildMapwinForm()
59 T_FormButton(mapwin,"copy",10+w*1,y+h,w-1,h-1,"Copy", in BuildMapwinForm()
61 T_FormButton(mapwin,"paste",10+w*2,y+h,w-1,h-1,"Paste", in BuildMapwinForm()
65 T_FormButton(mapwin,"round",10,y+h*2,w-1,h-1,"Round", in BuildMapwinForm()
67 T_FormButton(mapwin,"fill",10+w*1,y+h*2,w-1,h-1,"Fill", in BuildMapwinForm()
70 T_FormButton(mapwin,"neg",10+w*3,y+h*2,w-1,h-1,"Neg.", in BuildMapwinForm()
73 T_FormButton(mapwin,"preferences",10,y+3*h,w-1,h-1, in BuildMapwinForm()
75 T_FormButton(mapwin,"help",10+w,y+3*h,w-1,h-1, in BuildMapwinForm()
77 T_FormButton(mapwin,"zoom_in",10+w*2,y+3*h,w-1,h-1,"Z", in BuildMapwinForm()
[all …]
H A Dexpose.c133 DrawMapPic(mapwin,14+j*w,9+i*w,mapicon_ptr[iconmenu[sel]-32],w-7); in DrawTools()
135 DrawMapPic(mapwin,13+j*w,8+i*w,mapicon_ptr[iconmenu[sel]-32],w-7); in DrawTools()
218 DrawMapPic(mapwin,(i-x)*map.view_zoom+xpos, in DrawMapSection()
224 T_DrawString(mapwin,(i-x)*map.view_zoom+xpos, in DrawMapSection()
264 if ( (win != mapwin) || (x < TOOLSWIDTH) ) { in DrawMapPic()
520 XCopyArea(display,smlmap_pixmap,mapwin,White_GC,1,0,TOOLSWIDTH-2, in DrawSmallMap()
560 XDrawPoint(display,mapwin,Wall_GC,i+smlmap_x,j+smlmap_y + in UpdateSmallMap()
564 XDrawPoint(display,mapwin,Fuel_GC,i+smlmap_x,j+smlmap_y + in UpdateSmallMap()
575 XDrawPoint(display,mapwin,Base_GC,i+smlmap_x,j+smlmap_y + in UpdateSmallMap()
612 XDrawPoint(display,mapwin,Base_GC,i+smlmap_x,j+smlmap_y + in UpdateSmallMap()
[all …]
H A Devents.c43 if ( (report.type == Expose) && (report.xexpose.window == mapwin) && in MainEventLoop()
45 T_ClearArea(mapwin,0,0,TOOLSWIDTH,mapwin_height); in MainEventLoop()
53 if (report.xconfigure.window == mapwin) { in MainEventLoop()
56 T_FormScrollArea(mapwin,"draw_map_icon",T_SCROLL_UNBOUND, in MainEventLoop()
62 if (report.xexpose.window == mapwin) { in MainEventLoop()
83 if (report.xclient.window == mapwin) { in MainEventLoop()
84 XDestroyWindow(display, mapwin); in MainEventLoop()
114 if ( (report->xkey.x < TOOLSWIDTH) || (report->xkey.window != mapwin) ) { in MapwinKeyPress()
H A Dtools.c131 XDrawLine(display,mapwin, xorgc, in DrawMapIcon()
173 XDrawLine(display,mapwin, xorgc, in DrawMapIcon()
180 XDrawLine(display,mapwin, xorgc, in DrawMapIcon()
187 XDrawLine(display,mapwin, xorgc, in DrawMapIcon()
289 XFillRectangle(display,mapwin,Black_GC,x2+TOOLSWIDTH+xo,y2+yo, in ChangeMapData()
353 XCopyArea(display, mapwin, mapwin, White_GC, xfrom+TOOLSWIDTH, in MoveMapView()
356 XClearArea(display,mapwin,xclear+TOOLSWIDTH,0, in MoveMapView()
362 XClearArea(display,mapwin,xto+TOOLSWIDTH,yclear, in MoveMapView()
412 T_SetWindowSizeLimits(mapwin,TOOLSWIDTH+50,TOOLSHEIGHT, in ZoomOut()
450 T_SetWindowSizeLimits(mapwin,TOOLSWIDTH+50,TOOLSHEIGHT, in ZoomIn()
[all …]
H A Dmain.c35 Window mapwin, prefwin; variable
635 mapwin = T_MakeWindow(50, (int)((root_height-mapwin_height)/2), in main()
637 T_SetWindowName(mapwin, "XP-MapEdit", "XP-MapEdit"); in main()
638 XSelectInput( display, mapwin, ExposureMask | ButtonPressMask | in main()
643 smlmap_pixmap = XCreatePixmap(display,mapwin,TOOLSWIDTH,TOOLSWIDTH, in main()
654 XMapWindow(display, mapwin); in main()
785 T_SetWindowSizeLimits(mapwin,TOOLSWIDTH+50,TOOLSHEIGHT, in ResetMap()
789 XFillRectangle(display,mapwin,Black_GC,TOOLSWIDTH,0, in ResetMap()
792 T_FormScrollArea(mapwin,"draw_map_icon",T_SCROLL_UNBOUND,TOOLSWIDTH,0, in ResetMap()
836 T_FormScrollArea(mapwin,"move_view",T_SCROLL_UNBOUND,smlmap_x, in SizeSmallMap()
/dports/games/vultures-eye/vulture-2.3.67/vulture/winclass/
H A Dmap.cpp28 window *mapwin = NULL; variable
138 if (!mapwin) { in toggle()
139 mapwin = new map(levwin, ::map_data); in toggle()
141 mapwin->x = (mapwin->parent->w - mapwin->w) / 2; in toggle()
142 mapwin->y = (mapwin->parent->h - mapwin->h) / 2; in toggle()
145 mapwin->hide(); in toggle()
146 delete mapwin; in toggle()
147 mapwin = NULL; in toggle()
H A Ddirdialog.cpp93 if (!mapwin) in handle_mousebuttonup_event()
113 if (!mapwin) in handle_keydown_event()
/dports/databases/grass7/grass-7.8.6/gui/wxpython/mapdisp/
H A Dgprint.py99 def __init__(self, parent, mapwin): argument
101 self.mapwin = mapwin
116 dlg = wx.PageSetupDialog(self.mapwin, psdd)
129 printout = MapPrint(self.mapwin)
130 printout2 = MapPrint(self.mapwin)
150 printout = MapPrint(self.mapwin)
H A Dtest_mapdisp.py63 from mapwin.base import MapWindowProperties
64 from mapwin.buffered import BufferedMapWindow
228 from mapwin.analysis import MeasureDistanceController
259 from mapwin.analysis import ProfileController
/dports/games/starlanes/starlanes-1.2.2/
H A Dstarlanes.c431 box(mapwin,'|','-'); in showmap()
457 wnoutrefresh(mapwin); in showmap()
480 wattron(mapwin,attrs); in drawmap()
554 wnoutrefresh(mapwin); in get_move()
590 wnoutrefresh(mapwin); in get_move()
787 wnoutrefresh(mapwin); in calc_cost()
1233 touchwin(mapwin); in redraw()
1237 wrefresh(mapwin); in redraw()
1304 touchwin(mapwin); in show_standings()
1307 wnoutrefresh(mapwin); in show_standings()
[all …]
/dports/games/vultures-eye/vulture-2.3.67/unnethack/win/curses/
H A Dcurswins.c270 mapwin = win; in curses_add_nhwin()
428 write_char(mapwin, x - sx, y - sy, nch); in curses_putch()
431 wrefresh(mapwin); in curses_putch()
630 write_char(mapwin, count + bspace, in curses_draw_map()
636 write_char(mapwin, count + bspace, in curses_draw_map()
642 write_char(mapwin, count + bspace, in curses_draw_map()
655 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, in curses_draw_map()
661 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, in curses_draw_map()
667 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, in curses_draw_map()
677 write_char(mapwin, curx - sx + bspace, cury - sy + bspace, in curses_draw_map()
/dports/games/unnethack/unnethack-5.1.0-20131208/win/curses/
H A Dcurswins.c270 mapwin = win; in curses_add_nhwin()
428 write_char(mapwin, x - sx, y - sy, nch); in curses_putch()
431 wrefresh(mapwin); in curses_putch()
635 write_char(mapwin, count + bspace, in curses_draw_map()
641 write_char(mapwin, count + bspace, in curses_draw_map()
647 write_char(mapwin, count + bspace, in curses_draw_map()
660 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, in curses_draw_map()
666 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, in curses_draw_map()
672 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, in curses_draw_map()
682 write_char(mapwin, curx - sx + bspace, cury - sy + bspace, in curses_draw_map()
/dports/games/xconq/xconq-7.5.0-0pre.0.20050612/curses/
H A Dcdraw.c167 clear_window(mapwin); in show_map()
226 draw_text(mapwin, 0, mh, spbuf); in show_map()
298 if (cur_at(mapwin, sx, sy)) in draw_terrain_row()
300 if (cur_at(mapwin, sx + 1, sy)) in draw_terrain_row()
326 if (cur_at(mapwin, sx, sy)) { in draw_units()
329 if (cur_at(mapwin, sx + 1, sy)) { in draw_units()
350 if (cur_at(mapwin, sx + 1, sy)) in draw_people()
954 if (cur_at(mapwin, sx, sy)) { in draw_blast()
960 if (cur_at(mapwin, sx-2, sy)) in draw_blast()
1097 if (!cur_at(mapwin, sx, sy)) in show_cursor()
[all …]
/dports/games/xnethack/xNetHack-xnh6.1/win/curses/
H A Dcurswins.c245 mapwin = win; in curses_add_nhwin()
398 write_char(mapwin, x - sx, y - sy, nch); in curses_putch()
638 write_char(mapwin, count + bspace, ey - sy + 1 + bspace, hsb_back); in curses_draw_map()
642 write_char(mapwin, count + bspace, ey - sy + 1 + bspace, hsb_bar); in curses_draw_map()
646 write_char(mapwin, count + bspace, ey - sy + 1 + bspace, hsb_back); in curses_draw_map()
661 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, vsb_back); in curses_draw_map()
665 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, vsb_bar); in curses_draw_map()
669 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, vsb_back); in curses_draw_map()
676 write_char(mapwin, curx - sx + bspace, cury - sy + bspace, in curses_draw_map()
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/win/curses/
H A Dcurswins.c245 mapwin = win; in curses_add_nhwin()
398 write_char(mapwin, x - sx, y - sy, nch); in curses_putch()
637 write_char(mapwin, count + bspace, ey - sy + 1 + bspace, hsb_back); in curses_draw_map()
641 write_char(mapwin, count + bspace, ey - sy + 1 + bspace, hsb_bar); in curses_draw_map()
645 write_char(mapwin, count + bspace, ey - sy + 1 + bspace, hsb_back); in curses_draw_map()
660 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, vsb_back); in curses_draw_map()
664 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, vsb_bar); in curses_draw_map()
668 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, vsb_back); in curses_draw_map()
675 write_char(mapwin, curx - sx + bspace, cury - sy + bspace, in curses_draw_map()
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/win/curses/
H A Dcurswins.c245 mapwin = win; in curses_add_nhwin()
398 write_char(mapwin, x - sx, y - sy, nch); in curses_putch()
637 write_char(mapwin, count + bspace, ey - sy + 1 + bspace, hsb_back); in curses_draw_map()
641 write_char(mapwin, count + bspace, ey - sy + 1 + bspace, hsb_bar); in curses_draw_map()
645 write_char(mapwin, count + bspace, ey - sy + 1 + bspace, hsb_back); in curses_draw_map()
660 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, vsb_back); in curses_draw_map()
664 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, vsb_bar); in curses_draw_map()
668 write_char(mapwin, ex - sx + 1 + bspace, count + bspace, vsb_back); in curses_draw_map()
675 write_char(mapwin, curx - sx + bspace, cury - sy + bspace, in curses_draw_map()

123456