1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 18:10:35 +00:00
Commit Graph

374 Commits

Author SHA1 Message Date
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
c17efce3b5 PAT_TYPES now separate from PAT_NONE; PAT_* constants now use enum 2018-08-28 04:05:32 +02:00
Zeno Rogue
d049cb63af fixed grid drawing 2018-08-27 19:38: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
bfedf93eb0 fixed displayspin in binary 2018-08-22 11:21:58 +02:00
Zeno Rogue
01a41ba6a4 fixed Ocean not displaying at all at low detail 2018-08-22 00:26:50 +02:00
Zeno Rogue
1b50cd6be5 a button appears when player not visible; fixed space-centering 2018-08-21 18:23:31 +02:00
Zeno Rogue
7cdf1a353f improved mirrors in various geometries 2018-08-21 15:37:59 +02:00
Zeno Rogue
ae19323e00 fixed the Mimic rotation 2018-08-21 11:54:14 +02:00
Zeno Rogue
c49aa0bf09 arcm:: fixed displayspin 2018-08-21 04:24:28 +02:00
Zeno Rogue
6174261535 Crystal World and Warped Coast work correctly 2018-08-20 17:30:36 +02:00
Zeno Rogue
1f356b1dff Crystal World and Warped Coast work correctly 2018-08-20 17:26:29 +02:00
Zeno Rogue
cd91148459 arcm:: all patterns work 2018-08-20 15:24:44 +02:00
Zeno Rogue
3906e11d92 fixed grid drawing 2018-08-20 02:52:07 +02:00
Zeno Rogue
47c49c6d1d fixed some rotation bugs 2018-08-20 02:03:43 +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
676ea3a1f9 precise mouseover computation 2018-08-19 22:53:51 +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
5384ce3274 synt:: patterns 2018-08-19 15:15:47 +02:00
Zeno Rogue
b186b9d1bb shadows are actually fixed now 2018-08-18 18:01:41 +02:00
Zeno Rogue
5c90e6bcec improved geometry2 and displaydir functions for syntetic 2018-08-18 17:40:02 +02:00
Zeno Rogue
18d917da79 improved floorshape debugger 2018-08-18 17:38:07 +02:00
Zeno Rogue
a92cc33426 removed 'stdeuclid' and using 'masterless' since it was too similar to 'stdeuc' 2018-08-18 17:35:39 +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
628edd6650 removed debug which caused drawing each edge twice 2018-08-17 16:50:56 +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
Zeno Rogue
749ad03138 syntetic tilings (WIP) 2018-08-17 13:29:00 +02:00
Zeno Rogue
0b20c0a0cb grid works in the binary tiling 2018-08-14 10:18:44 +02:00
Zeno Rogue
4f3cc3783a binary tiling 2018-08-09 19:28:53 +02:00
Zeno Rogue
253c2d8b9b bitruncated irregular tilings 2018-08-05 05:07:34 +02:00
Zeno Rogue
47c69694bc fixed a bug which caused sea buoys to sometimes not appear 2018-08-04 22:25:46 +02:00
Zeno Rogue
6e1ba9e771 yet another compilation error without CAP_TEXTURE fixed 2018-08-04 18:17:42 +02:00
Zeno Rogue
7c16a9a32a texture aura option 2018-08-03 10:47:20 +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
475b223939 fixed a crash bug with displaying hypersian rugs in the inventory 2018-07-30 17:47:25 +02:00
Zeno Rogue
e601533a37 improved keyboard control in orthogonal projection of the sphere 2018-07-23 16:17:49 +02:00
Zeno Rogue
885c379b65 queuecircleat now draws stars instead if stereo::mode or in spherical geometry 2018-07-23 16:17:49 +02:00
Zeno Rogue
b502b7025d improvements to the mobile compass: can be used in modes other than MOVE (long click to switch mode to MOVE anyway); better arrow scaling 2018-07-22 15:54:44 +02:00
Zeno Rogue
4965fd8a83 the seabed layer now correctly uses the geom3::BOTTOM (was drawn using ground level perspective) 2018-07-17 14:38:32 +02:00
Zeno Rogue
03acf4ae65 Close/open/trapdoors and Rugs now look better in non-standard geometries. 2018-07-16 21:42:50 +02:00
Zeno Rogue
4d61f2169e irr:: Orb of the Sword and Kraken. 2018-07-16 21:41:59 +02:00
Zeno Rogue
c8c1e3a346 irregular grids 2018-07-16 20:05:23 +02:00
Zeno Rogue
332bae84de debugging display is used with both cheater and autocheat 2018-07-10 23:03:02 +02:00
Zeno Rogue
3345999180 gp:: Warped Coast and Crystal World do not work in a4 2018-07-10 21:55:54 +02:00
Zeno Rogue
f721c243d2 removed DOSHMUP 2018-07-09 20:38:20 +02:00
Zeno Rogue
26b4e1a7ab rogueviz:: rogueviz::on is no longer checked anywhere in the main hr 2018-07-09 19:58:13 +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
770dd20613 shift+f2 to shift+f4 can now disable HUD, FPS, and the map 2018-07-09 18:10:28 +02:00
Zeno Rogue
98ea11de86 fixed the warnings about comparing int and bool 2018-07-07 11:05:48 +02:00
Zeno Rogue
0f4de1fa9a [10.3i] fixed shooting in the Wild West 2018-06-29 13:14:49 +02:00
Zeno Rogue
d11044a80a refactoring: sval/aitmp is no more, celllister(manual) used instead 2018-06-28 12:59:35 +02:00
Zeno Rogue
0843bef893 an option to display full floors 2018-06-25 23:01:39 +02:00
Zeno Rogue
40e9c6687c new commandline options: -fsh and -noshadow 2018-06-25 22:59:29 +02:00
Zeno Rogue
63869c6d33 renamed the size function to isize 2018-06-22 14:47:24 +02:00
Zeno Rogue
35301f0a68 movement animations now work in quotient geometries 2018-06-17 17:51:26 +02:00
Zeno Rogue
95a2f617cf Rock Snakes from the Snake Nest now keep their colors in other lands 2018-06-17 12:15:46 +02:00
Zeno Rogue
06de0989cd fixed saving the full texture 2018-06-17 12:03:05 +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
d3662a935d fix compiler warnings: catch(out_of_range&) 2018-06-07 13:58:00 +02:00
Zeno Rogue
aafe464bc6 added hooks_initgame, hooks_drawcell allows replacement 2018-05-26 01:11:19 +02:00
Zeno Rogue
cf003afe17 fixed the Hive pattern 2018-05-09 21:39:37 +02:00
Zeno Rogue
39db828a38 Fixed the bugs with computing fieldpattern not in hyperbolic geometry (memory error + canvas crashes) 2018-05-09 21:32:31 +02:00
Zeno Rogue
de01907cd6 one fix 2018-05-07 21:44:57 +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
63bed379fa Halloween now uses the correct FULLFLOOR 2018-05-04 18:09:04 +02:00
Zeno Rogue
447470814f auto-disabling of Escher if it does not look well 2018-05-04 12:50:04 +02:00
Zeno Rogue
e3c3a4202e Kraken variant of pseudohept 2018-05-04 12:49:50 +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
4aa73c560c started the 'Brownian' land 2018-05-04 02:43:25 +02:00
Zeno Rogue
6f91a87ff7 Yendor/Caribbean cross appears on the boundary again 2018-04-23 13:21:00 +02:00
Zeno Rogue
e43d630185 geom3:: gp:: autoscaling 2018-04-23 12:34:14 +02:00
Zeno Rogue
ff9051426a labels are no longer displayed behind the sphere 2018-04-22 11:11:47 +02:00
Zeno Rogue
962a448a21 do not clear linepattern alpha in autocheat 2018-04-21 19:35:17 +02:00
Zeno Rogue
edf4dd42cc fixed relative gmatrix computation in gp and line animation 2018-04-21 14:01:54 +02:00
Zeno Rogue
323893094f improvements in the two-point model on the sphere 2018-04-21 12:18:33 +02:00
Zeno Rogue
274faaaf6e autocheat allows increased sight 2018-04-18 20:53:52 +02:00
Zeno Rogue
71d50015ff gp:: correct particle scaling 2018-04-14 10:27:49 +02:00
Zeno Rogue
d9381c7284 Clearing in bounded geometries 2018-04-14 10:24:02 +02:00
Zeno Rogue
66c166a81c fixed flash markers 2018-04-14 09:25:28 +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
f23dc4b585 fixed the Yendorian sky colors when scrolling 2018-04-11 18:01:39 +02:00
Zeno Rogue
1f6ee5a408 ... but only increased 2018-04-11 15:49:49 +02:00
Zeno Rogue
f6aaa0515a changing the range in bounded or Euclidean geometry is no longer considered cheating 2018-04-11 13:19:21 +02:00
Zeno Rogue
848a135135 cleaner sightrange 2018-04-11 13:16:40 +02:00
Zeno Rogue
ebda963d68 removed no longer productive 'overgenerate', improved the down/up limits of sightrange_bonus 2018-04-10 20:25:56 +02:00
Zeno Rogue
90ff8c49dc marked land quality in gp, fixed some bugs 2018-04-10 08:05:35 +02:00
Zeno Rogue
85d5ca04cf fixed Lost Mountain on spheres 2018-04-10 08:01:39 +02:00
Zeno Rogue
699798a968 gp:: correct grid display 2018-04-10 04:28:50 +02:00
Zeno Rogue
830785990c renamed whirl to goldberg 2018-04-09 17:40:12 +02:00
Zeno Rogue
a17445bee7 improved insightrange 2018-04-06 23:28:58 +02:00
Zeno Rogue
bfd3ef6abb whirl:: redrockfloor[3][3] actually appears 2018-04-04 18:04:23 +02:00
Zeno Rogue
b2b7190fbc proper coloring in Endorian Forest even when far away 2018-04-04 17:59:59 +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
7c84280b73 four new models, Mercator improved 2018-03-26 19:06:47 +02:00
Zeno Rogue
76ba4bb70c '-bright' option 2018-03-25 18:33:21 +02:00
Zeno Rogue
a10491f3d6 improved the automatic rotation 2018-03-25 15:07:11 +02:00
Zeno Rogue
f4b034450d synchronized fanframe so that the period is 1000 ticks 2018-03-24 15:21:54 +01:00
Zeno Rogue
30c2239333 animate Baby Tortoise movement 2018-03-24 15:20:53 +01:00
Zeno Rogue
d3c9bfdd92 improved the quality of 3D models from conformal menu 2018-03-24 15:15:30 +01:00
Zeno Rogue
74cc23f1c2 hemisphere model 2018-03-24 13:26:16 +01:00
Zeno Rogue
ac37b6df99 more elegant cellwalkers 2018-03-24 12:59:01 +01:00
Zeno Rogue
2c09c5ee56 structurized textures.cpp 2018-03-17 21:12:46 +01:00
Zeno Rogue
4d3d621c3a fixed the map size in portrait mode 2018-03-02 13:06:56 +01:00
Zeno Rogue
7ab6cb3c8b disabled game playing if 'renderonce' is on; in Android LR, clicking gives the menu instead of doing something else 2018-03-02 13:05:31 +01:00
Zeno Rogue
166e394e35 nomenu and nohelp options 2018-03-02 13:03:50 +01:00
Zeno Rogue
97aa318f79 force_sphere_outline, fixed sphere outline in SVG 2018-02-26 13:17:06 +01:00
Zeno Rogue
bf108b671b reversed aura when vid.alpha <= -1 2018-02-20 22:17:47 +01:00
Zeno Rogue
beffe5b756 fixed screensize/radius in portrait 2018-02-20 22:11:39 +01:00
Zeno Rogue
0412ea7b7c glhr::id is now a constant; streamlined applymatrix 2018-02-20 11:30:39 +01:00
Zeno Rogue
7218d95ce4 fixed particle transparency 2018-02-12 00:07:22 +01:00
Zeno Rogue
42cb45e720 fixed Mercury Rivers 2018-02-11 23:30:00 +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
e16320278e fixed the 3D effect on graves 2018-02-10 15:18:03 +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
6c5ce655bb converted if sequences to case instructions 2018-02-05 01:17:11 +01:00
Zeno Rogue
d3d6eec424 touch-based rug movement in android 2018-02-03 20:04:19 +01:00
Zeno Rogue
b3f047ea6a reworked 3D vision 2018-02-03 13:41:49 +01:00
Zeno Rogue
2dbfc6a4ec dont_face_pc commandline option 2018-01-31 00:10:44 +01:00
Zeno Rogue
1d5259c074 use checktide always when sightrange>7 2018-01-29 16:28:06 +01:00
Zeno Rogue
d0bee1b335 rosescent over chasm is now visible 2018-01-25 23:47:38 +01:00
Zeno Rogue
91a07dd856 removed debug display 2018-01-25 17:42:20 +01:00
Zeno Rogue
3a52193426 external additions can wrap drawthemap 2018-01-25 17:22:04 +01:00
Zeno Rogue
5bd024dba3 attack animations 2018-01-25 17:19:50 +01:00
Zeno Rogue
846df5d84f no more weird flashes 2018-01-20 17:52:59 +01:00
Zeno Rogue
0f13eae87d a single function clearAnimations 2018-01-13 19:20:46 +01:00
Zeno Rogue
f82c07e5a6 drawFlashes no longer tries to draw a flash in a gmatrix-less position 2018-01-13 01:29:29 +01:00
Zeno Rogue
eeaebf1266 fixed a crash when drawing Compass in items [would not normally happen but still] 2018-01-11 23:18:43 +01:00
Zeno Rogue
2afe841a50 improved Worm/Tentacle/Snake graphics 2018-01-11 23:18:02 +01:00
Zeno Rogue
e77314dbc1 fixed some bugs with Snake Nest generation 2018-01-06 23:39:10 +01:00
Zeno Rogue
5bf6d54c7d changed chamfered to bitruncated 2018-01-06 22:34:03 +01:00
Zeno Rogue
3fc196e0c0 fixed CAP_TEXTURE disabling 2018-01-05 17:30:03 +01:00
Zeno Rogue
b1a5aa19fa fixed snake butt graphics in the Snake Nest 2018-01-05 15:49:50 +01:00