1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 13:27:17 +00:00
Commit Graph

143 Commits

Author SHA1 Message Date
?
e73d2f2f22 some work on 3D view 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Arthur O'Dwyer
5efd1f5662 Fix a compiler warning from GCC 4.6.4.
The variable name in this warning is "pre-phi-tmp", as in, some
compiler internals spilling into userspace. But I think it's probably
referring to `bestV`, and indeed, this initialization silences the
warning.

    geometry2.cpp: In function ‘void hr::virtualRebaseSimple(hr::heptagon*&, hr::transmatrix&)’:
    geometry2.cpp:366:7: error: ‘prephitmp.91209’ may be used uninitialized in this function [-Werror=uninitialized]
2019-02-10 15:51:27 -05:00
Zeno Rogue
788bc17452 fixed some bugs with calc_relative_matrix 2018-12-14 19:30:22 +01:00
Zeno Rogue
b8806c248e crystal:: specific calc_relative_matrix wshich should not block 2018-12-14 19:27:12 +01:00
Zeno Rogue
50f37a6b63 crystal:: started working on lands (Camelot done) and distances 2018-12-14 19:27:11 +01:00
Zeno Rogue
fd3b030119 crystal:: added multi-dimensional geometries (referred to as crystal), available via CLI for now 2018-12-14 19:27:11 +01:00
Zeno Rogue
cd357303b9 cleaned up surface flags 2018-12-14 19:27:11 +01:00
Zeno Rogue
f2ee616eab all Mobius bands implemented 2018-12-11 22:10:53 +01:00
Zeno Rogue
e5ebac156e calc_relative_matrix for euwrap geometries now uses cellrelmatrix nicely 2018-12-11 22:10:53 +01:00
Zeno Rogue
c993e80a18 cellrelmatrix and cellgfxdist implemented efficiently for euwrap geometries 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
2fa265ac10 implemented a better system for logging and binary output 2018-11-24 21:23:02 +01:00
Zeno Rogue
64da329f8e added new quotient spaces: Bring's, Schmutz's M(2), Schmutz's M(3) 2018-11-23 23:46:26 +01:00
Zeno Rogue
b4671e4d50 standard draw algorithm no longer recursive; prettier gp::drawrec 2018-11-23 23:45:16 +01:00
Zeno Rogue
3ef16bf6f3 implemented correctly calc_relative_matrix in Euclidean 2018-11-18 18:26:56 +01:00
Zeno Rogue
ebfe1aeac2 virtualRebase on hyperpoint now works at large distances 2018-09-30 16:23:20 +02:00
Zeno Rogue
d0ee141270 celldist now works in the binary tiling as for other geometries (distance from origin, not horocycle index); also types are computed nicely for the origin-based celldist 2018-09-28 16:27:03 +02:00
Zeno Rogue
2e16660278 fixed a bug in goldberg rebasing 2018-09-28 01:49:17 +02:00
Zeno Rogue
1b11f4e5e2 virtualRebase tohex works in Goldberg geometries 2018-09-27 21:53:11 +02:00
Zeno Rogue
5fac74b1cb fixed graphical/movement glitches in the minimal quotient space 2018-09-23 16:34:53 +02:00
Zeno Rogue
a04eef75a9 cth to handle heptspin/cellwalker translations in a nice way 2018-08-30 16:10:49 +02:00
Zeno Rogue
829850a701 dual tilings 2018-08-30 02:11:43 +02:00
Zeno Rogue
020d9679bd bitruncated Archimedean tilings 2018-08-29 04:28:34 +02:00
Zeno Rogue
6482e22219 fixed cellgfxdist and cellrelmatrix in Archimedean 2018-08-28 19:06:12 +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
6edc257f28 arcm:: improved graphics on dihedra and hosohedra 2018-08-21 04:55:39 +02:00
Zeno Rogue
1f356b1dff Crystal World and Warped Coast work correctly 2018-08-20 17:26:29 +02:00
Zeno Rogue
9cd6dd2805 correct farcorner drawing in standard tilings 2018-08-20 16:50:35 +02:00
Zeno Rogue
e72758c973 preliminary randomPointIn 2018-08-20 16:36:45 +02:00
Zeno Rogue
cd91148459 arcm:: all patterns work 2018-08-20 15:24:44 +02:00
Zeno Rogue
c54d4ec59d struct archimedean_tiling 2018-08-20 02:02:45 +02:00
Zeno Rogue
4d31e5a544 renamed 'syntetic' to 'archimedean' (enums/files/marcos/namespaces) 2018-08-19 23:06:32 +02:00
Zeno Rogue
e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue
453c06f9f9 functions with rotation parameters in S84-degree system have been removed or replaced in radian versions 2018-08-19 15:52:39 +02:00
Zeno Rogue
90b959c1d2 better geometry2 support for syntetic and standard 2018-08-19 13:46:05 +02:00
Zeno Rogue
7ea60c60d8 fixed calc_relative_matrix for syntetic sphere 2018-08-19 13:44:25 +02:00
Zeno Rogue
7bae01c168 synt:: replaced the combinatorial building process with floating-point-based one for hyperbolic geometry too 2018-08-19 00:27:20 +02:00
Zeno Rogue
5c90e6bcec improved geometry2 and displaydir functions for syntetic 2018-08-18 17:40:02 +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
7fa3de574e preliminary floorshape remapping to syntetic 2018-08-17 21:42:42 +02:00
Zeno Rogue
f60df73004 added missing declarations to hyper.h 2018-08-17 16:53:57 +02:00
Zeno Rogue
9faa285814 New file geometry2.cpp, with moved ggmatrix, relative_matrix, virtualRebase, and new get_corner_position family. Refactored in floorpatterns, textures, and grid to use get_corner_position family. 2018-08-17 16:47:06 +02:00