📄 basestruct.h
字号:
#ifndef BASESTRUCT_H
#define BASESTRUCT_H
#include "sdl.h"
#include<stdio.h>
#include<stdlib.h>
#include <cmath>
#pragma comment(lib,"winmm.lib")
struct SColor
{
float r,g,b;
SColor(float _r,float _g,float _b) : r(_r),g(_g),b(_b){}
SColor(){}
};
struct SPosition
{
Uint16 x,y;
SPosition(int _x,int _y)
{
x = _x;
y = _y;
}
SPosition(){}
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -