- seems there are two versions of Hacx's MAP05.

This commit is contained in:
Christoph Oelckers 2018-12-01 09:52:51 +01:00
parent ea3d26aafd
commit 03015896d6
2 changed files with 4 additions and 2 deletions

View file

@ -164,7 +164,7 @@ enum DrawTextureTags
DTA_SrcWidth, DTA_SrcWidth,
DTA_SrcHeight, DTA_SrcHeight,
DTA_LegacyRenderStyle, // takes an old-style STYLE_* constant instead of an FRenderStyle DTA_LegacyRenderStyle, // takes an old-style STYLE_* constant instead of an FRenderStyle
DTA_Internal3,
}; };
class Shape2D : Object native class Shape2D : Object native
@ -288,6 +288,7 @@ struct Font native
native String GetCursor(); native String GetCursor();
native static int FindFontColor(Name color); native static int FindFontColor(Name color);
native static double GetBottomAlignOffset(int code);
native static Font FindFont(Name fontname); native static Font FindFont(Name fontname);
native static Font GetFont(Name fontname); native static Font GetFont(Name fontname);
native BrokenLines BreakLines(String text, int maxlen); native BrokenLines BreakLines(String text, int maxlen);

View file

@ -5,7 +5,8 @@ class LevelCompatibility play
{ {
switch (checksum) 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. // fix non-functional self-referencing sector hack.
for(int i = 578; i < 582; i++) for(int i = 578; i < 582; i++)