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

337 Commits

Author SHA1 Message Date
Zeno Rogue
67b3a35f1f compatibility with old portal maps which indexed faces differently 2024-11-07 22:24:38 +01:00
Zeno Rogue
2d8397d289 as_poly() to eliminate dynamic_cast<dqi_poly*> 2024-10-05 13:11:23 +02:00
Zeno Rogue
75a73f40b3 try harder to fit editor menu on the screen 2024-07-27 21:05:10 +02:00
Zeno Rogue
47e5eb1e93 pressing 0..9 keys now changes the radius in map editor 2024-07-27 18:20:47 +02:00
Zeno Rogue
9c60df7dde more changes of set_plain to set_plain_nowall 2024-07-27 18:14:27 +02:00
Zeno Rogue
5fe4007fd5 drawing tool:: improved the performance of mouse_snap 2024-07-27 18:11:41 +02:00
Zeno Rogue
31e911ba15 drawing tool:: improved performance of snapping, by caching 2024-07-27 18:02:10 +02:00
Zeno Rogue
ec79bb156b changed the default color in drawing tool to red 2024-07-27 18:00:42 +02:00
Zeno Rogue
b4fbe573ab mapeditor now compiles without warning 2024-07-09 17:56:12 +02:00
Zeno Rogue
e206283c4a some fixes to mapeditor grid 2024-06-29 23:48:32 +02:00
Zeno Rogue
2d89a028ac always see the keys in editors 2024-06-29 10:58:43 +02:00
Zeno Rogue
cbf8167d8f fixed ESC not working in draw editor, and 'fill' showing incorrectly 2024-06-29 10:49:17 +02:00
Zeno Rogue
edc173a538 fixed 'draw' in drawing tool while the map is rotated by mouse or animated movement 2024-06-29 10:48:57 +02:00
Zeno Rogue
53487f32ff adjusted the translations to the Editor changes 2024-06-29 10:03:42 +02:00
Zeno Rogue
e2cd21d3be changed the UI style of the editor to match the rest of the game 2024-06-28 23:33:28 +02:00
Zeno Rogue
de3ad6d718 renamed gRotSpace to gTwistedProduct, and similar 2024-06-16 17:46:56 +02:00
Zeno Rogue
4f868faee4 improved handling of missing files in arb::run 2024-06-02 17:17:34 +02:00
Zeno Rogue
9ba9797068 fixed CLI -picload 2024-05-09 10:44:37 +02:00
Zeno Rogue
ce825db2c0 redone the canvas coloring system 2024-05-09 10:44:37 +02:00
Zeno Rogue
3791daf9e3 map editor now can save irregular maps (also should save modes too) 2024-03-23 21:21:16 +01:00
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