(svn r26746) -Codechange: Separate enums for visual effect type and spawning model.

This commit is contained in:
frosch
2014-08-17 14:52:48 +00:00
parent 07077c2088
commit 156fed1b61
2 changed files with 25 additions and 8 deletions

View File

@@ -92,6 +92,16 @@ enum VisualEffect {
VE_DEFAULT = 0xFF, ///< Default value to indicate that visual effect should be based on engine class
};
/** Models for spawning visual effects. */
enum VisualEffectSpawnModel {
VESM_NONE = 0, ///< No visual effect
VESM_STEAM, ///< Steam model
VESM_DIESEL, ///< Diesel model
VESM_ELECTRIC, ///< Electric model
VESM_END
};
/**
* Enum to handle ground vehicle subtypes.
* This is defined here instead of at #GroundVehicle because some common function require access to these flags.