There was a variable, which enabled to render pocketfrog to be scaled 2 or 3 times for better visibility of this little game's screen. Is it possible to do this in latest pocketFrog? I didn't find this variable in game framework..
desktopZoom on pfrog 0.8 ?
It was stripped out of 0.8. You'll have to add it back in if you want it. I think everything was in game.cpp and game.h.
You could also just use the zoom built into windows. accessibility/magnifier.
Presto: It's not only in game.*. It's also in 6 other files and It doesn't seem as it's very easy to restore this functionality..
I thought maybe Thierry renamed this variable or moved this feature somewhere. Too bad it's gone forever.
fast_rx, Narrator is not a very convenient thing for this. It's also renders at about 3 fps when it's half the screen wide and this is too slow..
I thought maybe Thierry renamed this variable or moved this feature somewhere. Too bad it's gone forever.
fast_rx, Narrator is not a very convenient thing for this. It's also renders at about 3 fps when it's half the screen wide and this is too slow..
You're right. Searching for it came up with:
- Code:
Searching for 'desktopZoom'...
history.txt(22):+ Added "desktopZoom" attribute to m_config structure. This allows you
history.txt(29): by that amount. So, if you do m_config.desktopZoom=2; in your Init
samples\supersample\SuperSample.cpp(64): m_config.desktopZoom = 0; // No zoom on PC (240x320 in other words)
src\display.cpp(58):DisplayDevice::DisplayDevice( Internal::DisplayDriver* driver, Orientation orientation, unsigned int desktopZoom )
src\display.cpp(71): if (desktopZoom > 1) {
src\display.cpp(72): m_GAPIBuffer = new Internal::GAPIBuffer( m_driver->GetWidth() / desktopZoom, m_driver->GetHeight() / desktopZoom, m_driver->GetPitch() );
src\display.h(116): DisplayDevice( Internal::DisplayDriver* driver, Orientation orientation, unsigned int desktopZoom );
src\pocketpc.cpp(46):bool InitDrivers( HWND hwnd, unsigned int desktopZoom )
src\pocketpc.cpp(64): std::auto_ptr<DisplayDriver> display( new Win32Display(desktopZoom) );
src\pocketpc.cpp(120):DisplayDevice* PocketPC::CreateDisplay( HWND hwnd, Orientation orientation, unsigned int desktopZoom )
src\pocketpc.cpp(123): if (!InitDrivers(hwnd, desktopZoom))
src\pocketpc.cpp(127): DisplayDevice* display = new DisplayDevice( l_displayDriver, orientation, desktopZoom );
src\pocketpc.h(68): static DisplayDevice* CreateDisplay( HWND hwnd, Orientation orientation = ORIENTATION_NORTH, unsigned int desktopZoom = 0 );
src\framework\game.cpp(34): m_config.desktopZoom = 0;
src\framework\game.cpp(126): if (m_config.desktopZoom > 1) {
src\framework\game.cpp(127): width = 240 * m_config.desktopZoom; height = 320 * m_config.desktopZoom;
src\framework\game.cpp(142): m_display.reset( PocketPC::CreateDisplay( m_hWnd, m_config.orientation, m_config.desktopZoom ) );
src\framework\game.cpp(376): if (m_config.desktopZoom > 1) {
src\framework\game.cpp(377): P.Set( LOWORD(lparam) / m_config.desktopZoom, HIWORD(lparam) / m_config.desktopZoom );
src\framework\game.h(104): unsigned desktopZoom; // Set to zoom the size of the window on a desktop PC
src\internal\Win32Drivers.cpp(29):Win32Display::Win32Display(unsigned int desktopZoom)
src\internal\Win32Drivers.cpp(32): m_desktopZoom = desktopZoom;
src\internal\Win32Drivers.cpp(102): if (m_desktopZoom > 1) {
src\internal\Win32Drivers.cpp(103): ::StretchBlt( hDestDC, 0, 0, GetWidth() * m_desktopZoom, GetHeight() * m_desktopZoom,
src\internal\Win32Drivers.h(42): Win32Display(unsigned int desktopZoom = 0);
src\internal\Win32Drivers.h(68): unsigned int m_desktopZoom;