Mercurial > hg > early-roguelike
comparison urogue/command.c @ 271:88bd51f231e7
UltraRogue: compile out wizard mode by default.
Define WIZARD to enable it. There will be a configure option for this,
once there is a configure script.
author | John "Elwin" Edwards |
---|---|
date | Sun, 05 Mar 2017 20:14:11 -0500 |
parents | 911f0aa6e758 |
children | 4573b355cdc1 |
comparison
equal
deleted
inserted
replaced
270:7a96fede6cc8 | 271:88bd51f231e7 |
---|---|
423 | 423 |
424 /* | 424 /* |
425 * wizard commands | 425 * wizard commands |
426 */ | 426 */ |
427 | 427 |
428 #ifdef WIZARD | |
428 case 0x17: /* ctrl-w */ | 429 case 0x17: /* ctrl-w */ |
429 after = FALSE; | 430 after = FALSE; |
430 | 431 |
431 if (!wizard) | 432 if (!wizard) |
432 { | 433 { |
555 break; | 556 break; |
556 | 557 |
557 } | 558 } |
558 | 559 |
559 break; | 560 break; |
561 #endif | |
560 | 562 |
561 default: | 563 default: |
562 msg("Illegal command '%s', %d.", | 564 msg("Illegal command '%s', %d.", |
563 unctrl(ch), ch); | 565 unctrl(ch), ch); |
564 count = 0; | 566 count = 0; |