TODO: Need to add new compass/flashlight

This commit is contained in:
Denis Pauk 2024-11-20 00:00:32 +02:00
parent 12fa246a6d
commit 710902814d

View file

@ -4303,6 +4303,58 @@ static const gitem_t gameitemlist[] = {
"ctf/tech4.wav" "ctf/tech4.wav"
}, },
#if 0
{
/* classname */ "item_flashlight",
/* pickup */ Pickup_General,
/* use */ Use_Flashlight,
/* drop */ nullptr,
/* weaponthink */ nullptr,
/* pickup_sound */ "items/pkup.wav",
/* world_model */ "models/items/flashlight/tris.md2",
/* world_model_flags */ EF_ROTATE | EF_BOB,
/* view_model */ nullptr,
/* icon */ "p_torch",
/* use_name */ "Flashlight",
/* pickup_name */ "$item_flashlight",
/* pickup_name_definite */ "$item_flashlight_def",
/* quantity */ 0,
/* ammo */ IT_NULL,
/* chain */ IT_NULL,
/* flags */ IF_STAY_COOP | IF_POWERUP_WHEEL | IF_POWERUP_ONOFF | IF_NOT_RANDOM,
/* vwep_model */ nullptr,
/* armor_info */ nullptr,
/* tag */ POWERUP_FLASHLIGHT,
/* precaches */ "items/flashlight_on.wav items/flashlight_off.wav",
/* sort_id */ -1
},
{
/* classname */ "item_compass",
/* pickup */ nullptr,
/* use */ Use_Compass,
/* drop */ nullptr,
/* weaponthink */ nullptr,
/* pickup_sound */ nullptr,
/* world_model */ nullptr,
/* world_model_flags */ EF_NONE,
/* view_model */ nullptr,
/* icon */ "p_compass",
/* use_name */ "Compass",
/* pickup_name */ "$item_compass",
/* pickup_name_definite */ "$item_compass_def",
/* quantity */ 0,
/* ammo */ IT_NULL,
/* chain */ IT_NULL,
/* flags */ IF_STAY_COOP | IF_POWERUP_WHEEL | IF_POWERUP_ONOFF,
/* vwep_model */ nullptr,
/* armor_info */ nullptr,
/* tag */ POWERUP_COMPASS,
/* precaches */ "misc/help_marker.wav",
/* sort_id */ -2
}
#endif
/* end of list marker */ /* end of list marker */
{NULL} {NULL}
}; };