1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00
Commit Graph

281 Commits

Author SHA1 Message Date
Zeno Rogue
8ba603fba3 svg:: circles now have better linewidth 2018-12-14 19:30:22 +01:00
Zeno Rogue
285211bcf3 invalid_point functions, and using them in smart_range and queuestr/chr 2018-12-14 19:27:12 +01:00
Zeno Rogue
7d587c63ba relative-size queuestr, queuechar, and queuecircle work better now 2018-12-11 22:10:53 +01:00
Zeno Rogue
5e0bd401fc tiny bird and tiny shark shapes, for use in RogueViz 2018-11-20 00:20:11 +01:00
Zeno Rogue
e25bc8e455 glhr:: shaderside projection for the half-plane model 2018-11-19 20:53:35 +01:00
Zeno Rogue
50a86d1e88 glhr:: shader-side band now ignores depth 2018-11-18 18:26:56 +01:00
Zeno Rogue
e7b90fdb05 fixed some minor issues with HyperRogue's 3D 2018-11-18 18:26:56 +01:00
Zeno Rogue
d935febf09 refactored some global and stereo:: variables into display_data structure 2018-11-18 18:26:56 +01:00
Zeno Rogue
680dca90c8 shaderside projection 2018-11-18 18:26:55 +01:00
Zeno Rogue
36517a105d fixed || used with POLY_FORCE_INVERTED 2018-11-11 12:55:11 +01:00
Zeno Rogue
f1b395ce52 moved backbrightness edit to colors; it is based on modelcolor rather than backcolor 2018-11-11 12:55:11 +01:00
Zeno Rogue
147dcb58c4 more models are known to sometimes require inverse 2018-11-11 11:27:36 +01:00
Zeno Rogue
c1af8f9d3a bandfixer (for normal geometries) 2018-11-11 11:27:35 +01:00
Zeno Rogue
f1b6cc0f48 ringcolor improvements 2018-11-11 11:25:59 +01:00
Zeno Rogue
d1d2a300c4 refactored the degree constant 2018-11-11 11:25:59 +01:00
Zeno Rogue
5978830e01 filled model drawing (for some models) 2018-11-11 11:25:59 +01:00
Zeno Rogue
542e80081f conformal:: new models: formula and rotated hyperboles 2018-11-11 11:25:59 +01:00
Zeno Rogue
4513500f23 size check disabled in Joukowsky 2018-11-01 19:08:01 +01:00
Zeno Rogue
115b9b0f45 small refactor 2018-11-01 19:08:01 +01:00
Zeno Rogue
66e3908f8a fixed for older compilers 2018-10-28 04:06:59 +01:00
Zeno Rogue
53687108f6 svg:: improved linewidth 2018-10-28 03:09:07 +01:00
Zeno Rogue
77837e0810 Hyperboloid/Hemisphere models improved on sphere/Euclidean oto 2018-10-28 03:09:07 +01:00
Zeno Rogue
d89882a30d better darkening of the other side 2018-10-28 03:09:07 +01:00
Zeno Rogue
804b489ebf improved hemisphere model; nicer handling of ballangle 2018-10-28 03:09:06 +01:00
Zeno Rogue
cbb53cfe68 Joukowsky transform, and better inverted Poincare 2018-10-28 03:09:06 +01:00
Zeno Rogue
b44063f500 darken_color correctly darkens hyperboloid instead of disabling it 2018-10-23 20:12:38 +02:00
Zeno Rogue
f887ae23a6 draw_back() now darkens both fill color and stroke color 2018-10-23 20:11:49 +02:00
Zeno Rogue
8a37a43547 improved hyperboloid model 2018-10-23 20:08:57 +02:00
Zeno Rogue
a9535878c4 model orientation 2018-10-23 16:58:19 +02:00
Zeno Rogue
ddba5f0faa matrix-based queuestr and queuecircle now know how to scale their output appropriately to geometry 2018-09-23 16:34:53 +02:00
Zeno Rogue
8999ceb59b fixed texts disappearing when scale is set to less than 0 2018-09-10 17:24:58 +02:00
Zeno Rogue
4ae9156c30 more glitch fix 2018-09-07 17:45:21 +02:00
Zeno Rogue
6f3fcb2694 fixed a bug with centerin 2018-09-07 17:28:55 +02:00
Zeno Rogue
093022b3ec more elegant tinf handling 2018-09-07 17:28:40 +02:00
Zeno Rogue
04554a436f improved INVERSE issues in stereographic 2018-09-07 16:18:40 +02:00
Zeno Rogue
a74a73cac1 fixed a bug with infront graphics (caused by draw() changing the parameter) 2018-09-07 15:17:48 +02:00
Zeno Rogue
3e1cb1ba6d fixed incorrect rendering in models with MINIMIZE_GL_CALLS 2018-09-05 15:21:24 +02:00
Zeno Rogue
2938ea20d0 fixed a bug with dqi_poly::draw() in other models 2018-09-05 03:51:30 +02:00
Zeno Rogue
c49c4eccb2 added missing const in queue sort 2018-09-05 00:18:40 +02:00
Zeno Rogue
78fc8e04b0 faster text with MINIMIZE_GL_CALLS 2018-09-04 23:27:51 +02:00
Zeno Rogue
35353fe70e faster graphics with MINIMIZE_GL_CALLS 2018-09-04 23:27:27 +02:00
Zeno Rogue
1ab460ffb1 type color_t should now be consistently used for colors; reimplemented drawqueue in OO fashion 2018-09-04 19:53:42 +02:00
Zeno Rogue
a4cf130b78 constexpr int PMAX 2018-09-01 14:31:13 +02:00
Zeno Rogue
00937fff3c fixed the Compass graphics 2018-08-31 04:19:21 +02:00
Zeno Rogue
e6fd183302 fixed Ivy graphics on euclid6 2018-08-28 19:06:43 +02:00
Zeno Rogue
015e69cf30 simplified the scaling scode 2018-08-28 19:05:57 +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
1af2c04407 enum class used for PPR 2018-08-28 14:27:23 +02:00
Zeno Rogue
25c09154dc fixed a crash when drawing inventory items while drawcell is also NULL; priority functions now use PPR_DEFAULT not -1; priority is passed as PPR not int 2018-08-28 13:45:11 +02:00
Zeno Rogue
ff84f63abd Fixed mapediting floorshapes. Also works nicely for all geometries now. Enum used for shapegroups. 2018-08-27 19:27:35 +02:00
Zeno Rogue
6edc257f28 arcm:: improved graphics on dihedra and hosohedra 2018-08-21 04:55:39 +02:00
Zeno Rogue
0fd9cc46f2 improved spherical display of low-face polyhedra 2018-08-21 02:38:50 +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
29a9980fc3 more improvements to scaling in syntetic 2018-08-19 13:46:22 +02:00
Zeno Rogue
7ea60c60d8 fixed calc_relative_matrix for syntetic sphere 2018-08-19 13:44:25 +02:00
Zeno Rogue
09fb882b71 replaced shFullCross with an alternative which works in any geometry 2018-08-17 16:48:26 +02:00
Zeno Rogue
4f3cc3783a binary tiling 2018-08-09 19:28:53 +02:00
Zeno Rogue
9589fcb4b1 fixed some glitches in the spherical projections 2018-08-05 16:18:35 +02:00
Zeno Rogue
6b4ed57152 fixed the orb drawings 2018-08-01 15:03:48 +02:00
Zeno Rogue
a50169e3d3 fixed the lines in the svg screenshots 2018-08-01 11:25:07 +02:00
Zeno Rogue
1b44899624 line quality option 2018-08-01 11:07:22 +02:00
Zeno Rogue
5e2a65a781 vertical stretch parameter is now available in all models; more details in equi-area 2018-08-01 04:01:16 +02:00
Zeno Rogue
e27cd9b654 stretch factor in cylindrical equidistant and cylindrical equi-area models 2018-07-30 17:44:11 +02:00
Zeno Rogue
d32fe9192e use the old reverse-side algorithm if texture is on 2018-07-27 22:14:33 +02:00
Zeno Rogue
b1653689da silenced an 'uninitialized variable' warning 2018-07-23 23:58:59 +02:00
Zeno Rogue
19ac4dd945 pkResetModel now does stereo::set_projection(0) 2018-07-23 23:37:54 +02:00
Zeno Rogue
12dd76b216 new system for inverting stereographic projections, and other improvements in the spherical perspective 2018-07-23 16:17:49 +02:00
Zeno Rogue
2e7b5f0c16 improved the gnomonic projection of the sphere; there are still glitches with stereographic 2018-07-23 16:17:49 +02:00
Zeno Rogue
329a2fa783 fixed the compilation without CAP_COMMANDLINE or without CAP_SVG or fakemobile 2018-07-22 12:50:03 +02:00
Zeno Rogue
4d2f79ba95 rewritten the system to display 3D. This fixes the spherical display not working in stereo mode, and is more clean. 2018-07-22 00:39:57 +02:00
Zeno Rogue
30cb9158cb moved svg and PNG screenshot to a new file screenshots.cpp; moved some commandline arguments from commandline.cpp to their respective modules 2018-07-19 23:46:58 +02:00
Zeno Rogue
12e2447314 better scaling of walls[1] in irr 2018-07-17 02:37:57 +02:00
Zeno Rogue
bb0f482511 irr:: fixed the Dragon and Ivy graphics 2018-07-16 21:43:24 +02:00
Zeno Rogue
7cff92b20f irr:: reduced precision of lines, just like in gp 2018-07-16 21:43:10 +02:00
Zeno Rogue
4d61f2169e irr:: Orb of the Sword and Kraken. 2018-07-16 21:41:59 +02:00
Zeno Rogue
12cfc0b0b5 fixed the size of Krakens and shMagicSword on euclid4 2018-07-10 13:15:49 +02:00
Zeno Rogue
ef182b225e all hr functions/variables used in rogueviz now listed in hyper.h 2018-07-09 21:02:23 +02:00
Zeno Rogue
6e4e9e0a46 SVG links no longer use an additional field in polytodraw -- they are a new type of polyunion now 2018-07-09 20:40:05 +02:00
Zeno Rogue
508c63d731 calls to rogueviz::mark and rogueviz::fixparam from HR main are now replaced by hooks 2018-07-09 18:59:12 +02:00
Zeno Rogue
4d1e641663 part now works on unsigned col 2018-07-09 18:12:23 +02:00
Arthur O'Dwyer
62db7ee250 Eliminate VLAs for the benefit of MSVC. 2018-06-29 14:13:59 -07:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
4c619e60dd moved all the HyperRogue stuff except RogueViz to namespace 'hr' -- useful when using hr as a library 2018-06-11 01:58:31 +02:00
Zeno Rogue
c2e3ed54f0 cpp files no longer include other cpp files 2018-06-11 01:12:18 +02:00
Zeno Rogue
d40680358c faster drawing of convex shapes online 2018-06-07 14:29:22 +02:00
Zeno Rogue
d7884d7731 reduced the priority of shBigTriangle so that it is below other floors -- looks better in Crystal sublands 2018-05-22 22:07:47 +02:00
Zeno Rogue
935d519cbe one more debug removed 2018-05-08 01:15:29 +02:00
Zeno Rogue
666ddb007e MAJOR REWRITE of floor patterns 2018-05-07 20:13:56 +02:00
Zeno Rogue
b6969bca22 improved the Escher-style tesselations on GP(big) cube 2018-05-04 18:09:48 +02:00
Zeno Rogue
94c72f5d89 fixed the Kraken size 2018-05-04 12:55:18 +02:00
Zeno Rogue
130587e2ba gp:: reduce the line quality in spherical geometry (rendered too slow) 2018-05-04 12:55:10 +02:00
Zeno Rogue
1c07230f88 on-demand building of plainshapes 2018-05-04 12:20:50 +02:00
Zeno Rogue
79b6af41ff improved the Kraken graphics in various geometries 2018-05-04 02:47:33 +02:00
Zeno Rogue
c721851db1 general non-special-floor cleanup; standard and full floors are now perfect in gp 2018-05-04 02:46:44 +02:00
Zeno Rogue
5a9bc6c014 gSmallElliptic geometry 2018-05-01 19:34:09 +02:00
Zeno Rogue
39916901ee improved square model in non-hyperbolic geometries 2018-04-23 12:50:51 +02:00
Zeno Rogue
323893094f improvements in the two-point model on the sphere 2018-04-21 12:18:33 +02:00