From 03015896d6cfca1f0d928ce33d31632b41bf4bf8 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 1 Dec 2018 09:52:51 +0100 Subject: [PATCH] - seems there are two versions of Hacx's MAP05. --- wadsrc/static/zscript/base.txt | 3 ++- wadsrc/static/zscript/level_compatibility.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/zscript/base.txt b/wadsrc/static/zscript/base.txt index 148300d1c..672088f12 100644 --- a/wadsrc/static/zscript/base.txt +++ b/wadsrc/static/zscript/base.txt @@ -164,7 +164,7 @@ enum DrawTextureTags DTA_SrcWidth, DTA_SrcHeight, DTA_LegacyRenderStyle, // takes an old-style STYLE_* constant instead of an FRenderStyle - + DTA_Internal3, }; class Shape2D : Object native @@ -288,6 +288,7 @@ struct Font native native String GetCursor(); native static int FindFontColor(Name color); + native static double GetBottomAlignOffset(int code); native static Font FindFont(Name fontname); native static Font GetFont(Name fontname); native BrokenLines BreakLines(String text, int maxlen); diff --git a/wadsrc/static/zscript/level_compatibility.txt b/wadsrc/static/zscript/level_compatibility.txt index c5915427a..3ac3473fd 100644 --- a/wadsrc/static/zscript/level_compatibility.txt +++ b/wadsrc/static/zscript/level_compatibility.txt @@ -5,7 +5,8 @@ class LevelCompatibility play { switch (checksum) { - case '9527DD0809FDA39CCFC316A21D135783': // HACX.WAD map05 + case '9BC9E12781903D7C2D5697A5E0AEFD6F': // HACX.WAD map05 from 21.10.2010 + case '9527DD0809FDA39CCFC316A21D135783': // HACX.WAD map05 from 20.10.2010 { // fix non-functional self-referencing sector hack. for(int i = 578; i < 582; i++)