1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 06:50:27 +00:00
Commit Graph

5769 Commits

Author SHA1 Message Date
Zeno Rogue
daeff80ff5
Merge pull request #108 from Quuxplusone/ifdef
Move all defaulting-of-`CAP_FOO` to sysconfig.h
2020-05-15 11:32:38 +02:00
Zeno Rogue
e644ebf1ea qtm:: rainbow colored hyperbolic 2020-05-09 18:33:53 +02:00
Zeno Rogue
29c7faa264 stretch < -1 (seems not to be working correctly) 2020-05-09 18:33:37 +02:00
Zeno Rogue
c35705cc5c fixed hybrid bitruncated ray: works after clear map 2020-05-09 18:32:16 +02:00
Zeno Rogue
306d8c3ace added function to_glsl to convert ld to GLSL strings 2020-05-09 18:30:36 +02:00
Zeno Rogue
4e13e05d6a advanced parameters easier to set for acm and crystal 2020-05-09 18:29:09 +02:00
Zeno Rogue
fd9ea8793e stretch:: renamed rots_twist to stretch, also implemented for slr 2020-05-09 10:41:15 +02:00
Zeno Rogue
ecb88d8501 qtm:: fixed 2020-05-09 02:35:15 +02:00
Zeno Rogue
83c0ade9d6 revert hyperbolic qtm 2020-05-09 00:57:59 +02:00
Zeno Rogue
a30f4a89f7 rots::draw_underlying in screenshot 2020-05-08 21:21:42 +02:00
Zeno Rogue
3f0dcaaa0a pattern 'H' which marks masters 2020-05-08 21:21:01 +02:00
Zeno Rogue
a4d3ebb06d ray:: CLI options -ray-range and -ray-sol 2020-05-08 21:20:33 +02:00
Zeno Rogue
ee0f57f28b qtm:: spheredemo included 2020-05-08 21:20:06 +02:00
Zeno Rogue
e3cff7f383 qtm:: striped variants 2020-05-08 21:19:56 +02:00
Zeno Rogue
54804bc08b stretched spherical geometry 2020-05-08 21:18:47 +02:00
Zeno Rogue
02de6fa330 ray:: bitruncated product 2020-05-08 21:14:31 +02:00
Zeno Rogue
5de9c4cc16 added #define rotspace 2020-05-08 20:26:30 +02:00
Zeno Rogue
3a8a3cf035 added kz(vector) 2020-05-08 20:26:23 +02:00
Arthur O'Dwyer
36136dab6a Fix some unguarded bits of CAP_BT and CAP_CRYSTAL.
Found by trying to build with `-DISMINI=0`, not that that
comes even close to working.
2020-05-03 21:21:46 -04:00
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
2333537f11 fixed primes in connection_debugger 2020-05-01 19:35:50 +02: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