Re: [AD] al_set_win_dll_path

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, Jul 26, 2011 at 8:21 PM, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
>
> The only association I was suggesting was tying runtime DLLS to the
> location of the exe via that user function.
>

Hm, should we make things extra-general and have a function

al_set_standard_path(int id, ALLEGRO_PATH *path)?

It would allow overriding any of the system paths with user provided
ones. Probably overkill as the only time it would make a difference
would be that we make the Windows port look for DLLs in
ALLEGRO_RESOURCES_PATH. Still, it might make some things easier, you
can e.g. keep using al_get_standard_path(ALLEGRO_RESOURCES_PATH)
throughout your code even if in the Ubuntu Store compile of your game
you'd use al_set_standard_path("/where/ubuntu/expects/it") earlier.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/