1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 15:20:27 +00:00
Commit Graph

157 Commits

Author SHA1 Message Date
Zeno Rogue
06fa66bb46 fixed a crash in pure {4,4} 2019-09-12 22:50:13 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
0ef57dde15 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
609d1b91d3 further cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
4422b910c0 header cleanup: rug 2019-09-12 22:50:12 +02:00
Zeno Rogue
e1194ff588 more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
a423dbd2da more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
f4eda1d76e removed function fixdir 2019-09-12 22:50:12 +02:00
Zeno Rogue
ef89c7ed9d removed functions fix6 and fix7 2019-09-12 22:50:12 +02:00
Zeno Rogue
c131e21198 namespace hyperpoint_vec removed 2019-09-12 22:50:12 +02:00
Zeno Rogue
cf496e8940 kite-and-dart tiling 2019-09-12 22:50:09 +02:00
Zeno Rogue
856e1147a1 floor textures now work with >8 sides 2019-09-12 22:50:09 +02:00
Zeno Rogue
2d30f3830c standard binary tiling, also improved the looks of variant binary tiling, and optimized shvid for pure 2019-09-12 22:50:09 +02:00
Zeno Rogue
ff584bb74c fixed a bug with texturing in stereo 2019-09-12 22:50:08 +02:00
Zeno Rogue
9a1858e2f9 clear cgis, fixed missing textures 2019-09-12 22:50:07 +02:00
Zeno Rogue
1c6e6bafb4 moved the parameters from geom3:: to videopar 2019-09-12 22:50:04 +02:00
Zeno Rogue
b6e303ec7d MAJOR refactoring: all geometry-dependent data (tessf, geom3::, shapes, hpc) are now contained in a structure 2019-09-12 22:50:03 +02:00
Zeno Rogue
ae100b1e72 removed some obsolete debug printfs 2019-09-12 22:50:02 +02:00
Zeno Rogue
8eb3fa65e2 2D3D:: skies and ceilings 2019-09-12 22:50:02 +02:00
Zeno Rogue
a7172eba42 fixed potential crashes in GP? 2019-09-12 22:50:00 +02:00
Zeno Rogue
24b66d6fd5 2D3D: fixed Goldberg 2019-09-12 22:50:00 +02:00
Zeno Rogue
1759b840d4 2D3D:: optimized wallshapes using orthogonal_move 2019-09-12 22:50:00 +02:00
Zeno Rogue
740cc5fbb6 2D3D:: wall shadows 2019-09-12 22:50:00 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
dea2073714 2d3d:: smaller cones for fires/bonfires/buoys/thumpers 2019-09-12 22:49:58 +02:00
Zeno Rogue
063e4e35c2 no more need_reset_geometry after make_floor_textures -- it will be done anyway 2019-09-12 22:49:43 +02:00
Zeno Rogue
00b601b1de 2d3d:: no more matrix/unmappable warnings 2019-09-12 22:49:22 +02:00
Zeno Rogue
dbb8857a39 2d3d:: cone graphics for trees etc. 2019-09-12 22:43:02 +02:00
Zeno Rogue
da49e6c8de 2d3d:: textures on sidewalls 2019-09-12 22:43:01 +02:00
Zeno Rogue
d89fb49e13 refactured 'texture_order' as a separate function 2019-09-12 22:43:01 +02:00
Zeno Rogue
5ab7249afd horopoint cleanup in 2D 2019-09-12 22:43:01 +02:00
Zeno Rogue
450739b133 2D3D: switch without changing the display 2019-09-12 22:43:01 +02:00
Zeno Rogue
f8247073e7 2D-as-3D works in all geometries 2019-09-12 22:43:01 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
bd39bf970b 3d:: floor textures are no longer sometimes generated darkened 2019-09-12 22:43:00 +02:00
Zeno Rogue
3c9e4db46e major cleanup of projection setting 2019-09-12 22:43:00 +02:00
Zeno Rogue
b8ad42a947 gradient background in floor texture 2019-09-12 22:42:58 +02:00
Zeno Rogue
8844bd5a02 3d:: fixed the pmodel used for creating floor textures 2019-09-12 22:38:47 +02:00
Zeno Rogue
5116d745c4 gldraw:: offset and texture_offset are now separate 2019-09-12 22:38:47 +02:00
Zeno Rogue
fcedebd0d8 3d:: improved floor patterns 2019-09-12 22:38:46 +02:00
Zeno Rogue
5db2cfbd1a 3d:: textured walls 2019-09-12 22:38:45 +02:00
Zeno Rogue
78d88b5909 improved in the OO fashion: draw, relative_matrix, create_step, and several minor functions are now virtual in hrmap 2019-09-12 22:38:44 +02:00
?
d08e58f404 3d:: 2D/3D is now selectable at runtime 2019-09-12 22:38:40 +02:00
?
6502014ed8 3D:: disabled floorshapes 2019-09-12 22:38:40 +02:00
?
a3eb161235 added CAP_SHAPES: poly system works, but no shapes are used 2019-09-12 22:38:39 +02:00
?
99aa7e420b CAP_POLY part 1 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
a1b22cbf9f newlands:: more theming 2019-04-29 17:19:06 +02:00
Zeno Rogue
de82b54163 renamed hook to floor_hook in floorshapes.cpp 2018-09-10 17:23:24 +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
a7f1e560c5 subcodes can be (de)selected in the pattern selection 2018-08-30 19:14:04 +02:00
Zeno Rogue
993ef1b164 random pseudohept in Archimedean duals 2018-08-30 16:10:35 +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
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
b63b4a810b more updates, missing CAP_COMMANDLINE added 2018-08-25 00:04:10 +02:00
Zeno Rogue
903fd179d9 arcm:: digons 2018-08-21 04:24:14 +02:00
Zeno Rogue
598cbc5f2f digons arising in the Warped Coast are now shown as narrow tiles 2018-08-21 02:47:53 +02:00
Zeno Rogue
683471b7c0 fixed the warnings in binarytiling 2018-08-20 16:54:34 +02:00
Zeno Rogue
7e728f9341 fixed floorshape gp delayer 2018-08-20 16:41:21 +02:00
Zeno Rogue
13e5c3a555 windmap now works on Goldberg, irregular, and Archimedean spheres 2018-08-20 16:28:47 +02:00
Zeno Rogue
7e52b1f340 sightrange of 30 was not enough on some spheres 2018-08-20 16:28:25 +02:00
Zeno Rogue
cd91148459 arcm:: all patterns work 2018-08-20 15:24:44 +02:00
Zeno Rogue
e9ab4bf2dd better gp tiles unification in floorshapes 2018-08-20 02:54:35 +02:00
Zeno Rogue
625144195c major cleanup of texture remapping 2018-08-20 02:04:49 +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
4fa4f2061c fixed a bug in synt patterns 2018-08-19 18:06:08 +02:00
Zeno Rogue
e1c49a83fa fixed displayspin in syntetic 2018-08-19 16:28:36 +02:00
Zeno Rogue
3ac47f53f5 some more 2018-08-19 15:55:49 +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
f738bb7002 synt:: graveyard and three-color and line patterns 2018-08-19 13:47:51 +02:00
Zeno Rogue
e14b83d400 removed the debug text in syntetic 2018-08-18 17:53:06 +02:00
Zeno Rogue
7382791dff separate shadows for Escher floorshapes 2018-08-18 17:52:43 +02:00
Zeno Rogue
dcee5d6d58 fixed syntetic Euclidean display 2018-08-18 17:39:12 +02:00
Zeno Rogue
18d917da79 improved floorshape debugger 2018-08-18 17:38:07 +02:00
Zeno Rogue
1a6427ba32 some arrays had number bounds while it should have been MAX_EDGE 2018-08-18 17:37:12 +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
ad4eb89385 fixed bugs with drawing hypersian rugs 2018-08-17 21:43:07 +02:00
Zeno Rogue
7fa3de574e preliminary floorshape remapping to syntetic 2018-08-17 21:42:42 +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
4f3cc3783a binary tiling 2018-08-09 19:28:53 +02:00
Zeno Rogue
21ebf6586d irr:: improved warped floors 2018-08-05 05:51:05 +02:00
Zeno Rogue
253c2d8b9b bitruncated irregular tilings 2018-08-05 05:07:34 +02:00
Zeno Rogue
d8f63a9f3d moved mid3 and mid_at functions to hyperpoint.cpp 2018-08-04 22:35:15 +02:00
Zeno Rogue
055a54500b reset qfi.tinf when setting a non-textured floor 2018-08-04 11:15:05 +02:00
Zeno Rogue
270015cf7f irr:: texture:: one more bugfix 2018-08-02 23:12:29 +02:00
Zeno Rogue
f635c27e07 fixed variable conflict warning 2018-07-30 09:34:37 +02:00
Zeno Rogue
566c466b66 loading/saving irregular maps to config and log (and recreate automatically)H 2018-07-17 14:28:49 +02:00
Zeno Rogue
c8c1e3a346 irregular grids 2018-07-16 20:05:23 +02:00
Zeno Rogue
5cd8f695a3 Goldberg-Coxeter construction for order-4 tilings (everything seems to work except distance calculations) 2018-07-10 04:13:35 +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
6ca99e347f gp:: fixed the non-3D display of rock formations 2018-06-12 19:39:23 +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