1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-30 15:39:54 +00:00
Commit Graph

388 Commits

Author SHA1 Message Date
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
Zeno Rogue
ad93e77bcc canvas_invisible option 2018-04-21 17:57:30 +02:00
Zeno Rogue
ce08a14390 Sloppy Graveyard on 37 is known 2018-04-15 13:04:34 +02:00
Zeno Rogue
a5187864e6 gp:: improved patterns 2018-04-12 20:53:50 +02:00
Zeno Rogue
f375ac498a Zebra, Palace, Power, and Vineyard are now OK in gp 2018-04-12 11:00:51 +02:00
Zeno Rogue
2dfc12799d fixed the heptagonal RRV 2018-04-11 23:37:55 +02:00
Zeno Rogue
fa86a88ea3 gp:: removed the unused version of be_in_triangle 2018-04-11 00:55:05 +02:00
Zeno Rogue
446f8c3a12 linepatterns:: gp:: patPower displays master ranges 2018-04-10 20:27:01 +02:00
Zeno Rogue
eaa7d0cfe7 gp:: pseudohepts on non-threecolorable gNormal 2018-04-10 20:26:33 +02:00
Zeno Rogue
e41bc0b3b9 linepatterns:: works with gp, uses computed constants rather than hardcoded ones, extra horocycle linepattern, Goldberg pattern added 2018-04-10 17:57:33 +02:00
Zeno Rogue
9fd8713cbc gp:: correct long-distances in all Goldberg hyperbolic tilings 2018-04-10 17:06:04 +02:00
Zeno Rogue
90ff8c49dc marked land quality in gp, fixed some bugs 2018-04-10 08:05:35 +02:00
Zeno Rogue
e318a8e04a gp:: texture:: menu added 2018-04-10 05:12:40 +02:00
Zeno Rogue
2b65f4538f gp:: threecolor works correctly if param divisible by 1+z OR it works for the seed 2018-04-09 20:39:52 +02:00
Zeno Rogue
033c626dfc restartGame, wrong mode, and resetModes now use constants instead of magic char names 2018-04-09 18:05:23 +02:00
Zeno Rogue
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
5df5bb66f1 whirl:: threecolor on cube 2018-04-06 12:20:22 +02:00
Zeno Rogue
228f677e00 patterns:: coloring appears in the menu for cube 2018-04-06 12:18:59 +02:00
Zeno Rogue
587619ad42 whirl:: texture:: remapping (currently by commandline only) 2018-04-06 00:40:53 +02:00
Zeno Rogue
0941411ffc .. to last commit 2018-04-06 00:33:03 +02:00
Zeno Rogue
7ca5a8713a whirl:: threecolor pattern 2018-04-04 18:00:40 +02:00
Zeno Rogue
5ea2a52f3f more fixes to Warped Coast 2018-04-04 17:59:24 +02:00
Zeno Rogue
1abca6d08e whirl:: disabled mirrors 2018-04-04 15:07:44 +02:00
Zeno Rogue
4ca146549c whirl:: warp works 2018-04-04 15:05:12 +02:00
Zeno Rogue
ccb7bf9efb whirl:: Crystal World and Caves tiling work 2018-04-04 12:46:40 +02:00
Zeno Rogue
22a92059b6 whirl 2018-04-03 23:39:18 +02:00
Zeno Rogue
2c09c5ee56 structurized textures.cpp 2018-03-17 21:12:46 +01:00
Zeno Rogue
b3def8bdfc changing SPF_DOCKS in menu actually works 2018-02-26 13:17:56 +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
ad172724e8 made it compile with RUG on emscripten (at least it should -- it does not work for me because of an emscripten bug apparently) 2018-02-03 14:31:17 +01:00
Zeno Rogue
561369ce11 fixed fieldval_uniq on torus -- affects Blizzard/Volcano/Ruined 2018-01-29 16:29:13 +01:00
Zeno Rogue
b798e1a758 sidescreen in prepattern screen 2018-01-25 23:47:28 +01:00
Zeno Rogue
2b6b8c1d39 fixed Snake Nest in non-bitrunc Octagons 2018-01-06 23:39:27 +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
6ab3cacd08 fixed the things broken by Euclidean/a38 pattern changes 2017-12-29 13:32:29 +01:00
Zeno Rogue
5f5c86e529 new land: Docks 2017-12-29 01:10:47 +01:00
Zeno Rogue
11569c693d big change: more configuration for the torus (and also Klein bottle) 2017-12-28 16:46:10 +01:00
Zeno Rogue
d67ca714fd fixed Euclidean reptiles 2017-12-27 22:10:50 +01:00
Zeno Rogue
f6fa051eab torus movement 2017-12-27 06:31:47 +01:00
Zeno Rogue
0803082c87 no more setting 'reflect' by sibling when sibling not used 2017-12-22 22:33:25 +01:00
Zeno Rogue
2b28c74313 periodic patterns added to selection 2017-12-22 01:46:34 +01:00
Zeno Rogue
c1ac7a8d51 46 patterns, zebras 2017-12-22 01:25:05 +01:00
Zeno Rogue
5fd524fa62 fixed the threecolor pattern for octagons 2017-12-21 16:34:26 +01:00
Zeno Rogue
57a5337b9f CAP_TEXTURE can be off; right-size textures loaded without scaling; SPF_FULLSYM 2017-12-21 11:36:07 +01:00
Zeno Rogue
d0a925a8ca translating textures to a more general type 2017-12-19 16:40:24 +01:00
Zeno Rogue
49bd1a0b2b a menu for changing pattern geometries 2017-12-19 14:35:34 +01:00
Zeno Rogue
1c3f8ac36a fixed eupattern in EuclidA4 2017-12-18 21:33:11 +01:00
Zeno Rogue
3ae3faa3c3 fixed warped lands 2017-12-18 21:15:03 +01:00
Zeno Rogue
5185f0e186 more work on Euclidean Squares 2017-12-18 19:04:37 +01:00
Zeno Rogue
836ed087df Euclidean square grid 2017-12-18 13:00:36 +01:00
Zeno Rogue
6c4538df69 further work on textures 2017-12-14 02:53:29 +01:00
Zeno Rogue
653069094b more work on the patterns 2017-12-09 20:02:56 +01:00
Zeno Rogue
9933f373d2 improvements to patterns; codenumbers also display directions 2017-12-09 08:06:41 +01:00
Zeno Rogue
635d1f911c Refactoring: moved all the remaining pattern code from mapeditor to pattern2 2017-12-09 03:48:30 +01:00
Zeno Rogue
ecf631976f texture mode -- first commit 2017-12-09 02:20:10 +01:00
Zeno Rogue
87b6b8b372 Snakes Nest v1 2017-12-05 19:43:45 +01:00
Zeno Rogue
9b2f9ecc14 Pattern-related functions moved from cells and mapeditor to pattern2s; three-color patterns 2017-12-05 16:19:22 +01:00