| 9 |
*/ |
*/ |
| 10 |
|
|
| 11 |
#include "bbs.h" |
#include "bbs.h" |
| 12 |
|
#include "bwf.h" |
| 13 |
#include "database.h" |
#include "database.h" |
| 14 |
#include "editor.h" |
#include "editor.h" |
| 15 |
#include "io.h" |
#include "io.h" |
| 104 |
goto cleanup; |
goto cleanup; |
| 105 |
} |
} |
| 106 |
|
|
| 107 |
|
if (check_badwords(intro, '*') < 0) |
| 108 |
|
{ |
| 109 |
|
log_error("check_badwords(introduction) error\n"); |
| 110 |
|
ret = -3; |
| 111 |
|
goto cleanup; |
| 112 |
|
} |
| 113 |
|
|
| 114 |
lml_render(intro, intro_f, sizeof(intro_f), SCREEN_COLS, 0); |
lml_render(intro, intro_f, sizeof(intro_f), SCREEN_COLS, 0); |
| 115 |
|
|
| 116 |
lines = split_data_lines(intro_f, SCREEN_COLS + 1, line_offsets, BBS_user_intro_max_line + 2, 1, NULL); |
lines = split_data_lines(intro_f, SCREEN_COLS + 1, line_offsets, BBS_user_intro_max_line + 2, 1, NULL); |
| 132 |
press_any_key(); |
press_any_key(); |
| 133 |
goto cleanup; |
goto cleanup; |
| 134 |
case 'E': |
case 'E': |
| 135 |
|
ch = 'E'; |
| 136 |
continue; |
continue; |
| 137 |
default: // Invalid selection |
default: // Invalid selection |
| 138 |
continue; |
continue; |