1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00
Commit Graph

938 Commits

Author SHA1 Message Date
Zeno Rogue
958388eec2 fixed colors of underwater compasses and rugs 2020-07-24 16:21:11 +02:00
Zeno Rogue
f3c35de400 more guards cont. 2020-07-03 14:48:36 +02:00
Zeno Rogue
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
Zeno Rogue
2a0b0101fd raycasting in 2D 2020-06-03 15:11:20 +02:00
Zeno Rogue
7bb4407273 flip_dark 2020-05-29 02:42:54 +02:00
Zeno Rogue
b785a0a7cc frustum_culling can now be disabled 2020-05-25 02:27:23 +02:00
Zeno Rogue
61e249a3af fixed skies in the new lands 2020-05-16 01:06:47 +02:00
Zeno Rogue
033a9099d6 improved discrete animation while affine 2020-05-15 22:52:52 +02:00
Zeno Rogue
437722fe58 'light' movestar now has size adjusting to geometry 2020-05-15 15:30:04 +02:00
Zeno Rogue
9c676d082a WASD keys and VI keys as help for keyboard users options 2020-05-15 15:28:59 +02:00
Zeno Rogue
e8461d8661 fixed legs in rotspaces being drawn far away 2020-05-15 14:54:11 +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
1f31c2cd7a more safe clipping in Sol 2020-04-29 15:19:25 +02:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming 2020-04-19 13:39:07 +02:00
Zeno Rogue
c24658bf38 more drawing tool improvements; no crash drawing tool; restart editors will ask for confirmation 2020-04-17 20:34:49 +02:00
Zeno Rogue
ad233a1e19 drawing tool 2020-04-17 20:04:33 +02:00
Zeno Rogue
14cb26b986 fixed the Handsome Gardener's Flower 2020-04-17 15:03:23 +02:00
Zeno Rogue
c0115e60e9 added some more debug lines to DF_GRAPH 2020-04-17 15:03:05 +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
Zeno Rogue
7f08ca01a2 fat edges are now printable 2020-04-15 16:21:30 +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
c0e0e1562f export wrap_drawfullmap 2020-04-11 00:41:57 +02:00
Zeno Rogue
43fd94bed6 fixed flashes disappearing 2020-04-06 09:48:34 +02:00
Zeno Rogue
7fc0d5b051 less awkward map position in portrait 2020-04-06 09:13:20 +02:00
Zeno Rogue
cfbd5f830c fixed some warnings and errors with ll to int assignment 2020-04-06 09:13:20 +02:00
Zeno Rogue
6817ed42ad allowIncreasedSight now returns true after gameover 2020-04-02 12:56:26 +02:00
Arthur O'Dwyer
5cc8a41beb Turn C-style casts into reinterpret_casts for clarity. NFC. 2020-03-23 14:48:41 -04:00
Arthur O'Dwyer
13bf666e29 Lambdas can't have default arguments until C++14.
Arguably this is a reason to upgrade from C++11 to C++14,
or to give up completely on `-pedantic`, but I think it's
easy enough to eliminate these few nits.
2020-03-23 14:38:57 -04:00
Arthur O'Dwyer
a0da10b408 Remove extraneous semicolons to quiet pedantic GCC warnings. 2020-03-23 14:38:57 -04:00
Zeno Rogue
8aaeb4ea69 sight range changing no longer considered cheating in arb 2020-03-22 12:02:58 +01:00
Zeno Rogue
c3fdc34f7c fixed CAP_RAY guards 2020-03-21 19:05:17 +01:00
Zeno Rogue
5bd291784b kite:: sidewalls were not arranged correctly 2020-03-21 09:28:16 +01:00
Zeno Rogue
f0e132f57a replaced parameters of geo_dist in precise_mouseover to fix incorrect working sometimes 2020-03-07 04:47:11 +01:00
Zeno Rogue
1a7ba1b556 fixed/changed some descriptions 2020-03-07 04:47:11 +01:00
Zeno Rogue
5e48af2bb3 world turtles 2020-03-07 04:47:10 +01:00
Zeno Rogue
2585affdf3 factored out orb_auxiliary_color 2020-03-07 04:47:10 +01:00
Zeno Rogue
688fc50036 Orb of Plague improved 2020-03-07 04:47:10 +01:00
Zeno Rogue
e564622a48 rewritten undo: part 1 2020-03-07 04:47:10 +01:00
Zeno Rogue
45bc731a5b colored Frog Jump Legs 2020-03-07 04:47:10 +01:00
Zeno Rogue
a12bdf5d40 3D models for Frogs and Pikes 2020-03-07 04:47:10 +01:00
Zeno Rogue
0de0714ba5 colors for Orb of Chaos and Orb of Plague 2020-03-07 04:47:10 +01:00
Zeno Rogue
b34df21540 Eclectic in 3D 2020-03-07 04:47:10 +01:00
Zeno Rogue
d725c2b17c Gold Ball looks like ball 2020-03-07 04:47:10 +01:00
Zeno Rogue
8fb66450dd Rusalka/Topielec graphics 2020-03-07 04:47:10 +01:00
Zeno Rogue
5622901b5a consistent coloring of Frog-orbs and Impact 2020-03-07 04:47:10 +01:00
Zeno Rogue
513750a028 vector graphics of Frogs and Pikes 2020-03-07 04:47:10 +01:00
Zeno Rogue
99e64d862d shallow water graphics and mechanics 2020-03-07 04:47:09 +01:00
Zeno Rogue
5707fac1a7 new ring shape: shFrogRing 2020-03-07 04:47:09 +01:00
Zeno Rogue
8005b39f6f ASCII/3D mode, also reacts to neon settings 2020-01-30 17:45:05 +01:00
Zeno Rogue
081fee1907 fixed lmouseover computation destroying dual geometry 2020-01-29 18:21:12 +01:00
Zeno Rogue
f05fa60400 added MAXMDIM guards 2020-01-29 18:18:51 +01:00
Zeno Rogue
be90304f12 better display of trapdoors in Zebra 3D 2020-01-28 17:58:55 +01:00
Zeno Rogue
b931e5e333 fixed z-fighting when drawing Onyx in 3D 2020-01-28 17:58:55 +01:00
Zeno Rogue
9f947c70a7 fat edges in linepatterns in 3D 2020-01-28 17:58:55 +01:00
Zeno Rogue
4b7739e80d fixed a freeze when drawing offscreen grid lines 2020-01-19 11:49:35 +01:00
Zeno Rogue
2271a67506 removed the MAX_EDGE limit 2020-01-18 16:03:32 +01:00
Zeno Rogue
61261a5acc removed debug 2020-01-02 17:20:37 +01:00
Zeno Rogue
f1dd349cee static_bubbles (always false) 2020-01-02 16:54:28 +01:00
Zeno Rogue
7b6ffd689c export drawPlayer 2020-01-02 16:54:16 +01:00
Zeno Rogue
a37457ead9 precise_width for nicer long lines 2020-01-02 16:51:32 +01:00
Zeno Rogue
3e33aadba4 gridline now automatically improves the precision when edges are long 2019-12-27 12:42:16 +01:00
Zeno Rogue
aeac634abd downseek works in Euclidean now 2019-12-27 11:14:25 +01:00
Zeno Rogue
c247936e34 removed the functions queuechr -- use queuestr now 2019-12-26 23:38:28 +01:00
Zeno Rogue
c4528bf954 bubbles react to neon 2019-12-26 23:32:27 +01:00
Zeno Rogue
6c61162392 merge 2019-12-26 22:40:41 +01:00
Zeno Rogue
2f9419615d fixed turn-based multiplayer 2019-12-26 10:29:41 +01:00
Zeno Rogue
b53b98f0d5 fixed a bug in drawBubble 2019-12-26 09:40:28 +01:00
Zeno Rogue
dd95d8070c better bubbles 2019-12-25 23:10:36 +01:00
Zeno Rogue
e8ec32d078 text bubbles 2019-12-25 22:01:57 +01:00
Zeno Rogue
4848cb1b87 show the big numbers in the Clearing 2019-12-25 21:57:25 +01:00
Zeno Rogue
769982040d renamed solnihv:: to sn:: and solnih to sn::in() 2019-12-14 12:28:45 +01:00
Zeno Rogue
8cfc5a578f renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()' 2019-12-14 12:12:24 +01:00
Zeno Rogue
d5c8aebf16 renamed binary:: to bt:: and binarytiling to bt::in() 2019-12-14 12:05:01 +01:00
Zeno Rogue
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
0a9ec78c18 remplace euclid6, euclid4, 'euclid && \!archimedean && \!penrose' with standard_tiling(), euc::in(dimension, s7) 2019-12-14 11:57:23 +01:00
Zeno Rogue
e5a2116958 fixed hunting flashes 2019-12-08 20:07:02 +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
415922ff1b fixed precise_mouseover for hybrid (something weird there?) and confusing spaces 2019-12-06 13:05:54 +01:00
Zeno Rogue
ac9d18adfb simplified the drawing algo for product 2019-12-06 11:47:26 +01:00
Zeno Rogue
99ab57086b in_wallopt(): auto in racing 2019-12-06 11:45:19 +01:00
Zeno Rogue
1cba452f07 rewritten the Euclidean geometry 2019-11-30 18:06:47 +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
5a2a893254 fixup to 982f01e6e : removed debug 2019-11-23 20:41:56 +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
3139feb50c animateMovement: correct even if moved to the same cell 2019-11-22 19:39:50 +01:00
Zeno Rogue
939c979f19 movement arrows drawn correctly only in the target direction even if multiple 2019-11-22 19:00:11 +01:00
Zeno Rogue
bf584b5429 more movei 2019-11-22 18:48:51 +01:00
Zeno Rogue
a1c7b8db3d animateMov YA fixup 2019-11-22 16:46:37 +01:00
Zeno Rogue
441b6180db removed old animateAttack 2019-11-22 16:46:25 +01:00
Zeno Rogue
d05ec40014 fixup animateMovement 2019-11-22 16:37:32 +01:00
Zeno Rogue
3078451283 used movei in movement animations; also replaced animateReplacement with indAnimateMovement 2019-11-22 16:32:05 +01:00
Zeno Rogue
2458ec715d removed calc_relative_matrix with direction hint; used adj in more places 2019-11-22 14:34:56 +01:00
Zeno Rogue
8fad2bc9d5 replaced compute_relamatrix and some cases of calc_relativematrix with adj 2019-11-22 14:25:13 +01:00
Zeno Rogue
928e369977 ray:: stereo modes 2019-11-16 03:04:01 +01:00
Zeno Rogue
012d833f50 removed the tohex parameter 2019-11-14 19:33:55 +01:00
Zeno Rogue
3eee611eca nisot::local_perspective moved to display_data 2019-11-14 17:20:55 +01:00
Zeno Rogue
aeaaf7586a refactored map functions: ddspin, iddspin, spacedist, spin_angle, virtualRebase[simple], adj 2019-11-14 16:51:50 +01:00