graphics changes
[carveJwlIkooP6JGAAIwe30JlM.git] / ent_npc.c
index 774edff45806ae47ea40dfeefe555847fdf7b7ba..d43122330120a34bbec263daed8f30d2f8ba1cf9 100644 (file)
--- a/ent_npc.c
+++ b/ent_npc.c
@@ -129,6 +129,20 @@ void ent_npc_call( world_instance *world, ent_call *call )
          gui_helper_clear();
       }
    }
+   else if( npc->id == 4 )
+   {
+      if( call->function == 0 )
+      {
+         gui_helper_clear();
+         vg_str text;
+         if( gui_new_helper( input_button_list[k_srbind_camera], &text ))
+            vg_strcat( &text, "First/Thirdperson" );
+      }
+      else if( call->function == -1 )
+      {
+         gui_helper_clear();
+      }
+   }
    else
    {
       if( call->function == 0 )
@@ -205,6 +219,7 @@ void ent_npc_preupdate( ent_npc *ent, int active )
 void npc_update( ent_npc *ent )
 {
    if( ent->id == 3 ) return;
+   if( ent->id == 4 ) return;
 
    struct npc *npc_def = npc_resolve( ent->id );
    VG_ASSERT( npc_def );
@@ -242,6 +257,7 @@ void npc_update( ent_npc *ent )
 void npc_render( ent_npc *ent, world_instance *world, vg_camera *cam )
 {
    if( ent->id == 3 ) return;
+   if( ent->id == 4 ) return;
 
    struct npc *npc_def = npc_resolve( ent->id );
    VG_ASSERT( npc_def );