Disabled the improved implementation of animation registration

(for release build)

Updated version number and Russian translation file.
This commit is contained in:
NovaRain
2021-06-06 09:04:59 +08:00
parent 069020da85
commit 7c55d37e57
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -5,14 +5,14 @@ KarmaLoss=
HighlightFail1=Сенсор движения недоступен. HighlightFail1=Сенсор движения недоступен.
HighlightFail2=Сенсор движения разряжен. HighlightFail2=Сенсор движения разряжен.
SuperStimExploitMsg=Вы не можете использовать суперстимулятор на здоровом персонаже! SuperStimExploitMsg=Вы не можете использовать суперстимулятор на здоровом персонаже!
BlockedCombat=Вы не можете сейчас начать бой. BlockedCombat=Начать бой в данный момент невозможно.
SaveSfallDataFail=ОШИБКА записи расширенной информации! Убедитесь что другие программы не обращаются к файлам/каталогам сохраняемой игры и попробуйте еще раз. SaveSfallDataFail=ОШИБКА записи расширенной информации! Убедитесь что другие программы не обращаются к файлам/каталогам сохраняемой игры и попробуйте еще раз.
PartyLvlMsg=Ур.: PartyLvlMsg=Ур.:
PartyACMsg=КБ: PartyACMsg=КБ:
PartyAddictMsg=Зависимость PartyAddictMsg=Зависимость
NPCPickupFail=%s не может подобрать предмет. NPCPickupFail=%s не может подобрать предмет.
PartyOrderAttackHuman=Хорошо, я им займусь.|Цель понятна.|Хороший план. PartyOrderAttackHuman=Хорошо, я им займусь.|Цель ясна.|Действую по плану.
PartyOrderAttackCreature=::Гррр:: PartyOrderAttackCreature=::Гррр::
PartyOrderAttackRobot=::Биип:: PartyOrderAttackRobot=::Биип::
+2
View File
@@ -556,6 +556,7 @@ void Animations::init() {
} }
// Improved implementation of animation registration // Improved implementation of animation registration
#ifndef NDEBUG
MakeCall(0x413E88, check_registry_hack, 2); MakeCall(0x413E88, check_registry_hack, 2);
MakeCall(0x413DCE, anim_cleanup_hack, 1); MakeCall(0x413DCE, anim_cleanup_hack, 1);
SafeWrite16(0x413DD4, 0x4478); // js 0x413E1A SafeWrite16(0x413DD4, 0x4478); // js 0x413E1A
@@ -563,6 +564,7 @@ void Animations::init() {
MakeJump(0x413D64, register_end_hack_end); MakeJump(0x413D64, register_end_hack_end);
SafeWrite16(0x413D0B, 0xC689); // and dl, not 8 > mov esi, eax (keep offset to anim_set slot) SafeWrite16(0x413D0B, 0xC689); // and dl, not 8 > mov esi, eax (keep offset to anim_set slot)
SafeWrite8(0x413D0D, CodeType::Nop); SafeWrite8(0x413D0D, CodeType::Nop);
#endif
// Implement a temporary lock on an animation slot after it is cleared by the register_clear_ function // Implement a temporary lock on an animation slot after it is cleared by the register_clear_ function
// to prevent it from being used as a free slot when registering a nested animation // to prevent it from being used as a free slot when registering a nested animation
+2 -2
View File
@@ -25,6 +25,6 @@
#define VERSION_MAJOR 4 #define VERSION_MAJOR 4
#define VERSION_MINOR 3 #define VERSION_MINOR 3
#define VERSION_BUILD 0 #define VERSION_BUILD 0
#define VERSION_REV 0 #define VERSION_REV 1
#define VERSION_STRING "4.3" #define VERSION_STRING "4.3.0.1"