diff options
author | Thomas Szepe <HG1_public@gmx.net> | 2015-10-11 19:28:43 +0300 |
---|---|---|
committer | Thomas Szepe <HG1_public@gmx.net> | 2015-10-11 19:28:43 +0300 |
commit | 3dd83b533a032fe4e5e39a275e7f2fcff2beaf15 (patch) | |
tree | 279d9ffbd0b8ab0a1c2d723621b119c229fff66b /source/blender/makesdna/DNA_object_types.h | |
parent | 88005475db5a774edfc3c408b553b04379dbd147 (diff) |
BGE: Adding a Max Jumps value to the character physic window
Actually we only have a Python API that allows to change the max jumps value.
The patch also allows non programmers to change the maximum numbers of jumps.
Reviewers: panzergame, sybren, campbellbarton, lordloki, moguri, agoose77
Reviewed By: lordloki, moguri
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1302
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index faae78ab500..cb39655ddc9 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -189,7 +189,7 @@ typedef struct Object { /* did last modifier stack generation need mapping support? */ char lastNeedMapping; /* bool */ - char pad[5]; + char pad; /* dupli-frame settings */ int dupon, dupoff, dupsta, dupend; @@ -222,6 +222,8 @@ typedef struct Object { float step_height; float jump_speed; float fall_speed; + unsigned char max_jumps; + char pad2[3]; /** Collision mask settings */ unsigned short col_group, col_mask; |