Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Questions about plugin development
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Date: 2004-07-29


Mat Holton wrote:

> Okay, so can plugins include files and share code that way or is that
> not allowed? I ask this as I seem to recall some of BlueChips code
> including code from another file in a weird way.

His code did that because either

1) the library concept wasn't there when he wrote the code

2) the library framework had a bug in the simulator builds

Both issues are now fixed.

> I ask this as I would like to have common code for loading level data
> (like in Snake2) that can be used in another game. It seems that
> Level loading code doesn't deserve to be in a plugin library.

If it is useful for several plugins, it should be moved to the library.

Linus

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa