1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00
Commit Graph

64 Commits

Author SHA1 Message Date
Zeno Rogue
59dd09173a fixed the combinations of Archimedean, fake, and embedding 2023-06-10 10:33:42 +02:00
Zeno Rogue
3fdd6d4967 a new option for pseudohedral 2023-05-30 18:44:03 +02:00
Zeno Rogue
60d7d1da7e sky:: fixed stars 2023-05-15 02:50:41 +02:00
Zeno Rogue
894252caf2 sky:: draw_ceiling should not be restricted to non-sphere 2023-05-15 02:50:41 +02:00
Zeno Rogue
227b4a15f7 sky:: simple_sky 2023-05-15 02:50:41 +02:00
Zeno Rogue
882fecf792 sky:: fixed for changed depth 2023-05-15 02:50:41 +02:00
Zeno Rogue
f9a951a2d1 hooks added for draw_ceiling 2023-04-27 22:49:15 +02:00
Zeno Rogue
7dc21f32de changed some prepare_basics to require_basics 2023-04-27 22:47:32 +02:00
Zeno Rogue
a47dbc5dd5 fixed some crashes in embedding+arb 2023-03-26 00:37:08 +01:00
Zeno Rogue
5a40534c85 embeddings:: star probability configurable 2023-02-18 19:33:27 +01:00
Zeno Rogue
573304faab more detailed 3D depth settings 2023-02-18 18:32:01 +01:00
Zeno Rogue
d108f27dcf added some missing CAP_ guards 2023-02-18 12:53:52 +01:00
Zeno Rogue
3f44c71fea draw_ceiling adds 0 to sky by default 2023-02-04 11:04:07 +01:00
Zeno Rogue
9e6e8e02b0 fixup to new embeddings, pointer cgi1 in sky 2023-01-27 10:18:19 +01:00
Zeno Rogue
85dffdbeff rewritten the embeddings more nicely 2023-01-27 00:27:10 +01:00
Zeno Rogue
8744420504 new embedding: Euclidean cylinder 2023-01-24 15:17:09 +01:00
Zeno Rogue
4b3bfb9932 euc_in_product 2023-01-06 00:09:12 +01:00
Zeno Rogue
d623593392 fixed the sky in hyp_in_solnih 2022-12-17 19:59:53 +01:00
Zeno Rogue
dfbf553608 euc_in_nil has sky errors too 2022-12-16 01:26:28 +01:00
Zeno Rogue
db43ea9de8 fixed sky over irregular map 2022-12-16 00:36:44 +01:00
Zeno Rogue
585ab12e4f reverted sky fixup 2022-12-15 19:20:56 +01:00
Zeno Rogue
e8b93600f7 fixup to last: euc in sol actually works 2022-12-15 19:00:41 +01:00
Zeno Rogue
33380fba89 noniso skies 2022-12-15 18:59:20 +01:00
Zeno Rogue
f61adc2865 Nil embedding 2022-12-13 19:04:43 +01:00
Zeno Rogue
70421ed506 2.5D: deleteSky 2022-12-09 02:33:15 +01:00
Zeno Rogue
852dc94fad draw_sky disabled now also disables Euclidean sky 2022-12-09 02:33:15 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
8a7b35e3ee 2.5D:: fixed sky colors 2022-12-04 16:42:08 +01:00
Zeno Rogue
f29f908e05 fixed a crash problem with tes files in 2.5D 2022-09-15 00:19:21 +02:00
Zeno Rogue
8489550aed multi:: radar works correctly in split_screen 2022-03-27 22:47:51 +02:00
Zeno Rogue
53d5813267 fixed cool fog in split screen 2022-03-27 22:47:51 +02:00
Zeno Rogue
46f2fa4f9a moved draw_sky out of #if 2021-09-04 21:58:45 +02:00
Zeno Rogue
ba7b9d6097 an option to disable sky drawing 2021-08-08 18:29:21 +02:00
Zeno Rogue
9e9b331b3a sky debug removed 2021-08-05 11:56:20 +02:00
Zeno Rogue
b29e27e1c8 stars now are placed lower in FPP to prevent glitches 2021-07-31 15:14:31 +02:00
Zeno Rogue
c9a1e52aaf sky now interacts better with stars and other high objects 2021-07-31 15:14:31 +02:00
Arthur O'Dwyer
090e084dd4 Add explicit and override consistently everywhere else. NFCI. 2021-07-11 18:03:08 -04:00
Zeno Rogue
0c0cc8a006 removed airbuf debug 2021-06-17 09:44:48 +02:00
Zeno Rogue
c5e8d8aab3 sky for INFORDER 2021-06-17 09:44:48 +02:00
Zeno Rogue
4f4a7ccde4 added ISIOS guards in make_air 2021-06-06 10:49:21 +02:00
Zeno Rogue
097bdb1687 fixed the mirrors in FPP 2021-04-15 18:13:53 +02:00
Zeno Rogue
dafa2fd7b3 missing CAP_VR guard 2021-03-09 16:19:17 +01:00
Zeno Rogue
56485f20a9 various changes and fixes to make coolfog and sky work correctly in VR 2021-03-09 13:12:53 +01:00
Zeno Rogue
7798632b9d optimized drawing the sky 2021-03-09 10:47:20 +01:00
Zeno Rogue
e4e1a856e6 replace vrhr::state checking with nicer functions 2020-12-31 19:11:14 +01:00
Zeno Rogue
0de8ce9a10 initial implementation of VR 2020-11-22 17:58:40 +01:00
Zeno Rogue
28383c94e0
Merge branch 'master' into fix_hyperroid 2020-11-06 15:40:59 +01:00
Arthur O'Dwyer
d163a01b8a Remove USE_UNORDERED_MAP because it has bit-rotted.
Trying to compile with `-DUSE_UNORDERED_MAP` produces lots of compiler errors
like these, because of missing `std::hash` specializations.
Also, `#define unordered_map map` is just evil!

```
./nonisotropic.cpp:875:36: note: in instantiation of template class 'std::__1::unordered_map<hr::nilv::mvec, hr::heptagon *,
      std::__1::hash<hr::nilv::mvec>, std::__1::equal_to<hr::nilv::mvec>, std::__1::allocator<std::__1::pair<const hr::nilv::mvec, hr::heptagon
      *> > >' requested here
    unordered_map<mvec, heptagon*> at;
                                   ^

./nonisotropic.cpp:239:58: note: in instantiation of template class 'std::__1::unordered_map<std::__1::pair<hr::heptagon *, hr::heptagon *>,
      hr::heptagon *, std::__1::hash<std::__1::pair<hr::heptagon *, hr::heptagon *> >, std::__1::equal_to<std::__1::pair<hr::heptagon *,
      hr::heptagon *> >, std::__1::allocator<std::__1::pair<const std::__1::pair<hr::heptagon *, hr::heptagon *>, hr::heptagon *> > >'
      requested here
    unordered_map<pair<heptagon*, heptagon*>, heptagon*> at;
                                                         ^

./nonisotropic.cpp:457:49: error: no matching member function for call to 'iadj'
      while(h1->distance < h2->distance) back = iadj(h2, down) * back, h2 = h2->cmove(down);
                                                ^~~~
cell.cpp:42:15: note: candidate function not viable: no known conversion from 'hr::sn::hrmap_solnih' to 'hr::hrmap' for object argument
  transmatrix iadj(heptagon *h, int d) {
              ^
cell.cpp:41:22: note: candidate function not viable: no known conversion from 'hr::sn::hrmap_solnih' to 'hr::hrmap' for object argument
  struct transmatrix iadj(cell *c, int i) { cell *c1 = c->cmove(i); return adj(c1, c->c.spin(i)); }
                     ^
```
2020-10-19 13:15:29 -04:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
still-flow
a8691f0d8e fix hyperroid builds
- add cap guards where necessary
- adapt to new `shiftpoint` datatype and function interfaces thereof
2020-10-05 21:48:56 +03:00