summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-07-03 17:26:15 +0200
committer_AG <gennariarmando@outlook.com>2019-07-03 17:30:26 +0200
commit69b5c9f1e0aff9bc32f903b39f5c1673b43a9b37 (patch)
treec7136d627079976fc976cd7b6d66e7ef46cf79f1 /src/common.h
parentfixed boat rendering (diff)
downloadre3-69b5c9f1e0aff9bc32f903b39f5c1673b43a9b37.tar
re3-69b5c9f1e0aff9bc32f903b39f5c1673b43a9b37.tar.gz
re3-69b5c9f1e0aff9bc32f903b39f5c1673b43a9b37.tar.bz2
re3-69b5c9f1e0aff9bc32f903b39f5c1673b43a9b37.tar.lz
re3-69b5c9f1e0aff9bc32f903b39f5c1673b43a9b37.tar.xz
re3-69b5c9f1e0aff9bc32f903b39f5c1673b43a9b37.tar.zst
re3-69b5c9f1e0aff9bc32f903b39f5c1673b43a9b37.zip
Diffstat (limited to '')
-rw-r--r--src/common.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/common.h b/src/common.h
index 7f304e90..3d260f6e 100644
--- a/src/common.h
+++ b/src/common.h
@@ -56,26 +56,12 @@ extern void **rwengine;
#include "skeleton.h"
#include "Draw.h"
-/*
- { SCREEN_STRETCH } Done originally by the game for most of the printed stuff.
- Stretches everything to screen avoiding it's aspect ratio.
- Looks good only in 4:3.
-
- { SCREEN_SCALE } Alternative to the one above, it's used in this project to scale
- original content to a *DEFINED aspect ratio with the possibility to
- set a multiplier and scale content differently.
- In theory should look good on any screen.
-*/
-
#define DEFAULT_SCREEN_WIDTH (640)
#define DEFAULT_SCREEN_HEIGHT (448)
#define DEFAULT_ASPECT_RATIO (4.0f/3.0f)
// game uses maximumWidth/Height, but this probably won't work
// with RW windowed mode
-// TODO: get rid of one of the two
-#define SCREENW (RsGlobal.width)
-#define SCREENH (RsGlobal.height)
#define SCREEN_WIDTH ((float)RsGlobal.width)
#define SCREEN_HEIGHT ((float)RsGlobal.height)
#define SCREEN_ASPECT_RATIO (CDraw::GetAspectRatio())