Renderer is now more standalone and doesn't try to protect against small maps, that's the GUI's job.
This commit is contained in:
parent
19b8bf1850
commit
15a302d133
11 changed files with 65 additions and 90 deletions
|
@ -1,7 +1,9 @@
|
|||
#include "panel.hpp"
|
||||
|
||||
void Panel::resize(int width, int height) {
|
||||
void Panel::resize(int w, int h) {
|
||||
$dirty = true;
|
||||
width = w;
|
||||
height = h;
|
||||
$screen = Screen(width, height);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue