1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-04 21:26:17 +00:00
Commit Graph

317 Commits

Author SHA1 Message Date
Zeno Rogue
39ddc3dc33 fix compile bug 2023-12-02 19:34:06 +01:00
Zeno Rogue
6ef4a8a5e9 draw:: fixed drawing mode on quotient spaces 2023-12-02 12:07:23 +01:00
Arthur O'Dwyer
62629f3e70 Change static const to static constexpr wherever possible
Since we require C++11, most of these consts can be constexpr.

Two `static const ld` remain non-compile-time-evaluable because
they depend on the runtime `log` function. One `static const cld`
remains non-compile-time because `std::complex<T>` doesn't become
constexpr until C++14.
2023-08-23 09:47:28 -08:00
Zeno Rogue
74f1a93dc3 save_geometry now saves disksize and diskshape 2023-08-14 21:10:44 +02:00
Zeno Rogue
22636060dc no more pop when number dialog calls another 2023-08-13 13:45:25 +02:00
Zeno Rogue
b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02:00
Zeno Rogue
3f1dc8a4c4 introduced new CAP, CAP_PORTALS 2023-04-15 01:30:05 +02:00
Zeno Rogue
dfcfee087d added missing guard for intra 2023-04-11 16:44:22 +02:00
Jacob Mandelson
9982f88a41 Only use 'texture' in editAt guard when CAP_TEXTURE is set. 2023-03-11 08:27:03 -08:00
Zeno Rogue
6115e5a96d texture pattern no longer affects map editor pattern 2023-02-05 22:00:29 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
bf001926c2 refactored the vertical movement functions 2022-12-09 02:33:15 +01:00
Zeno Rogue
06523e063e used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable 2022-11-13 16:22:55 +01:00
Zeno Rogue
6ef282173f map editor:: building mode 2022-10-27 16:06:39 +02:00
Zeno Rogue
3ce5597cc1 editing map/portals now changes map_version 2022-10-27 16:06:39 +02:00
Zeno Rogue
f4282e1118 intra:: create/manage portal maps from the map editor 2022-10-27 16:06:39 +02:00
Zeno Rogue
e653f4eaeb shiftclick in mapeditor now deletes stuff 2022-10-27 16:06:39 +02:00
Zeno Rogue
7ca6eb1658 pure_keys_scroll now available in map settings 2022-10-27 16:06:39 +02:00
Zeno Rogue
29ba4138a4 dialog:: improvements to list dialogs 2022-10-27 16:06:39 +02:00
Zeno Rogue
0fc2dc2d65 dialog:: list used in mapeditor 2022-10-27 16:06:39 +02:00
Zeno Rogue
3f005908c4 shape editor: shift+S also saves in the simpler format 2022-09-14 21:14:44 +02:00
Zeno Rogue
5e59f299c6 fixed a bug with incorrect colors_of_floors remaining 2022-08-13 22:43:45 +02:00
Zeno Rogue
ff16f35e0b added some missing guards for CAP_RACING and CAP_COMMANDLINE 2022-07-12 14:46:31 +02:00
Arthur O'Dwyer
0ae74aad62 Fix more instances of Clang's -Wunqualified-std-cast-call 2022-07-05 13:28:00 -04:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue
5e27a2cc88 shift+A now exits the map editor 2022-06-23 13:02:37 +02:00
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