Re: [AD] Allegro 5.0 graphic routines, alpha 3 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> > There's no advantage, but the first one looks somehow nicer to me -
>
> I think variables in the config should be kept to "global" vars,
> not transient "parameters". That's a stretch, even if it makes
> calls consistent (as in your first example).
But isn't "gfx/width" a global variable, just like SCREEN_W? I.e.
al_get_int("gfx/width") would be possible for sure, so why not
also set it?
I'm also for an alternate one-line version or create_display though,
it really looks better in examples.
--
Elias Pschernig