BGE: Change character jumping to char
authorThomas Szepe <HG1_public@gmx.net>
Sun, 11 Oct 2015 13:41:40 +0000 (15:41 +0200)
committerThomas Szepe <HG1_public@gmx.net>
Sun, 11 Oct 2015 13:41:40 +0000 (15:41 +0200)
commit83721682bb12a5b3c277e832241e0752fdb2df2e
treed3c4b1d6dc4e9a22e98a68dfd2427acc6da41156
parent5295202c2ca3ae6a57a0af0ddbd637c220760826
BGE: Change character jumping to char

* Change the character jumping variables and methods from int to char.
* Limit the maxJumps integer value from 0 to 255.
* Allow to set the minimum jump amount to 0.

Reviewers: panzergame, lordloki, moguri

Reviewed By: lordloki, moguri

Subscribers: agoose77

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1305
doc/python_api/rst/bge_types/bge.types.KX_CharacterWrapper.rst
source/gameengine/Ketsji/KX_CharacterWrapper.cpp
source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
source/gameengine/Physics/Bullet/CcdPhysicsController.h
source/gameengine/Physics/common/PHY_ICharacter.h