@@ @@// @@// INTERNAL FUNCTIONS @@// @@ @@// function to find first free slot in default script list.
| 751 | //@@ |
| 752 | //@@// function to find first free slot in default script list. |
| 753 | int FindFreeScriptSlot() { |
| 754 | int i; |
| 755 | for (i = 0; i < MAX_SCRIPTS; i++) |
| 756 | if (!Script_names[i].used) |
| 757 | return i; |
| 758 | |
| 759 | return -1; |
| 760 | } |
| 761 | |
| 762 | // other stuff |
| 763 | void tScriptName::add_parameter(const char *type, const char *parm) { |