Previous 199869 Revisions Next

r34982 Thursday 12th February, 2015 at 07:26:07 UTC by Couriersud
Remove start_viewscreen, fix sdl.mak. (nw)
[src/osd/sdl]drawogl.c sdl.mak window.c window.h
[src/osd/windows]window.h

trunk/src/osd/sdl/drawogl.c
r243493r243494
27292729
27302730      ustop  = (float)(m_width) / (float)surf_w_pow2;
27312731      vstop  = (float)(m_height) / (float)surf_h_pow2;
2732
27322733   }
27332734   else
27342735   {
trunk/src/osd/sdl/sdl.mak
r243493r243494
8282
8383# uncomment to use BGFX
8484
85USE_BGFX = 1
85# USE_BGFX = 1
8686
8787###########################################################################
8888##################   END USER-CONFIGURABLE OPTIONS   ######################
trunk/src/osd/sdl/window.c
r243493r243494
10721072
10731073   // set the view
10741074   target()->set_view(viewindex);
1075   m_start_viewscreen=viewindex;
10761075}
10771076
10781077
trunk/src/osd/sdl/window.h
r243493r243494
3232//  TYPE DEFINITIONS
3333//============================================================
3434
35/* ------------------------------------------------------
36 *
37 * All types named osd_* will ultimately be located in
38 * the modules tree. They are temporarily maintained in
39 * window.h until basic code simplification is finished.
40 *
41 */
42
43class win_window_info;
44
3545class osd_window
3646{
3747public:
3848   osd_window()
3949   :
4050#ifdef OSD_SDL
41      m_start_viewscreen(0),
4251#else
4352      m_hwnd(0), m_focus_hwnd(0), m_monitor(NULL), m_resize_state(0),
4453      m_maxwidth(0), m_maxheight(0),
r243493r243494
6473#else
6574   virtual SDL_Surface *sdl_surface() = 0;
6675#endif
67
68   int                    m_start_viewscreen;
69
7076#else
7177   virtual bool win_has_menu() = 0;
7278   virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0;
7379
7480   // window handle and info
7581   HWND               m_hwnd;
82   // FIXME: this is the same as win_window_list->m_hwnd, i.e. first window.
83   // During modularization, this should be passed in differently
7684   HWND                   m_focus_hwnd;
7785
7886   // monitor info
trunk/src/osd/windows/window.h
r243493r243494
7474#else
7575   virtual SDL_Surface *sdl_surface() = 0;
7676#endif
77
78   int                    m_start_viewscreen;
79
8077#else
8178   virtual bool win_has_menu() = 0;
8279   virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0;


Previous 199869 Revisions Next


© 1997-2024 The MAME Team