1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 03:04:48 +00:00
Commit Graph

242 Commits

Author SHA1 Message Date
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
Zeno Rogue
26fb19e7a8 subdivided game.cpp; split movepcto into separate functions 2019-12-08 20:07:02 +01:00
Zeno Rogue
8386a14d6a 'circles' are now drawn on all copies in quotient geometries 2019-12-06 14:03:02 +01:00
Zeno Rogue
dafb4ae582 correctly display/rotate the PC in product 2019-12-06 12:15:33 +01:00
Zeno Rogue
622b683e33 drawcell parameter is now cell, not cellwalker (need to check half-elliptic) 2019-11-30 18:04:54 +01:00
Zeno Rogue
982f01e6e5 tracking the specific copy of the player in confusing geometries 2019-11-23 19:05:24 +01:00
Zeno Rogue
bf584b5429 more movei 2019-11-22 18:48:51 +01:00
Zeno Rogue
6d44105fef more movei. Also animated Friendly Ivy growth 2019-11-22 18:07:16 +01:00
Zeno Rogue
2172ca6fd7 movei used in more places, also improved push in shmup 2019-11-22 17:31:23 +01:00
Zeno Rogue
ad501869f1 added some missing guards 2019-11-15 14:52:21 +01:00
Zeno Rogue
45ba2f0229 shmup:: sharks on dry land now die/transform 2019-11-14 20:20:35 +01:00
Zeno Rogue
a6d36228b7 shmup:: Butterflies are no longer killable 2019-11-14 20:11:16 +01:00
Zeno Rogue
ef98e048bb shmup:: incorrect cpid protection (just in case) 2019-11-14 20:08:23 +01:00
Zeno Rogue
7602048b06 inv computed in shmup 2019-11-14 19:51:25 +01:00
Zeno Rogue
012d833f50 removed the tohex parameter 2019-11-14 19:33:55 +01:00
Zeno Rogue
85a08d205d refactored celldraw 2019-10-25 12:44:41 +02:00
Zeno Rogue
d11b768bf1 removed destucking code as stucking was fixed by another bugfix 2019-10-06 12:13:30 +02:00
Zeno Rogue
cd04b3f8e8 precision argument for parallel_transport, and reducing it when used many times 2019-10-06 12:10:43 +02:00
Zeno Rogue
54487eb6f3 buffer enforced for the player in 3D shmup 2019-10-06 12:10:43 +02:00
Zeno Rogue
e192506943 fixed mimics in 3D nonisotropic 2019-10-05 18:55:11 +02:00
Zeno Rogue
7f9ffe14af racing:: in 3D, you now reflect off blocking walls 2019-10-05 18:55:11 +02:00
Zeno Rogue
a023003560 stuck prevention and wall sliding 2019-10-05 18:55:11 +02:00
Zeno Rogue
82f7ae05d2 findbase now gets a parameter which tells how many steps to make 2019-10-05 18:55:11 +02:00
Zeno Rogue
aef1787daf fixed a bug with monster placement in shmup 2019-09-30 01:51:28 +02:00
Zeno Rogue
7528acfb23 shmup:: fixed a bug with going through walls 2019-09-28 14:58:38 +02:00
Zeno Rogue
85504de44b shmup:: no more orb usage after death 2019-09-27 17:06:12 +02:00
Zeno Rogue
4c0f2d0ea7 changed the use of m->type == moAsteroid to inertia_based 2019-09-26 13:23:44 +02:00
Zeno Rogue
dca95aa2aa RogueViz stuff 2019-09-26 13:23:10 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
b82a0a8dba shmup:: fixed the keyboard rotation direction inconsistency in 3D 2019-09-12 22:50:15 +02:00
Zeno Rogue
465e93ec57 shmup:: fixed distance checking for product 2019-09-12 22:50:15 +02:00
Zeno Rogue
61ea588ffb shmup for product: player movement 2019-09-12 22:50:15 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 2019-09-12 22:50:13 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
ad03115097 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
245ee5878f removed function dirfromto as it was equal to neighborId 2019-09-12 22:50:12 +02:00
Zeno Rogue
f723a8d419 further cleanup, separated multi.cpp from shmup.cpp 2019-09-12 22:50:12 +02:00