1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00
Commit Graph

379 Commits

Author SHA1 Message Date
Zeno Rogue
d18a05558a Safety in Farlands return to Icy 2020-03-07 04:47:10 +01:00
Zeno Rogue
e564622a48 rewritten undo: part 1 2020-03-07 04:47:10 +01:00
Zeno Rogue
6317101d66 Orb of Plague 2020-03-07 04:47:10 +01:00
Zeno Rogue
02017ef88b load/save boxes for the new features 2020-03-07 04:47:10 +01:00
Zeno Rogue
2ccb48f765 WFC can be experimented with 2020-03-07 04:47:10 +01:00
Zeno Rogue
9c25804a05 added dual geometry puzzle generator 2020-01-28 17:58:55 +01:00
Zeno Rogue
27e19ca5ca mapeditor:: canvas_default_wall can be set now 2020-01-28 17:58:55 +01:00
Zeno Rogue
5382038c4e field quotient discovery 2020-01-16 17:13:57 +01:00
Zeno Rogue
3330d6060b minor fixes to OINF 2019-12-27 23:00:38 +01:00
Zeno Rogue
17ffe53839 clearing:: clear memory on new game 2019-12-27 14:02:21 +01:00
Zeno Rogue
70910539b3 do not save arb tilings 2019-12-27 02:08:19 +01:00
Zeno Rogue
5940851f59 arb:: reset to pure 2019-12-27 01:52:28 +01:00
Zeno Rogue
e9862831ca performing product on Catalan tilings no longer drops 'dual' 2019-12-27 01:52:14 +01:00
Zeno Rogue
6c61162392 merge 2019-12-26 22:40:41 +01:00
Zeno Rogue
4848cb1b87 show the big numbers in the Clearing 2019-12-25 21:57:25 +01:00
Zeno Rogue
8cfc5a578f renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()' 2019-12-14 12:12:24 +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
26fb19e7a8 subdivided game.cpp; split movepcto into separate functions 2019-12-08 20:07:02 +01:00
Zeno Rogue
ddb5d07ff6 cleanup in Euclidean 2019-12-08 10:59:09 +01:00
Zeno Rogue
be71cd0d97 RPM and OSM are no longer considered incompatible 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
1329ec6b04 setting Euclidean no longer sets bitruncated 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
a1fbfb2946 gp:: adjm to fix the confusion in quotient spaces 2019-11-30 18:05:23 +01:00
Zeno Rogue
7246605329 do not do walls if walls not implemented 2019-10-12 13:47:41 +02:00
Zeno Rogue
8ebeb60bcb increased default vid.texture_step in paracompact honeycombs 2019-10-12 13:13:09 +02:00
Zeno Rogue
b5f6e6f3f5 inforder basics 2019-10-10 13:08:06 +02:00
Zeno Rogue
d400bc845e selecting bounded geometry no longer disables racing 2019-10-06 12:13:30 +02:00
Zeno Rogue
3d1d799153 improved default model selection 2019-10-06 12:10:43 +02:00
Zeno Rogue
7ed8e16974 racing in bounded worlds 2019-09-28 14:18:58 +02:00
Zeno Rogue
77aa05c3f9 racing no longer disables S2xE 2019-09-27 18:19:16 +02:00
Zeno Rogue
1359dfcd62 setting Racing while in Solv no longer resets geometry 2019-09-27 18:04:49 +02:00
Zeno Rogue
bfa29e6d47 improved some messages 2019-09-12 22:50:16 +02:00
Zeno Rogue
08fa984b5c fixed 'heptagonal mode' in the start menu 2019-09-12 22:50:16 +02:00
Zeno Rogue
d5a99e67e0 more intuitive tiling selection 2019-09-12 22:50:16 +02:00
Zeno Rogue
be17f575ca experimental maps are not saved in saveStats 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
98ddecc63e removed init.cpp 2019-09-12 22:50:16 +02:00
Zeno Rogue
4dc5ae455c fixed a crash when switching Archimedean modes 2019-09-12 22:50:15 +02:00
Zeno Rogue
8adaa7fe49 welcome messages for the new geometries 2019-09-12 22:50:15 +02:00
Zeno Rogue
c766e27bf2 geodesic movement cannot be disabled in SL 2019-09-12 22:50:15 +02:00
Zeno Rogue
2e066c106c renamed gSL2 to gRotSpace 2019-09-12 22:50:15 +02:00
Zeno Rogue
d046211a9c better flagging of geometries, and isometry spaces nicely selectable 2019-09-12 22:50:15 +02:00
Zeno Rogue
689020ee6d starting in Crossroads II now works in hybrid 2019-09-12 22:50:15 +02:00
Zeno Rogue
a0140254c8 slr:: works with bitruncated tilings (Archimedean not tested) 2019-09-12 22:50:15 +02:00
Zeno Rogue
61ea588ffb shmup for product: player movement 2019-09-12 22:50:15 +02:00
Zeno Rogue
d4ac431004 slr:: default texturestep 4 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
136b931609 PSL(2,R) 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
7aed1b8551 modecode for product geometries 2019-09-12 22:50:14 +02:00
Zeno Rogue
63bd06e75c product games not saved 2019-09-12 22:50:14 +02:00
Zeno Rogue
50fdc8324e modecode() returns modecode_t not int 2019-09-12 22:50:14 +02:00
Zeno Rogue
ce36413968 product:: incompatible with Shmup -- disable other for now 2019-09-12 22:50:14 +02:00
Zeno Rogue
1a1725dec8 product:: selectable from menu 2019-09-12 22:50:14 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 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
ad03115097 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
a423dbd2da more header 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
8ac64fc2a0 nilv:: Nil shader, and improved geodesics 2019-09-12 22:50:11 +02:00
Zeno Rogue
774c871c74 sol:: basic shmup works 2019-09-12 22:50:10 +02:00
Zeno Rogue
bbabd47ad0 solv:: fixmatrix 2019-09-12 22:50:10 +02:00
Zeno Rogue
598603c937 geodesics in Sol 2019-09-12 22:50:09 +02:00
Zeno Rogue
cf496e8940 kite-and-dart tiling 2019-09-12 22:50:09 +02:00
Zeno Rogue
47fd094c6f binary4 (WIP) 2019-09-12 22:50:09 +02:00
Zeno Rogue
3db34f26ac fixed a bug with bad start in Euclidean Crossroads 2019-09-12 22:50:08 +02:00
Zeno Rogue
5d88c1706a unambiguous sword in non-{4,3,*} 3D geometreis 2019-09-12 22:50:08 +02:00
Zeno Rogue
3a4e84effe Orb of the Sword in non-shmup 3D geometries 2019-09-12 22:50:08 +02:00
Zeno Rogue
d5d3d396b6 fixed a crash when using formula pattern in spherical geometry 2019-09-12 22:50:06 +02:00
Zeno Rogue
06301d73fc new memory handling 2019-09-12 22:50:05 +02:00
Zeno Rogue
5110a29d4d dual:: cshpos fixup to save all 2019-09-12 22:50:04 +02:00
Zeno Rogue
a49de4530f dual:: added some missing gd->store's 2019-09-12 22:50:04 +02:00
Zeno Rogue
8d9a5da7c1 do not savestats in dualmode 2019-09-12 22:50:04 +02:00
Zeno Rogue
69e76b550c dual:: selectable from the menu 2019-09-12 22:50:03 +02:00
Zeno Rogue
8295251cdc multigame support, including dualmode 2019-09-12 22:50:03 +02:00
Zeno Rogue
13a044154b sword:: accurate sword angles 2019-09-12 22:50:03 +02:00
Zeno Rogue
2b1aebb9b4 chaosmode variants (CLI only for now) 2019-09-12 22:50:03 +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
ec621c64d2 11.0x 2019-09-12 22:50:01 +02:00
Zeno Rogue
c4469d9185 selecting a (horo)cyclic/equidistant-based land in the Experiments in Geometry while in standard geometry works now 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
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
64671ec83e no more createAlternateMap in quotient geometries 2019-09-12 22:43:01 +02:00
Zeno Rogue
cffb895c72 fixed generation in spherical minefield 2019-09-12 22:42:59 +02:00
Zeno Rogue
14b32ced68 auto-charged teleport in bounded minefield 2019-09-12 22:42:59 +02:00
Zeno Rogue
039118425c 3D:: alternate minefield adjacency rule 2019-09-12 22:42:59 +02:00
Zeno Rogue
6b82757016 save Narcissist and Mirror Spirit kills 2019-09-12 22:42:59 +02:00
Zeno Rogue
57f2891826 bounded Minefield now works according to the standard Minesweeper rules 2019-09-12 22:42:58 +02:00
Zeno Rogue
5356eba11c Asteroids 2019-09-12 22:42:58 +02:00
Zeno Rogue
1521af65fe 3d:: fixed switching to mdPerspsective 2019-09-12 22:38:47 +02:00
Zeno Rogue
46ae64e945 3d:: native perspective is now pmodel == mdPerspective, and other models work too 2019-09-12 22:38:47 +02:00
Zeno Rogue
d9b90d8a8e 3D:: two-player uses split screen 2019-09-12 22:38:45 +02:00
Zeno Rogue
cb8e34204f two more Euclidean honeycombs; also split buildpolys into subfunctions 2019-09-12 22:38:43 +02:00
?
fe174d8873 3D:: elliptic space 2019-09-12 22:38:40 +02:00
?
33d4854c14 3D:: 120-cell 2019-09-12 22:38:40 +02:00
?
7110be2032 3D:: cube tiling 2019-09-12 22:38:40 +02:00
?
d08e58f404 3d:: 2D/3D is now selectable at runtime 2019-09-12 22:38:40 +02:00
?
aa3e14549e tactic:: no createAlternateMap on start in binary 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
e36246e392 saveboxes added 2019-09-12 22:38:38 +02:00
Zeno Rogue
8225593756 racing:: not available in bounded words (disabled in menu, changing geometry disables racing 2019-04-29 17:19:05 +02:00
Zeno Rogue
a6ffdc8676 racing:: failure now uses gamegen_failure flag -- no more game starting multiple times 2019-04-29 17:19:05 +02:00
Zeno Rogue
04f26cdf1d racing:: failure now uses gamegen_failure flag -- no more game starting multiple times 2019-04-29 17:19:05 +02:00
Zeno Rogue
cd01e6bbf1 racing:: made the current version compile without CAP_RACING 2019-04-29 17:19:05 +02:00
Zeno Rogue
29c0b899dc racing:: track selection; can be now set as a special game mode 2019-04-29 17:19:05 +02:00
Zeno Rogue
c67d7e06c6 racing:: remembering ghost, track selection (with times), completion percentage shown 2019-04-29 17:19:05 +02:00
Zeno Rogue
16a5e45c0a racing:: first commit 2019-04-29 17:19:05 +02:00
Zeno Rogue
74ad8ea135 brownian:: more serious work 2019-04-29 17:19:05 +02:00
Zeno Rogue
075ab6f1e8 allowChangeRange() used where it should 2019-02-09 12:49:53 +01:00
Zeno Rogue
13c60727cd logs loaded for the inventory mode are now recognized correctly 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
78adac4e10 an option to disable wandering monsters; settings (reptilecheat, autocheat, safety etc) configurable in map editor; save items/kills and some other settings 2019-02-06 18:48:53 +01:00
Zeno Rogue
35551f9dc9 improved welcome messages: Heptagonal Mode, (cheat mode on), Halloween only if eligible for achievement 2019-02-06 18:48:52 +01:00
Zeno Rogue
144d5335a6 rosemap now cleared correctly when clearing map 2019-02-06 18:48:52 +01:00
Zeno Rogue
ee7a9722a9 fix an undefined behavior (crash on OSX after separate-area scenes in tutorial) 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
e68da3d9a9 chaosmode disables only bounded geometries 2018-12-14 19:27:12 +01:00
Zeno Rogue
c5579149ed chaosmode is now auto-disabled exactly in bounded geometries 2018-12-14 19:27:11 +01:00
Zeno Rogue
d2dddc07b6 crystal:: removed add_bitruncation -- using ginf[gCrystal].vertex 2018-12-14 19:27:11 +01:00
Zeno Rogue
851e217a73 crystal:: automatically bitruncate with crystal's implementation 2018-12-14 19:27:11 +01:00
Zeno Rogue
e9920d8d57 Chaos mode not works in Euclidean 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
8e2727882e shmup:: rewritten shmup configuration in OOP style 2018-11-18 18:26:56 +01:00
Zeno Rogue
d7a235bc8c fixed some shmup-related crashes 2018-11-18 18:26:56 +01:00
Zeno Rogue
d935febf09 refactored some global and stereo:: variables into display_data structure 2018-11-18 18:26:56 +01:00
Zeno Rogue
3e87d463d2 fixed the 'special conduct' help in the Haunted Woods 2018-11-11 11:27:36 +01:00
Zeno Rogue
1ba1b141f3 smart display range 2018-11-01 19:07:50 +01:00
Zeno Rogue
9bf8842124 expansion is now computed exactly and for most geometries 2018-09-12 04:23:15 +02:00
Zeno Rogue
829850a701 dual tilings 2018-08-30 02:11:43 +02:00
Zeno Rogue
31fc90e6b8 fixed the placement of Orb of Sword in variation pure 2018-08-28 19:18:10 +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
1c4aa5ba85 no saves in Archimedean 2018-08-21 16:10:12 +02:00
Zeno Rogue
625144195c major cleanup of texture remapping 2018-08-20 02:04:49 +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
4f3cc3783a binary tiling 2018-08-09 19:28:53 +02:00
Zeno Rogue
253c2d8b9b bitruncated irregular tilings 2018-08-05 05:07:34 +02:00
Zeno Rogue
188c591453 fixed the Ocean Yendor Challenge 2018-08-04 22:36:21 +02:00
Zeno Rogue
6c0a052470 device orientation-based scrolling on mobiles 2018-07-23 16:17:49 +02:00
Zeno Rogue
92ea21de86 fixed some orbs not saved in OSM 2018-07-23 16:17:49 +02:00
Zeno Rogue
4776784be3 irr:: known to use special land 2018-07-17 15:00:35 +02:00
Zeno Rogue
566c466b66 loading/saving irregular maps to config and log (and recreate automatically)H 2018-07-17 14:28:49 +02:00
Zeno Rogue
f597e6bfd7 choose irregular from the Goldberg menu 2018-07-17 02:29:18 +02:00
Zeno Rogue
c8c1e3a346 irregular grids 2018-07-16 20:05:23 +02:00
Zeno Rogue
b0278e02c8 no longer resetting geometry on each restart 2018-07-16 19:57:41 +02:00
Zeno Rogue
84afa659c8 geometry changing now keeps gp:: state if possible -- no longer disable when switching to nonorientable or a4 2018-07-10 13:17:55 +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
cb1a65221c [10.3i] random pattern mode: randomized the starting land; Baby Tortoises no longer appear 2018-06-29 13:16:31 +02:00
Zeno Rogue
992d952005 in quotient geometries, the whole world is now generated at level 8 (otherwise Blizzard breaks down) 2018-06-28 10:29:32 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
945c8a3f71 removed the dependence of stop_game on switchWhat with CAP_DAILY 2018-06-13 00:41:02 +02:00
Zeno Rogue
56baba800b moved more includes to sysconfig.h 2018-06-12 23:10: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
c2e3ed54f0 cpp files no longer include other cpp files 2018-06-11 01:12:18 +02:00
Zeno Rogue
98246d3066 more cleanup in parameters, restartGame cleanup 2018-06-11 00:58:38 +02:00
Zeno Rogue
8ebaafe084 CAP_DAILY tags 2018-05-26 02:14:52 +02:00
Zeno Rogue
a600b157a1 disable Daily when restarting game 2018-05-26 01:29:25 +02:00
Zeno Rogue
aafe464bc6 added hooks_initgame, hooks_drawcell allows replacement 2018-05-26 01:11:19 +02:00
Zeno Rogue
099e343794 fixed geometry changing in the Tutorial 2018-05-18 17:36:35 +02:00
Zeno Rogue
530c689c98 RogueViz fixes 2018-05-18 17:34:12 +02:00
Zeno Rogue
7e0a78f7bb some work on daily 2018-05-15 23:26:04 +02:00
Zeno Rogue
301c8bde55 daily... 2018-05-01 19:38:42 +02:00
Zeno Rogue
67ad5f2f4b preparing for daily 2018-05-01 00:21:18 +02:00
Zeno Rogue
ad93e77bcc canvas_invisible option 2018-04-21 17:57:30 +02:00
Zeno Rogue
4d4343c166 selecting PQ starts you in the Palace 2018-04-15 13:19:13 +02:00
Zeno Rogue
d3250c13c8 fixed message 2018-04-15 13:19:03 +02:00
Zeno Rogue
d9381c7284 Clearing in bounded geometries 2018-04-14 10:24:02 +02:00
Zeno Rogue
15e26435f9 fixed cheatmarking 2018-04-14 09:34:33 +02:00
Zeno Rogue
210f9e80c7 More detailed land validity reporting 2018-04-13 13:08:41 +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
f459607a90 gp:: in saved config 2018-04-11 00:53:05 +02:00
Zeno Rogue
8dcaed3aaf gp:: acknowledged in save game, save map, scorelist, modecode 2018-04-11 00:30:50 +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
d31341b403 equidistant-based lands in weirdhyperbolic are now based off CR4 2018-04-04 00:08:17 +02:00
Zeno Rogue
22a92059b6 whirl 2018-04-03 23:39:18 +02:00
Zeno Rogue
229f717678 split sight/game/generation range; bonuses instead of absolute values 2018-04-03 23:34:47 +02:00
Zeno Rogue
eafd5a1eab options -W3 and -top 2018-03-30 00:20:33 +02:00
Zeno Rogue
a10491f3d6 improved the automatic rotation 2018-03-25 15:07:11 +02:00
Zeno Rogue
2c09c5ee56 structurized textures.cpp 2018-03-17 21:12:46 +01:00
Zeno Rogue
e45fb6bb20 added dragon dismounting easier 2018-02-27 23:43:21 +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
2a59ff7ab2 CAP_TOUR guards added, more exported in hyper.h, general cleanup 2018-02-08 22:27:12 +01:00
Zeno Rogue
22d3d2590f some work on the savemem feature 2018-01-26 01:45:49 +01:00
Zeno Rogue
1ef672aee4 ignore old Terracotta from PTM scores 2018-01-25 23:25:35 +01:00
Zeno Rogue
51652304ad Crossroads IV in alternate hyperbolic geometries 2018-01-08 23:11:29 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
ab018764bb fix last commit 2018-01-06 22:05:22 +01:00
Zeno Rogue
495dbba809 renamed 'truncated' to 'chamfered' 2018-01-04 18:39:04 +01:00
Zeno Rogue
075c8da3d3 saving the new stuff 2018-01-04 13:32:11 +01:00
Zeno Rogue
5f1b1a54eb Invinc monsters implemented 2018-01-02 11:15:42 +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
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