I am trying to compile my code and I cant find were these errors are comming
from
4 errors: the msgs are:
d:\circle30bpl17\src\class.c(201) : error C2059: syntax error : '}'
d:\circle30bpl17\src\class.c(199) : error C2059: syntax error : 'constant'
the code is: (the errors are the same for both blocks
int class_ok_race[NUM_RACES][NUM_CLASSES] = {
/* M, C, T, W, Z, K, D */
/* Human */ { Y, Y, Y, Y, N, N, N },
/* Elf */ { Y, Y, Y, N, N, N, N },
/* Gnome */ { Y, Y, N, Y, N, N, N },
/* Dwarf */ { N, Y, N, Y, N, N, N },
/* Undead*/ { Y, N, N, Y, Y, Y, Y },
/* Giant */ { N, N. N, Y, N, N, N },
/* Pixie */ { Y, Y, Y, N, N, N, N }
};
and
int prac_params[4][NUM_CLASSES] = {
/* MAG CLE THE WAR ZOM KIN DEA*/
{95, 95, 85, 80, 80, 95, 90}, /* learned level */
{100, 100, 12, 12, 15, 100, 75}, /* max per prac */
{25, 25, 0, 0, 0, 25 20}, /* min per pac */
{SPELL, SPELL, SKILL, SKILL, SKILLS, SPELL, SPELL} /* prac name */
};
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT