@@ -92,26 +92,26 @@ class Project extends HXProject
9292
9393 //
9494 // FEATURE FLAGS
95- // Inverse feature flags are automatically populated.
96- //
95+ // ( Inverse feature flags are automatically populated)
96+ // ===========================================================================
9797
9898 /**
9999 * Allows the game to be displayed in the user's Discord "Activity" box
100100 * (it can still be disabled by the user in-game if the option is off).
101101 */
102- static final DISCORD_ALLOWED :FeatureFlag = 'DISCORD_ALLOWED ';
102+ static final DISCORD_RPC_ALLOWED :FeatureFlag = 'DISCORD_RPC_ALLOWED ';
103103
104104 /**
105- * Enables the game to use filters , giving it a more unsettling and unnerving vibe.
105+ * Enables the game to use advanced shaders , giving it a more unsettling and unnerving vibe.
106106 * Sort of like the analog horror videos you see on YouTube.
107107 */
108- static final SHADERS_ALLOWED :FeatureFlag = 'SHADERS_ALLOWED ';
108+ static final ADVANCED_SHADERS_ALLOWED :FeatureFlag = 'ADVANCED_SHADERS_ALLOWED ';
109109
110110 /**
111111 * Allows the developer(s) to use built-in editors,
112112 * such as creating animations for entities.
113113 */
114- static final EDITORS_ALLOWED :FeatureFlag = 'EDITORS_ALLOWED ';
114+ static final DEBUG_EDITORS_ALLOWED :FeatureFlag = 'DEBUG_EDITORS_ALLOWED ';
115115
116116 /**
117117 * Permits the game to use a built-in logging system, which writes all
@@ -134,9 +134,9 @@ class Project extends HXProject
134134 configureApp();
135135
136136 displayTarget();
137+ configureOutputDir();
137138 configureFeatureFlags();
138139 configureCompileDefines();
139- configureOutputDir();
140140 configureHaxelibs();
141141 configureAssets();
142142 configureIcons(); // TODO: Implement code when icons are made!
@@ -155,6 +155,7 @@ class Project extends HXProject
155155 info('Git Commit: ' + getGitCommit());
156156 info('Git Modified? ' + getGitModified());
157157 info('Display? ' + isDisplay());
158+ info('-------------------------------------------------------------');
158159 }
159160
160161 /**
@@ -356,15 +357,15 @@ class Project extends HXProject
356357 {
357358 // Enable Discord rich presence
358359 // (works only for Windows)
359- DISCORD_ALLOWED .apply(this, isWindows());
360+ DISCORD_RPC_ALLOWED .apply(this, isWindows());
360361
361362 // Enable dope ass screen filters
362363 // (if the platform is on desktop)
363- SHADERS_ALLOWED .apply(this, isDesktop());
364+ ADVANCED_SHADERS_ALLOWED .apply(this, isDesktop());
364365
365366 // Enable the editors if the game is in debug mode,
366367 // otherwise, disable them of course
367- EDITORS_ALLOWED .apply(this, isDesktop() && isDebug());
368+ DEBUG_EDITORS_ALLOWED .apply(this, isDesktop() && isDebug());
368369
369370 // Enables dope ass logging
370371 // (only works on desktop)
@@ -373,6 +374,8 @@ class Project extends HXProject
373374 // Allows the game to programmatically change sounds
374375 // (only works on desktop)
375376 SOUND_FILTERS_ALLOWED.apply(this, isDesktop());
377+
378+ info('-------------------------------------------------------------');
376379 }
377380
378381 /**
@@ -417,6 +420,7 @@ class Project extends HXProject
417420 buildDir += '/';
418421 info('Output Directory: $buildDir');
419422 app.path = buildDir;
423+ info('-------------------------------------------------------------');
420424 }
421425
422426 function configureHaxelibs()
@@ -450,7 +454,7 @@ class Project extends HXProject
450454 }
451455
452456 // Discord rich presence
453- if (DISCORD_ALLOWED .isEnabled(this))
457+ if (DISCORD_RPC_ALLOWED .isEnabled(this))
454458 {
455459 addHaxelib('hxdiscord_rpc');
456460 }
@@ -475,10 +479,7 @@ class Project extends HXProject
475479 addAssetPath('assets/shared/images', 'assets/shared/images', 'default', ['*.png'], []);
476480
477481 // Add shader frag assets
478- if (isDesktop())
479- {
480- addAssetPath('assets/shaders', 'assets/shaders', 'default', ['*.frag'], []);
481- }
482+ addAssetPath('assets/shaders', 'assets/shaders', 'default', ['*.frag'], []);
482483
483484 // Add shared music and sound assets for web (.mp3)
484485 if (isWeb())
0 commit comments