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

259 Commits

Author SHA1 Message Date
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
Zeno Rogue
2f9eebbb51 fixed a bug with spherical textures losing more parts than expected due to global variables changing 2018-04-18 20:56:59 +02:00
Zeno Rogue
7e033e5025 mdTwoPoint works correctly with spherical textures 2018-04-18 20:55:43 +02:00
Zeno Rogue
f1bcd91de5 fisheye model 2018-04-18 20:52:17 +02:00
Zeno Rogue
71d50015ff gp:: correct particle scaling 2018-04-14 10:27:49 +02:00
Zeno Rogue
77258cdb02 fixed drawing warped water on spheres 2018-04-11 19:01:25 +02:00
Zeno Rogue
000eb87847 gp:: sidewalls for trihepta[13] 2018-04-11 18:44:27 +02:00
Zeno Rogue
19dc51ccc5 fixed the stereographic projection of a sphere 2018-04-11 15:57:51 +02:00
Zeno Rogue
8cbb255e70 gp:: fixed some wrongly scaled tiles; using bshape_goldberg for Turtle and Rose 2018-04-10 20:27:39 +02:00
Zeno Rogue
855a236daf gp:: fixed trihepta graphics on spheres 2018-04-10 08:00:08 +02:00
Zeno Rogue
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
039e56edfe Merge remote work 2018-04-09 16:11:57 +02:00
Zeno Rogue
5fa60f6a5e rixed the incorrect size in shCaveSeabed 2018-04-09 15:56:08 +02:00
Zeno Rogue
7b4061829e draw textured spheres correctly 2018-04-06 12:19:36 +02:00
Zeno Rogue
0941411ffc .. to last commit 2018-04-06 00:33:03 +02:00
Zeno Rogue
882ec6f695 whirl:: redrockfloor[3][3], better rotation in octagonal 2018-04-04 18:01:32 +02:00
Zeno Rogue
4ca146549c whirl:: warp works 2018-04-04 15:05:12 +02:00
Zeno Rogue
cf6bd4ee4a whirl:: more floor patterns working 2018-04-04 13:50:21 +02:00
Zeno Rogue
baaa0c5e0a whirl:: R'Lyeh pattern 2018-04-04 13:12:23 +02:00
Zeno Rogue
ccb7bf9efb whirl:: Crystal World and Caves tiling work 2018-04-04 12:46:40 +02:00
Zeno Rogue
22a92059b6 whirl 2018-04-03 23:39:18 +02:00
Zeno Rogue
229f717678 split sight/game/generation range; bonuses instead of absolute values 2018-04-03 23:34:47 +02:00
Zeno Rogue
fa7822fdf8 3D effects in the new models. Also made the 3D effects in old models 'correct' 2018-03-27 04:01:30 +02:00
Zeno Rogue
7c84280b73 four new models, Mercator improved 2018-03-26 19:06:47 +02:00
Zeno Rogue
b8d2d0d878 one missing patch from export 2018-03-24 15:21:22 +01:00
Zeno Rogue
d3c9bfdd92 improved the quality of 3D models from conformal menu 2018-03-24 15:15:30 +01:00
Zeno Rogue
2c09c5ee56 structurized textures.cpp 2018-03-17 21:12:46 +01:00
Zeno Rogue
3a3c031081 fixed Android slowdown 2018-03-08 20:25:14 +01:00
Zeno Rogue
2eaddae6ee linewidth cleanup, SVG output should now work for spheres 2018-02-26 13:19:23 +01:00
Zeno Rogue
07dc1d4616 a DIRTY compile option to render in quick but dirty way 2018-02-26 13:18:41 +01:00
Zeno Rogue
182d101903 fixed slightly wrong placement when stereo is off 2018-02-26 13:18:20 +01:00
Zeno Rogue
97aa318f79 force_sphere_outline, fixed sphere outline in SVG 2018-02-26 13:17:06 +01:00
Zeno Rogue
0412ea7b7c glhr::id is now a constant; streamlined applymatrix 2018-02-20 11:30:39 +01:00
Zeno Rogue
babb8fbde4 removed the EUCSCALE parameter for consistency 2018-02-20 11:15:08 +01:00
Zeno Rogue
b75f3e5575 fixed lines 2018-02-11 23:30:19 +01:00
Zeno Rogue
cab8a0a38f Works online now! 2018-02-11 19:08:17 +01:00
Zeno Rogue
1391a7fe4d more shader cleanup 2018-02-10 18:21:19 +01:00
Zeno Rogue
87cbdc6c57 fixed spherical display in OpenGL 2018-02-09 04:30:17 +01:00
Zeno Rogue
120797d7ce uniformizing vertex attribute arrays 2018-02-09 01:46:14 +01:00
Zeno Rogue
64adb6f0ea updated the header comments to 2018, also added the missing ones 2018-02-09 00:40:26 +01:00
Zeno Rogue
4966bde3d4 started work on shaders.cpp 2018-02-09 00:29:20 +01:00
Zeno Rogue
2a59ff7ab2 CAP_TOUR guards added, more exported in hyper.h, general cleanup 2018-02-08 22:27:12 +01:00
Zeno Rogue
6c5ce655bb converted if sequences to case instructions 2018-02-05 01:17:11 +01:00
Zeno Rogue
b3f047ea6a reworked 3D vision 2018-02-03 13:41:49 +01:00
Zeno Rogue
980d05a585 prettypoly function 2018-02-01 14:30:13 +01:00
Zeno Rogue
2afe841a50 improved Worm/Tentacle/Snake graphics 2018-01-11 23:18:02 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
0dd5ed1505 made the code compile with C++11 (not requiring C++14) 2018-01-05 17:18:37 +01:00
Zeno Rogue
495dbba809 renamed 'truncated' to 'chamfered' 2018-01-04 18:39:04 +01:00
Zeno Rogue
9bfb1ecddf graphics/theming for Jelly/Ruins 2018-01-04 15:46:06 +01:00
Zeno Rogue
2bb46d36fa Switch floor tiles for more geometries 2018-01-04 14:02:58 +01:00
Zeno Rogue
3b95a9e94f floor riles for Ruins and Switch 2018-01-04 13:48:31 +01:00
Zeno Rogue
1a841aaa4a graphics for Crusher/Slaying 2018-01-03 22:32:34 +01:00
Zeno Rogue
a8460b1ac7 Theming Ruins. Implemented Orb of Slaying (also cleaning up some kill/stun/Vizier code). 2018-01-03 21:49:14 +01:00
Zeno Rogue
5a2ae1a865 simplified cellgroups 2017-12-22 21:37:30 +01:00
Zeno Rogue
d32232d9cb fixed Mercator with textures and NANs 2017-12-21 17:07:21 +01:00
Zeno Rogue
4287355c11 fixed the rendering of textured spheres 2017-12-21 14:59:16 +01:00
Zeno Rogue
57a5337b9f CAP_TEXTURE can be off; right-size textures loaded without scaling; SPF_FULLSYM 2017-12-21 11:36:07 +01:00
Zeno Rogue
49bd1a0b2b a menu for changing pattern geometries 2017-12-19 14:35:34 +01:00
Zeno Rogue
168d35cb17 drawing textures without OpenGL 2017-12-19 00:39:11 +01:00
Zeno Rogue
5185f0e186 more work on Euclidean Squares 2017-12-18 19:04:37 +01:00
Zeno Rogue
6c4538df69 further work on textures 2017-12-14 02:53:29 +01:00
Zeno Rogue
f18d51d4df removed the debug strings regarding geometry 2017-12-09 20:02:36 +01:00
Zeno Rogue
9933f373d2 improvements to patterns; codenumbers also display directions 2017-12-09 08:06:41 +01:00
Zeno Rogue
635d1f911c Refactoring: moved all the remaining pattern code from mapeditor to pattern2 2017-12-09 03:48:30 +01:00
Zeno Rogue
ecf631976f texture mode -- first commit 2017-12-09 02:20:10 +01:00
Zeno Rogue
b6604b942a fixed the POLY_INVERSE flag for user-drawn shapes 2017-12-03 18:44:51 +01:00
Zeno Rogue
f2af1d63f6 field pattern on Euclidean does torus instead of crashing 2017-12-03 16:12:20 +01:00
Zeno Rogue
dfb0f6e1c1 a4* flags are now global; cleaner polygon case implementation 2017-12-03 10:43:37 +01:00
Zeno Rogue
c0fca6e665 fixed the basic floor in nontruncated four hexagons 2017-12-03 09:54:02 +01:00
Zeno Rogue
5defb06d81 improved headers / conditional compilation 2017-12-02 00:31:36 +01:00
Zeno Rogue
d8a647d972 brightness behind the sphere configurable; works a bit better with transparency now 2017-11-13 12:23:42 +01:00
Zeno Rogue
3e9ef122aa fixed high parts disappearing in pmodels of sphere 2017-11-13 11:38:38 +01:00
Zeno Rogue
a19d4d568b refactored mdEqui 2017-11-13 11:26:21 +01:00
Zeno Rogue
672f4d7b9e lines behind sphere are now drawn (darker); better 'behind' colors when background color changes 2017-11-13 01:59:07 +01:00
Zeno Rogue
9debf3c848 fixed line drawing on spheres 2017-11-13 01:52:39 +01:00
Zeno Rogue
68f4eb537a in spherical equi-models, use the correct circle as the boundary, instead of the whole screen 2017-11-13 01:30:09 +01:00
Zeno Rogue
46e222711c fixed bugs in OverFloor and CloudSeabed in standard geometry 2017-11-08 22:35:01 +01:00
Zeno Rogue
96243d143f Mercator projection works now; fixed equidistant/equiarea on sphere 2017-11-07 16:37:39 +01:00
Zeno Rogue
a9a45c1d74 less precision of sphere in mobile 2017-11-07 13:03:21 +01:00
Zeno Rogue
441e328e4b fixed Sphere display with eyedistance 2017-11-07 03:27:53 +01:00
Zeno Rogue
64a37d3ba2 polygons a bit cleaner, use S7 and S3 not g* 2017-11-06 23:38:15 +01:00
Zeno Rogue
483e335db8 fixed glitches in Warp+Mirror 2017-11-06 23:11:40 +01:00
Zeno Rogue
ca782dcfc9 queuestr should produce frames more correctly now 2017-11-06 21:15:30 +01:00
Zeno Rogue
1e4df087c2 don't display 'bad end' 2017-11-03 19:34:51 +01:00
Zeno Rogue
37135fa48a fixed compiler warning 2017-11-01 02:29:52 +01:00
Zeno Rogue
5bb9d545b0 fixed some missing ends; fixed many spherical glitches 2017-11-01 01:02:40 +01:00
Zeno Rogue
2fce7ed478 improved some sizes 2017-10-31 01:07:51 +01:00
Zeno Rogue
04a04916a6 fixed the tortoise floor 2017-10-30 23:58:34 +01:00
Zeno Rogue
77233040b4 fixed shPeaceRing and shHeptaRing 2017-10-30 22:47:59 +01:00
Zeno Rogue
142e39ec4d fixed OverFloor[0] in standard geometry 2017-10-30 19:11:04 +01:00
Zeno Rogue
ae5938e1a4 renamed the variable 'purehepta' to 'nontruncated' 2017-10-30 12:24:41 +01:00
Zeno Rogue
48361cc5e4 actually ivy fixed now 2017-10-30 09:50:49 +01:00
Zeno Rogue
cdd8b6983b fixed seabeds, overgrown, shadows, ivy fixed 2017-10-30 09:50:29 +01:00
Zeno Rogue
36fe4c670b more work on the Crystal World 2017-10-30 09:05:16 +01:00
Zeno Rogue
c593c426b6 Fixed some incorrect pgen-images in new geometries 2017-10-30 00:10:48 +01:00
Zeno Rogue
3ede3601ea started working on the 'Dual Land' 2017-10-29 23:54:26 +01:00
Zeno Rogue
e9696e73c2 Euclidean fixes, Big Triangle 2017-10-29 23:12:33 +01:00
Zeno Rogue
b214f3e97e more fixes, mainly to Euclidean 2017-10-29 17:12:40 +01:00
Zeno Rogue
e8fc2f6674 fixed a bug which reduced the quality of graphics 2017-10-29 14:40:59 +01:00
Zeno Rogue
00c9238bd6 more rearrangement 2017-10-29 12:46:57 +01:00
Zeno Rogue
016ade10c6 lots of work on the new geometries 2017-10-29 01:57:34 +02:00
Zeno Rogue
ac37df87a5 more work on new geometries 2017-10-28 10:04:28 +02:00
Zeno Rogue
0b7b415f19 fixed sidewall ordering yet again 2017-10-27 20:11:19 +02:00
Zeno Rogue
8a44a09de5 octagonal geometry and 10.0g 2017-10-27 20:07:58 +02:00
Zeno Rogue
9f48dcf3f6 added an option to disable background particles and to change font size on desktop 2017-10-17 21:26:21 +02:00
Zeno Rogue
ee14b3035f changes to compile on Android/iOS 2017-10-17 20:36:36 +02:00
Zeno Rogue
9dc49fa297 nicer bridges over mercury 2017-10-17 12:54:59 +02:00
Zeno Rogue
a45b32d2c8 two glitches fixed in Halloween 2017-10-15 19:55:56 +02:00
Zeno Rogue
c5e2da9626 fixed bshape on some compilers 2017-10-14 19:58:46 +02:00
Zeno Rogue
5c3d89e4b5 Graphical effects for the side-orbs. 2017-10-12 12:05:12 +02:00
Zeno Rogue
362abea781 themed Alchemy2 as Volcanic Wasteland 2017-10-08 11:12:03 +02:00
Zeno Rogue
7567c34705 fixed Hall of Mirrors in PTM, added mercury rivers, improved wall sorting 2017-10-07 11:06:52 +02:00
Zeno Rogue
96bc0fbd65 more Terracotta theming 2017-10-07 00:34:10 +02:00
Zeno Rogue
62de2588cf 'u' loads the current monster image; Jiang Shi shape 2017-10-04 22:27:51 +02:00
Zeno Rogue
6d3fcf0a5d more work into Terracotta Army 2017-10-04 21:26:26 +02:00
Zeno Rogue
d18ce8fa96 minwidth, svg improvements 2017-09-30 11:28:35 +02:00
Zeno Rogue
85c46220f6 10.0m, and some unfinished features for 10.1 ;) 2017-09-03 21:12:44 +02:00
Zeno Rogue
cc03560389 10.0d 2017-07-25 00:21:36 +02:00
Zeno Rogue
8cb8e2a3ec updated to 10.0c 2017-07-23 01:33:27 +02:00
Zeno Rogue
ce5650a81f 10.0 2017-07-16 23:00:55 +02:00
Zeno Rogue
22c9217219 work in progress for 10.0 2017-07-04 15:38:33 +02:00
Zeno Rogue
7c66469394 other changes in 9.4n 2017-06-18 18:52:15 +02:00