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

455 Commits

Author SHA1 Message Date
Zeno Rogue
724d3516fa variant:: first version 2019-04-29 17:19:05 +02:00
Zeno Rogue
c67d7e06c6 racing:: remembering ghost, track selection (with times), completion percentage shown 2019-04-29 17:19:05 +02:00
Zeno Rogue
f6226665d0 racing:: subscreens used with multiple players 2019-04-29 17:19:05 +02:00
Zeno Rogue
16a5e45c0a racing:: first commit 2019-04-29 17:19:05 +02:00
Zeno Rogue
74ad8ea135 brownian:: more serious work 2019-04-29 17:19:05 +02:00
Zeno Rogue
a876f206f6 shapes work correctly with CAP_EDIT off 2019-02-09 14:22:05 +01:00
Zeno Rogue
6abb527854 added missing CAP_TEXTURE guards 2019-02-08 16:55:35 +01:00
Arthur O'Dwyer
a478bb1485 Fix some minor std::function-related bugs.
Lambdas to be stored in `function<void()>` should not return `bool`.

Two uses of `std::function` could be just `function`, like everywhere
else in the codebase.
2019-02-06 18:48:53 +01:00
Zeno Rogue
34256f8d68 wobbling added to moving humanoid characters 2019-02-06 18:48:53 +01:00
Zeno Rogue
7a589090d3 texture:: texture ghosts are now shown correctly 2019-02-06 18:48:52 +01:00
Zeno Rogue
cd2fa33bbc no more alpha on floors while editing textures 2019-02-06 18:48:52 +01:00
Zeno Rogue
c3087ad540 added new -wsh: '^' which draws no borders between full floors 2019-02-06 18:48:52 +01:00
Zeno Rogue
9f88c6b81c graphical display of the paths for Orb of Air 2019-02-06 18:48:52 +01:00
Zeno Rogue
91873c19c6 fixed the cameraangle option 2019-02-06 18:48:52 +01:00
Zeno Rogue
444bb762d7 crystal:: added a conduct for doing Camelot without compasses 2019-02-06 18:48:33 +01:00
Zeno Rogue
97c546db64 spatial_graphics are now disabled in Klein model 2019-02-06 16:38:31 +01:00
Zeno Rogue
f680713dfd Fixed the meaningo of color parameter in addauraspecial 2019-02-06 16:38:19 +01:00
Zeno Rogue
058a2a5027 fixed aura specials 2019-02-06 16:38:05 +01:00
Zeno Rogue
e2b262979b startgame animations 2019-02-06 16:36:52 +01:00
Zeno Rogue
52dfd434bb more fixes for mobiles 2018-12-15 17:54:36 +01:00
Zeno Rogue
4d3f33deec sidescreen now requires screen ratio strictly greater than 4:3 2018-12-14 19:30:22 +01:00
Zeno Rogue
2c0cda9fa8 you can no longer see mines by changing the color of waMineUnknown/waMineMine 2018-12-14 19:27:12 +01:00
Zeno Rogue
d8bf550d37 surface 3D graphics are now automatically disabled in rug (won't work correctly with quotient rugs anyway) and in pmodels which do not support it 2018-12-14 19:27:12 +01:00
Zeno Rogue
46256155d7 crystal:: compass generation 2018-12-14 19:27:12 +01:00
Zeno Rogue
f7db0feef0 currfp returns fp_invalid when fp is not known, and does not use it 2018-12-11 22:10:53 +01:00
Zeno Rogue
cd511585ae fixed a bug with sidescreen working 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
0d691ab16a fixup: missing drawStandard 2018-11-24 01:30:49 +01:00
Zeno Rogue
8e2727882e shmup:: rewritten shmup configuration in OOP style 2018-11-18 18:26:56 +01:00
Zeno Rogue
eec70d7265 fixed subscreen computations 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
450526cc40 fix missing #endif 2018-11-11 16:40:51 +01:00
Zeno Rogue
8b91404a4e mirrorcolor is now always affected by mimic color changes 2018-11-11 12:55:11 +01:00
Zeno Rogue
1d0b5878fc left-handed player characters 2018-11-11 11:27:36 +01:00
Zeno Rogue
44c1b43b1c refactored do_draw(cell*, const transmatrix&) 2018-11-11 11:27:36 +01:00
Zeno Rogue
a6b8d4f79a the Princess is left-handed now 2018-11-11 11:27:35 +01:00
Zeno Rogue
c3c465f742 customizable colors for game objects 2018-11-11 11:27:29 +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
071e9a5cac moved draw_boundary and draw_model_elements from graph to hypgraph 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
b019cfcd4f refactored colortables 2018-11-11 11:25:59 +01:00
Zeno Rogue
1ba1b141f3 smart display range 2018-11-01 19:07:50 +01:00
Zeno Rogue
53687108f6 svg:: improved linewidth 2018-10-28 03:09:07 +01:00
Zeno Rogue
df124f347e fixed Joukowsky aura 2018-10-28 03:09:07 +01:00
Zeno Rogue
acad978637 radius is now ld not int 2018-10-28 03:09:07 +01:00
Zeno Rogue
66910c757f implemented auras for Joukowsky projections in transition 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
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
dee2b23991 replaced chosenDown with a better set of functions 2018-09-27 21:53:07 +02:00
Zeno Rogue
608a55499a displaying distance lists now depends on show_distance_lists, not whether sidescreen is supported 2018-09-23 16:34:53 +02:00
Zeno Rogue
c1de923454 extra features related to expansion 2018-09-21 19:51:13 +02:00
Zeno Rogue
12a2a78d8a enabled sightrange increase in Archimedean, also translation of sightrange and better note about additional options 2018-09-21 19:50:18 +02:00
Zeno Rogue
2762b1197c fixed wrong infinity used 2018-09-14 01:36:58 +02:00
Zeno Rogue
a556ef0823 improvements in expansion 2018-09-13 20:38:06 +02:00
Zeno Rogue
94ad7744ad disabled 'press SPACE to find' in animations 2018-09-10 19:47:12 +02:00
Zeno Rogue
dbdb1ba6dc fixed the animation of snakelike creatures in quotient geometries 2018-09-10 18:46:27 +02:00
Zeno Rogue
6f2deeafcc animation menu 2018-09-10 18:12:07 +02:00
Zeno Rogue
a1fe4333d5 remaning anim sync 2018-09-10 17:56:37 +02:00
Zeno Rogue
e99c188fae better system of syncing game animations 2018-09-10 17:49:51 +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
621220cf13 hooks in drawmarkers 2018-09-06 22:34:35 +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
c08a6bf79a fixed compilation without CAP_EDIT and CAP_CONFIG 2018-08-31 20:59:58 +02:00
Zeno Rogue
d9fef1b06e fixed an issue with Windy Plains bubble animation, also made it work in all geometries 2018-08-31 19:15:02 +02:00
Zeno Rogue
eda3f04a39 fixed a graphical issue with water next to chasm (the water tile looked as if it was a floor) 2018-08-31 19:09:45 +02:00
Zeno Rogue
c1cdd74dd2 fixed a crash bug when displaying Reptiles 2018-08-31 04:18:58 +02:00
Zeno Rogue
a7f1e560c5 subcodes can be (de)selected in the pattern selection 2018-08-30 19:14:04 +02:00
Zeno Rogue
6bcb225f1e fixed and simplified Sword graphical placement 2018-08-30 18:11:41 +02:00
Zeno Rogue
56db823daa fixed sidewall drawing in non-pure Archimedean 2018-08-30 16:10:49 +02:00
Zeno Rogue
80e0ad5cd0 fixed some lands in Archimedean dual 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
31fc90e6b8 fixed the placement of Orb of Sword in variation pure 2018-08-28 19:18:10 +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
89f0a6ba8a some more bugfixes 2018-08-28 14:09:36 +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
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