simple Allegro example (Announce)
> > Why not fix Allegro instead?
>
> Possible in theory ... I'm still waiting to see at least one stable
> Allegro-based app.
mono.c May 14, 2004
"My own ScreenHack 2004 entry, which won the contest. The whole source code sits in an 80x25 screen (2000 bytes). It's a shoot 'em up, featuring 5 monocolor sprites, scrolling starfield, one repeating level, chasing mines, unlimited number of player bullets, and more... Keep playing to improve the high score! Requires Allegro to compile." -- Angelo Mottola
http://www.ecplusplus.com/index.php?page=downloads
EDIT: Okay, I thought it looked cool even though I never played it (well, I couldn't figure out how to shoot, heh). But don't ask me why, it seems that %DJDIR%/include/allegro/keyboard.h says "__allegro_KEY_UNKNOWN3 = 109", which makes no sense. So, in MONO.C, just change "109" to "75" (spacebar), and it should work okay (tested successfully in DOSBox). Oh, and use GNU indent if you want clearer code.
http://rugxulo.googlepages.com/mono.zip (orig. + tweaked src + DOS .EXE, 234k)
Complete thread:
- Ikon GUI - Laaca, 29.03.2008, 12:00 (Announce)
- Ikon GUI - Laaca, 29.03.2008, 13:09
- Ikon GUI - flox, 29.03.2008, 13:47
- Ikon GUI - DOS386, 01.05.2008, 05:09
- Ikon GUI - rr, 02.05.2008, 19:00
- Ikon GUI | Why not fix Allegro instead - DOS386, 02.05.2008, 21:34
- Ikon GUI | Why not fix Allegro instead - rr, 02.05.2008, 22:07
- Ikon GUI | Why not fix Allegro instead - FFK, 13.05.2008, 21:54
- simple Allegro example - Rugxulo, 03.05.2008, 22:25
- simple Allegro example - Rugxulo, 05.05.2008, 13:12
- simple Allegro example - DOS386, 09.05.2008, 07:33
- simple Allegro example - Steve, 09.05.2008, 09:02
- simple Allegro example - DOS386, 11.05.2008, 12:59
- simple Allegro example - Steve, 09.05.2008, 09:02
- simple Allegro example - DOS386, 09.05.2008, 07:33
- simple Allegro example - Rugxulo, 05.05.2008, 13:12
- Ikon GUI | Why not fix Allegro instead - rr, 02.05.2008, 22:07
- Ikon GUI | Why not fix Allegro instead - DOS386, 02.05.2008, 21:34
- Ikon GUI - rr, 02.05.2008, 19:00
- Ikon GUI - Laaca, 29.03.2008, 13:09