摘要:
使用它来画一条直线Ultility.h#ifndef ULTILITY_H_INCLUDED#define ULTILITY_H_INCLUDED#ifdef __APPLE__#include <SDL/SDL.h>#else#include <SDL.h>#endif//init the screenint init(SDL_Surface *&screen,SDL_Surface *&pic,int w,int h);//draw a pixelvoid DrawPixel(SDL_Surface *screen, int x,int y,Uint 阅读全文
posted @ 2011-03-10 13:44
yming0221
阅读(345)
评论(0)
推荐(0)

浙公网安备 33010602011771号