Ngày tải lên :
12/08/2014, 19:20
... movetank(int num); void explode(int num, int x, int y); void updatebullet(int num); int checkpath(int x1,int y1,int x2,int y2,int x3,int y3); void clearpath(int num); void fireweapon(int num); ... circlefill(bmp, x, y, 40 , finalcolor); } void doline(BITMAP *bmp, int x, int y, int d) { //line callback function fills the points array points[totalpoints].x = x; points[totalpoints].y = y; totalpoints++; ... y, 40 , BLACK); } } void main(void) { //initialize program allegro_init(); set_color_depth(16); set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640 , 48 0, 0, 0); install_keyboard(); install_mouse(); install_timer();...