Exploring raycasters and possibly make a little "doom like" game based on it.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#pragma once
|
|
|
|
|
|
|
|
constexpr const int TEXTURE_WIDTH=256;
|
|
|
|
constexpr const int TEXTURE_HEIGHT=256;
|
|
|
|
constexpr const int RAY_VIEW_WIDTH=960;
|
|
|
|
constexpr const int RAY_VIEW_HEIGHT=720;
|
|
|
|
constexpr const int RAY_VIEW_X=(1280 - RAY_VIEW_WIDTH);
|
|
|
|
constexpr const int RAY_VIEW_Y=0;
|
|
|
|
constexpr const int SCREEN_HEIGHT=720;
|
|
|
|
constexpr const int SCREEN_WIDTH=1280;
|
|
|
|
constexpr const bool VSYNC=true;
|
|
|
|
constexpr const int FRAME_LIMIT=60;
|
|
|
|
#ifdef NDEBUG
|
|
|
|
constexpr const bool DEBUG_BUILD=false;
|
|
|
|
#else
|
|
|
|
constexpr const bool DEBUG_BUILD=true;
|
|
|
|
#endif
|