mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
honeycomb rulegen commands moved to a script
This commit is contained in:
parent
f485441650
commit
5a83434e7a
@ -1,17 +1,6 @@
|
||||
/**
|
||||
|
||||
Honeycomb data generator.
|
||||
|
||||
Usage:
|
||||
|
||||
./hyper -geo 534h -gen-rule honeycomb-rules-534.dat -quit
|
||||
./hyper -geo 535h -gen-rule honeycomb-rules-535.dat -quit
|
||||
./hyper -geo 435h -gen-rule honeycomb-rules-435.dat -quit
|
||||
./hyper -geo 353h -gen-rule honeycomb-rules-353.dat -quit
|
||||
|
||||
You need to change the value of XS7 to 6 (for 435) or 12 (for others)
|
||||
|
||||
You also need to select 'fp used for rules'
|
||||
Honeycomb data generator. See rulegen.sh
|
||||
|
||||
This algorithm works as follows:
|
||||
|
||||
|
19
devmods/rulegen.sh
Normal file
19
devmods/rulegen.sh
Normal file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# compact honeycombs
|
||||
|
||||
./mymake -O3 devmods/honeycomb-rule-generator
|
||||
|
||||
./hyper -geo 534h -gen-rule honeycomb-rules-534.dat -quit
|
||||
./hyper -geo 535h -gen-rule honeycomb-rules-535.dat -quit
|
||||
./hyper -geo 435h -gen-rule honeycomb-rules-435.dat -quit
|
||||
./hyper -geo 353h -gen-rule honeycomb-rules-353.dat -quit
|
||||
|
||||
# exh 2 optimized
|
||||
./hyper -geo 436h -exh 2 -gen-rule honeycomb-rules-436.dat -quit
|
||||
./hyper -geo 344h -exh 2 -gen-rule honeycomb-rules-344.dat -quit
|
||||
./hyper -geo 354h -exh 2 -gen-rule honeycomb-rules-354.dat -quit
|
||||
./hyper -geo 536h -exh 2 -gen-rule honeycomb-rules-536.dat -quit
|
||||
|
||||
# still generates conflicts on exh 2:
|
||||
# ./hyper -geo 355h -exh 2 -gen-rule honeycomb-rules-355.dat -quit #
|
||||
# ./hyper -geo 345h -exh 2 -gen-rule honeycomb-rules-345.dat -quit #
|
Loading…
Reference in New Issue
Block a user