* Initializes a new display screen for the game to render contents to. * The screen is set up based on the current options. */
| 108 | * The screen is set up based on the current options. |
| 109 | */ |
| 110 | Screen::Screen() : _baseWidth(ORIGINAL_WIDTH), _baseHeight(ORIGINAL_HEIGHT), _scaleX(1.0), _scaleY(1.0), _numColors(0), _firstColor(0), _pushPalette(false), _surface(0) |
| 111 | { |
| 112 | resetDisplay(); |
| 113 | memset(deferredPalette, 0, 256*sizeof(SDL_Color)); |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Deletes the buffer from memory. The display screen itself |
nothing calls this directly
no outgoing calls
no test coverage detected