1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-27 23:53:18 +00:00
Commit Graph

649 Commits

Author SHA1 Message Date
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