… | |
… | |
126 | } |
126 | } |
127 | |
127 | |
128 | curpos = *i; |
128 | curpos = *i; |
129 | } |
129 | } |
130 | |
130 | |
|
|
131 | // declare these here to get correct initialisation order |
|
|
132 | #define def(str) const shstr shstr_ ## str (# str); |
|
|
133 | # include "shstrinc.h" |
|
|
134 | #undef def |
|
|
135 | |
131 | shstr skill_names[NUM_SKILLS]; |
136 | shstr skill_names[NUM_SKILLS]; |
132 | |
|
|
133 | // what weird misoptimisation is this again? |
|
|
134 | const shstr undead_name ("undead"); |
|
|
135 | |
137 | |
136 | //TODO: this should of course not be here |
138 | //TODO: this should of course not be here |
137 | |
139 | |
138 | /* buf_overflow() - we don't want to exceed the buffer size of |
140 | /* buf_overflow() - we don't want to exceed the buffer size of |
139 | * buf1 by adding on buf2! Returns true if overflow will occur. |
141 | * buf1 by adding on buf2! Returns true if overflow will occur. |