colores.hpp

来自「游戏编程精华02-含有几十个游戏编程例子」· HPP 代码 · 共 34 行

HPP
34 行
字号
/* Copyright (C) Javier F. Otaegui, 2001. 
 * All rights reserved worldwide.
 *
 * This software is provided "as is" without express or implied
 * warranties. You may freely copy and compile this source into
 * applications you distribute provided that the copyright text
 * below is included in the resulting source code, for example:
 * "Portions Copyright (C) Javier F. Otaegui, 2001"
 */
#ifndef _COLORES_HPP_
#define _COLORES_HPP_

#include "support.hpp"

// Colores
#define NEGRO  			Make16(0,0,0)
#define BLANCO 			Make16(255,255,255)
#define VERDE  			Make16(200,200,200) // Verde es el default para la letra
#define VERDE_OSCURO 	Make16(255,64,0)
#define VERDE_CLARO		Make16(255,192,0)
#define ROJO            Make16(255,0,0)
#define AMARILLO		Make16(0,255,128)
#define VERDE_B			Make16(0,255,0)
#define AZUL			Make16(0,0,255)

#define MAP_VERDE		Make16(0,200,0)
#define MAP_AZULMAR		Make16(255,0,0)
#define MAP_AMARILLO	Make16(0,255,128)
#define MAP_GRIS		Make16(125,125,125)
#define MAP_AZUL		Make16(0,0,255)
#define MAP_ROJO		Make16(255,0,0)


#endif

⌨️ 快捷键说明

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