[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Common-return value for all routines?
> AL_OK, AL_ERROR, AL_ENOMEM, etc. if (al_begin_graphics(AL_AUTODETECT, 8, 320, 200, 0, 0) != AL_OK) {
hey! that's nice!
> al_draw(dst, src, x, y);
> al_blit(dst, x, y, src, 0, 0, al_w(src), al_h(src));
IMO sounds more reasonable (src, dst...
also because it reflect the language: "from source to destination"
--
"Windows is definitely not compatible with me."
Hein Zelle
_.-:/°^^°\:-._.-:/°^^°\:-._ __. ____
- Lo'oRiS il Kabukimono - / /| /^___ \
Real Name: Lorenzo Petrone / / / / /L_/ /
e-mail: _lano_@xxxxxxxxxx / / / / ___-°/
irc.azzurra.org #lano / /_/__ / /|__-°
digilander.iol.it/lano666 /______/| /__/ /
^°\:-.__.-:/°^°\:-.__.-:/°^ |______|/ |__L/