签到

05月05日
尚未签到

共有回帖数 0

    做月子

    等级:
    能具体就具体哈,毕竟我是渣渣
    struct Snake
    {
    int x;
    int y;
    struct Snake *front;
    struct Snake *back;
    };
    struct Snake *head,*tail;
    int key;
    int difficulty;
    int diff[10]={90,60,45,35,30,20,10,5,3,1};
    int snakesize;
    int gamwin_x=200;
    int gamwin_y=(480-200)/2;
    int infwin_x=420;
    int infwin_y=(480-200)/2;

    void initmap() /*هœ°ه›¾هˆه§‹هŒ–*/
    {
    int x,y;
    for(x=0;x20;x++)
    for(y=0;y20;y++)
    map[y][x]=0;

    }
    void element_display(int x,int y,int color) /*ه…ƒç´ وک¾ç¤؛*/
    {
    int pixel_x,pixel_y;
    for(pixel_x=(x*10)+1;pixel_x(x*10)+10;pixel_x++)
    for(pixel_y=(y*10)+1;pixel_y(y*10)+10;pixel_y++)

    楼主 2015-06-13 21:12 回复

共有回帖数 0
  • 回 帖
  • 表情 图片 视频
  • 发表

登录直线网账号

Copyright © 2010~2015 直线网 版权所有,All Rights Reserved.沪ICP备10039589号 意见反馈 | 关于直线 | 版权声明 | 会员须知