Re: zoom mode, change - where in code
Reply #1 –
look in simwerkz.h / wkz_zoom_in_t::init and wkz_zoom_out_t::init
the zoom level is hidden in the simgraph modules. one can use get_tile_raster_width() to get an indication of the zoom.
the main loop is in simmain.cc line 824
events are handled in karte_t::interactive() and karte_t::interactive_event() (scrolling, esc, f1)
window events in simwin.cc / check_pos_win()
keyboard events are sent to the window that has the focus