1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-11 03:50:27 +00:00
Commit Graph

105 Commits

Author SHA1 Message Date
Zeno Rogue
06523e063e used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable 2022-11-13 16:22:55 +01:00
Zeno Rogue
fd9d58073a arg:: added argll 2022-10-27 16:06:39 +02:00
Zeno Rogue
f33d169fe1 commandline rotate commands set playermoved=false 2022-09-24 09:10:32 +02:00
Zeno Rogue
308fcd90aa savefile selection / an option to use no savefile 2022-09-15 12:38:39 +02:00
Zeno Rogue
613672b662 flush stdout on -exit 2022-09-09 12:20:33 +02:00
Zeno Rogue
4947b8c1b5 great success 2022-08-25 10:28:26 +02:00
Zeno Rogue
0eed6a03d4 CLI -exit now uses println not printf 2022-08-13 22:40:49 +02:00
Zeno Rogue
e691c63abe CLI option -cview 2022-06-23 09:33:58 +02:00
Zeno Rogue
5e2ba55e46 CLI command -rotate-up 2022-06-16 23:13:38 +02:00
Zeno Rogue
839ca440ea refer to color by HTML name in commandline arguments 2021-10-17 09:18:31 +02:00
Zeno Rogue
a6022178b3 arg:: run_arguments function 2021-10-15 22:14:30 +02:00
Zeno Rogue
0d20066f10 fixup 2021-07-12 11:32:39 +02:00
Zeno Rogue
6e6d0a7839 the main (heptagon) cellshape now also uses subcellshape; removed dirdist and get_vertices and introduced get_cellshape instead 2021-07-12 11:07:22 +02:00
Jesse Ruderman
5e3af36fe7 Command line help: add line breaks 2021-07-10 00:34:37 -07:00
Zeno Rogue
334bf12292 added missing CAP_COMMANDLINE guards, and other fixes for non-CAP_COMMANDLINE 2021-06-01 13:07:55 +02:00
Zeno Rogue
2786221def shift_argi and shift_args <- add this before! 2021-04-07 18:13:45 +02:00
Zeno Rogue
ceb79290ae arg:: made added_commands a pointer, to prevent possible initialization order errors 2021-04-07 18:13:45 +02:00
Zeno Rogue
408a49dfe9 arg:: used the new add::arg in some contexts 2021-04-07 18:13:45 +02:00
Zeno Rogue
7a7bb2dddb arg:: nicer adding commandline parameters 2021-04-07 18:13:45 +02:00
Zeno Rogue
0c0ca95897 fixed the 4xStabber and Princess achievements 2021-02-07 22:55:10 +01:00
Zeno Rogue
a8ac3b2ff7 tour:: an option to print 2020-09-15 19:11:19 +02:00
Zeno Rogue
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
Zeno Rogue
af7e828b08 CLI options -face-face and -face-vertex 2020-05-28 01:38:21 +02:00
Zeno Rogue
3e7f4374a6 shift_arg_formula now calls t automatically 2020-05-16 02:12:34 +02:00
Zeno Rogue
bf83959b4a allow setting the resource dir; autoconf should move *.dat file to resource dir 2020-05-16 01:30:33 +02:00
Arthur O'Dwyer
83f5412916 Use callhandlers() instead of manual loop in commandline.cpp. NFCI. 2020-04-12 10:50:19 -04:00
Arthur O'Dwyer
0d42168139 Make hookset<T> a pointer type, just like purehookset.
No more declaring `hookset<T> *hooks_foo`; now it's just
`hookset<T> hooks_foo` at global scope. This clears the way to
make `hookset<T>` into a class type if we want.
2020-04-12 10:50:18 -04:00
Zeno Rogue
9ba42a1db2 CLI option -tour disables startmenu 2020-04-07 17:14:45 +02:00
Zeno Rogue
fee3734c6b fixed -draw: start_game() was missing 2020-04-01 11:25:13 +02:00
Zeno Rogue
7121742d7c readMonster returns Pike for 'Pike' instead of Pikeman 2020-03-07 04:47:10 +01:00
Zeno Rogue
ecc8aa8192 added CLI option -no-stamp 2020-01-25 19:22:26 +01:00
Zeno Rogue
15000034fd parser:: error handling now uses exceptions 2019-12-23 21:44:51 +01:00
Zeno Rogue
d1faa2011c updating emscripten build 2019-09-13 00:31:54 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 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
af08d169d8 more featured -debf option 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
ad03115097 further cleanup 2019-09-12 22:50:13 +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
393f299074 arg:: -grotate 2019-09-12 22:50:09 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
c40d7753d0 fixed arg shifting 2019-09-12 22:43:00 +02:00
Zeno Rogue
49877fbfc9 arg::nomore(); fixes in collatz3 2019-09-12 22:43:00 +02:00
Zeno Rogue
fed102a7e1 arg:: rotation in 3D 2019-09-12 22:38:47 +02:00
Arthur O'Dwyer
9471ac4ff5 Rearrange some macros. No functional change intended. 2019-02-08 18:18:56 -05: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
1c6f64f370 added options -viz and -vizhr for quicker visualizations, and -smart, -smartn, -sr, -srx set the sightrange better now 2018-12-11 22:10:53 +01:00
Zeno Rogue
7b4028418e arg:: most important dialogs can be launched from command line 2018-11-11 11:27:36 +01:00
Zeno Rogue
c68de3c94f arg:: Previously some arguments used - while some used --; now both forms are accepted for all arguments. Also empty arguments are ignored. 2018-11-11 11:27:36 +01:00