1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-04 21:26:17 +00:00
Commit Graph

249 Commits

Author SHA1 Message Date
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
f0f6ae7514 removed unused references to pathdist from kraken movement 2022-09-17 11:13:36 +02:00
Zeno Rogue
894ee3ad8e savemem:: more aggresive adj_memo clear 2022-07-17 14:41:57 +02:00
Zeno Rogue
6225fd38e8 savemem:: removed some more potential crashes 2022-07-17 14:41:57 +02:00
Zeno Rogue
32ed3d98ee savemem:: fixed a crash caoused by not erasing adj_memo 2022-07-17 12:39:55 +02:00
Arthur O'Dwyer
0ae74aad62 Fix more instances of Clang's -Wunqualified-std-cast-call 2022-07-05 13:28:00 -04:00
Zeno Rogue
7a7a982b33 sword attacks reflect in mirrors 2022-06-17 10:27:02 +02:00
Zeno Rogue
227270283f mimics are now affected by Empathy, and no longer can reverse slime colors by going through mirror 2022-06-17 09:22:25 +02:00
Zeno Rogue
56b0912ef0 Halloween:: fixed the jack-o-lantern 2022-06-17 01:26:44 +02:00
Zeno Rogue
793148729b An option to play on a disk (and use bounded space rules). Also renamed 'bounded' flag to 'closed' or similar, and improved Halloween 2022-05-21 13:08:42 +02:00
Zeno Rogue
12b6ff7208 fixed Prairie in field quotient 2022-04-26 16:19:02 +02:00
Zeno Rogue
fd634e6de8 fixed land_structure for princess/racing/heptagonal achievements 2022-02-02 03:01:31 +01:00
Zeno Rogue
c4a55669c8 Hyperbugs now ignore the player in peace mode. 2021-12-12 21:21:27 +01:00
Zeno Rogue
32bfdf42c3 Krakens no longer destroy player boats in peaceful mode 2021-12-12 20:35:18 +01:00
Zeno Rogue
5d81260f0b expansion_analyzer is now in cgi 2021-12-11 23:28:05 +01:00
Zeno Rogue
215f203d40 removed the Gardener flag as it is handled by achievement_gain_once 2021-11-07 08:43:41 +01:00
Zeno Rogue
99f85aecfd option disable_bigstuff for some experiments 2021-09-30 13:22:12 +02:00
Zeno Rogue
b88ec8550e mimics destroyed correctly in the map editor 2021-09-30 13:16:22 +02:00
Zeno Rogue
a6151f185f refactored whirlline loop detection 2021-08-08 19:13:09 +02:00
Zeno Rogue
025893e946 cleaned up where summoned creature appears for Orb of Life and Orb of Friendship 2021-08-08 19:04:58 +02:00
Zeno Rogue
ced16a2f4e sword:: fixed a possible crash on incomplete maps 2021-07-31 15:13:44 +02:00
Jesse Ruderman
123994bdc2 Fix UB when sorting empty vecs 2021-07-11 20:54:25 -07:00
Jesse Ruderman
c67f9b72af Cave transformation is fairer to players 2021-07-10 02:32:13 -07:00
Zeno Rogue
296d2d10e3
Merge pull request #196 from jruderman/f4
Fix crash after using Orb of Domination
2021-07-10 09:45:09 +02:00
Jesse Ruderman
15f90f194e Kraken Tentacle attacks now obey Warp restrictions 2021-07-09 21:20:30 -07:00
Jesse Ruderman
45b6317e69 Fix crash after using Orb of Domination 2021-07-09 20:51:07 -07:00
Zeno Rogue
4b3f72cc56 3D variations: subcubes 2021-07-07 01:48:20 +02:00
Zeno Rogue
ca6eb9d8ef swap_data is now a general template function, not in tortoise 2021-06-17 09:44:47 +02:00
Zeno Rogue
7f15f3b46f Angry Dice are now hot and destroy living walls 2021-06-01 13:07:56 +02:00
Zeno Rogue
1fb1f614de Raging Bulls generated from Herd Bulls crashing into walls offscreen no longer permanently block the way when offscreen 2021-06-01 13:07:55 +02:00
Zeno Rogue
a99be21653 clearing in gBinaryTiling 2021-04-25 11:10:09 +02:00
Zeno Rogue
4b1b0516f3 choice of the land structure 2021-04-11 22:15:40 +02:00
Zeno Rogue
d96f92c0f8 support for portal spaces 2021-02-18 16:16:34 +01:00
Zeno Rogue
a4373e5328 1 not 1234 2021-02-07 22:55:11 +01:00
Zeno Rogue
c57566f9da highlights in special modes 2021-02-07 22:55:11 +01:00
Zeno Rogue
0c0ca95897 fixed the 4xStabber and Princess achievements 2021-02-07 22:55:10 +01:00
Zeno Rogue
9c9afceb41 Princess hug animation 2020-12-26 18:09:09 +01:00
Zeno Rogue
1f5951dbee fixed a crash bug when collecting an Orb of Safety via Orb of Water 2020-12-26 17:16:51 +01:00
Zeno Rogue
0f1c8ec102 create a fake info for an unknown princess 2020-12-26 17:16:22 +01:00
Zeno Rogue
e13172f9ab fixed crashes caused by missing rev_dir 2020-12-25 06:07:30 +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
63f895974e improved the checkmove.cpp, also works for golems now 2020-11-05 14:24:01 +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
Zeno Rogue
b72414ae2a halloween: dragons only in sphere 2020-09-17 04:36:36 +02:00
Zeno Rogue
68fa0c83e7 fixed Halloween 2020-09-17 04:35:49 +02:00
Zeno Rogue
1f1e7d9bbf inverse tessellation operators 2020-07-12 21:39:34 +02:00
Arthur O'Dwyer
f2b7746c1b Move all defaulting-of-CAP_FOO to sysconfig.h.
- The phrase `#ifdef CAP_` should never appear anywhere.

- The phrase `#ifndef CAP_` should appear only in sysconfig.h.

- The phrases `#if CAP_` and `#if !CAP_` may appear wherever,
    as long as "sysconfig.h" is included first.

The rules for `CAP_FOO` equally apply to `ISFOO`.

There are many one-off macros still tested with `#ifdef`,
including `HAVE_ACHIEVEMENTS`, `PRINT_ACHIEVEMENTS`,
`FAKEWEB`, `FAKE_SDL`, `EASY`, and `WHATEVER`. I don't
have much grasp on what these are used for or how they're
configured, so I'm leaving them alone.
2020-05-03 15:12:12 -04:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming 2020-04-19 13:39:07 +02:00
Zeno Rogue
85a404bfe8 CA awards Orb of Aether automatically 2020-04-12 20:38:17 +02:00