1
0

XSCREEN 4実装

This commit is contained in:
otya128
2015-08-25 19:37:22 +09:00
parent d762599646
commit 40b06463de
2 changed files with 90 additions and 11 deletions

View File

@@ -391,6 +391,13 @@ class Sprite
void render()
{
float disw = 200f, dish = 120f, disw2 = 400f, dish2 = 240f;
if(petitcom.xscreenmode == 2)
{
disw = 160f;
disw2 = 320f;
dish = 240f;
dish2 = 480f;
}
auto texture = petitcom.GRP[petitcom.sppage].glTexture;
float aspect = disw2 / dish2;
float z = -0.01f;