1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 13:27:17 +00:00
Commit Graph

966 Commits

Author SHA1 Message Date
Arthur O'Dwyer
d606c3183b Replace hr::find_or_null with hr::at_or_null. 2021-07-18 17:43:03 -04:00
Arthur O'Dwyer
74052ef2bf Replace IF_KEY_EXISTS with a plain old function, not a macro. 2021-07-18 17:21:38 -04:00
Zeno Rogue
cd60b0ffb3 renamed IF_MAP_CONTAINS_KEY to IF_KEY_EXISTS, and used a better implementation 2021-07-18 12:19:49 +02:00
Zeno Rogue
ef8b24ff2a added IF_MAP_CONTAINS_KEY macro 2021-07-18 11:53:18 +02:00
Zeno Rogue
b80bd90174 12.0d 2021-07-13 22:27:05 +02:00
Zeno Rogue
5306334267 update 12.0c 2021-07-04 11:32:51 +02:00
Jesse Ruderman
59b7e7bbdf Remove extra semis in struct defs 2021-06-28 22:33:08 -07:00
Zeno Rogue
e37ca8d5f0 12.0b 2021-06-17 09:53:28 +02:00
Zeno Rogue
7777c7b415 version 12.0a 2021-06-06 11:27:52 +02:00
Zeno Rogue
6d3f1b0b82 version number 12.0 2021-06-03 13:26:33 +02:00
Zeno Rogue
8f563f5deb achievements for 12.0 2021-06-01 13:07:56 +02:00
Zeno Rogue
61891c4eb8 implemented curses 2021-05-02 15:16:29 +02:00
Zeno Rogue
3003cda827 11.4k 2021-05-01 14:14:28 +02:00
Zeno Rogue
639122e314 added faraway monster highlight as in @still-flow's pull request 2021-04-30 19:44:54 +02:00
Zeno Rogue
ffe61e27bf 11.4j 2021-04-25 11:55:37 +02:00
Zeno Rogue
42b440c1f4 11.4i 2021-04-23 21:52:18 +02:00
Zeno Rogue
4bb6379a53 11.4h 2021-04-15 19:59:40 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
fe0e7f8421 rug:: prevented rug::renderonce from disabling rug camera movement keys 2021-04-07 18:15:58 +02:00
Zeno Rogue
1dc655df5a color fixup (header) 2021-03-25 10:57:16 +01:00
Arthur O'Dwyer
1761b02b90 Rationalize some std::exception stuff. 2021-03-21 17:57:09 -04:00
Zeno Rogue
242b601a51 added hr_exception_str 2021-03-21 10:44:38 +01:00
Zeno Rogue
5f86ed6b4b fixed more fallthroughs, added exception hr_wrong_geometry 2021-03-12 22:59:24 +01:00
Zeno Rogue
e4947acef7 illegal cases in binarytiling.cpp now throw hr_wrong_dir() 2021-03-12 15:30:12 +01:00
Zeno Rogue
f180f447e6 11.4g 2021-03-09 16:29:05 +01:00
Zeno Rogue
0020957906 finalizer struct, and fixed animations breaking 2021-03-06 11:47:54 +01:00
Zeno Rogue
42c6f2774a 11.4f 2021-02-07 22:55:11 +01:00
Zeno Rogue
015f6227fa redone basic graphics settings (vsync, resolution, fullscreen, gl/aa) 2021-02-07 22:55:10 +01:00
Zeno Rogue
992c44c7e6 11.4e 2020-12-31 19:19:19 +01:00
Zeno Rogue
ec70119c3e moved vr_scale_factor and vr_zshift to pconf, and added some new projection parameters for the future 2020-12-31 19:11:13 +01:00
Zeno Rogue
f664e8fbce hassert: implemented without println 2020-12-25 06:06:09 +01:00
Zeno Rogue
075d9002c2 fixed hassert 2020-12-25 00:03:27 +01:00
Zeno Rogue
b0d60f42f9 11.4d 2020-11-22 20:00:43 +01:00
Zeno Rogue
665d52eeae 11.4c 2020-11-19 18:16:59 +01:00
Zeno Rogue
54cb73e0fd 11.4b 2020-11-10 15:41:05 +01:00
Zeno Rogue
b1cb66e468
Merge pull request #129 from Quuxplusone/unordered-map
Remove USE_UNORDERED_MAP because it has bit-rotted.
2020-11-05 20:03:13 +01:00
Zeno Rogue
67af738cd6 11.4a 2020-11-05 18:53:37 +01:00
Zeno Rogue
9b6d78b7ed 11.4 2020-11-02 11:47:57 +01:00
Zeno Rogue
8c4b700466 show_hyperboloid_flat option 2020-11-01 20:10:08 +01:00
Zeno Rogue
96d28d173a MXDIM, and some extra comments 2020-11-01 17:37:51 +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
b09b2375bc 11.3z1 2020-09-21 12:59:05 +02:00
Zeno Rogue
d87287c155 web:: offer_download and offer_choose_file 2020-09-21 12:00:52 +02:00
Zeno Rogue
e3a45b0141 11.3z 2020-09-17 04:37:57 +02:00
Zeno Rogue
cea3da31fc separated highlight 2020-09-16 23:49:17 +02:00
Zeno Rogue
2e47adef1c new projections based on cartography 2020-09-16 23:49:17 +02:00
Zeno Rogue
db646aba5d hook deletion 2020-09-11 11:17:12 +02:00
Zeno Rogue
18ab187547 rotational model of Nil, and change Nil rotation 2020-09-11 11:13:18 +02:00
Zeno Rogue
dac3a3260a 11.3y 2020-08-20 16:49:47 +02:00
Zeno Rogue
644d20cd89 smartrange area-based 2020-08-20 16:49:47 +02:00