1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 03:34:49 +00:00
Commit Graph

6675 Commits

Author SHA1 Message Date
Zeno Rogue
d037aa0fef bringris:: added get_center 2020-10-26 19:37:58 +01:00
Zeno Rogue
6f8b986d67 fixed disappear to stop at the correct level 2020-10-26 19:37:42 +01:00
Zeno Rogue
49650ee691 fixed max_cells computation 2020-10-26 19:37:34 +01:00
Zeno Rogue
9c376539c4 rotate_block does not rotate if forbidden 2020-10-26 19:37:22 +01:00
Zeno Rogue
c836733ba3 missing CAP 2020-10-26 19:37:05 +01:00
Zeno Rogue
8c53ce662b fix typo 2020-10-26 19:34:40 +01:00
Zeno Rogue
78aa8dcd69 bringris:: fixed mouse control 2020-10-26 19:17:51 +01:00
Zeno Rogue
ca7210081f better matrix handling 2020-10-26 19:17:38 +01:00
Zeno Rogue
4e3a611168 bringris:: set ray::max_cells 2020-10-26 17:48:19 +01:00
Zeno Rogue
e7ba5e1875 no more keys when paused 2020-10-26 17:48:03 +01:00
Zeno Rogue
452cad82cc fixed/removed debug 2020-10-26 17:47:48 +01:00
Zeno Rogue
69e72db9a8 bringris:: visual configuration 2020-10-26 17:46:10 +01:00
Zeno Rogue
d11825021a play sound if rotation not allowed 2020-10-26 12:04:08 +01:00
Zeno Rogue
b409091e29 bringris:: configuration 2020-10-26 12:03:59 +01:00
Zeno Rogue
bcbe154b3a ray:: fix matrix in h2xe 2020-10-26 12:02:24 +01:00
Zeno Rogue
77d16fdc3d change caption for key config 2020-10-26 12:01:33 +01:00
Zeno Rogue
bb00e47ce5 do not create a new model in generate_floorshapes() bitrunc 2020-10-26 12:00:28 +01:00
Zeno Rogue
a225ace0d0 fixed Asonov creation 2020-10-26 11:59:27 +01:00
Zeno Rogue
8ce684d628 removing and changing defaults in savers 2020-10-26 11:51:39 +01:00
Zeno Rogue
87918fcb4b bringris:: abstracted enable_bgeom 2020-10-26 11:50:10 +01:00
Zeno Rogue
b49e0eb6e7 bringris:: new geometries 2020-10-26 10:54:11 +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
c302aafebd bringris order change fix 2020-10-18 15:04:58 +02:00
Zeno Rogue
c1aa16b160 fixup 2020-10-18 14:49:32 +02:00
Zeno Rogue
8bf9b5f906 fixed EX max_iter_iso 2020-10-18 14:48:35 +02:00
Zeno Rogue
342c1d91ca Bringris update 2020-10-18 14:48:21 +02:00
Zeno Rogue
1890381c0e ray:: changed #if to #ifdef 2020-10-18 14:38:21 +02:00
Zeno Rogue
9f14389489 fixed cgi_string in product 2020-10-18 14:37:55 +02:00
still-flow
0d174064cf mend merge confglict w/ master 2020-10-15 22:43:37 +03:00
still-flow
8274448de8 replace rug::move_forward call 2020-10-15 22:17:00 +03:00
Zeno Rogue
3b60420968 bringris 2020-10-15 16:39:21 +02:00
Zeno Rogue
8a14faa1d0 better debug in renderbuffer 2020-10-15 16:39:05 +02:00
Zeno Rogue
ade824e97c ray:: partially works in web 2020-10-15 16:37:43 +02:00
Zeno Rogue
052854ec74 hyperweb:: auto-resizing 2020-10-15 16:35:44 +02:00
Zeno Rogue
e881f3b8cb parser:: edgelen value 2020-10-15 16:34:07 +02:00
Zeno Rogue
d64c5e338c extra guards 2020-10-15 16:33:52 +02:00
still-flow
9f2f1ba536 force shader re-creation 2020-10-15 00:16:31 +03:00
Zeno Rogue
76462aa1e7 Merge branch 'master' of https://github.com/zenorogue/hyperrogue 2020-10-12 01:29:25 +02:00
Zeno Rogue
35d26d1595 mymake now works with Emscripten 2020-10-12 01:28:50 +02:00
Zeno Rogue
9a2b464778 CLI option: -hroll (reroll hrand) 2020-10-12 01:26:17 +02:00
still-flow
c4f105e148 pushd, popd -> cd 2020-10-08 22:21:34 +03:00
Zeno Rogue
b74509c95a Five new projections: Poor Man (hyperbolic only), Panini, retroazimuthal: Craig, Hammer, Littrow (retro-Hammer buggy on sphere) 2020-10-08 18:22:28 +02:00
still-flow
273282682a update README 2020-10-07 21:35:22 +03:00
still-flow
4b11eac0ff chmod u+x gradlew 2020-10-07 00:36:16 +03:00
Zeno Rogue
34dc8fcc6e various fixes related to product spaces, especially product+inverse 2020-10-06 21:11:27 +02:00
Zeno Rogue
95f65fa965 bandshift now usable in product 2020-10-06 21:10:18 +02:00
Zeno Rogue
388b4e1667 det now uses MDIM not GDIM 2020-10-06 21:09:03 +02:00
Zeno Rogue
311ee10cf1 field distance is known only in PURE and BITRUNCATED 2020-10-06 21:08:06 +02:00
Zeno Rogue
f5eff4e225 fixed the dialog navigation keys 2020-10-06 21:07:34 +02:00
Zeno Rogue
f2fcbf4b81 go back is now BACKSPACE in Web, except number/string dialogs 2020-10-06 21:07:12 +02:00