- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 SDL的FreeBASIC程序框架
'$include: 'SDL/SDL.bi'CONST ScreenWidth AS INTEGER = 640, _ '窗口宽度 ScreenHeight AS INTEGER = 480, _ '窗口高度 BPP AS INTEGER = 32 '色彩位数DIM video AS SDL_Surface PTR'初始化SDLCALL SDL_Init(SDL_INIT_EVERYTHING)'初始化窗口video = SD
2011-01-27 18:36:00
475
原创 SDL的C++程序框架
#include "SDL/SDL.h"constint ScreenWidth = 640, //窗口宽度 ScreenHeight = 480, //窗口高度 BPP = 32 ; //色彩位数SDL_Surface * screen;int main(int argc, char * argv[]){ //初始化SDL SDL_Init(SDL_INIT_EVERYTHING);
2011-01-27 18:33:00
609
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人