diff --git a/artifacts/example_mods/AutoDoors/gl_autodoors.ssl b/artifacts/example_mods/AutoDoors/gl_autodoors.ssl index f8188a72..37d2bf5e 100644 --- a/artifacts/example_mods/AutoDoors/gl_autodoors.ssl +++ b/artifacts/example_mods/AutoDoors/gl_autodoors.ssl @@ -7,10 +7,13 @@ Auto Doors mod v1.2 for Fallout 2 by Mr.Stalin Requires sfall 3.7b or higher -NOTE: this script requires compiler from sfall modderspack with -s option (short circuit evaluation) +NOTE: this script requires compiler from sfall modderspack with -s option +(short circuit evaluation) */ +#pragma sce + /* Include Files */ #include "..\headers\define.h" //#include "..\headers\command.h" diff --git a/artifacts/example_mods/MolotovFire/gl_molotov.ssl b/artifacts/example_mods/MolotovFire/gl_molotov.ssl index 567d2cf1..da78a618 100644 --- a/artifacts/example_mods/MolotovFire/gl_molotov.ssl +++ b/artifacts/example_mods/MolotovFire/gl_molotov.ssl @@ -13,14 +13,15 @@ NOTE: this script requires compiler from sfall modderspack with -s option */ - -procedure start; -procedure afterhitroll_handler; +#pragma sce #include "..\headers\define.h" #include "..\headers\sfall\sfall.h" #include "..\headers\sfall\define_extra.h" +procedure start; +procedure afterhitroll_handler; + procedure start begin if game_loaded then begin register_hook_proc(HOOK_AFTERHITROLL, afterhitroll_handler); diff --git a/artifacts/mods/gl_highlighting.ssl b/artifacts/mods/gl_highlighting.ssl index 1bf0f707..8804bd47 100644 --- a/artifacts/mods/gl_highlighting.ssl +++ b/artifacts/mods/gl_highlighting.ssl @@ -19,6 +19,8 @@ **/ +#pragma sce + #include "main.h" //#include "..\..\..\!SRC\headers\define.h" diff --git a/artifacts/mods/gl_npcarmor.ssl b/artifacts/mods/gl_npcarmor.ssl index 9b93fb27..73832340 100644 --- a/artifacts/mods/gl_npcarmor.ssl +++ b/artifacts/mods/gl_npcarmor.ssl @@ -13,6 +13,8 @@ */ +#pragma sce + #include "main.h" #define IS_ARMOR(item) (obj_type(item) == OBJ_TYPE_ITEM and obj_item_subtype(item) == item_type_armor) diff --git a/artifacts/mods/gl_partycontrol.ssl b/artifacts/mods/gl_partycontrol.ssl index 84435f20..ae81eb82 100644 --- a/artifacts/mods/gl_partycontrol.ssl +++ b/artifacts/mods/gl_partycontrol.ssl @@ -16,6 +16,8 @@ */ +#pragma sce + #include "..\headers\global.h" #include "..\headers\critrpid.h" #include "main.h"