summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-03 17:35:09 +0200
committerGitHub <noreply@github.com>2019-07-03 17:35:09 +0200
commit92af18c165444080fae8bcd2dc9ea6f439ac0039 (patch)
treec7136d627079976fc976cd7b6d66e7ef46cf79f1 /src/common.h
parentfixed boat rendering (diff)
parentUpdate Frontend. (diff)
downloadre3-92af18c165444080fae8bcd2dc9ea6f439ac0039.tar
re3-92af18c165444080fae8bcd2dc9ea6f439ac0039.tar.gz
re3-92af18c165444080fae8bcd2dc9ea6f439ac0039.tar.bz2
re3-92af18c165444080fae8bcd2dc9ea6f439ac0039.tar.lz
re3-92af18c165444080fae8bcd2dc9ea6f439ac0039.tar.xz
re3-92af18c165444080fae8bcd2dc9ea6f439ac0039.tar.zst
re3-92af18c165444080fae8bcd2dc9ea6f439ac0039.zip
Diffstat (limited to 'src/common.h')
-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())