Commit Graph

5749 Commits

Author SHA1 Message Date
Arthur O'Dwyer 3e3457bd81 Eliminate some use of CAP_FOO and ISFOO outside of the preprocessor.
The old code worked, but it's strange to use these macros as if
they were C++ `bool` variables at runtime.
2020-05-03 20:57:34 -04:00
Arthur O'Dwyer f2b7746c1b Move all defaulting-of-`CAP_FOO` to sysconfig.h.
- The phrase `#ifdef CAP_` should never appear anywhere.

- The phrase `#ifndef CAP_` should appear only in sysconfig.h.

- The phrases `#if CAP_` and `#if !CAP_` may appear wherever,
    as long as "sysconfig.h" is included first.

The rules for `CAP_FOO` equally apply to `ISFOO`.

There are many one-off macros still tested with `#ifdef`,
including `HAVE_ACHIEVEMENTS`, `PRINT_ACHIEVEMENTS`,
`FAKEWEB`, `FAKE_SDL`, `EASY`, and `WHATEVER`. I don't
have much grasp on what these are used for or how they're
configured, so I'm leaving them alone.
2020-05-03 15:12:12 -04:00
Arthur O'Dwyer f56e0fe2e3 Silence an unused-lambda-capture warning. 2020-05-03 15:12:12 -04:00
Zeno Rogue cef94da632 11.3l 2020-05-01 18:58:16 +02:00
Zeno Rogue 5c1ae3654c index verification 2020-05-01 18:31:04 +02:00
Zeno Rogue 3109d168cf arb:: connection debugger 2020-05-01 18:11:48 +02:00
Zeno Rogue ea8a3ea7d2 nicer print for cld 2020-05-01 17:27:13 +02:00
Zeno Rogue ee6b500822 validate_real in arb 2020-05-01 17:27:06 +02:00
Zeno Rogue cc93dd0732 exp_parser:: reals are now validated. Also regangle now accepts complex multiplication and non-integer edges. 2020-05-01 17:23:29 +02:00
Zeno Rogue 3c82c4d9e3 print cld's 2020-05-01 17:22:30 +02:00
Zeno Rogue fc1b590655 just in case complex values are now accepted as dist and angle. 2020-05-01 17:14:49 +02:00
Zeno Rogue d95615bea2 arb:: parameters shown 2020-05-01 17:12:13 +02:00
Zeno Rogue d8d7bf01bd arb:: factored out load_tile 2020-05-01 17:10:53 +02:00
Zeno Rogue c556c23276 more equal_weights 2020-05-01 16:41:36 +02:00
Zeno Rogue c6665470aa do not do Farlands outside of hyperbolic geometry 2020-05-01 12:28:16 +02:00
Zeno Rogue c5a7b15e98 an option to start in draw editor, and to clear shapes 2020-05-01 12:27:49 +02:00
Zeno Rogue 595511d66e rogueviz:: growthrate improvements 2020-05-01 11:34:53 +02:00
Zeno Rogue 4a57ec002a more precise edge computation, using binary search 2020-05-01 11:34:17 +02:00
Zeno Rogue 194e314069 triangle:: generators shown 2020-05-01 11:33:40 +02:00
Zeno Rogue f355006b2b fixed virtualRebase for Nil 2020-05-01 11:32:12 +02:00
Zeno Rogue fcad5d3f34 rogueviz:: fixes in noniso visualizations 2020-05-01 10:49:06 +02:00
Zeno Rogue c9650cda2c crystal:: changed condition from cheater to allowIncreasedSight 2020-05-01 10:46:38 +02:00
Zeno Rogue a024626593 export crystal_period 2020-05-01 10:42:28 +02:00
Zeno Rogue a6d1be0a92 fixed scrolling destroying which_copy 2020-05-01 10:42:15 +02:00
Zeno Rogue 1f31c2cd7a more safe clipping in Sol 2020-04-29 15:19:25 +02:00
Zeno Rogue d0ac2612d5 fixed linewidth step in patterns 2020-04-29 15:18:43 +02:00
Zeno Rogue 8ddb67b285 patterns:: extended configuration of 'r' and 'J' patterns 2020-04-29 15:16:12 +02:00
Zeno Rogue a6a0995e85 SOLV_ALL 2020-04-29 15:15:18 +02:00
Zeno Rogue 39f82e55ba 'special' geometry change 2020-04-29 15:14:36 +02:00
Zeno Rogue 99e2d95e82 exp_parser:: fixed skipping whitespace 2020-04-29 15:13:44 +02:00
Zeno Rogue ee014030fb fixup 2020-04-29 15:13:16 +02:00
Zeno Rogue 7cabb8aaf4 exp_parser:: user-defined variables take precedence 2020-04-29 15:13:09 +02:00
Zeno Rogue fa11bc6c27 rug:: added missing EX 2020-04-29 15:12:51 +02:00
Zeno Rogue c488599745 arbi:: debug messages for let commands with DF_GEOM 2020-04-29 15:10:07 +02:00
Zeno Rogue 52bd8f12f6 handlePanning handled keys even if smooth_scrolling was on 2020-04-29 15:09:46 +02:00
Zeno Rogue bbdebb14ef fat honeycomb edges 2020-04-29 15:09:22 +02:00
Zeno Rogue dc3eeba73c arcm:: using hyperbolic trigonometry instead of binary search 2020-04-29 15:09:02 +02:00
Zeno Rogue 97c9be0dde better centering screenshot, 'rotate PC' option 2020-04-26 11:07:06 +02:00
Zeno Rogue 500df60990 In animation, 'monster turns' can be configured 2020-04-26 11:03:49 +02:00
Zeno Rogue 4648780eb1 fixed Butterflies in non-orientable geometries 2020-04-26 11:02:27 +02:00
Zeno Rogue e4a38d8aa9 editor launched in case of polygon error 2020-04-26 11:02:03 +02:00
Zeno Rogue 38d668ee7c text in drawing tool (not yet addable) 2020-04-26 11:01:45 +02:00
Zeno Rogue 5b26fd0059 removed ref to leftclick 2020-04-22 14:15:50 +02:00
Zeno Rogue 6cf15d644f removed extra ; 2020-04-22 13:45:28 +02:00
Zeno Rogue e59a2ad517 11.3k 2020-04-22 01:46:45 +02:00
Zeno Rogue b53e85d1ff fixed Rug in arb:: 2020-04-22 01:45:13 +02:00
Zeno Rogue 1914a3c1bc fixed Great Walls in 534 2020-04-22 01:45:04 +02:00
Zeno Rogue 95aa4d8fe5 fixed ESC in 3D 2020-04-22 01:44:53 +02:00
Zeno Rogue c19c9446b4 fixed Hypersian Rug in standard binary tiling 2020-04-21 23:52:49 +02:00
Zeno Rogue 109efec4ff expansion:: dfWorld returns celldistAlt in canvas 2020-04-21 23:37:38 +02:00