Opened 14 years ago

Closed 12 years ago

Last modified 7 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 Changed 14 years ago by fingolfin

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

comment:2 Changed 14 years ago by fingolfin

This is a feature request, not a bug report.

comment:3 Changed 13 years ago by sev-

What is the status of this item?

comment:4 Changed 13 years ago by sev-

Arisme, any idea?

comment:5 Changed 13 years ago by SF/knakos

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 Changed 13 years ago by SF/knakos

Owner: changed from SF/arisme to SF/knakos

comment:7 Changed 13 years ago by fingolfin

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 Changed 13 years ago by SF/knakos

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 Changed 13 years ago by fingolfin

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 Changed 13 years ago by SF/knakos

Priority: normallow

comment:11 Changed 13 years ago by SF/knakos

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 Changed 13 years ago by fingolfin

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 Changed 13 years ago by SF/knakos

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

comment:14 Changed 12 years ago by SF/knakos

Status: newclosed

comment:15 Changed 12 years ago by SF/knakos

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 Changed 7 months ago by digitall

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