rain.h

来自「池塘夜降彩色雨,数据结构课程设计源程序,可以运行,没有错误,是我同学给我的」· C头文件 代码 · 共 36 行

H
36
字号
#define defaultdropvelocity 10;
#define defaultripplevelocity 10;

typedef struct {
	COLORREF color;
	bool visibility;
	float radius;
	float x;
	float y;
	float xvelocity;
	float yvelocity;
} droplet;

struct dropletchain {
	struct dropletchain * pre;
	droplet * drop;
	struct dropletchain * next;
} ;


typedef struct {
    COLORREF color;
	float xdrop;
	float ydrop;
	float radius;
	int shown;
}ripple;

struct ripplechain {
	struct ripplechain * pre;
	ripple * aripple;
	struct ripplechain * next;
};


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?