[maemo-developers] [maemo-developers] 800x480

From: Salonen Kuisma kuisma.salonen at maemo.org
Date: Tue May 31 16:04:59 EEST 2005
Hi,

for data files this is all about how you handle them. Since under maemo 
users rarely execute any binaries from local working dir, you should 
just have some data dir for you app and load files from 
APP_DIR/and_so_on. I assume you are doing a game since you are using 
SDL, if so, you should preferably stick your data files to 
/usr/games/yourgame/. Hopefully we have soon extra documentation for 
games to tell more about everything currently exists for them.

Anyway I don't know how useful this response was since I didn't even 
understand fully your question...

-Kuisma

ext Daniel Monteiro wrote:
> Well, I´ve translated the SDL docs to portuguese. they are quite pure of 
> new plataforms
> about the F6, it can´t detect FULLSCREEN, but will listen for F6 and can 
> switch to fullscreen anytime.
> 
> but about the project files? Can I just drop all the files from my 
> project, compile them, link to the "launcher" ?
> how about data files?
> 
> thanks!
> 
> Timo Savola wrote:
> 
>> On Mon, 2005-05-30 at 20:15 -0300, Daniel Monteiro wrote:
>>
>>  
>>
>>> how do I create a SDL project under Maemo? what files are needed? 
>>> what are the diferences?
>>>   
>>
>>
>> It's no different from creating a SDL program in Linux.  You might want
>> to set the proper window size (720x420 windowed, 800x480 full-screen),
>> use 16-bit depth, and perhaps listen for the F6 key event (or does SDL
>> catch the hardware fullscreen button event?).  Just see the SDL
>> documentation (or don't if you already know it) and link with -lSDL.
>>
>> timo
>>
>>
>>
>>
>>  
>>
> 
> 
>     
>     
>        
> ____________________________________________________
> Yahoo! Mail, cada vez melhor: agora com 1GB de espaço grátis! 
> http://mail.yahoo.com.br
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers


More information about the maemo-developers mailing list