| 73 | CVAR(Bool, con_notablist, false, CVAR_ARCHIVE) |
| 74 | |
| 75 | static bool FindTabCommand (const char *name, int *stoppos, int len) |
| 76 | { |
| 77 | FName aname(name); |
| 78 | unsigned int i; |
| 79 | int cval = 1; |
| 80 | |
| 81 | for (i = 0; i < TabCommands.Size(); i++) |
| 82 | { |
| 83 | if (TabCommands[i].TabName == aname) |
| 84 | { |
| 85 | *stoppos = i; |
| 86 | return true; |
| 87 | } |
| 88 | cval = strnicmp (TabCommands[i].TabName.GetChars(), name, len); |
| 89 | if (cval >= 0) |
| 90 | break; |
| 91 | } |
| 92 | |
| 93 | *stoppos = i; |
| 94 | |
| 95 | return (cval == 0); |
| 96 | } |
| 97 | |
| 98 | void C_AddTabCommand (const char *name) |
| 99 | { |
no test coverage detected