1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00
hyperrogue/rogueviz
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
..
balls.cpp rogueviz/balls: improvement 2020-09-11 11:09:10 +02:00
banachtarski.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
bringris.cpp bringris order change fix 2020-10-18 15:04:58 +02:00
collatz.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
cvl.cpp fixed rogueviz/cvl 2020-07-30 10:13:46 +02:00
flocking.cpp shift-awareness in rogueviz 2020-07-29 23:34:00 +02:00
fullnet.cpp shift-awareness in rogueviz 2020-07-29 23:34:00 +02:00
functions.cpp shift-awareness in rogueviz 2020-07-29 23:34:00 +02:00
fundamental.cpp shift-awareness in rogueviz 2020-07-29 23:34:00 +02:00
grigorchuk.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
impossible-ring.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
janko.cpp Remove USE_UNORDERED_MAP because it has bit-rotted. 2020-10-19 13:15:29 -04:00
kohonen.cpp shift-awareness in rogueviz 2020-07-29 23:34:00 +02:00
magiccube.cpp shift-awareness in rogueviz 2020-07-29 23:34:00 +02:00
magmahep.cpp Remove USE_UNORDERED_MAP because it has bit-rotted. 2020-10-19 13:15:29 -04:00
newconf.cpp Remove USE_UNORDERED_MAP because it has bit-rotted. 2020-10-19 13:15:29 -04:00
noniso-honeycombs.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
pentagonal.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
pentaroll.cpp rv::pentaroll:: improved 2020-09-16 23:49:17 +02:00
plane-immersion.cpp added the plane immersion visualization 2020-05-25 02:32:44 +02:00
presentation.cpp added CAP_VIDEO guards 2020-09-23 18:42:47 +02:00
qtm.cpp rogueviz::qtm now uses hooks_cellgen 2020-08-23 00:16:50 +02:00
random-walk.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
reverb.cpp reverb:: example commandlines 2020-05-26 17:40:30 +02:00
rewriting.cpp shift-awareness in rogueviz 2020-07-29 23:34:00 +02:00
rogueviz-all.cpp improved presentation support in RogueViz 2020-09-11 11:48:27 +02:00
rogueviz.cpp Remove USE_UNORDERED_MAP because it has bit-rotted. 2020-10-19 13:15:29 -04:00
rogueviz.h improved presentation support in RogueViz 2020-09-11 11:48:27 +02:00
sag.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
snow.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
spiral.cpp rogueviz:: spiral to a separate file 2020-03-29 15:36:43 +02:00
staircase.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
starbattle.cpp starbattle:: undo, lines have fixed colors, nicer lines, and other minor improvements 2020-09-23 14:53:10 +02:00
sumotron.cpp rogueviz:: added sumotron 2020-08-02 12:56:43 +02:00
sunflower.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
tree.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00
triangle.cpp rvtour:: finished changing rvtour to pres 2020-09-13 06:32:18 +02:00