⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basestruct.h

📁 用SDL写的一个小游戏
💻 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 + -