1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
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
Zeno Rogue
b14aeedcf4 2.5D: changed Desert sky colors 2020-08-01 16:47:37 +02:00
Zeno Rogue
a27419cf97 cool fog effect now can be disabled 2020-08-01 16:47:21 +02:00
Zeno Rogue
7c3c34c3d8 sky-based fog in 2.5D 2020-08-01 13:59:53 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
f3c35de400 more guards cont. 2020-07-03 14:48:36 +02:00
Zeno Rogue
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
Zeno Rogue
2a0b0101fd raycasting in 2D 2020-06-03 15:11:20 +02:00
Zeno Rogue
2c79a6aeff fixed freeze while drawing the sky in {n,infty} FPP 2020-05-29 10:29:13 +02:00
Zeno Rogue
61e249a3af fixed skies in the new lands 2020-05-16 01:06:47 +02:00