This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Play 320*240 video on VGA PPC full screen


Play 320*240 video on VGA PPC full screen

Postby pytyj » Mar 29, 2007 @ 12:40pm

pytyj
pm Member
 
Posts: 4
Joined: Mar 29, 2007 @ 3:41am


Postby Nomad » Mar 29, 2007 @ 3:12pm

Nomad
pm Member
 
Posts: 76
Joined: Oct 28, 2006 @ 8:21pm
Location: Ukraine, Kiev


Postby pytyj » Mar 30, 2007 @ 2:14am

I am a beginner.
PPC use windows mobile 5.0
I used the project in the File of GledPlay.
GledPlay->projects->Single State Game Template->WM2005

add
if(video.open(TEXT("001.mpg"))==ReturnCode::OK)
{//Ok, ready to decode.}
else{shutdown();}
to
InitialApplication::onInit(Surface* pBackBuffer, Application* application)
add
HRESULT hr = video.getNextFrame(&surface);
switch(hr){case ReturnCode::OK:pBackBuffer->bltFast(0, 0, &surface); break;
case ReturnCode::END_OF_VIDEO:shutdown(); break;
default:shutdown(); break;}
to
InitialApplication::onNextFrame(Surface* pBackBuffer, Panel* panel)

Just all!

I can't find CEUX in MSDN.
Can you explain it to me? :oops:
Thanks!
pytyj
pm Member
 
Posts: 4
Joined: Mar 29, 2007 @ 3:41am


Return to GledPlay


Sort


Forum Description

Game Engine for Embedded Devices. Simple, complete, and powerful. Focused on the game.

Moderators:

Matias, Sergio

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron