-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I see you plan to make the screen size a variable, and maybe support screen resizing:
Line 4 in 8976e22
| #define SCREEN_SCALE 2 //TODO: make screen scale a variable |
In the meantime, how would you feel about declaring SCREEN_SCALE as an extern in Constants.h, setting it to 2 by default in the renderer implementation file, and putting something simple like this in main (at least until more things need to be added):
if (argc >= 2)
{
int scale = atoi(argv[1]);
SCREEN_SCALE = (scale > 1) ? scale : 2;
}I tried it and it seems to work with no problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels