随笔分类 -  SDL

摘要:#define prt(s, format)(printf("您按下的是:%"#format"\n", s)) const char* keys[] = { "F1", "F2", "F3", "F4", "F5" }; //事件循环 SDL_Event e; bool quit = false; 阅读全文
posted @ 2022-11-21 17:31 tetrachloroethylene 阅读(43) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> #include "include/SDL/SDL.h" //主窗口 SDL_Window* gWindow = NULL; //主窗口内含的主表面 SDL_Surface* gScreenSurface = NULL; //图片表面 SDL_Surface* 阅读全文
posted @ 2022-11-21 16:26 tetrachloroethylene 阅读(127) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示