diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/font.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/engines/hopkins/font.cpp b/engines/hopkins/font.cpp index b5813f8163..cb7580cc33 100644 --- a/engines/hopkins/font.cpp +++ b/engines/hopkins/font.cpp @@ -41,8 +41,26 @@ void FontManager::setParent(HopkinsEngine *vm) { } void FontManager::clearAll() { - for (int idx = 0; idx < 11; ++idx) + for (int idx = 0; idx < 12; ++idx) { Common::fill((byte *)&Txt[idx], (byte *)&Txt[idx] + sizeof(TxtItem), 0); + + ListeTxt[idx].enabled = false; + ListeTxt[idx].height = 0; + ListeTxt[idx].width = 0; + ListeTxt[idx].xp = 0; + ListeTxt[idx].yp = 0; + } + + for (int idx = 0; idx < 21; idx++) + TRIER_TEXT[idx] = 0; + + oldname = Common::String(""); + nom_index = Common::String(""); + + for (int idx = 0; idx < 4048; idx++) + Index[idx] = 0; + + texte_tmp = g_PTRNUL; } // Text On |