1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-23 16:50:27 +00:00
Commit Graph

279 Commits

Author SHA1 Message Date
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
Zeno Rogue
d2c2140cc9 shmup better with fake 2020-06-02 02:27:06 +02:00
Zeno Rogue
f69b6f0795 fixed Orb of Safety in multiplayer 2020-05-16 02:38:13 +02:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming 2020-04-19 13:39:07 +02:00
Zeno Rogue
0472bf764f moved all projection-related parameters to a special struct; another copy of that struct created for rug 2020-04-17 00:53:58 +02:00
Arthur O'Dwyer
0d42168139 Make hookset<T> a pointer type, just like purehookset.
No more declaring `hookset<T> *hooks_foo`; now it's just
`hookset<T> hooks_foo` at global scope. This clears the way to
make `hookset<T>` into a class type if we want.
2020-04-12 10:50:18 -04:00
Arthur O'Dwyer
934e3d9a42 Consistently name every hookset with prefix hooks_. NFC.
I'm sure this causes massive merge-conflicts in the non-public code,
but I think it'd be a good idea, if only to avoid confusion between
e.g. `clearMemory` and the-variable-formerly-known-as `clearmemory`.
2020-04-12 10:49:32 -04:00
Zeno Rogue
e4a8b73819 nisot:: nicer precision setting 2020-04-11 15:08:24 +02:00
Zeno Rogue
cfbd5f830c fixed some warnings and errors with ll to int assignment 2020-04-06 09:13:20 +02:00
Arthur O'Dwyer
364c33b1d8 Fix a (likely harmless) integer overflow in shmup.cpp.
shmup.cpp: In function ‘void hr::shmup::moveMonster(hr::shmup::monster*, int)’:
    shmup.cpp:1851:41: error: overflow in implicit constant conversion [-Werror=overflow]
         else killMonster(m, moNone, AF_CRUSH);
                                             ^
2020-03-23 14:39:30 -04:00
Zeno Rogue
7096d152be product:: shmup:: monsters rotate correctly 2020-03-21 09:35:54 +01:00
Zeno Rogue
e6b5a333ba fixed pushing in shmup 2020-03-08 00:02:00 +01:00
Zeno Rogue
a9febe3122 fixed a bug with Greater Demons in shmup 2020-03-07 12:21:12 +01:00
Zeno Rogue
109b57df14 added a comma in shmup help text 2020-01-28 17:58:55 +01:00
Zeno Rogue
1fc05a99b8 queuechr fixup 2019-12-27 00:50:54 +01:00
Zeno Rogue
c247936e34 removed the functions queuechr -- use queuestr now 2019-12-26 23:38:28 +01:00