1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-14 01:14:48 +00:00
Commit Graph

6567 Commits

Author SHA1 Message Date
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
still-flow
c114ea1b1d update copy.sh to use Makefile.simple 2020-10-05 22:15:38 +03: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
872301c7cf
Merge pull request #115 from still-flow/mymake_mingw64
Attempt to convince mymake to work on MinGW
2020-09-25 13:03:32 +02:00
still-flow
d924b84c1d
make gdb backtraces explicit
mark them as red checks for convenience
2020-09-25 04:05:12 +03:00
still-flow
253061a4fd stop ignoring return values of some calls 2020-09-24 21:48:46 +03:00
still-flow
f1dab56bab try supporting MinGW64 in mymake 2020-09-24 20:56:29 +03:00
Zeno Rogue
b991b1ae85
Merge pull request #128 from still-flow/ci_mymake
Improve CI configuration in various ways
2020-09-24 12:58:07 +02:00
still-flow
b2c741117d improve CI cfg in various ways:
- prettier-looking step names
- add win-mymake build matrix entry
- fix exit commands
- change the way envvars are set up
- other minor changes
- use gdb on win-mymake builds to catch backtraces (temporarily)
2020-09-24 01:27:47 +03:00