Enable ./configure
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
cd rogue;
|
cd rogue;
|
||||||
#./configure # only need this first time
|
./configure # only need this first time
|
||||||
make; cd ..
|
make; cd ..
|
||||||
gcc -Wno-write-strings -DBUILD_ROGUE -std=c++11 -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -o librogue.so -c cclib.cpp -lncurses
|
gcc -Wno-write-strings -DBUILD_ROGUE -std=c++11 -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -o librogue.so -c cclib.cpp -lncurses
|
||||||
#gcc -std=c++11 -fPIC -shared -o librogue.so cclib.o rogue/rogue.so
|
#gcc -std=c++11 -fPIC -shared -o librogue.so cclib.o rogue/rogue.so
|
||||||
|
|||||||
@@ -116,10 +116,15 @@
|
|||||||
|
|
||||||
// todo:
|
// todo:
|
||||||
// verify playerdata is usable
|
// verify playerdata is usable
|
||||||
// verify keystrokes tx is confirmed
|
// verify keystrokes tx is in mempool and confirmed
|
||||||
|
// check that bailout is legal, ie. proper gametxid vin
|
||||||
|
// verify amulet possession in pack
|
||||||
|
// display playerdata (user comments?, or fully decode)
|
||||||
|
// verify playerdata can be used and has same initial level
|
||||||
|
// prevent running gui mode when keystrokes txid already there
|
||||||
|
|
||||||
//////////////////////// start of CClib interface
|
//////////////////////// start of CClib interface
|
||||||
//./komodod -ac_name=ROGUE -ac_supply=1000000 -pubkey=<yourpubkey> -addnode=5.9.102.210 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc > /dev/null &
|
//./komodod -ac_name=ROGUE -ac_supply=1000000 -pubkey=03951a6f7967ad784453116bc55cd30c54f91ea8a5b1e9b04d6b29cfd6b395ba6c -addnode=5.9.102.210 -ac_cclib=rogue -ac_perc=10000000 -ac_reward=100000000 -ac_cc=60001 -ac_script=2ea22c80203d1579313abe7d8ea85f48c65ea66fc512c878c0d0e6f6d54036669de940febf8103120c008203000401cc > /dev/null &
|
||||||
|
|
||||||
// cclib newgame 17 \"[3,10]\"
|
// cclib newgame 17 \"[3,10]\"
|
||||||
// cclib pending 17
|
// cclib pending 17
|
||||||
|
|||||||
@@ -1782,6 +1782,7 @@ void komodo_args(char *argv0)
|
|||||||
ASSETCHAINS_MARMARA = GetArg("-ac_marmara",0);
|
ASSETCHAINS_MARMARA = GetArg("-ac_marmara",0);
|
||||||
if ( ASSETCHAINS_CC != 0 )
|
if ( ASSETCHAINS_CC != 0 )
|
||||||
{
|
{
|
||||||
|
ASSETCHAINS_CCLIB = GetArg("-ac_cclib","");
|
||||||
Split(GetArg("-ac_ccenable",""), ccenables, 0);
|
Split(GetArg("-ac_ccenable",""), ccenables, 0);
|
||||||
for (i=nonz=0; i<0x100; i++)
|
for (i=nonz=0; i<0x100; i++)
|
||||||
{
|
{
|
||||||
@@ -1805,7 +1806,6 @@ void komodo_args(char *argv0)
|
|||||||
ASSETCHAINS_CCDISABLES[ccenables[i] & 0xff] = 0;
|
ASSETCHAINS_CCDISABLES[ccenables[i] & 0xff] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ASSETCHAINS_CCLIB = GetArg("-ac_cclib","");
|
|
||||||
/*if ( ASSETCHAINS_CCLIB.size() > 0 )
|
/*if ( ASSETCHAINS_CCLIB.size() > 0 )
|
||||||
{
|
{
|
||||||
for (i=first; i<=last; i++)
|
for (i=first; i<=last; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user