![]() |
Re: FreeSynd (Syndicate open source engine) port to maemo
Quote:
|
Re: FreeSynd (Syndicate open source engine) port to maemo
Quote:
|
Re: FreeSynd (Syndicate open source engine) port to maemo
I made some modifications to the code to emulate the right mouse button (holding x key) and esc key (pressing CTRL+q). Please tell me if there is another key that needs to be emulated.
Before uploading to extras-devel, we must resolve the following two problems:
|
Re: FreeSynd (Syndicate open source engine) port to maemo
Aapo needs to chime in, he didn't promote his ibsdlimage because of naming conventions/fear of backwards incompatibility. If we can somehow find a way to test 2.10 to confirm it doesn't break anything with previous packages this should be fixed. If no easy way to do it exist you can always include .so files for it and statically link.
Not sure how to deal with first problem though |
Re: FreeSynd (Syndicate open source engine) port to maemo
Quote:
Remember, that using blue arrow + shift, we got plenty of "free keys", where we can emulate almost full-fledged desktop keyboard. for example, I've all F1-F12 keys mapped to upper row shift+blue arrow, right and middle mouse click (blue arrow +tap and shift+blue arrow+tap, respectively), TAB, all my national special characters, all symbols... Without sacrificing any single default key. There really isn't any need to emulate anything - just make game aware of user's keyboard layout if it's possible, and everyone will be happy penguins. /Estel Ps. Thanks for Your efforts, nevertheless! |
Re: FreeSynd (Syndicate open source engine) port to maemo
Well, I'd appreciate an emulated mouse button since I don't want to push 3 keys simultaneously just to get a right mouse click.
The only thing that bothers me with emulated keys is different keyboard layouts for different countries on the phone. Please make sure that you use keys that are in the same position on all N900 versions. If the user is given the opportunity to change the key-mapping himself, things would be even sweeter ;) |
Re: FreeSynd (Syndicate open source engine) port to maemo
Quote:
HOW DO YOU EMULATE MIDDLE+RIGHT CLICKS??? Please point me to the relevant information sources. |
Re: FreeSynd (Syndicate open source engine) port to maemo
Don't worry, I'll add the key mappings to the game's config file.
|
Re: FreeSynd (Syndicate open source engine) port to maemo
Quote:
The other approach could be commenting the code, so that doesn't need the new libraries. The newer libsdl-image is used only to load the mouse pointer image. The newer libsdl-mixer it's used apparently to load music in some cases, but with the code commented, the music it's still played (no crashes so far I tested). This way I could build a package and upload a first version to extras-devel, so others can test the game. |
Re: FreeSynd (Syndicate open source engine) port to maemo
Quote:
src/CMakeLists.txt Code:
-target_link_libraries (freesynd ${PNG_LIBRARIES} ${SDL_LIBRARY} ${SDL_MIXER} ${SDL_IMAGE} ) And dependencies are not libsdl-image1.2-dev, libsdl-mixer1.2-dev, but libvorbis-dev, libsmpeg-dev, libogg-dev, libmikmod-dev I have packed one libsdl-mixer, I compiled it without libmikmod, because it causes that game wants write zero length file to running directory (which needs write access). (I think it is know bug on libmikmod). If Freesynd is not even needing mikmod it could be wise to drop it. |
All times are GMT. The time now is 17:46. |
vBulletin® Version 3.8.8