mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Renamed AnimationsAtOnceLimit module to Animations
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include "..\FalloutEngine\Fallout2.h"
|
||||
#include "LoadGameHook.h"
|
||||
|
||||
#include "AnimationsAtOnceLimit.h"
|
||||
#include "Animations.h"
|
||||
|
||||
namespace sfall
|
||||
{
|
||||
@@ -325,7 +325,7 @@ void ApplyAnimationsAtOncePatches(signed char aniMax) {
|
||||
SafeWriteBatch<DWORD>(40 + sadAddr, sad_28);
|
||||
}
|
||||
|
||||
void AnimationsAtOnce::init() {
|
||||
void Animations::init() {
|
||||
animationLimit = GetConfigInt("Misc", "AnimationsAtOnceLimit", 32);
|
||||
if (animationLimit > 32) {
|
||||
if (animationLimit > 127) {
|
||||
@@ -345,7 +345,7 @@ void AnimationsAtOnce::init() {
|
||||
HookCall(0x411E1F, action_climb_ladder_hook);
|
||||
}
|
||||
|
||||
void AnimationsAtOnce::exit() {
|
||||
void Animations::exit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -23,9 +23,9 @@
|
||||
namespace sfall
|
||||
{
|
||||
|
||||
class AnimationsAtOnce : public Module {
|
||||
class Animations : public Module {
|
||||
public:
|
||||
const char* name() { return "AnimationsAtOnceLimit"; }
|
||||
const char* name() { return "Animations"; }
|
||||
void init();
|
||||
void exit() override;
|
||||
};
|
||||
@@ -475,7 +475,7 @@ static void __declspec(naked) SaveGame_hack1() {
|
||||
void ExtraSaveSlots::init() {
|
||||
bool extraSaveSlots = (GetConfigInt("Misc", "ExtraSaveSlots", 0) != 0);
|
||||
if (extraSaveSlots) {
|
||||
dlog("Running EnableSuperSaving()", DL_INIT);
|
||||
dlog("Applying extra save slots patch.", DL_INIT);
|
||||
EnableSuperSaving();
|
||||
dlogr(" Done", DL_INIT);
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
#include <initializer_list>
|
||||
#include <Windows.h>
|
||||
|
||||
namespace sfall
|
||||
namespace sfall
|
||||
{
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
||||
+2
-2
@@ -304,7 +304,7 @@
|
||||
<ClInclude Include="Modules\Module.h" />
|
||||
<ClInclude Include="Modules\AI.h" />
|
||||
<ClInclude Include="Modules\DamageMod.h" />
|
||||
<ClInclude Include="Modules\AnimationsAtOnceLimit.h" />
|
||||
<ClInclude Include="Modules\Animations.h" />
|
||||
<ClInclude Include="Modules\MiscPatches.h" />
|
||||
<ClInclude Include="Modules\Karma.h" />
|
||||
<ClInclude Include="Modules\LoadOrder.h" />
|
||||
@@ -394,7 +394,7 @@
|
||||
<ClCompile Include="ModuleManager.cpp" />
|
||||
<ClCompile Include="Modules\AI.cpp" />
|
||||
<ClCompile Include="Modules\DamageMod.cpp" />
|
||||
<ClCompile Include="Modules\AnimationsAtOnceLimit.cpp" />
|
||||
<ClCompile Include="Modules\Animations.cpp" />
|
||||
<ClCompile Include="Modules\MainLoopHook.cpp" />
|
||||
<ClCompile Include="Modules\MiscPatches.cpp" />
|
||||
<ClCompile Include="Modules\Karma.cpp" />
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<ClInclude Include="Modules\AI.h">
|
||||
<Filter>Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Modules\AnimationsAtOnceLimit.h">
|
||||
<ClInclude Include="Modules\Animations.h">
|
||||
<Filter>Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Modules\BarBoxes.h">
|
||||
@@ -291,7 +291,7 @@
|
||||
<ClCompile Include="Modules\AI.cpp">
|
||||
<Filter>Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Modules\AnimationsAtOnceLimit.cpp">
|
||||
<ClCompile Include="Modules\Animations.cpp">
|
||||
<Filter>Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Modules\BarBoxes.cpp">
|
||||
|
||||
+2
-2
@@ -24,7 +24,7 @@
|
||||
#include "ModuleManager.h"
|
||||
#include "Modules\Module.h"
|
||||
#include "Modules\AI.h"
|
||||
#include "Modules\AnimationsAtOnceLimit.h"
|
||||
#include "Modules\Animations.h"
|
||||
#include "Modules\BarBoxes.h"
|
||||
#include "Modules\Books.h"
|
||||
#include "Modules\BugFixes.h"
|
||||
@@ -198,7 +198,7 @@ static void InitModules() {
|
||||
//
|
||||
manager.add<AI>();
|
||||
manager.add<DamageMod>();
|
||||
manager.add<AnimationsAtOnce>();
|
||||
manager.add<Animations>();
|
||||
manager.add<BarBoxes>();
|
||||
manager.add<HeroAppearance>();
|
||||
manager.add<MiscPatches>();
|
||||
|
||||
Reference in New Issue
Block a user