1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-14 01:14:48 +00:00
Commit Graph

192 Commits

Author SHA1 Message Date
Zeno Rogue
d74fb28ff9 handle system calls 2020-05-22 14:50:10 +02:00
Zeno Rogue
11ce15a67b CAP_VIDEO 2020-05-22 14:30:45 +02:00
Zeno Rogue
daeff80ff5
Merge pull request #108 from Quuxplusone/ifdef
Move all defaulting-of-`CAP_FOO` to sysconfig.h
2020-05-15 11:32:38 +02:00
Zeno Rogue
a30f4a89f7 rots::draw_underlying in screenshot 2020-05-08 21:21:42 +02:00
Arthur O'Dwyer
3e3457bd81 Eliminate some use of CAP_FOO and ISFOO outside of the preprocessor.
The old code worked, but it's strange to use these macros as if
they were C++ `bool` variables at runtime.
2020-05-03 20:57:34 -04:00
Zeno Rogue
97c9be0dde better centering screenshot, 'rotate PC' option 2020-04-26 11:07:06 +02:00
Zeno Rogue
500df60990 In animation, 'monster turns' can be configured 2020-04-26 11:03:49 +02:00
Zeno Rogue
ec6d93b425 wrl:: added missing MAXMDIM guards 2020-04-17 15:36:47 +02:00
Zeno Rogue
0472bf764f moved all projection-related parameters to a special struct; another copy of that struct created for rug 2020-04-17 00:53:58 +02:00
Zeno Rogue
84cf5d6e3a added missing guards, mostly for CAP_WRL 2020-04-16 21:00:28 +02:00
Zeno Rogue
a380134d29 WRL selectable in menus, fixed some issues 2020-04-16 14:36:45 +02:00
Zeno Rogue
0ef619739e textures in wrl export 2020-04-16 03:36:48 +02:00
Zeno Rogue
bf2eece2d8 wrl:: rug texture 2020-04-15 18:09:27 +02:00
Zeno Rogue
c8495c7fdb wrl:: transparency 2020-04-15 18:08:55 +02:00
Zeno Rogue
a866d1fca5 wrl:: fixed color 2020-04-15 17:07:50 +02:00
Zeno Rogue
db916f8c95 printable rug 2020-04-15 17:07:39 +02:00
Zeno Rogue
2fb865346d generate 'printable' models or not 2020-04-15 16:21:02 +02:00
Zeno Rogue
f150245a72 basic WRL export (no menus) 2020-04-15 11:49:29 +02:00
Zeno Rogue
f903d3c8ea rug:: using HyperRogue general renderer 2020-04-14 17:46:40 +02:00
Zeno Rogue
493be6c55b simulate CA on every step if animating 2020-04-12 20:35:16 +02:00
Zeno Rogue
750b91cfd9 exporting eMovementAnimation 2020-04-07 17:17:45 +02:00
Zeno Rogue
9a84dfb497 adjusted mobile to the new system 2020-04-06 09:13:20 +02:00
Zeno Rogue
650604227a face/edge/vertex centering 2020-04-01 12:01:55 +02:00
Zeno Rogue
5ba7b4ce11 changed Pointer_stringify to UTF8ToString in screenshot.cpp 2020-01-29 18:19:10 +01:00
Zeno Rogue
3ee0956fd7 added hooks_anim 2020-01-02 16:57:18 +01:00
Zeno Rogue
2cb1e2cb04 export anim::moved 2020-01-02 16:57:12 +01:00
Zeno Rogue
6a3cf8f28e FPP animation actually added 2019-12-27 14:03:17 +01:00
Zeno Rogue
15000034fd parser:: error handling now uses exceptions 2019-12-23 21:44:51 +01:00
Zeno Rogue
c3332bfb52 shot:: hooks_take 2019-12-23 20:52:41 +01:00
Zeno Rogue
a2b294e38b FPP startanim added 2019-12-14 14:17:10 +01:00
Zeno Rogue
6603fe3c9e random animations in the start menu now have their names displayed, and some are explorable 2019-12-14 14:10:34 +01:00
Zeno Rogue
d5c8aebf16 renamed binary:: to bt:: and binarytiling to bt::in() 2019-12-14 12:05:01 +01:00
Zeno Rogue
bf584b5429 more movei 2019-11-22 18:48:51 +01:00
Zeno Rogue
ef9e2236ba viewctr is no more... major reduction of redundancy/complexity 2019-11-14 00:26:50 +01:00
Zeno Rogue
af9b049057 fixed the rug becoming black on some computers when resizing window or during the start animation 2019-11-03 15:52:19 +01:00
Zeno Rogue
adee8aa699 wall optimization option (-wallopt): do not draw things behind walls 2019-10-12 11:21:00 +02:00
Zeno Rogue
f6dfcba8fe export shot_aa 2019-09-12 22:50:16 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
9df8f76b53 extra configuration for svg text 2019-09-12 22:50:16 +02:00
Zeno Rogue
96d7496043 refactored all the operations on View 2019-09-12 22:50:15 +02:00
Zeno Rogue
c5fec49cb6 animations in product (untested) 2019-09-12 22:50:14 +02:00
Zeno Rogue
00f4f4fca5 fully turnable product spaces 2019-09-12 22:50:13 +02:00
Zeno Rogue
95da7ff09e using viewcenter() consistently 2019-09-12 22:50:13 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 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
a0fcdb0c54 more header cleanup 2019-09-12 22:50:13 +02:00
Zeno Rogue
5ea055b39e split namespace conformal into models and history 2019-09-12 22:50:12 +02:00
Zeno Rogue
2cf6abb273 removed rotmatrix as it did exactly the same as cspin 2019-09-12 22:50:12 +02:00
Zeno Rogue
a423dbd2da more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
c2d56fb9bc autohdr.h applied in more files 2019-09-12 22:50:12 +02:00
Zeno Rogue
1f9a79d45d shots:: take now sets cells_generated_limit only in single shots via GUI 2019-09-12 22:50:12 +02:00
Zeno Rogue
362daec90c fixed a memory leak when taking postprocessed screenshots 2019-09-12 22:50:12 +02:00
Zeno Rogue
cfbabcff80 animations:: clearup 2019-09-12 22:50:09 +02:00
Zeno Rogue
816320da94 sol:: solmul 2019-09-12 22:50:09 +02:00
Zeno Rogue
efe82291d1 no start animations without OpenGL/shaders 2019-09-12 22:50:08 +02:00
Zeno Rogue
d5109fc3bb maTranslationRotation animation 2019-09-12 22:50:08 +02:00
Zeno Rogue
ecfaa7c49d ascii: no more animations in low graphics 2019-09-12 22:50:06 +02:00
Zeno Rogue
687b19df43 line animations take extra_line_steps into account 2019-09-12 22:50:06 +02:00
Zeno Rogue
daeffa3647 line animation records in reverse if lvspeed < 0, and no longer goes to far 2019-09-12 22:50:06 +02:00
Zeno Rogue
47d8255b8a CLI setting -record-only 2019-09-12 22:50:06 +02:00
Zeno Rogue
6185ed674e CLI setting -shotaa 2019-09-12 22:50:06 +02:00
Zeno Rogue
8a1ca8e05d anims:: fixed hotkey clash and fallthrough 2019-09-12 22:50:05 +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
10fea51f14 stricter conditions on start animations 2019-09-12 22:49:56 +02:00
Zeno Rogue
8388a448e7 3d:: an option to limit cell generation 2019-09-12 22:49:45 +02:00
Zeno Rogue
5804387283 animations:: env_shmup setting; also centers on the player if playermoved, shmup, and in inertia zone 2019-09-12 22:43:01 +02:00
Zeno Rogue
dfbbffc7ca CLI option -animrecordf 2019-09-12 22:43:01 +02:00
Zeno Rogue
3da6090320 dialog:: addBoolItem_action, addBoolItem_action_neg, addBoolItem_choice used when applicable 2019-09-12 22:43:00 +02:00
Zeno Rogue
98381f5526 animations:: frame info in animation recorder 2019-09-12 22:43:00 +02:00
Zeno Rogue
b74c2369a0 'shot' value to change shots 2019-09-12 22:42:59 +02:00
Zeno Rogue
80d14c0196 add_action_push consistently; improved some menu hotkeys and ordering; improved some naming 2019-09-12 22:42:58 +02:00
Zeno Rogue
b1033884d9 option to change -animperiod in PHASE 3 2019-09-12 22:42:58 +02:00
Zeno Rogue
ac7c902f0b anim:: -animrot needs angles in 3D 2019-09-12 22:38:47 +02:00
Zeno Rogue
0f4146ac36 3D:: animations; also changed PI/180 to degree, and enabled models in the menu 2019-09-12 22:38:47 +02:00
?
041a9e11fe shots:: added some missing guards, -animrecord and -animrec were the same option 2019-09-12 22:38:42 +02:00
?
1c5d79b4ba missing CAP_SVG guards 2019-09-12 22:38:39 +02:00
?
c24fa20334 added some missing CAP_RUG flags 2019-09-12 22:38:39 +02:00
?
e39777f04d CAP_ animations etc. cleanup 2019-09-12 22:38:39 +02:00
?
b25730d5c9 geometry flags part 1 2019-09-12 22:38:39 +02:00
Zeno Rogue
b254776243 fixed hotkey clash in take shot -> hide the player 2019-02-09 15:07:17 +01:00
Zeno Rogue
952f1c44fe minor fixes to color handling 2019-02-06 18:54:29 +01:00
Zeno Rogue
8ac1cf8731 fixed some issues with commandline arguments (svg shots made correctly from cli) 2019-02-06 18:48:52 +01:00
Zeno Rogue
29cf07920c no more crashes in some animations 2019-02-06 18:48:52 +01:00
Zeno Rogue
dde8b900d7 improved the hide_hud feature 2019-02-06 18:48:52 +01:00
Zeno Rogue
989fc119bc anims:: yet another hotkey clash fixed 2019-02-06 18:48:52 +01:00
Zeno Rogue
a6e40e3a37 better starting animations 2019-02-06 16:37:20 +01:00
Zeno Rogue
635c8c94dc a CLI option to make shots non-transparent: -shott 2019-02-06 16:37:20 +01:00
Zeno Rogue
be84ecb7df fixed the markup of non-transparent SVG 2019-02-06 16:37:20 +01:00
Zeno Rogue
2a45e1340c fixed transparent screenshot background if no gamma and no supersampling 2019-02-06 16:37:20 +01:00
Zeno Rogue
e2b262979b startgame animations 2019-02-06 16:36:52 +01:00
Zeno Rogue
8a6d3173bd more guards for CAP_SHOT/CAP_FILES 2018-12-15 15:20:27 +01:00
Zeno Rogue
4e4fce922e added some missing CAP_ guards 2018-12-15 15:17:06 +01:00
Zeno Rogue
5d01ac0732 text improvements, PL/CZ translation update 2018-12-14 19:30:54 +01:00
Zeno Rogue
4370a18763 added background to svg if transparent not set 2018-12-14 19:30:54 +01:00
Zeno Rogue
f726fe12fb svg::shot:: error message shown if not available 2018-12-14 19:30:22 +01:00
Zeno Rogue
8ba603fba3 svg:: circles now have better linewidth 2018-12-14 19:30:22 +01:00
Zeno Rogue
8d1e341555 web:: 'take screenshot' feature now creates a SVG file and opens it in a new window 2018-12-14 19:30:22 +01:00