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
Zeno Rogue
e74eeca2c3
the 'copy' button in the Map Editor works with the mouse now
2020-09-16 23:49:17 +02:00
Zeno Rogue
8173fc0504
more guards
2020-08-03 23:25:08 +02:00
Zeno Rogue
a66136625d
save/load arb geometry
2020-08-02 12:56:43 +02:00
Zeno Rogue
3505f17460
redone modecode
2020-08-02 12:55:37 +02:00
Zeno Rogue
ecbd8806e7
added some missing guards
2020-07-30 02:29:59 +02:00
Zeno Rogue
6e0de94ff1
fixed discrepancy in last
2020-07-28 22:06:14 +02:00
Zeno Rogue
b6872b66a1
mapeditor:: in_front_dist now works with mouseaim sensitivity off
2020-07-28 22:06:14 +02:00
Zeno Rogue
92715e5799
fixed weird shadow of Text button
2020-07-28 22:06:14 +02:00
Zeno Rogue
d5950e7cf9
drawing tool now works in 3D, and if you are drawing inside a movement animation
2020-07-28 22:06:14 +02:00
Zeno Rogue
dcda11d740
fixed a bug while saving/loading INVERSE maps
2020-07-28 22:06:14 +02:00
Zeno Rogue
82f32607e6
MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix
2020-07-28 22:06:14 +02:00
Zeno Rogue
351eda2b5d
generalized PSL to ~SL (discrepancies still appear)
2020-07-24 02:30:50 +02:00
Zeno Rogue
7deb98154f
fixed save/load text
2020-07-12 21:39:34 +02:00
Zeno Rogue
bcd2a6230f
text in drawing tool
2020-07-12 21:39:34 +02:00
Zeno Rogue
3f53698f36
fixed unused variables in mapeditor
2020-07-04 13:33:14 +02:00
Zeno Rogue
89585f004b
fixed some guards (in progress)
2020-07-03 14:42:33 +02:00
Zeno Rogue
c5a7b15e98
an option to start in draw editor, and to clear shapes
2020-05-01 12:27:49 +02:00
Zeno Rogue
38d668ee7c
text in drawing tool (not yet addable)
2020-04-26 11:01:45 +02:00
Zeno Rogue
009b05c919
reworked some modifier keys
2020-04-19 22:43:16 +02:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming
2020-04-19 13:39:07 +02:00
Zeno Rogue
4ffbe27784
pen width and paint color are now defined in mapeditor.cpp not texture.cpp
2020-04-18 16:10:56 +02:00
Zeno Rogue
f504eef7df
fixed the lacking virtual desctructor
2020-04-18 14:32:54 +02:00
Zeno Rogue
c24658bf38
more drawing tool improvements; no crash drawing tool; restart editors will ask for confirmation
2020-04-17 20:34:49 +02:00
Zeno Rogue
62c6651392
drawing tool improvements
2020-04-17 20:18:50 +02:00
Zeno Rogue
ad233a1e19
drawing tool
2020-04-17 20:04:33 +02:00
Zeno Rogue
0472bf764f
moved all projection-related parameters to a special struct; another copy of that struct created for rug
2020-04-17 00:53:58 +02:00
Arthur O'Dwyer
934e3d9a42
Consistently name every hookset with prefix hooks_
. NFC.
...
I'm sure this causes massive merge-conflicts in the non-public code,
but I think it'd be a good idea, if only to avoid confusion between
e.g. `clearMemory` and the-variable-formerly-known-as `clearmemory`.
2020-04-12 10:49:32 -04:00
Zeno Rogue
e4a8b73819
nisot:: nicer precision setting
2020-04-11 15:08:24 +02:00
Arthur O'Dwyer
a0da10b408
Remove extraneous semicolons to quiet pedantic GCC warnings.
2020-03-23 14:38:57 -04:00
Zeno Rogue
b2a6ae304d
fixed a bug in loading maps from old versions
2020-03-22 09:48:24 +01:00
Zeno Rogue
2ccb48f765
WFC can be experimented with
2020-03-07 04:47:10 +01:00
Zeno Rogue
27e19ca5ca
mapeditor:: canvas_default_wall can be set now
2020-01-28 17:58:55 +01:00
Zeno Rogue
2271a67506
removed the MAX_EDGE limit
2020-01-18 16:03:32 +01:00
Zeno Rogue
31b9310552
fixup mineadj -> mine_adjacency_rule
2019-12-27 11:57:23 +01:00
Zeno Rogue
cb4ce17598
mapeditor:: read/write mineadj
2019-12-27 11:33:22 +01:00
Zeno Rogue
c247936e34
removed the functions queuechr -- use queuestr now
2019-12-26 23:38:28 +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
0a9ec78c18
remplace euclid6, euclid4, 'euclid && \!archimedean && \!penrose' with standard_tiling(), euc::in(dimension, s7)
2019-12-14 11:57:23 +01:00
Zeno Rogue
ddb5d07ff6
cleanup in Euclidean
2019-12-08 10:59:09 +01:00
Zeno Rogue
59e58693f4
mapeditor:: correct and efficient ghosts when using a larger range or quotient spaces
2019-12-06 14:03:54 +01:00
Zeno Rogue
25bc0f56de
kth-turn product space (via CLI)
2019-11-30 18:06:48 +01:00
Zeno Rogue
0ff27cc5b8
save torus periods
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
9b329ef901
fixed loading product maps (especially Archimedean product maps)
2019-11-23 23:09:06 +01:00
Zeno Rogue
222e4aa78b
mapeditor:: save geometry details
2019-11-23 21:08:47 +01:00
Zeno Rogue
021f99aafa
save compatibility: field quotient configured
2019-11-22 23:16:06 +01:00
Zeno Rogue
85a08d205d
refactored celldraw
2019-10-25 12:44:41 +02:00
Zeno Rogue
848eb8f48b
export everything: modules compiled separately
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
96d7496043
refactored all the operations on View
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
2f954d0538
nicer handling of WDIM, GDIM, MDIM, sig
2019-09-12 22:50:15 +02:00
Zeno Rogue
201098efe9
convenience functions zforward_dir and zpush0
2019-09-12 22:50:15 +02:00
Zeno Rogue
c83b5b9ad8
product:: draw editor
2019-09-12 22:50:14 +02:00