Skip to content

Commit f8444cb

Browse files
committed
Removed ESE_ALIASES_MATH since it was from an older version of the alias system that would include mathematical constants.
Fixed some typos and update the comments in ESE_Config.c to include the newer alias types. Signed-off-by: NarcoMarshDev <[email protected]>
1 parent 044c53b commit f8444cb

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

scripts/Game/!ESE_Config_EnforceScriptExtensions.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
//#define ESE_ALIASES_MAGAZINES
2222
//#define ESE_ALIASES_EQUIPMENT
2323
//#define ESE_ALIASES_VEHICLES
24-
//#define ESE_ALIASES_MATH
2524
#define ESE_ALIASES_DEBUG
2625

2726
#endif
@@ -36,5 +35,4 @@
3635
#define ESE_ALIASES_MAGAZINES
3736
#define ESE_ALIASES_EQUIPMENT
3837
#define ESE_ALIASES_VEHICLES
39-
#define ESE_ALIASES_MATH
4038
#endif

scripts/Game/ESE.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ class ESE
4646
if (mainProjectName == "Enforce Script Extensions")
4747
{
4848
#ifdef ESE_DEVMODE
49-
Print("ESE is in development mode, remember to goto !ESE_Config_EnforceScriptExtensions.c and disable before release");
49+
Print("ESE is in development mode, remember to goto !ESE_Config_EnforceScriptExtensions.c and disable before release", LogLevel.WARNING);
5050
#endif
5151
#ifndef ESE_DEVMODE
52-
Print("ESE is not in development mode, goto !ESE_Config_EnforceScriptExtensions.c and enable it to enable all features");
52+
Print("ESE is not in development mode, goto !ESE_Config_EnforceScriptExtensions.c and enable it to access all features", LogLevel.WARNING);
5353
#endif
5454
}
5555

scripts/Game/ESE_Aliases.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,12 @@ class ESE_Aliases
191191
static const ResourceName AR_MAG_KPVT_MIX = CreateAlias("{8257B5AFDE7AE5CB}Prefabs/Weapons/Magazines/Box_145x114_KPVT_50rnd_4API_1APIT.et", ESE_ResourceType.HeavyWeaponAmmo);
192192
#endif
193193

194-
// ----------------------------------------------------------------- EQUIPMENT ----------------------------------------------------------------- //
194+
// ----------------------------------------------------------------- UNIFORMS ----------------------------------------------------------------- //
195+
#ifdef ESE_ALIASES_UNIFORMS
196+
// TODO
197+
#endif
198+
199+
// ---------------------------------------------------------------- EQUIPMENT ----------------------------------------------------------------- //
195200

196201
#ifdef ESE_ALIASES_EQUIPMENT
197202
// TODO

scripts/Game/ESE_Config.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,18 @@
3232
#define ESE_ALIASES_WEAPONS - All base game weapon ResourceNames
3333
#define ESE_ALIASES_ATTACHMENTS - All base game attachment ResourceNames
3434
#define ESE_ALIASES_MAGAZINES - All base game magazine ResourceNames
35-
#define ESE_ALIASES_VEHICLES - All base game vehicle ResourceNames (almost, missing some odd variats)
36-
#define ESE_ALIASES_MATH - Useful mathematical constants and such like
35+
#define ESE_ALIASES_UNIFORMS - All base game uniform ResourceNames
36+
#define ESE_ALIASES_EQUIPMENT - All base game equipment ResourceNames (wearables and tool items)
37+
#define ESE_ALIASES_VEHICLES - All base game vehicle ResourceNames (almost, missing some odd variants)
3738
3839
#define ESE_ALIASES_DEBUG
3940
- Enables some extra debugging features to help with implementing custom aliases.
4041
4142
@endcode
4243
*/
4344

45+
// ------------------ UNCOMMENT THESE TO ENABLE FEATURES -------------------
46+
4447
//#define ESE_VERBOSE
4548
//#define ESE_ENABLE_WIP
4649
//#define ESE_EXPERIMENTAL
@@ -50,9 +53,9 @@
5053
//#define ESE_ALIASES_WEAPONS
5154
//#define ESE_ALIASES_ATTACHMENTS
5255
//#define ESE_ALIASES_MAGAZINES
56+
//#define ESE_ALIASES_UNIFORMS
5357
//#define ESE_ALIASES_EQUIPMENT
5458
//#define ESE_ALIASES_VEHICLES
55-
//#define ESE_ALIASES_MATH
5659
//#define ESE_ALIASES_DEBUG
5760

5861
// -------------------- DO NOT MODIFY BEYOND THIS POINT --------------------
@@ -65,5 +68,4 @@
6568
#define ESE_ALIASES_MAGAZINES
6669
#define ESE_ALIASES_EQUIPMENT
6770
#define ESE_ALIASES_VEHICLES
68-
#define ESE_ALIASES_MATH
6971
#endif

0 commit comments

Comments
 (0)