diff --git a/artifacts/scripting/sfall function notes.md b/artifacts/scripting/sfall function notes.md index a8eb926e..ca04c99d 100644 --- a/artifacts/scripting/sfall function notes.md +++ b/artifacts/scripting/sfall function notes.md @@ -119,7 +119,7 @@ FUNCTION REFERENCE ----- #### `void inc_npc_level(int pid/string name)` - Takes a party member PID or an NPC name (deprecated, for compatibility with sfall 4.1.5/3.8.15 or earlier) as an argument. The NPC must be in your party. -- This function ignores player level requirements and the minimum 3 player level delay between NPC level gains. It also ignores the random element, regardless of sfall's **NPCAutoLevel** or **PartyMemberNonRandomLevelUp** setting. +- This function ignores the player's minimum level and the required number of level-ups between NPC level gains. It also ignores the random element, regardless of sfall's **NPCAutoLevel** or **PartyMemberNonRandomLevelUp** setting. ----- #### `int get_npc_level(int pid/string name)` diff --git a/sfall/InputFuncs.h b/sfall/InputFuncs.h index 71d4f43c..86ce650e 100644 --- a/sfall/InputFuncs.h +++ b/sfall/InputFuncs.h @@ -20,7 +20,7 @@ #include -namespace sfall +namespace sfall { extern bool useScrollWheel; diff --git a/sfall/ModuleManager.cpp b/sfall/ModuleManager.cpp index 5db86851..976bc8b5 100644 --- a/sfall/ModuleManager.cpp +++ b/sfall/ModuleManager.cpp @@ -2,7 +2,7 @@ #include "ModuleManager.h" -namespace sfall +namespace sfall { ModuleManager::ModuleManager() { diff --git a/sfall/Modules/Animations.h b/sfall/Modules/Animations.h index c9743d65..552446fd 100644 --- a/sfall/Modules/Animations.h +++ b/sfall/Modules/Animations.h @@ -20,7 +20,7 @@ #include "Module.h" -namespace sfall +namespace sfall { class Animations : public Module { diff --git a/sfall/Modules/BarBoxes.h b/sfall/Modules/BarBoxes.h index 05148103..52449043 100644 --- a/sfall/Modules/BarBoxes.h +++ b/sfall/Modules/BarBoxes.h @@ -20,7 +20,7 @@ #include "Module.h" -namespace sfall +namespace sfall { class BarBoxes : public Module { diff --git a/sfall/Modules/Books.h b/sfall/Modules/Books.h index 6c0c3506..d1b29fd7 100644 --- a/sfall/Modules/Books.h +++ b/sfall/Modules/Books.h @@ -20,7 +20,7 @@ #include "Module.h" -namespace sfall +namespace sfall { class Books : public Module { diff --git a/sfall/Modules/HookScripts/DeathHs.h b/sfall/Modules/HookScripts/DeathHs.h index d76d1cfb..3cf52298 100644 --- a/sfall/Modules/HookScripts/DeathHs.h +++ b/sfall/Modules/HookScripts/DeathHs.h @@ -2,7 +2,7 @@ // Hook scripts related to critter Death -namespace sfall +namespace sfall { void InitDeathHookScripts(); diff --git a/sfall/SimplePatch.h b/sfall/SimplePatch.h index 6df58f94..0ec25189 100644 --- a/sfall/SimplePatch.h +++ b/sfall/SimplePatch.h @@ -1,6 +1,6 @@ #pragma once -namespace sfall +namespace sfall { template