mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Change default damage and white flash
Change both the damage flash and white out values to return 0 by default. This prevents a damage flash or white out from displaying for GameBase derived classes that don't override these methods. From https://github.com/GarageGames/Torque3D/issues/395
This commit is contained in:
parent
9d9c6bf7d3
commit
d095576a25
1 changed files with 2 additions and 2 deletions
|
|
@ -409,8 +409,8 @@ public:
|
||||||
virtual bool isValidCameraFov( F32 fov ) { return true; }
|
virtual bool isValidCameraFov( F32 fov ) { return true; }
|
||||||
virtual bool useObjsEyePoint() const { return false; }
|
virtual bool useObjsEyePoint() const { return false; }
|
||||||
virtual bool onlyFirstPerson() const { return false; }
|
virtual bool onlyFirstPerson() const { return false; }
|
||||||
virtual F32 getDamageFlash() const { return 1.0f; }
|
virtual F32 getDamageFlash() const { return 0.0f; }
|
||||||
virtual F32 getWhiteOut() const { return 1.0f; }
|
virtual F32 getWhiteOut() const { return 0.0f; }
|
||||||
|
|
||||||
// Not implemented here, but should return the Camera to world transformation matrix
|
// Not implemented here, but should return the Camera to world transformation matrix
|
||||||
virtual void getCameraTransform (F32 *pos, MatrixF *mat ) { *mat = MatrixF::Identity; }
|
virtual void getCameraTransform (F32 *pos, MatrixF *mat ) { *mat = MatrixF::Identity; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue