1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 23:49:53 +00:00
Commit Graph

294 Commits

Author SHA1 Message Date
Zeno Rogue
45d2a2c4bb fixed to point2 instead of hpxy in mousedist and shmup 2022-12-13 23:27:59 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
bf001926c2 refactored the vertical movement functions 2022-12-09 02:33:15 +01:00
Zeno Rogue
adfab30c62 fixed a bug with shmup missile levels 2022-12-09 02:33:15 +01:00
Zeno Rogue
06523e063e used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable 2022-11-13 16:22:55 +01:00
Zeno Rogue
b4302ac6b4 shmup:: count_pauses is now reset to 0, and also not displayed in standard shmup 2022-11-04 23:15:00 +01:00
Zeno Rogue
035532ef26 shmup:: fixed pink tortoises 2022-11-04 23:15:00 +01:00
Zeno Rogue
774c8a9744 shmup:: Bulls now correctly destroy walls they crash into 2022-11-04 23:15:00 +01:00
Zeno Rogue
4daacb7337 shmup:: used curtime correctly instead of ticks; also fixed Flail Guards 2022-11-04 23:15:00 +01:00
Zeno Rogue
fb6e8b72da racing:: limit on pauses 2022-10-27 16:06:39 +02:00
Zeno Rogue
db353755d3 symmetric pathdist 2022-09-17 11:21:33 +02:00
Zeno Rogue
8e094e93a5 shmup save data not only in shmup 2022-07-23 16:33:00 +02:00
Zeno Rogue
3b816f46fc fixed race reset 2022-06-21 10:34:43 +02:00
Zeno Rogue
9ae7bb3d7b swords in mirrors are now displayed correctly 2022-06-17 09:43:37 +02:00
Zeno Rogue
0c445ef365 switching shmup no longer invokes keyboard configuration 2022-06-16 23:58:28 +02:00
Zeno Rogue
82d9124d3f fixed hadoken missiles not displaying correctly in shmup 3D 2022-04-07 20:52:33 +02:00
Zeno Rogue
0843b3c600 multi:: don't count pkills/selfhits if still protected byfragoff; increased the bullet_time 2022-03-27 22:47:51 +02:00
Zeno Rogue
a6cbedc944 multi:: PvP, friendly-fire, and self-hits options 2022-03-27 22:47:51 +02:00
Zeno Rogue
248c48613e shmup:: in split screen, monsters/missiles are now handled with the closest player 2022-03-27 22:47:51 +02:00
Zeno Rogue
68b2960dd5 shmup:: improved docs for monster struct 2022-03-27 22:47:51 +02:00
Zeno Rogue
fbb75309d0 multi:: split_screen for standard shmup, not racing 2022-03-27 22:47:51 +02:00
Zeno Rogue
72865478aa splitscreen off now works correctly in racing 2022-03-27 22:47:50 +02:00
Zeno Rogue
45d684d813 fixed drawPlayerEffects arguments changed in shmup 2022-02-01 17:02:00 +01: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
982377c26c fixed unused capture warnings 2021-06-03 15:11:24 +02:00
Zeno Rogue
5c5a69b7b8 shmup:: Canyon Hags work 2021-06-01 13:07:56 +02:00
Zeno Rogue
ab92209778 shmup:: Orb of Magnetism, Curse of Water, Curse of Weakness, Curse of Repulsion, Curse of Fatigue now work 2021-06-01 13:07:56 +02:00
Zeno Rogue
be5194958e refactored to use isDie if applicable 2021-06-01 13:07:56 +02:00
Zeno Rogue
b63a70f279 shmup:: knives no longer kill Dice 2021-06-01 13:07:56 +02:00
Zeno Rogue
ad0a362681 Dice Reserve works in shmup 2021-06-01 13:07:56 +02:00
Zeno Rogue
95b4ad28b9 fixed some bugs with which_copy -- now should consistently use the View coordinate system 2021-06-01 13:07:56 +02:00
Zeno Rogue
d7e2b491ac determinePush now accepts movei instead of c 2021-06-01 13:07:55 +02:00
Zeno Rogue
c0002da574 refactored some XLAT calls for automated analysis, fixing some bugs on the way 2021-05-23 16:00:50 +02:00
Zeno Rogue
95d4e942e2 removed obsolete profiling 2021-03-09 10:45:44 +01:00
Zeno Rogue
f00696711a HyperRogue ported to SDL2 (in mymake do -sdl2) 2021-03-06 14:53:25 +01:00
Zeno Rogue
79bf71ce78 shmup::vr:: shmup/racing controls for vr 2020-12-31 19:11:14 +01:00
Zeno Rogue
a614af8dbe shmup: fixed redundant and incorrect revival of mirror spirits 2020-12-25 06:10:12 +01:00
Zeno Rogue
1612b767b3 shmup:: parent-child relation is now based on ref counting 2020-12-25 06:09:36 +01:00
Zeno Rogue
35a502ae9a the rotation fix did not work in SL2 2020-11-14 15:04:52 +01:00
Zeno Rogue
c9fc591e9d fixed the problem in nonisotropic shmup 2020-11-14 14:38:57 +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
eb6cae8810 fixed crash on initialization of monster() 2020-09-23 22:02:22 +02:00
Zeno Rogue
e26f8f5a5b optimized inverses 2020-09-16 23:49:17 +02:00
Zeno Rogue
b782452a4a push Statue/Fire with Orb of Winter 2020-09-16 23:49:17 +02:00
Zeno Rogue
830a2703dd fixed shmup in elliptic 2020-08-05 01:27:18 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
a189fd9ca8 cleaned up findbaseAround 2020-06-03 11:54:28 +02:00
Zeno Rogue
0ae3ab3c9b fake::split() = fake::in() or arb::in_slided() is used when both are applicable for a condition 2020-06-03 11:43:35 +02:00
Zeno Rogue
ab379435d4 with unfitting sliders, also fix shmup 2020-06-02 02:37:30 +02:00