Rev 9 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 9 | Rev 11 | ||
|---|---|---|---|
| Line 159... | Line 159... | ||
| 159 | if (!(control_status & CONTROL_FIRE)) |
159 | if (!(control_status & CONTROL_FIRE)) |
| 160 | { |
160 | { |
| 161 | if (x == 5 && y == 4) |
161 | if (x == 5 && y == 4) |
| 162 | { |
162 | { |
| 163 | /* end */ |
163 | /* end */ |
| - | 164 | ||
| - | 165 | if (memcmp (name, "POOKY@@@@@", 10) == 0) |
|
| - | 166 | { |
|
| - | 167 | // cheat code: restart at last episode |
|
| - | 168 | sysarg_args_map = game_map; |
|
| - | 169 | syssnd_play (WAV_DIE, 1); |
|
| - | 170 | } |
|
| - | 171 | else if (memcmp (name, "FLUFOMATIC", 10) == 0) |
|
| - | 172 | { |
|
| - | 173 | // cheat code: restart at last map |
|
| - | 174 | sysarg_args_submap = game_submap; |
|
| - | 175 | syssnd_play (WAV_DIE, 1); |
|
| - | 176 | } |
|
| 164 | 177 | ||
| 165 | // Pierre-Marie Baty -- discard empty names |
178 | // Pierre-Marie Baty -- discard empty names |
| 166 | if (memcmp (name, "@@@@@@@@@@", 10) != 0) |
179 | else if (memcmp (name, "@@@@@@@@@@", 10) != 0) |
| 167 | { |
180 | { |
| 168 | // Pierre-Marie Baty -- look if this same name already exists in the hiscore table |
181 | // Pierre-Marie Baty -- look if this same name already exists in the hiscore table |
| 169 | for (i = 0; i < 8; i++) |
182 | for (i = 0; i < 8; i++) |
| 170 | if (memcmp (game_hscores[i].name, name, 10) == 0) |
183 | if (memcmp (game_hscores[i].name, name, 10) == 0) |
| 171 | break; |
184 | break; |