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

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.

Linus

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-07-29

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy