Rockbox mail archiveSubject: Re: Questions about plugin development
Re: Questions about plugin development
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Thu, 29 Jul 2004 14:37:26 +0200
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.
Received on 2004-07-29