1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 12:00:35 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
Zeno Rogue
e2077620c8 general_barrier: removed useless at_corner = true 2021-08-04 17:59:09 +02:00
Zeno Rogue
d8e13ed88d general_barrier:: fixed holes 2021-08-04 17:58:52 +02:00
Zeno Rogue
917e42e4a5 CR4/Elemental Planes now supported generally 2021-08-04 17:46:47 +02:00
Zeno Rogue
9d8cde1508 renamed checkBarriersNowall to general_barrier_check 2021-08-04 17:45:24 +02:00
Zeno Rogue
3c4e3f0e3e fixed general_barrier not working correctly at all with CEPOSNEG 2021-08-04 17:43:51 +02:00
Zeno Rogue
fdf2162b36 function wsname for debugging 2021-08-04 17:41:54 +02:00
Zeno Rogue
8e88ceb3bc removed disabling barriers in gBinary4 2021-07-31 20:18:32 +02:00
Zeno Rogue
f567f0012b renamed 'nowall' functions to clearer general_barrier_* 2021-07-31 15:14:31 +02:00
Zeno Rogue
0559fce5fb barrier:: the barrier _WALL algorithm now moves step by step 2021-07-31 15:14:31 +02:00
Zeno Rogue
872587d156 barrier:: great-wall-like barriers now correctly create sea buoys etc. 2021-07-31 15:14:31 +02:00
Zeno Rogue
a2211590b3 implemented great-wall-like walls for all H2 tessellations 2021-07-31 15:14:31 +02:00
Zeno Rogue
a55111c226 improved NOWALLs in other geometries 2021-07-31 15:14:31 +02:00
Zeno Rogue
6e6d0a7839 the main (heptagon) cellshape now also uses subcellshape; removed dirdist and get_vertices and introduced get_cellshape instead 2021-07-12 11:07:22 +02:00
Zeno Rogue
e9de3ac7d5 Great Walls in bch 2021-07-11 15:07:40 +02:00
Zeno Rogue
53efc30bd5 fixes to Great Wall generation 2021-07-11 12:28:19 +02:00
Zeno Rogue
0e0e4d0212 reg3:: strafe and dirs_adjacent with subcubes -- Great Wall generation works 2021-07-11 11:48:33 +02:00
Zeno Rogue
2dba723eb3 fixed a crash trying to generate nowalls e.g. in {3,7} 2021-04-23 20:52:02 +02:00
Zeno Rogue
e960b82e17 fixed Crossroads in ls::single, also enabled Crossroads V 2021-04-23 19:45:50 +02:00
Zeno Rogue
224a02d086 bigstuff in inverse 2020-07-13 00:53:48 +02:00
Zeno Rogue
233adddd36 moved reg3 values to cgi 2020-04-05 10:58:56 +02: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
Zeno Rogue
2271a67506 removed the MAX_EDGE limit 2020-01-18 16:03:32 +01:00
Zeno Rogue
7f09bb6259 replaced macro VALENCE with function valence() 2019-12-14 12:31:20 +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
43f629e9c4 inforder:: wall generation 2019-10-10 13:49:35 +02:00
Zeno Rogue
a3d9711ec2 more adjustments to disabled CAP_* 2019-09-13 03:10:26 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
1e6970ca28 hybrid:: refactored the common parts of prod and sl2, also used them when applicable 2019-09-12 22:50:15 +02:00
Zeno Rogue
f40072511b product:: big stuff 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
a423dbd2da more header cleanup 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
eea22ebf75 disabled Nowall attempts in Binary4 2019-09-12 22:50:09 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
3f836d1dfe 3d:: Great Walls in H3 geometries 2019-09-12 22:38:45 +02:00
Zeno Rogue
4591c2166e 3d:: binary:: land boundaries 2019-09-12 22:38:45 +02:00
Zeno Rogue
c294c9f6c5 fixes some glitches with nowall barriers in GP(2,1) 2018-09-23 17:10:26 +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
56c102de94 tailored allocation, and increased MAX_EDGE to 14 2018-08-22 00:00:59 +02:00
Zeno Rogue
dc1d3e4ee1 fixed automatic pseudohept; Warped walls do generate in arcm 2018-08-21 16:58:09 +02:00
Zeno Rogue
ad8ef53d84 arcm:: correct Warped *Coast* generation (at least in some) 2018-08-20 12:06:19 +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
ba587ae40d fixed the barrier-nowall generation in a4 2018-07-10 23:02:27 +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
854c1dd3d2 improved the 'full game' in weird CR4 2018-04-11 23:37:28 +02:00
Zeno Rogue
9d91390677 tactic:: removed lasttactic in favor of specialland. No more treasures on Crossroads in equid lands. Fixed warped walls and CR4 in a4. 2018-04-11 17:44:46 +02:00
Zeno Rogue
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
5ea2a52f3f more fixes to Warped Coast 2018-04-04 17:59:24 +02:00