Added #pragma sce to all scripts that require -s option

This commit is contained in:
NovaRain
2026-04-14 11:27:22 +08:00
parent db4f0cb8d5
commit 31df2d5c98
5 changed files with 14 additions and 4 deletions
@@ -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"
@@ -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);
+2
View File
@@ -19,6 +19,8 @@
**/
#pragma sce
#include "main.h"
//#include "..\..\..\!SRC\headers\define.h"
+2
View File
@@ -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)
+2
View File
@@ -16,6 +16,8 @@
*/
#pragma sce
#include "..\headers\global.h"
#include "..\headers\critrpid.h"
#include "main.h"