This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#ifdef __linux__ | |
#include <SDL2/SDL.h> | |
#elif defined(_WIN32) | |
#include <SDL.h> | |
#endif | |
const int WIN_WIDTH = 640; | |
const int WIN_HEIGHT = 480; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _SDL_opengl_load_h | |
#define _SDL_opengl_load_h | |
extern PFNGLBLENDCOLORPROC SDL_glBlendColor; | |
#define glBlendColor SDL_glBlendColor | |
extern PFNGLBLENDEQUATIONPROC SDL_glBlendEquation; | |
#define glBlendEquation SDL_glBlendEquation | |
extern PFNGLDRAWRANGEELEMENTSPROC SDL_glDrawRangeElements; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name | CSS | Hex | R | G | B | |
---|---|---|---|---|---|---|
Licorice | #000000 | 0x000000 | 0 | 0 | 0 | |
Lead | #191919 | 0x191919 | 25 | 25 | 25 | |
Tungsten | #333333 | 0x333333 | 51 | 51 | 51 | |
Iron | #4C4C4C | 0x4C4C4C | 76 | 76 | 76 | |
Steel | #666666 | 0x666666 | 102 | 102 | 102 | |
Tin | #7F7F7F | 0x7F7F7F | 127 | 127 | 127 | |
Nickel | #808080 | 0x808080 | 128 | 128 | 128 | |
Aluminum | #999999 | 0x999999 | 153 | 153 | 153 | |
Magnesium | #B3B3B3 | 0xB3B3B3 | 179 | 179 | 179 |