* 3.6.0 * Some optional stuff is no longer available to makedefs because * it depends which of several object files got linked into the * game image, so we insert those options here. */
| 336 | * game image, so we insert those options here. |
| 337 | */ |
| 338 | staticfn void |
| 339 | insert_rtoption(char *buf) |
| 340 | { |
| 341 | int i; |
| 342 | |
| 343 | if (!gl.lua_ver[0]) |
| 344 | get_lua_version(); |
| 345 | |
| 346 | for (i = 0; i < SIZE(rt_opts); ++i) { |
| 347 | if (strstri(buf, rt_opts[i].token) && *rt_opts[i].value) { |
| 348 | (void) strsubst(buf, rt_opts[i].token, rt_opts[i].value); |
| 349 | } |
| 350 | /* we don't break out of the loop after a match; there might be |
| 351 | other matches on the same line */ |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | #ifdef MICRO |
| 356 | boolean |
no test coverage detected