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

185 Commits

Author SHA1 Message Date
Arthur O'Dwyer
f49c57c4f0 Fix a bug found by Clang's -Wtautological-overlap-compare.
./help.cpp:880:89: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare]
        if(!((c->wall == waCavefloor || c->wall == waCavewall) && (c->land == laEmerald && c->land == laCaves)))
                                                                   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
2020-03-23 14:48:56 -04:00
Arthur O'Dwyer
7a706478dc Add a helper function voidp to silence GCC warnings about %p.
We must fully qualify calls to `hr::voidp` because the expression
`voidp(x)` is ambiguous or worse. "/usr/include/zconf.h" defines
`voidp` in the global namespace as a typedef for `void*`.
We don't want an unsafe functional-style cast to `void*`;
we want to call our nice safe helper function. So we qualify the name.
2020-03-23 14:39:28 -04:00
Arthur O'Dwyer
a0da10b408 Remove extraneous semicolons to quiet pedantic GCC warnings. 2020-03-23 14:38:57 -04:00
Zeno Rogue
11447fcb7b tortoise:: shading now can be disabled 2020-03-22 09:46:13 +01:00
Zeno Rogue
4828623960 added people to the credits 2020-03-07 04:47:11 +01:00
Zeno Rogue
362489d629 named Knights 2020-03-07 04:47:11 +01:00
Zeno Rogue
db5bcef578 Orb of Empathy now protects your allies from your indirect attacks 2020-03-07 04:47:11 +01:00
Zeno Rogue
de60f18636 frog power is described in help 2020-03-07 04:47:10 +01:00
Zeno Rogue
62734bbfc5 charge help, and fixed a bug in help in weird geometry warped cells 2020-03-07 04:47:10 +01:00
Zeno Rogue
610ec5a51f Temple rings shown in the help screen 2020-01-28 17:58:55 +01:00
Zeno Rogue
6c61162392 merge 2019-12-26 22:40:41 +01:00
Zeno Rogue
80b702ab76 fixed XLAT 2019-12-25 23:10:59 +01:00
Zeno Rogue
4848cb1b87 show the big numbers in the Clearing 2019-12-25 21:57:25 +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
26fb19e7a8 subdivided game.cpp; split movepcto into separate functions 2019-12-08 20:07:02 +01:00
Zeno Rogue
e8a39e6663 replaced euclid3:: with euc:: 2019-12-08 11:01:28 +01:00
Zeno Rogue
17cd694952 improved CA simulator 2019-12-07 11:12:46 +01:00
Zeno Rogue
30e5353e42 added Ralith to credits 2019-12-06 14:07:04 +01:00
Zeno Rogue
42125679a7 added shnourok to credits 2019-11-30 18:06:48 +01:00
Zeno Rogue
ca40458f44 export in help 2019-11-30 18:06:48 +01:00
Zeno Rogue
b904fdde1e removed the difference between euclid3::coord and array<int,3> -- euclid3::coord is now array<int,3> 2019-11-30 18:06:48 +01:00
Zeno Rogue
293d881afa fixed the blank lines for Power OSM description 2019-11-30 18:06:47 +01:00
Zeno Rogue
beb3a06461 Hyperstone-optional lands are now clearly marked in the Overview, and the Hunting Grounds and Galapagos are now optional in Euclidean 2019-11-30 18:06:47 +01:00
Zeno Rogue
07477e2b23 inv:: buffed up the Orb of Intensity 2019-11-30 18:06:47 +01:00
Zeno Rogue
1cba452f07 rewritten the Euclidean geometry 2019-11-30 18:06:47 +01:00
Zeno Rogue
ef9e2236ba viewctr is no more... major reduction of redundancy/complexity 2019-11-14 00:26:50 +01:00
Zeno Rogue
60ff50e8e2 crystal334: help line shows coordinates in the cheat mode 2019-10-12 13:15:46 +02:00
Zeno Rogue
f5ee8f3c98 added Saplou to credits 2019-10-05 18:55:11 +02:00
Zeno Rogue
0fcdd8ee4c added ShadeBlade to credits 2019-10-05 18:55:11 +02:00
Zeno Rogue
0ace8d9805 fixed wrong display of prize Orb spawn rates 2019-10-05 18:55:11 +02:00
Zeno Rogue
3d7242e918 added more people to credits 2019-09-27 17:34:16 +02:00
Zeno Rogue
d3802ed9e9 renamed Tutorial to Guided tour 2019-09-13 18:01:28 +02:00
Zeno Rogue
e97d1c966e added MagmaMcFry to thanks 2019-09-12 22:50:16 +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
e38f012e63 no more changing clicks on HUD elements in the top line to help 2019-09-12 22:50:16 +02:00
Zeno Rogue
a03eb0d913 fixed new geometry handling for Archimedean 2019-09-12 22:50:15 +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
a76a5dd265 further cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
cb666fb24a more header shifting 2019-09-12 22:50:12 +02:00
Zeno Rogue
c2d56fb9bc autohdr.h applied in more files 2019-09-12 22:50:12 +02:00
Zeno Rogue
a6d9f8f679 added frozenlake to credits 2019-09-12 22:50:08 +02:00
Zeno Rogue
486dd2bb52 added rdococ to thanks 2019-09-12 22:50:07 +02:00
Zeno Rogue
e4ebb66521 Terracotta Warriors now display time 2019-09-12 22:50:01 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
f507b7cf55 fixed Orb of the Warp destroyed while refactoring 2019-09-12 22:42:59 +02:00
Zeno Rogue
f90e1001e3 refactored native and landUnlocked into content.cpp 2019-09-12 22:42:59 +02:00
Zeno Rogue
beeeb7c23b added some people to the credits 2019-09-12 22:42:58 +02:00
Zeno Rogue
54a32441a7 restructured menus 2019-09-12 22:42:58 +02:00
Zeno Rogue
62d115b007 gravity level shown in the help line in 3D 2019-09-12 22:38:47 +02:00
Zeno Rogue
cf57e9fc81 added KosGD to credits 2019-09-12 22:38:45 +02:00
Zeno Rogue
7f1a4864d3 euclidean cheat help now displayed only in masterless 2019-09-12 22:38:45 +02:00
Zeno Rogue
4633231721 added some people to thanks 2019-09-12 22:38:45 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
4564a0203c Brownian shows elevation in the help line 2019-09-12 22:38:39 +02:00
Zeno Rogue
75141e2fde added Allalinor to credits 2019-09-12 22:38:38 +02:00
Zeno Rogue
2dbb081055 added people to credits 2019-09-12 22:38:38 +02:00
Zeno Rogue
acdb9d2219 new lands:: land/monster nativity/treasure rules 2019-04-29 17:19:06 +02:00
Zeno Rogue
bcbacf5b68 fixed minemark help 2019-02-09 21:02:43 +01:00
Arthur O'Dwyer
9471ac4ff5 Rearrange some macros. No functional change intended. 2019-02-08 18:18:56 -05:00
Zeno Rogue
9c47d67b89 fixed obsolete Bomberbird Egg reveal description 2019-02-06 18:48:53 +01:00
Zeno Rogue
ca46a511fb help for land no longer displays help for l, not specialland 2019-02-06 18:48:52 +01:00
Zeno Rogue
444bb762d7 crystal:: added a conduct for doing Camelot without compasses 2019-02-06 18:48:33 +01:00
Zeno Rogue
c56287ae38 orbinfos is a vector now 2019-02-06 16:38:48 +01:00
Zeno Rogue
3e747a2d9d compass probability now can be changed from menu/commandline 2018-12-14 19:27:12 +01:00
Zeno Rogue
460eb19881 implemented new geometries: cylinder and (only one for now) Mobius band 2018-12-11 22:10:53 +01:00
Zeno Rogue
c3c465f742 customizable colors for game objects 2018-11-11 11:27:29 +01:00
Zeno Rogue
1ee6b1eace shmup::addShmupHelp called even on invisible floors 2018-09-27 21:53:11 +02:00
Zeno Rogue
be0c5e4a39 help extensions now can use addSelItem and color 2018-09-05 15:19:51 +02:00
Zeno Rogue
1ab460ffb1 type color_t should now be consistently used for colors; reimplemented drawqueue in OO fashion 2018-09-04 19:53:42 +02:00
Zeno Rogue
6de0f0a8aa instead of nonbitrunc, gp::on and irr::on, there is one variable, variation 2018-08-28 17:17:34 +02:00
Zeno Rogue
c65b4f254d fixed the description of treasures which unlock secondary orbs -- other treasure name given correctly 2018-08-21 18:24:39 +02:00
Zeno Rogue
682f804576 major rewrite: unified the common parts of heptagon and cell via struct connection<T> and struct walker<T> 2018-08-18 00:46:45 +02:00
Zeno Rogue
f734df14f6 fixed a game/translation mismatch 2018-08-01 14:05:03 +02:00
Zeno Rogue
548ee3a54f HELPFUN no longer displays gamescreen(2) by default, to let the presentation designer to choose the brighness themselves 2018-07-23 23:36:29 +02:00
Zeno Rogue
ef182b225e all hr functions/variables used in rogueviz now listed in hyper.h 2018-07-09 21:02:23 +02:00
Zeno Rogue
6303b8033b rogueviz:: help done via hooks 2018-07-09 20:09:56 +02:00
Zeno Rogue
3a8293df27 rogueviz:: tutorial, start/main menu, and welcome message done as hooks 2018-07-09 19:55:56 +02:00
Zeno Rogue
770dd20613 shift+f2 to shift+f4 can now disable HUD, FPS, and the map 2018-07-09 18:10:28 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
c1ef5938fc added the GitHub contributors to the in-game credits 2018-06-13 00:13:53 +02:00
Zeno Rogue
8f183b7afb Orb of Love no longer incresaes the displayed score in the Strange Challenge 2018-06-12 18:26:20 +02:00
Zeno Rogue
4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue
5eb084f9b0 additional help texts when the rules are different in the current geometry 2018-05-27 01:09:34 +02:00
Zeno Rogue
d021a7259c added bug reporters to credits 2018-04-23 12:53:57 +02:00
Zeno Rogue
210f9e80c7 More detailed land validity reporting 2018-04-13 13:08:41 +02:00
Zeno Rogue
9a1093fc6c cleanup: help. Also rug help displayed when rug is on 2018-02-26 13:15:33 +01:00
Zeno Rogue
7ac883c1c2 compile without CAP_INV 2018-02-11 21:39:08 +01:00
Zeno Rogue
64adb6f0ea updated the header comments to 2018, also added the missing ones 2018-02-09 00:40:26 +01:00
Zeno Rogue
8713d34d19 'remove faraway cells from the memory' option 2018-01-25 19:49:19 +01:00
Zeno Rogue
7ee12bccc1 added hotdogPi to credits 2018-01-06 22:57:47 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
6479ddb73d Texts written/translated for 10.3 2018-01-04 20:05:34 +01:00
Zeno Rogue
495dbba809 renamed 'truncated' to 'chamfered' 2018-01-04 18:39:04 +01:00
Zeno Rogue
1e85e21fb4 renamed enums for Invincible -> Ruins 2018-01-03 21:51:11 +01:00
Zeno Rogue
2678fd93f0 added an unlock rule for the Ruins 2018-01-03 21:49:31 +01:00
Zeno Rogue
b2d9a6ff1d added some missing lines to keyboard help 2017-12-30 23:47:23 +01:00
Zeno Rogue
3d4e7f501a three lines to one, added Alt+Enter 2017-12-30 17:03:30 +01:00