登录 注册
当前位置:主页 > 资源下载 > 50 > 魂斗罗是用C语言编写的

魂斗罗是用C语言编写的

  • 更新:2024-08-23 14:16:20
  • 大小:11.53MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:C - 后端
  • 格式:ZIP

资源介绍

#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();