1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 21:37:18 +00:00
Commit Graph

96 Commits

Author SHA1 Message Date
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
Zeno Rogue
7da2b7e9a1 argf now parses the given argument 2018-09-10 19:28:12 +02:00
Zeno Rogue
a4e388019a commandline option to rotate 2018-09-05 15:17:24 +02:00
Zeno Rogue
262d6f2a92 mode changes moved to config.cpp 2018-07-20 00:07:30 +02:00
Zeno Rogue
9d682aee45 moved more commandline options to their modules 2018-07-20 00:04:23 +02:00
Zeno Rogue
30cb9158cb moved svg and PNG screenshot to a new file screenshots.cpp; moved some commandline arguments from commandline.cpp to their respective modules 2018-07-19 23:46:58 +02:00
Zeno Rogue
c9f5b1e048 fixed several instances when PTM score would not be recorded when changing modes 2018-07-11 12:25:19 +02:00
Zeno Rogue
92f6521e42 arghex uses strtoll and returns unsigned 2018-07-09 18:07:47 +02:00
Zeno Rogue
94371d8469 args:: fixed -geo 2018-07-08 14:19:28 +02:00
Zeno Rogue
300dfde6da -geo option works correctly when switching to the same geometry. -qpar2 now generates the extra primes automatically. 2018-07-06 19:59:29 +02:00