文件名称:c语言魂斗罗
文件大小:11.53MB
文件格式:ZIP
更新时间:2016-05-25 10:06:31
c语言魂斗罗
#include "globals.h" #include "timing.h" #include "player.h" #include "enemies.h" static struct ENEMY *t_penemy=0; static unsigned char *t_penemy_dform=0; static int *t_penemy_x=0; static int *t_penemy_y=0; static unsigned char *t_penemy_dattr=0; static int t_col_xcheck=0; static int t_col_ycheck=0; static unsigned int t_col_xdist=0; static unsigned int t_col_ydist=0; void enemy_exec(int state); void e_bonus_form(); int check_bonus_y8(int skip); int check_bonus_xdelta(int delta); int calc_xlevel7(int x); int check_emy_bounds(int xbound, int ybound); void e_soldier_xspd(); void e_soldier_turnback(); unsigned char get_soldier_bullets(); void e_soldier_form(); void e_stone_form(); void flameend_form(); int draw_flame(int idx); int draw_m_arm(); void refresh_enemyxy(); void refresh_bonusxy(); int refresh_bonusy(int spd); void enemy_selfclear(); void move_enemy_scroll(); void refresh_enemyactx();