1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 23:30:25 +00:00
Commit Graph

887 Commits

Author SHA1 Message Date
Zeno Rogue
bb63fcdcda refactored first_cell_to_draw so that it is changed in one place 2019-09-12 22:49:46 +02:00
Zeno Rogue
216cd868af 3d optimization:: do not draw back walls (not only in horo) 2019-09-12 22:49:45 +02:00
Zeno Rogue
029b0e9d6c 3d: fixed transparent walls between lands 2019-09-12 22:49:45 +02:00
Zeno Rogue
7ce12ef63b factored 'addradar' function 2019-09-12 22:49:44 +02:00
Zeno Rogue
22ce25c396 export ptick 2019-09-12 22:49:43 +02:00
Zeno Rogue
889bf3448c 2d3d:: no more mirror markers 2019-09-12 22:49:42 +02:00
Zeno Rogue
534663e663 3d:: using models not walls for worms 2019-09-12 22:49:41 +02:00
Zeno Rogue
45b7188869 2d3d:: sword markers on the floor level 2019-09-12 22:49:41 +02:00
Zeno Rogue
73f53b93a8 3d:: correct eyes 2019-09-12 22:49:05 +02:00
Zeno Rogue
51030e87aa 3d:: do not draw cells outside of view 2019-09-12 22:48:57 +02:00
Zeno Rogue
e1d30d1a2f 3d:: do not hide that many items close to cursor 2019-09-12 22:48:56 +02:00
Zeno Rogue
798f4b54f7 3d:: nicer effects for orbs 2019-09-12 22:48:54 +02:00
Zeno Rogue
eb822f195b 11.0u and the fix to ocean/rrv 2019-09-12 22:43:02 +02:00
Zeno Rogue
d07e6eb386 2d3d:: missing guards 2019-09-12 22:43:02 +02:00
Zeno Rogue
70cd6c0669 2d3d:: fan fix 2019-09-12 22:43:02 +02:00
Zeno Rogue
1e64d4e220 2d3d:: no sidewalls if no qfi.fshape 2019-09-12 22:43:02 +02:00
Zeno Rogue
dc036e7c7b 2d3d:: seeps display 2019-09-12 22:43:02 +02:00
Zeno Rogue
b712bbb444 2d3d:: disabled special floor graphics for Emerald Mine 2019-09-12 22:43:02 +02:00
Zeno Rogue
8b018dd59d 2d3d:: graphics for branches, barrels, and firetraps 2019-09-12 22:43:02 +02:00
Zeno Rogue
be032e0f03 2d3d:: trap markers 2019-09-12 22:43:02 +02:00
Zeno Rogue
5de099e921 2d3d:: fan graphics 2019-09-12 22:43:02 +02:00
Zeno Rogue
8046de11bd 3d:: disabled shSwitchDisks in 3D 2019-09-12 22:43:02 +02:00
Zeno Rogue
e20868dd19 2d3d:: fixed walls next to trees 2019-09-12 22:43:02 +02:00
Zeno Rogue
684480ccaf 2d3d:: colored rose scent 2019-09-12 22:43:02 +02:00
Zeno Rogue
f491e3ce99 no more hiding the boat under the player 2019-09-12 22:43:02 +02:00
Zeno Rogue
14e9ebec57 cones for bonfires, fires, thumpers, and sea buoys 2019-09-12 22:43:02 +02:00
Zeno Rogue
b6c8727e1f 2d3d:: boats 2019-09-12 22:43:02 +02:00
Zeno Rogue
dbb8857a39 2d3d:: cone graphics for trees etc. 2019-09-12 22:43:02 +02:00
Zeno Rogue
13f3f49db9 2d3d:: fixed the placement of monsters (including PC view) on rock levels etc. 2019-09-12 22:43:02 +02:00
Zeno Rogue
41e868a795 2d3d:: fixed levels of various stuff 2019-09-12 22:43:02 +02:00
Zeno Rogue
c297bbf52a 2d3d:: compass 2019-09-12 22:43:02 +02:00
Zeno Rogue
7255cb4e0d 2d3d:: worm graphics 2019-09-12 22:43:02 +02:00
Zeno Rogue
0ecd8a058a 2d3d:: fixed crash when setting subprio 2019-09-12 22:43:01 +02:00
Zeno Rogue
55d7678c99 2D3D:: Hall of Mirrors 2019-09-12 22:43:01 +02:00
Zeno Rogue
d1846f9325 better cell-cursors; bad cell-cursors removed 2019-09-12 22:43:01 +02:00
Zeno Rogue
9c1efae2f6 2d3d:: mouse reading 2019-09-12 22:43:01 +02:00
Zeno Rogue
0a4ccb2b5c 2d3d:: no more player hiding if camera > 0 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
6a7c1438eb 2D3D:: Archimedean no longer crashes after changing 2019-09-12 22:43:01 +02:00
Zeno Rogue
2d79243ca2 2D3D:: 3D particles 2019-09-12 22:43:01 +02:00
Zeno Rogue
4175c61486 fixed pushdown 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
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
6253c6c3e3 redone gravity in shmup 2019-09-12 22:43:01 +02:00
Zeno Rogue
e3023ba1f8 fixed the sky display in Yendorian 2019-09-12 22:43:01 +02:00
Zeno Rogue
6e26508a77 replaced some instances of double to ld, so that everything compiles when ld is redefined to float 2019-09-12 22:43:00 +02:00
Zeno Rogue
5d77c86658 scrdist_text removed 2019-09-12 22:43:00 +02:00
Zeno Rogue
5895540ae9 removed mdText as it was equivalent to mdUnchanged 2019-09-12 22:43:00 +02:00
Zeno Rogue
c20a0cb59e 3d:: wallradar 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
8b0c0f58c4 animated 3D birds 2019-09-12 22:43:00 +02:00
Zeno Rogue
596b4ce786 3d:: converting the old vector graphics into 3D models 2019-09-12 22:42:59 +02:00
Zeno Rogue
10a82c544b 3d:: make monster facing correct, based on FACEUP/FACESIDE 2019-09-12 22:42:59 +02:00
Zeno Rogue
b07a5a5c69 removed transparency from monsters in 3D 2019-09-12 22:42:59 +02:00
Zeno Rogue
a07afdc0a7 added HEAD3 placement 2019-09-12 22:42:59 +02:00
Zeno Rogue
f507b7cf55 fixed Orb of the Warp destroyed while refactoring 2019-09-12 22:42:59 +02:00
Zeno Rogue
c0145c0d9c 3d:: Euclidean tori 2019-09-12 22:42:59 +02:00
Zeno Rogue
ca57a38ddd 3d:: the option to restrict generation no longer produces weird elements 2019-09-12 22:42:59 +02:00
Zeno Rogue
418fa37dd8 3d:: texture:: remap single-type textures to 3D geometries 2019-09-12 22:42:59 +02:00
Zeno Rogue
c1373e64f7 fixed a bug with animateReplacement in crystal 2019-09-12 22:42:59 +02:00
Zeno Rogue
9b7ad345a9 mine adjacency rule can be changed (in 2D for now) 2019-09-12 22:42:59 +02:00
Zeno Rogue
8a53258361 fixed mines when more than 7 adjacent mines 2019-09-12 22:42:59 +02:00
Zeno Rogue
cc5f381d20 3d:: draw:: draw items without rotation, draw them in current location 2019-09-12 22:42:58 +02:00
Zeno Rogue
efb72afb87 fixed Slime display 2019-09-12 22:42:58 +02:00
Zeno Rogue
f9ba041451 asteroids:: theming, changed look to invisible floors + grid, provided validity rules 2019-09-12 22:42:58 +02:00
Zeno Rogue
217a643605 fixed some monster displays 2019-09-12 22:42:58 +02:00
Zeno Rogue
55492e229b Asteroids in 3D 2019-09-12 22:42:58 +02:00
Zeno Rogue
5356eba11c Asteroids 2019-09-12 22:42:58 +02:00
Zeno Rogue
6b2a9bb6f1 refactored hasFacing 2019-09-12 22:42:58 +02:00
Zeno Rogue
e7b4f3783a minor refactor to drawMonster 2019-09-12 22:42:58 +02:00
Zeno Rogue
11ee7c1b9a drawMonsterType with cases 2019-09-12 22:38:47 +02:00
Zeno Rogue
4ab48f2398 fixed boat/item animation 2019-09-12 22:38:47 +02:00
Zeno Rogue
bd396d4979 fixed knight cloaks and tortoises 2019-09-12 22:38:47 +02:00
Zeno Rogue
0af9df16e4 3d:: Yendorian Forest 2019-09-12 22:38:47 +02:00
Zeno Rogue
84b2c866ef ladders drawn as transparent 2019-09-12 22:38:47 +02:00
Zeno Rogue
c1f9d7ed0b 3d:: using face_the_player to tell that object should face the player (currently works as before) 2019-09-12 22:38:47 +02:00
Zeno Rogue
02a174b3ca item/monster/wall/land types done with X-macros; flags given too 2019-09-12 22:38:47 +02:00
Zeno Rogue
ab7a322e5e 3d:: smart display for 3D 2019-09-12 22:38:47 +02:00
Zeno Rogue
715d8b2fd0 3d:: aura in ball model 2019-09-12 22:38:47 +02:00
Zeno Rogue
b62155b551 removed unused variable dim3 2019-09-12 22:38:47 +02:00
Zeno Rogue
556a806c68 3d:: hide_player() off outside perspective 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
46ae64e945 3d:: native perspective is now pmodel == mdPerspective, and other models work too 2019-09-12 22:38:47 +02:00
Zeno Rogue
608692b6df delete textures, saner resetGL calling rule? 2019-09-12 22:38:46 +02:00
Zeno Rogue
d085111495 3D:: Dry Forest uses feather floor 2019-09-12 22:38:46 +02:00
Zeno Rogue
da295089b5 checktide in 3D 2019-09-12 22:38:46 +02:00
Zeno Rogue
8fabe30bf5 show borders on fires; limit particles if there are too many fires 2019-09-12 22:38:46 +02:00
Zeno Rogue
cb9513dd0d 3d:: horohex geometry 2019-09-12 22:38:46 +02:00
Zeno Rogue
cc287d52b6 fixed a crash when ddspin called with NODIR 2019-09-12 22:38:46 +02:00
Zeno Rogue
678747ceff 3d:: horo-rec geometry 2019-09-12 22:38:45 +02:00
Zeno Rogue
5db2cfbd1a 3d:: textured walls 2019-09-12 22:38:45 +02:00
Zeno Rogue
9bd01c485d 3d:: improved transwall coloring 2019-09-12 22:38:45 +02:00
Zeno Rogue
88621e0cef 3d:: improved which 'circles' are drawn 2019-09-12 22:38:45 +02:00
Zeno Rogue
e6ff760253 3d:: transparent-wall coloring now more precise, and takes land barriers into account 2019-09-12 22:38:45 +02:00
Zeno Rogue
10223d33b9 3d:: sword 2019-09-12 22:38:45 +02:00
Zeno Rogue
d9b90d8a8e 3D:: two-player uses split screen 2019-09-12 22:38:45 +02:00
Zeno Rogue
55c31ec645 3d:: refactored the hide_player function 2019-09-12 22:38:45 +02:00
Zeno Rogue
cf3047a1a5 3d:: help works 2019-09-12 22:38:45 +02:00
Zeno Rogue
5e237d5a59 3D:: grid drawn correctly 2019-09-12 22:38:45 +02:00
Zeno Rogue
582fe235f0 fixed crash in masterless (no draw items) 2019-09-12 22:38:45 +02:00
Zeno Rogue
679e44d4b1 grid color is now configurable (stdgridcolor) 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
Zeno Rogue
845c777cd6 bugfix: item under cursor disappears only in 3D 2019-09-12 22:38:44 +02:00
Zeno Rogue
9ab7b53b54 3d:: fixed iddspin 2019-09-12 22:38:44 +02:00
Zeno Rogue
9efa497b66 fixed regrouping dogs disappearing 2019-09-12 22:38:43 +02:00
Zeno Rogue
adaed6be7c 3d:: boats are drawn 2019-09-12 22:38:43 +02:00
Zeno Rogue
d6422d5def 3d:: water etc are now drawn as transparent walls 2019-09-12 22:38:43 +02:00
Zeno Rogue
d3f17858e9 3d:: parrots and seeps now ignore depth testing 2019-09-12 22:38:43 +02:00
Zeno Rogue
a94aa81edd 3d:: a 3d image for compasses in the world 2019-09-12 22:38:43 +02:00
Zeno Rogue
149853204a 3d:: do not draw items under the view center 2019-09-12 22:38:43 +02:00
Zeno Rogue
ca241c92fe 3d:: no more flying for 3D birds 2019-09-12 22:38:43 +02:00
Zeno Rogue
52ce5ac9aa 3d:: all the regular honeycombs 2019-09-12 22:38:43 +02:00
Zeno Rogue
03083a4520 3d:: display rose scent (not work well though) 2019-09-12 22:38:43 +02:00
Zeno Rogue
a8e486e728 3d:: minefield displays correctly 2019-09-12 22:38:43 +02:00
Zeno Rogue
cb8e34204f two more Euclidean honeycombs; also split buildpolys into subfunctions 2019-09-12 22:38:43 +02:00
Zeno Rogue
b63bcec64b fixed a bug with animal legs 2019-09-12 22:38:43 +02:00
?
dd57f2733a 3d:: applymodel now works correctly (to find onscreen coordinates) 2019-09-12 22:38:42 +02:00
?
8d83959229 if triangles are drawn, outlines are disabled 2019-09-12 22:38:42 +02:00
?
41ed04b2ee 3d:: basic adjustment of the graphics editor to 3D 2019-09-12 22:38:42 +02:00
?
4ac186437b editable statues 2019-09-12 22:38:42 +02:00
?
5871a4b208 3d:: radar feature 2019-09-12 22:38:42 +02:00
?
676abdf03b used scalefactor when it was not used while it should: WOLF scaling, leg animation, shmup 2019-09-12 22:38:42 +02:00
?
54f278963c renamed MAXDIM to MAXMDIM (conflict with crystal) 2019-09-12 22:38:42 +02:00
?
bf95aa6e77 3d:: added VBODY1, VBODY2, VBODY3 to draw clothing correctly 2019-09-12 22:38:42 +02:00
?
1a8f164572 3d:: 3D models are now centered correctly instead of on legs 2019-09-12 22:38:42 +02:00
?
a9a02e0f8f 3d:: out-of-memory chasms are displayed as hard walls (faster racing) 2019-09-12 22:38:42 +02:00
?
f0b984aa3b 3d:: disabled sidewall computation 2019-09-12 22:38:42 +02:00
?
41be07ae72 3d:: weird walls now display as rings (passable) or sawrings (impassable) 2019-09-12 22:38:42 +02:00
?
0620916dd2 3d:: miniwalls used for weird stuff 2019-09-12 22:38:42 +02:00
?
c2b6600ce5 3d:: renamed shBinaryWall to shWall3D 2019-09-12 22:38:42 +02:00
?
dc26f3b744 3d:: display other stuff as ascii without errors 2019-09-12 22:38:42 +02:00
?
714ff8462a 3d:: more things shown as walls, worms also use wall graphics 2019-09-12 22:38:42 +02:00
?
35a4330412 3d:: 1/2/3 perspectives in noshmup 2019-09-12 22:38:42 +02:00
?
168b3fb11d 3D:: smooth TPP; display player or not correctly 2019-09-12 22:38:42 +02:00
?
aac03e72fe 3d:: depthtest disabled for PPR::SUPERLINE and beyond 2019-09-12 22:38:42 +02:00
?
4e6a50f425 3D:: hair is now drawn above face 2019-09-12 22:38:42 +02:00
?
c5f2dec44c fixed leg position on wolves 2019-09-12 22:38:42 +02:00
?
ea2c0d257b 3d:: do not draw 'catwalk' cursor in binary 2019-09-12 22:38:42 +02:00
?
92113c82ee 3d:: Ivy graphics 2019-09-12 22:38:42 +02:00
?
07a51bed10 3D:: fixed monster facings in noshmup 2019-09-12 22:38:42 +02:00
?
0c125efb15 3d:: nice fire 2019-09-12 22:38:42 +02:00
?
321a709f91 3d:: better particles 2019-09-12 22:38:42 +02:00
?
b0c21f0626 3d:: mapeditor works 2019-09-12 22:38:42 +02:00
?
723f029b1d 3D:: item graphics now face the player 2019-09-12 22:38:42 +02:00
?
111bc3697d sword:: removed the dependence on the S* constants 2019-09-12 22:38:42 +02:00
?
f37c8d2f1c more elegant airdir 2019-09-12 22:38:42 +02:00
?
9b968e648b 3D:: hide some queuecircleat's 2019-09-12 22:38:41 +02:00
?
6ac9820644 3D:: mouseover set correctly 2019-09-12 22:38:41 +02:00
?
c6025ad711 3D:: do not draw the player in turn-based either 2019-09-12 22:38:40 +02:00
?
bc454d56cd 3D:: movement in non-shmup 2019-09-12 22:38:40 +02:00
?
1cab16aae7 3d:: grids 2019-09-12 22:38:40 +02:00
?
33d4854c14 3D:: 120-cell 2019-09-12 22:38:40 +02:00
?
c7cb93f2ed moved all the Euclidean maps to euclid.cpp 2019-09-12 22:38:40 +02:00
?
7110be2032 3D:: cube tiling 2019-09-12 22:38:40 +02:00
?
d08e58f404 3d:: 2D/3D is now selectable at runtime 2019-09-12 22:38:40 +02:00
?
6b893af89e 3D:: spinning items; improved Grimoire gfx 2019-09-12 22:38:40 +02:00
?
ae257b952d shadows are now drawn or not correctly -- depending on model_needs_depth() 2019-09-12 22:38:40 +02:00
?
d87a471714 3D::binary:: nice walls 2019-09-12 22:38:40 +02:00
?
56d628d4d8 adjusting for 3D part II 2019-09-12 22:38:39 +02:00
?
96e4ff6c9d binary tiling in 3D works 2019-09-12 22:38:39 +02:00
?
e73d2f2f22 some work on 3D view 2019-09-12 22:38:39 +02:00
?
a3eb161235 added CAP_SHAPES: poly system works, but no shapes are used 2019-09-12 22:38:39 +02:00
?
c24fa20334 added some missing CAP_RUG flags 2019-09-12 22:38:39 +02:00
?
99aa7e420b CAP_POLY part 1 2019-09-12 22:38:39 +02:00
?
31037574f5 CAP_COMPLEX2 first 2019-09-12 22:38:39 +02:00
?
c5a771c888 CAP_FIELD 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
3a8a5a6150 fixed missing CAP_RACING guards 2019-09-12 22:38:39 +02:00
Zeno Rogue
325877a9ee racing:: increase range allowed 2019-09-12 22:38:39 +02:00
Zeno Rogue
6d720f157f Cherenkov radiation 2019-09-12 22:38:39 +02:00
Zeno Rogue
e0212b1495 more official racers 2019-09-12 22:38:38 +02:00
Zeno Rogue
8d588cbdab racing:: trophies 2019-09-12 22:38:38 +02:00
Zeno Rogue
4c6c8bee7c racing:: no more weapons 2019-09-12 22:38:38 +02:00
Zeno Rogue
275c5d568a brownian:: acidgull uses normal bird 2019-09-12 22:38:38 +02:00
Zeno Rogue
78b64a3c6a fractick in draw_gravity_particles 2019-09-12 22:38:38 +02:00
Zeno Rogue
a1b22cbf9f newlands:: more theming 2019-04-29 17:19:06 +02:00
Zeno Rogue
bc27e10dc9 newlands:: some theming 2019-04-29 17:19:06 +02:00
Zeno Rogue
506af06c8f brownian:: improved colors 2019-04-29 17:19:06 +02:00
Zeno Rogue
8a414d1768 westwall:: monster theme 2019-04-29 17:19:06 +02:00
Zeno Rogue
2bc66342dd newlands:: implemented new Orbs: Gravity, Intensity, Choice 2019-04-29 17:19:06 +02:00
Zeno Rogue
6d392ce07e westwall:: initial commit 2019-04-29 17:19:06 +02:00
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
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