Opened 15 years ago

Closed 12 years ago

Last modified 11 months ago

#7405 closed enhancement

WINCE: Fullscreen or 800x600 Mode

Reported by: SF/astuermer Owned by: SF/knakos
Priority: low Component: Port: WinCE
Keywords: Cc:
Game:

Description

Hello,

Me and many others are using a Siemens SIMpad with
HandheldPC 2000 OS. The device has 800x600 pixels,
would be fine to play Scumm Games Fullscreen or even as
640x480 Area in the middle of the screen (since the
2x-Scaler currently places the whole playarea top-left,
which looks terribly)

Kind regards,
Andreas

Ticket imported from: #1118248. Ticket imported from: feature-requests/221.

Change History (16)

comment:1 by fingolfin, 15 years ago

Component: --Unset--
Owner: set to SF/arisme
Summary: Fullscreen or 800x600 Mode in PocketScumm?WINCE: Fullscreen or 800x600 Mode

comment:2 by fingolfin, 15 years ago

This is a feature request, not a bug report.

comment:3 by sev-, 14 years ago

What is the status of this item?

comment:4 by sev-, 13 years ago

Arisme, any idea?

comment:5 by SF/knakos, 13 years ago

Supporting as many different devices and resolutions as
possible is a good thing. We'll get on it after the 0.9.0
release.

comment:6 by SF/knakos, 13 years ago

Owner: changed from SF/arisme to SF/knakos

comment:7 by fingolfin, 13 years ago

I guess this is really two requests, right? One for centering the graphics (which
definitely sounds like a good idea to me, right?), secondly a request for a scaler
to 800x600 (i.e. 2.5x scaler).

comment:8 by SF/knakos, 13 years ago

Correct.
After seeing what goes on with non-integer scalers, the
support for this maybe delayed a bit.
Also the centering blit of the display certainly sounds
straight forward but includes stuff such as pointer
coordinate translation. The SDL library is in need for some
renovation. I'll be tackling it it the near future and
perhaps will kill this one as well.

comment:9 by fingolfin, 13 years ago

Hm, the centering is a built-in feature of SDL, I am
surprised it doesn't work out of the box on WinCE (it
certainly does under Windows and OS X). Maybe the WinCE SDL
port is buggy in this regard?

comment:10 by SF/knakos, 13 years ago

Priority: normallow

comment:11 by SF/knakos, 13 years ago

Arisme has written a wince specific device (wingapi) for
direct screen manipulation (actually I think Vasyl had a
hand in there as well), and the shortcoming must be there.
I doubt this centering function is handled somewhere else,
higher up in SDL. AFAIK one does not signal SDL
specifically (e.g. pass an SDL_CENTERSCREEN like flag).

comment:12 by fingolfin, 13 years ago

Actually, yes, there is generic code in SDL to handle it. In particular, the offset_x
/ offset_y fields in the SDL_VideoSurface are used for that purpose. They are set
by SDL_SetVideoMode (in SDL_video.c) if the program requests a resolution that
is not directly available (e.g. 640x480) when the request is satisfied by another
one (e.g. 800x600).

Without seeing the WinCE specific code, I can't say why this generic codepath is
not being triggered.

comment:13 by SF/knakos, 13 years ago

OK, thanks for the pointer. Will check it out soon. Perhaps
the gapi driver conveniently disregards any displacement
offsets.

comment:14 by SF/knakos, 12 years ago

Status: newclosed

comment:15 by SF/knakos, 12 years ago

added in the latest svn build in the forums. try it out! Also, it would help *a lot* if you can make a step by step doc of how you setup scummvm to work on your device.

comment:16 by digitall, 11 months ago

Component: Port: WinCE
Note: See TracTickets for help on using tickets.