1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00
Commit Graph

41 Commits

Author SHA1 Message Date
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
Zeno Rogue
26fb19e7a8 subdivided game.cpp; split movepcto into separate functions 2019-12-08 20:07:02 +01:00
Zeno Rogue
622b683e33 drawcell parameter is now cell, not cellwalker (need to check half-elliptic) 2019-11-30 18:04:54 +01:00
Zeno Rogue
aeaaf7586a refactored map functions: ddspin, iddspin, spacedist, spin_angle, virtualRebase[simple], adj 2019-11-14 16:51:50 +01:00
Zeno Rogue
43bf7c5cfe fixed MAXMDIM guards 2019-11-03 14:19:11 +01:00
Zeno Rogue
85a08d205d refactored celldraw 2019-10-25 12:44:41 +02:00