1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-10 15:59:53 +00:00
Commit Graph

291 Commits

Author SHA1 Message Date
Zeno Rogue
d2333c15c3 racing:: restore_goals on save 2022-06-16 23:13:06 +02:00
Zeno Rogue
d2bd8933dd racing:: new system 2022-06-16 23:10:44 +02:00
Zeno Rogue
9331309af9 map:: lost memory not saved 2022-06-16 23:07:36 +02:00
Zeno Rogue
f0e07eca66 map:: save halls of mirrors correctly 2022-06-16 23:07:20 +02:00
Zeno Rogue
86d1f109bc mapstreams:: now work with sstream too 2022-06-16 23:06:49 +02:00
Zeno Rogue
793148729b An option to play on a disk (and use bounded space rules). Also renamed 'bounded' flag to 'closed' or similar, and improved Halloween 2022-05-21 13:08:42 +02:00
Zeno Rogue
b0c34c4f2c added CAP_RAY guard to intra stuff 2022-05-09 15:09:23 +02:00
Zeno Rogue
6fe07c389c fixed smooth movement in modes other than sm::NORMAL 2022-05-06 19:55:09 +02:00
Zeno Rogue
78b0324a91 fixed some CAP guards 2022-05-06 19:54:55 +02:00
Zeno Rogue
e25b8b94c2 CLI option -canvasfloor 2022-04-24 22:57:34 +02:00
Zeno Rogue
d319173110 12.0m 2022-03-27 22:47:51 +02:00
Zeno Rogue
bcc7c9c646
Merge pull request #303 from lottieratworld/main
Extra canvas-specific options + extra animation options
2022-03-26 15:59:31 +01:00
Zeno Rogue
6b0b198446 shape editor: fixed distances shown, also more precision when snapping 2022-03-20 00:51:43 +01:00
Zeno Rogue
bbfdcea370 shape editor: mouse snapping feature 2022-03-20 00:51:43 +01:00
Charlotte Peppers
ff67930be3
Added game version check for loading maps with canvas floor and darkening 2022-03-07 18:59:49 -07:00
Charlotte Peppers
ab08a69cc6
Added Canvas Floor and Canvas Darkness options 2022-03-06 20:01:59 -07:00
Zeno Rogue
a8f8ca8536 mapeditor:: don't erase maps when loading intra maps 2022-02-28 17:32:19 +01:00
Zeno Rogue
4df17161d7 walking:: save colors_of_floors 2022-02-27 01:15:45 +01:00
Zeno Rogue
67a19d93bb added missing MAXMDIM guards 2022-02-17 21:00:10 +01:00
Zeno Rogue
6db94b134d intra:: optimize saved maps 2021-10-10 00:40:22 +02:00
Zeno Rogue
ef67ed4a75 mapstream:: save sol correctly 2021-10-10 00:40:22 +02:00
Zeno Rogue
4aa0dcf2fa mapstream:: correctly save coxeter and subcube-based variations 2021-10-10 00:40:22 +02:00
Zeno Rogue
2e5b46ff45 mapeditor:: save plevel_factor 2021-10-10 00:40:22 +02:00
Zeno Rogue
b88ec8550e mimics destroyed correctly in the map editor 2021-09-30 13:16:22 +02:00
Zeno Rogue
a5228b06a5 mapeditor:: loading maps now sets the default settings like pmodel for 3D 2021-09-17 12:20:15 +02:00
Zeno Rogue
23a860d405 intra:: intra maps are now saved correctly 2021-09-17 12:00:53 +02:00
Zeno Rogue
7a7198c45a mapeditor:: 3D field quotients are now saved correctly 2021-09-17 11:56:18 +02:00
Zeno Rogue
0dfa361453 arb:: converted and rulegen status is now saved in save_geometry 2021-07-31 15:14:31 +02:00
Zeno Rogue
00146174da 'edit cell values' option now visible in the map editor 2021-06-17 09:44:48 +02:00
Zeno Rogue
e6dd27f5bf dice:: now work correctly in non-orientable spaces 2021-06-17 09:44:48 +02:00
Zeno Rogue
50a9c78343 load/save/place dice in the map editor 2021-06-01 13:07:56 +02:00
Zeno Rogue
0f767e16b6 XLAT refactor continued 2021-05-23 16:00:50 +02:00
Zeno Rogue
c0002da574 refactored some XLAT calls for automated analysis, fixing some bugs on the way 2021-05-23 16:00:50 +02:00
Zeno Rogue
056419288c enabling canvas now automatically enables ls::single 2021-04-23 20:09:23 +02:00
Zeno Rogue
e47f4fbba5 throw exception in mapeditor while saving with no parent 2021-04-07 18:15:58 +02:00
Zeno Rogue
0af2877cc1 improved hooks_loadmap system so that it is known if extra modules are to be loaded; also added CLI option -save 2021-04-07 18:13:45 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00
Zeno Rogue
b6e7c355bf mapstream:: export some additional functions 2021-03-16 19:54:57 +01:00
Zeno Rogue
03cbe7f7e3 yet another initialization order error fixed 2021-03-11 10:01:21 +01:00
Zeno Rogue
b921a5a81b drawing tool and shape editor can now be used with texture mode enabled 2021-02-01 11:45:52 +01:00
Zeno Rogue
87d5545428 option -dred to debug drawingtool quickly 2020-12-31 19:11:14 +01:00
Zeno Rogue
d5fc277531 3D drawing 2020-12-31 19:11:14 +01:00
Zeno Rogue
cafc265cc6 vr:: controller ray now extend to the correct distance 2020-12-31 19:11:14 +01:00
Zeno Rogue
b1cb66e468
Merge pull request #129 from Quuxplusone/unordered-map
Remove USE_UNORDERED_MAP because it has bit-rotted.
2020-11-05 20:03:13 +01:00
Zeno Rogue
72a451b139 fixed selecting large regions for copying with mouse 2020-11-05 16:05:06 +01:00
Arthur O'Dwyer
d163a01b8a Remove USE_UNORDERED_MAP because it has bit-rotted.
Trying to compile with `-DUSE_UNORDERED_MAP` produces lots of compiler errors
like these, because of missing `std::hash` specializations.
Also, `#define unordered_map map` is just evil!

```
./nonisotropic.cpp:875:36: note: in instantiation of template class 'std::__1::unordered_map<hr::nilv::mvec, hr::heptagon *,
      std::__1::hash<hr::nilv::mvec>, std::__1::equal_to<hr::nilv::mvec>, std::__1::allocator<std::__1::pair<const hr::nilv::mvec, hr::heptagon
      *> > >' requested here
    unordered_map<mvec, heptagon*> at;
                                   ^

./nonisotropic.cpp:239:58: note: in instantiation of template class 'std::__1::unordered_map<std::__1::pair<hr::heptagon *, hr::heptagon *>,
      hr::heptagon *, std::__1::hash<std::__1::pair<hr::heptagon *, hr::heptagon *> >, std::__1::equal_to<std::__1::pair<hr::heptagon *,
      hr::heptagon *> >, std::__1::allocator<std::__1::pair<const std::__1::pair<hr::heptagon *, hr::heptagon *>, hr::heptagon *> > >'
      requested here
    unordered_map<pair<heptagon*, heptagon*>, heptagon*> at;
                                                         ^

./nonisotropic.cpp:457:49: error: no matching member function for call to 'iadj'
      while(h1->distance < h2->distance) back = iadj(h2, down) * back, h2 = h2->cmove(down);
                                                ^~~~
cell.cpp:42:15: note: candidate function not viable: no known conversion from 'hr::sn::hrmap_solnih' to 'hr::hrmap' for object argument
  transmatrix iadj(heptagon *h, int d) {
              ^
cell.cpp:41:22: note: candidate function not viable: no known conversion from 'hr::sn::hrmap_solnih' to 'hr::hrmap' for object argument
  struct transmatrix iadj(cell *c, int i) { cell *c1 = c->cmove(i); return adj(c1, c->c.spin(i)); }
                     ^
```
2020-10-19 13:15:29 -04:00
Zeno Rogue
a0865998db mapeditor now saves/loads file online 2020-09-21 12:02:23 +02:00
Zeno Rogue
9f1762f0c1 mapstream:: export saveMap, loadMap, and a hook for special saving/loading 2020-09-21 12:02:07 +02:00
Zeno Rogue
3e66b520ba draw editor:: dt_finish 2020-09-21 12:01:22 +02:00
Zeno Rogue
e26f8f5a5b optimized inverses 2020-09-16 23:49:17 +02:00