Fixed the compile option names.
Whoops, "SCREEN_H" is the definition screen.h checks.
This commit is contained in:
parent
4f02865256
commit
e4633652f9
12
src/defs.h
12
src/defs.h
|
@ -43,12 +43,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define DATADIR "."
|
#define DATADIR "."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SCREEN_W
|
#ifndef SCREEN_WIDTH
|
||||||
#define SCREEN_W 800
|
#define SCREEN_WIDTH 800
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SCREEN_H
|
#ifndef SCREEN_HEIGHT
|
||||||
#define SCREEN_H 600
|
#define SCREEN_HEIGHT 600
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
|
@ -467,8 +467,8 @@ const char * const systemBackground[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const int rate2reload[6] = {15, 15, 13, 11, 9, 7};
|
const int rate2reload[6] = {15, 15, 13, 11, 9, 7};
|
||||||
const int screenWidth = SCREEN_W;
|
const int screenWidth = SCREEN_WIDTH;
|
||||||
const int screenHeight = SCREEN_H;
|
const int screenHeight = SCREEN_HEIGHT;
|
||||||
const int xViewBorder = 100;
|
const int xViewBorder = 100;
|
||||||
const int yViewBorder = 100;
|
const int yViewBorder = 100;
|
||||||
const float cameraMaxSpeed = 3.;
|
const float cameraMaxSpeed = 3.;
|
||||||
|
|
Loading…
Reference in New Issue