mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Committing player separately.
shapeBase is its own beast and will require a very critical look over once its up.
This commit is contained in:
parent
3d7f092c52
commit
d700ea4878
2 changed files with 56 additions and 80 deletions
|
|
@ -35,6 +35,7 @@
|
|||
#include "collision/boxConvex.h"
|
||||
#endif
|
||||
|
||||
#include "T3D/assets/SoundAsset.h"
|
||||
#include "T3D/gameBase/gameProcess.h"
|
||||
|
||||
class Material;
|
||||
|
|
@ -218,7 +219,9 @@ struct PlayerData: public ShapeBaseData {
|
|||
ExitWater,
|
||||
MaxSounds
|
||||
};
|
||||
SFXTrack* sound[MaxSounds];
|
||||
|
||||
DECLARE_SOUNDASSET_ARRAY(PlayerData, PlayerSound, Sounds::MaxSounds);
|
||||
DECLARE_SOUNDASSET_ARRAY_SETGET(PlayerData, PlayerSound);
|
||||
|
||||
Point3F boxSize; ///< Width, depth, height
|
||||
Point3F crouchBoxSize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue