| Revision 1 (by (no author), 2006/09/28 22:53:53) |
Initial import |
/// \file bg.cpp
/// Main source file for a board game
#include <allegro.h>
#include "boardscreen.h"
int main(int argc, char* argv[])
{
allegro_init();
set_color_depth(16);
set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640, 480, 0, 0);
install_keyboard();
install_mouse();
BoardScreen* s = new BoardScreen();
s->Run();
delete s;
remove_mouse();
remove_keyboard();
set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);
allegro_exit();
return 0;
}
END_OF_MAIN()
// The end