* entity inspector::smartEdit: display real key names

* entity inspector::smartEdit: show tooltips with extended names and descriptions for keys and flags
This commit is contained in:
Garux
2019-01-11 21:25:31 +03:00
parent fb53d5094a
commit b7bfa11b55
3 changed files with 27 additions and 5 deletions

View File

@@ -125,6 +125,7 @@ Shader* m_state_blend;
CopiedString m_comments;
char flagnames[MAX_FLAGS][32];
const EntityClassAttribute* flagAttributes[MAX_FLAGS];
CopiedString m_modelpath;
CopiedString m_skin;
@@ -261,6 +262,7 @@ inline EntityClass* Eclass_Alloc(){
e->m_miscmodel_key = "model";
e->has_angles = false;
memset( e->flagnames, 0, MAX_FLAGS * 32 );
memset( e->flagAttributes, 0, MAX_FLAGS * sizeof( EntityClassAttribute* ) );
e->maxs = Vector3( -1,-1,-1 );
e->mins = Vector3( 1, 1, 1 );