MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / osipf_FindTriggerName

Function osipf_FindTriggerName

Descent3/osiris_predefs.cpp:3368–3376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3366}
3367
3368int osipf_FindTriggerName(const char *name) {
3369 for (int i = 0; i < Num_triggers; i++) {
3370 if (Triggers[i].name) {
3371 if (!stricmp(name, Triggers[i].name))
3372 return i;
3373 }
3374 }
3375 return -1;
3376}
3377
3378int osipf_FindObjectName(const char *name) {
3379 for (int i = 0; i < MAX_OBJECTS; i++) {

Callers 4

CheckLevelNamesFunction · 0.85
OnTrigEditNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected