1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-05 13:46:17 +00:00
Commit Graph

308 Commits

Author SHA1 Message Date
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
Zeno Rogue
def5a8d5a2 gp:: ishept, pseudohept, and kraken_pseudohept for a4 2018-07-10 13:15:26 +02:00
Zeno Rogue
98ea11de86 fixed the warnings about comparing int and bool 2018-07-07 11:05:48 +02:00
Zeno Rogue
0843bef893 an option to display full floors 2018-06-25 23:01:39 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
d6af6f9df0 fixed the coloring for Goldberg Bolza x2 2018-06-22 04:42:58 +02:00
Zeno Rogue
6d15b511c2 fixed a bug with Goldberg geometries on Bolza2 2018-06-22 02:01:46 +02:00
Zeno Rogue
8f8a259992 new quotient geometries 2018-06-22 01:48:46 +02:00
Zeno Rogue
e7a9cebbee fixed some issues with gp/texture 2018-06-17 12:02:47 +02:00
Zeno Rogue
28a4768ea4 more uniformization of add/back, 'space' in grapheditor works in autocheat, fixed missing XLAT in surface 2018-06-13 00:11:26 +02:00
Zeno Rogue
3881a7dd97 more cleanup with uniformizing the keys for 'back' and 'help' 2018-06-13 00:00:01 +02:00
Zeno Rogue
44affc3e9d resolved conflicts introduced by merging zenorogue/hyperrogue#21 2018-06-12 23:28:06 +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
98246d3066 more cleanup in parameters, restartGame cleanup 2018-06-11 00:58:38 +02:00
Zeno Rogue
eda65399d6 fixed threecolor pattern claiming to work when it does not, or producing weird effects 2018-05-15 23:24:04 +02:00
Zeno Rogue
39db828a38 Fixed the bugs with computing fieldpattern not in hyperbolic geometry (memory error + canvas crashes) 2018-05-09 21:32:31 +02:00
Zeno Rogue
09722ca2f6 fixed crash in Palace on Zebra 2018-05-08 02:07:50 +02:00
Zeno Rogue
9a76d44000 fixed the non-bitruncated order-4 tilings 2018-05-07 21:47:10 +02:00
Zeno Rogue
7835fbcdf8 added missing 0 in pre-initialized array 2018-05-07 20:14:29 +02:00
Zeno Rogue
666ddb007e MAJOR REWRITE of floor patterns 2018-05-07 20:13:56 +02:00
Zeno Rogue
e3c3a4202e Kraken variant of pseudohept 2018-05-04 12:49:50 +02:00
Zeno Rogue
0049a65be6 fixed the chessboard pattern 2018-05-03 11:06:31 +02:00
Zeno Rogue
b30fca1f2e line patterns now work correctly in elliptic geometry 2018-05-01 19:36:09 +02:00
Zeno Rogue
77ce8166f9 Snake Nest no longer appears when it should not 2018-05-01 19:35:41 +02:00
Zeno Rogue
96cd518710 fixed the zebra3 pattern on gp 2018-05-01 19:35:25 +02:00
Zeno Rogue
aeefbeb8ce added sphere to texture patterns 2018-04-23 11:25:58 +02:00
Zeno Rogue
b6da7779d5 tour:: added XLAT in some places, also 'disable the Camelot cheat' 2018-04-22 11:13:13 +02:00
Zeno Rogue
c5bf7cb95c colors no longer silently modified in linepatterns 2018-04-21 19:35:56 +02:00
Zeno Rogue
71288613f4 pattern2: 'distance from origin' canvas 2018-04-21 17:58:02 +02:00