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

336 Commits

Author SHA1 Message Date
Zeno Rogue
8386a14d6a 'circles' are now drawn on all copies in quotient geometries 2019-12-06 14:03:02 +01:00
Zeno Rogue
f46967efb9 removed assignment of gp::loc to tie as Clang does not like it 2019-11-30 18:55:02 +01:00
Zeno Rogue
0f546c43a7 debugging pattern P 2019-11-30 18:06:48 +01:00
Zeno Rogue
638f408d05 renamed as_gp and as_coord to to_loc and to_coord 2019-11-30 18:06:48 +01:00
Zeno Rogue
5585831b27 fixed Archimedean and Penrose 2019-11-30 18:06:48 +01:00
Zeno Rogue
d63b14da5c PIU now works in the underlying map -- underlying geometry only is too fragile 2019-11-30 18:06:47 +01:00
Zeno Rogue
81647181ae fixed ZebraTriangle in Euclidean 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
eaffa3a66f patterns:: innerwalls setting 2019-11-16 01:38:55 +01:00
Zeno Rogue
00bc3f2304 formula pattern: now available from the commandline 2019-11-15 13:50:23 +01:00
Zeno Rogue
e075bc8c6d formula pattern: extra parameters available, also shielded some parameters from crashes 2019-11-15 13:50:23 +01:00
Zeno Rogue
388ac890bf pattern formula:: wallif function 2019-11-15 13:50:23 +01:00
Zeno Rogue
ac8eebf179 fixed the 'dual grid' pattern 2019-11-14 20:59:58 +01:00
Zeno Rogue
320ab79a27 some junk from the '^' pattern 2019-11-14 16:52:08 +01:00
Zeno Rogue
9cb2a753de pattern 'exclamation mark' marks cells adjacent to start according to their neighbor id 2019-11-08 15:02:03 +01:00
Zeno Rogue
6fa60e67c7 random pattern no longer generates wall on start 2019-11-02 11:51:16 +01:00
Zeno Rogue
72789f5a52 some patterns 2019-11-02 10:40:47 +01:00
Zeno Rogue
c9e45e0db3 patterns: selectable '/' pattern 2019-10-26 15:42:20 +02:00
Zeno Rogue
72e6859dd5 Penrose staircase pattern in Nil, and diagonal pattern in Crystal 2019-10-25 12:47:03 +02:00
Zeno Rogue
6a94eef6aa fixed the # and = pattern keys not working 2019-10-12 14:40:42 +02:00
Zeno Rogue
bcbc36f38b fieldval_uniq returns 0 for paracompact 2019-10-12 13:48:44 +02:00
Zeno Rogue
48b1773f0d new patterns for 4D Crystal 2019-10-12 13:12:15 +02:00
Zeno Rogue
76ca5a8dac inforder:: correctly draw patTree and patAltTree (also fix a bug in binary tiling) 2019-10-10 13:49:35 +02:00
Zeno Rogue
43f629e9c4 inforder:: wall generation 2019-10-10 13:49:35 +02:00
Zeno Rogue
b5f6e6f3f5 inforder basics 2019-10-10 13:08:06 +02:00
Zeno Rogue
e37f7fcf60 removed debug from 'rainbow by distance' pattern 2019-10-06 14:08:16 +02:00
Zeno Rogue
77cbae6b63 'rainbow by distance' pattern 2019-10-06 13:05:39 +02:00
Zeno Rogue
9850dd557e in 3D geometries, patterns may create walls 2019-10-06 13:05:39 +02:00
Zeno Rogue
46d127401e nih improvements 2019-10-02 19:22:43 +02:00
Zeno Rogue
9a0507ba58 pattern 'k' option 2019-09-13 00:32:05 +02:00
Zeno Rogue
e8c7285cc2 product:: lands in S2xE 2019-09-12 22:50:16 +02:00
Zeno Rogue
3ca08cff9a hook in generateCanvas 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
82f24b4b6c exporting necessary stuff all over (in progress) 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
d046211a9c better flagging of geometries, and isometry spaces nicely selectable 2019-09-12 22:50:15 +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
a03eb0d913 fixed new geometry handling for Archimedean 2019-09-12 22:50:15 +02:00
Zeno Rogue
5a45c1c062 fixed a crash due to not using PIU in fieldval_uniq_rand 2019-09-12 22:50:14 +02:00
Zeno Rogue
3e1fc42dc5 product:: ishept 2019-09-12 22:50:14 +02:00
Zeno Rogue
31baf32f50 product:: fixed windmap crash on Goldberg 2019-09-12 22:50:13 +02:00
Zeno Rogue
f40072511b product:: big stuff 2019-09-12 22:50:13 +02:00
Zeno Rogue
9dd131d00a args:: creaturescale and character selection 2019-09-12 22:50:13 +02:00
Zeno Rogue
2693298825 fixed 'individual width' option working incorrectly, and displayed incorrectly when editing 2019-09-12 22:50:13 +02:00
Zeno Rogue
437c4e4cdd flag 'experimental' for new geometries 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
0ef57dde15 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
aa1b3f3057 moved hyperpoint inlines to hyperpoint.cpp 2019-09-12 22:50:12 +02:00
Zeno Rogue
19a01caf55 moved ctof to pattern2 2019-09-12 22:50:12 +02:00
Zeno Rogue
65c4e6a31c further cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
05bd7a905c more header cleanup 2019-09-12 22:50:12 +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
f4eda1d76e removed function fixdir 2019-09-12 22:50:12 +02:00
Zeno Rogue
ef89c7ed9d removed functions fix6 and fix7 2019-09-12 22:50:12 +02:00
Zeno Rogue
c131e21198 namespace hyperpoint_vec removed 2019-09-12 22:50:12 +02:00
Zeno Rogue
602e6f27db generating various lands in Sol 2019-09-12 22:50:12 +02:00
Zeno Rogue
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
1c63518fff solv:: pseudohept for Graveyard 2019-09-12 22:50:11 +02:00
Zeno Rogue
cf496e8940 kite-and-dart tiling 2019-09-12 22:50:09 +02:00
Zeno Rogue
d1fb9f3564 simplified and generalized cdata 2019-09-12 22:50:09 +02:00
Zeno Rogue
1a08948c32 linepatterns now can have widths set individually 2019-09-12 22:50:08 +02:00
Zeno Rogue
664ca63acc configuration of type colors 2019-09-12 22:50:08 +02:00
Zeno Rogue
b6e303ec7d MAJOR refactoring: all geometry-dependent data (tessf, geom3::, shapes, hpc) are now contained in a structure 2019-09-12 22:50:03 +02:00
Zeno Rogue
32626dc0c1 2D3D:: fixed grids 2019-09-12 22:50:02 +02:00
Zeno Rogue
0c3b26c997 2d3d:: gridline used by linepatterns 2019-09-12 22:49:52 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
0386f4179c whatever cont. 2019-09-12 22:43:01 +02:00
Zeno Rogue
7e65ea23ea pseudohept in Field534 2019-09-12 22:38:47 +02:00
Zeno Rogue
38559b304b fixed fielval_uniq for 3d geometries 2019-09-12 22:38:46 +02:00
Zeno Rogue
d369decc94 3d:: field quotient spaces for reg3 2019-09-12 22:38:46 +02:00
Zeno Rogue
ae9cf6a43a fixed landscape shading 2019-09-12 22:38:46 +02:00
Zeno Rogue
52ce5ac9aa 3d:: all the regular honeycombs 2019-09-12 22:38:43 +02:00
Zeno Rogue
b5c7df4b11 3d:: getHemisphere works nicely; disabled wall removing in sphere3 crossroads 2019-09-12 22:38:43 +02:00
?
54f278963c renamed MAXDIM to MAXMDIM (conflict with crystal) 2019-09-12 22:38:42 +02:00
?
b8913b39fd 3d:: pseudohept specified 2019-09-12 22:38:42 +02:00
?
c5a771c888 CAP_FIELD part 1 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
649ba86a8e fixed hotkey clash 2019-02-09 13:28:13 +01:00
Zeno Rogue
a0ac77b07b moved 6789l between pattern sub-menus 2019-02-09 13:21:49 +01:00
Zeno Rogue
0028438a8d back button in pattern selector 2019-02-09 12:49:53 +01:00
Zeno Rogue
f546bba84a fixes for mobile 2019-02-08 16:57:19 +01:00
Zeno Rogue
fd9fca6129 redesigned the Experiment with Geometry menu 2019-02-08 16:55:00 +01:00
Zeno Rogue
26fe57ef92 mapeditor:: an option to change new canvas cells without clearing the map 2019-02-06 18:48:53 +01:00
Zeno Rogue
34d4223bed new color pattern: formula 2019-02-06 18:48:52 +01:00
Zeno Rogue
70cd47e3a1 cli option -wsh works better now 2019-02-06 18:48:52 +01:00
Zeno Rogue
346e99385e fixed the -wsh option 2019-02-06 18:48:52 +01:00
Zeno Rogue
8c5b62e309 octagon geometry 2019-02-06 18:48:52 +01:00
Zeno Rogue
fd3b030119 crystal:: added multi-dimensional geometries (referred to as crystal), available via CLI for now 2018-12-14 19:27:11 +01:00
Zeno Rogue
f7db0feef0 currfp returns fp_invalid when fp is not known, and does not use it 2018-12-11 22:10:53 +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
51dea031c6
Merge pull request #59 from Quuxplusone/mingw
Fix some issues with the MinGW build
2018-11-11 17:23:47 +01:00
Zeno Rogue
7b4028418e arg:: most important dialogs can be launched from command line 2018-11-11 11:27:36 +01:00
Zeno Rogue
888e0c510a Added seven-coloring of the torus. 'Zebra triangles' line pattern used on the torus shows the big triangles. 2018-11-11 11:27:36 +01:00
Zeno Rogue
be51445b77 linepatterns:: width configurable 2018-11-11 11:27:35 +01:00
Zeno Rogue
dbba704d1c linepatterns:: added circles, radii, meridians, parallels 2018-11-11 11:27:35 +01:00
Zeno Rogue
b019cfcd4f refactored colortables 2018-11-11 11:25:59 +01:00
Zeno Rogue
dee2b23991 replaced chosenDown with a better set of functions 2018-09-27 21:53:07 +02:00
Zeno Rogue
7058ccf747
Merge pull request #60 from Quuxplusone/polarb50
polara50 and polarb50 now consistently return bool, not int
2018-09-24 00:24:50 +02:00
Zeno Rogue
0294c0acb1 options -pal and -palrgba now accept the pattern name 2018-09-21 21:31:11 +02:00
Zeno Rogue
c1de923454 extra features related to expansion 2018-09-21 19:51:13 +02:00
Zeno Rogue
b4e5b744ca reduced the number of rainbow colors in web 2018-09-10 18:12:11 +02:00
Arthur O'Dwyer
f84975d1d1 polara50 and polarb50 now consistently return bool, not int.
MSVC complains about constructions such as

    bool polara50(int);
    int polara50(cell *c) {
        // ...
        return polara50(someint);
    }
2018-09-05 22:28:35 -07:00
Arthur O'Dwyer
8ebdede538 Fix some issues with the MinGW build.
Fixes #58.
2018-09-05 22:28:03 -07: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
98f6851288 moved the implementation of -noplayer and -canvas options from mapeditor to pattern, as they are relevant without map editor (e.g. online) 2018-09-02 15:10:50 +02:00
Zeno Rogue
9b6957b13c translation update 2018-08-31 02:49:28 +02:00
Zeno Rogue
a7f1e560c5 subcodes can be (de)selected in the pattern selection 2018-08-30 19:14:04 +02:00
Zeno Rogue
2c1b8c3b14 texture remapping to dual/bitruncated Archimedean 2018-08-30 17:54:04 +02:00
Zeno Rogue
64a77827f6 fixed kraken_pseudohept returning negated values 2018-08-30 16:10:49 +02:00
Zeno Rogue
993ef1b164 random pseudohept in Archimedean duals 2018-08-30 16:10:35 +02:00
Zeno Rogue
829850a701 dual tilings 2018-08-30 02:11:43 +02:00
Zeno Rogue
020d9679bd bitruncated Archimedean tilings 2018-08-29 04:28:34 +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
c17efce3b5 PAT_TYPES now separate from PAT_NONE; PAT_* constants now use enum 2018-08-28 04:05:32 +02:00
Zeno Rogue
641e463643 fixed two types in the binary tiling 2018-08-27 19:37:35 +02:00
Zeno Rogue
ff84f63abd Fixed mapediting floorshapes. Also works nicely for all geometries now. Enum used for shapegroups. 2018-08-27 19:27:35 +02:00
Zeno Rogue
84a1c5a204 fixed RRV in irregular and binary 2018-08-22 11:22:25 +02:00
Zeno Rogue
112a38dee9 fixed compilation without CAP_TEXTURE 2018-08-22 00:14:31 +02:00
Zeno Rogue
13e5c3a555 windmap now works on Goldberg, irregular, and Archimedean spheres 2018-08-20 16:28:47 +02:00
Zeno Rogue
a4ced4a504 color by sides; canvas coloring selectable from the texture menu 2018-08-20 15:49:17 +02:00
Zeno Rogue
cd91148459 arcm:: all patterns work 2018-08-20 15:24:44 +02:00
Zeno Rogue
c5395097fe Working Chessboard pattern. Chessboard pattern used in the Warped Coast. 2018-08-20 11:59:43 +02:00
Zeno Rogue
625144195c major cleanup of texture remapping 2018-08-20 02:04:49 +02:00
Zeno Rogue
c54d4ec59d struct archimedean_tiling 2018-08-20 02:02:45 +02:00
Zeno Rogue
4d31e5a544 renamed 'syntetic' to 'archimedean' (enums/files/marcos/namespaces) 2018-08-19 23:06:32 +02:00
Zeno Rogue
c37a72ddd3 more patterns 2018-08-19 18:06:54 +02:00
Zeno Rogue
e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue
453c06f9f9 functions with rotation parameters in S84-degree system have been removed or replaced in radian versions 2018-08-19 15:52:39 +02:00
Zeno Rogue
5384ce3274 synt:: patterns 2018-08-19 15:15:47 +02:00
Zeno Rogue
f738bb7002 synt:: graveyard and three-color and line patterns 2018-08-19 13:47:51 +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
f5f218b7f9 patNormal and patTrihepta now use the functions from geometry2.cpp 2018-08-17 16:51:18 +02:00
Zeno Rogue
749ad03138 syntetic tilings (WIP) 2018-08-17 13:29:00 +02:00
Zeno Rogue
4f3cc3783a binary tiling 2018-08-09 19:28:53 +02:00
Zeno Rogue
d9dc6a43df fixed a crash with Orb of the Warp 2018-08-05 13:53:24 +02:00
Zeno Rogue
253c2d8b9b bitruncated irregular tilings 2018-08-05 05:07:34 +02:00
Zeno Rogue
7e1344a863 singletype patterns now can be remapped to irregular grids 2018-08-02 22:26:07 +02:00
Zeno Rogue
bd59b4e23a fixed singletype texture patterns 2018-08-02 22:25:08 +02:00
Zeno Rogue
1b44899624 line quality option 2018-08-01 11:07:22 +02:00
Zeno Rogue
45b25059b5 irr:: linepattern:: Vineyard Pattern shows cellgroups; tree and horocyclic tree work correctly 2018-07-20 02:59:51 +02:00
Zeno Rogue
81f175a18c moved -wsh from config.cpp to pattern2.cpp 2018-07-20 00:10:10 +02:00
Zeno Rogue
9d682aee45 moved more commandline options to their modules 2018-07-20 00:04:23 +02:00
Zeno Rogue
2ca0629a91 fixed crashes on getHemisphere 2018-07-17 02:39:12 +02:00
Zeno Rogue
4d61f2169e irr:: Orb of the Sword and Kraken. 2018-07-16 21:41:59 +02:00
Zeno Rogue
c8c1e3a346 irregular grids 2018-07-16 20:05:23 +02:00
Zeno Rogue
c9f5b1e048 fixed several instances when PTM score would not be recorded when changing modes 2018-07-11 12:25:19 +02:00
Zeno Rogue
0d194af3d1 gp:: avoid crash in dir_bitrunc457 2018-07-10 21:04:40 +02:00
Zeno Rogue
c0d2a1cad6 gp:: no more using football-colorable graphics for R'Lyeh etc. on a4 2018-07-10 18:29:31 +02:00
Zeno Rogue
489b9a328d linepatterns:: patTriRings now works with a4 2018-07-10 18:03:58 +02:00