Няма описание

Steve Thielemann 211c3778ec Fixed size issue. "September". преди 3 години
ansi fc9aff7a47 Space Ace, can now display the game card layout преди 3 години
.gitignore d87a8187ed Updated to ignore 3rd party lib directories. преди 3 години
CMakeLists.txt 939fef4d7f Added starfield. Random but consistent. преди 3 години
DOOR.SYS a7dc1e607b This is the initial door testing / space ace. преди 3 години
LICENSE 133904d0c1 Added MIT license. преди 3 години
NOTES.md 3ebc4d3bc2 Removing examples of updating (about). преди 3 години
README.md 3e9307dd79 Added README with build instructions. преди 3 години
ansi-to-src.py 8e59cc3fd4 Missing '\'. преди 3 години
backup.sh a7dc1e607b This is the initial door testing / space ace. преди 3 години
build_images.sh 3b647bd469 Updated ansi-to-src to python3. преди 3 години
db.cpp 28ca513c7a Added scores. преди 3 години
db.h 28ca513c7a Added scores. преди 3 години
deck.cpp adc79f6d57 Updated starfield, control when used. преди 3 години
deck.h 094082b8e8 Trying to optimize less obj construct/destruct. преди 3 години
door_2023.sh a7dc1e607b This is the initial door testing / space ace. преди 3 години
doxy.config 8b8b4c8aaa Make sure the doxygen config is in here. преди 3 години
grind.sh a8b15dd63a Updated: sqlite db, fixed is_rank, is_deck. преди 3 години
main.ans a7dc1e607b This is the initial door testing / space ace. преди 3 години
main.cpp 62bd4b6a0e Working animated starfield with panel. преди 3 години
make_docs.sh 8b8b4c8aaa Make sure the doxygen config is in here. преди 3 години
play.cpp adc79f6d57 Updated starfield, control when used. преди 3 години
play.h adc79f6d57 Updated starfield, control when used. преди 3 години
rlinetd.conf a7dc1e607b This is the initial door testing / space ace. преди 3 години
scores.cpp 211c3778ec Fixed size issue. "September". преди 3 години
scores.h adc79f6d57 Updated starfield, control when used. преди 3 години
space.h a7dc1e607b This is the initial door testing / space ace. преди 3 години
starfield.cpp 62bd4b6a0e Working animated starfield with panel. преди 3 години
starfield.h 62bd4b6a0e Working animated starfield with panel. преди 3 години
try_inet.sh a7dc1e607b This is the initial door testing / space ace. преди 3 години
utils.cpp 6c50813293 Updated: Added _seed to config. преди 3 години
utils.h 6c50813293 Updated: Added _seed to config. преди 3 години
version.h 339aa0f834 0.0.2 преди 3 години

README.md

Space-Ace

Build Requirements

  • cmake
  • git
  • g++
  • libsqlite3-dev

Building under linux

The git ... --depth 1 is a sparse checkout. It only pulls the latest source, it doesn't pull down the full git history.

git clone github:stevet11/space-ace.git --depth 1
cd space-ace
git clone https://github.com/stevet11/door.git door++ --depth 1
git clone https://github.com/SRombauts/SQLiteCpp.git --depth 1
git clone https://github.com/jbeder/yaml-cpp.git --depth 1
mkdir build
cd build
cmake ..
make

Calling from a BBS

Enigma 1/2

In the config/menus/*-doors.hjson file add these entries:

    {
        value: { command: "S" }
        action: [
            {
                acs: EC0
                action: @menu:doorAce
            }
            {
                /* acs: EC1 */
                action: @menu:doorAceU8
            }
        ]
    }
    doorAce: {
        desc: Space Ace
        module: abracadabra
        config: {
            name: Space Ace
            dropFileType: DOOR
            cmd: /home/enigma/bbs/doors/spaceace.sh
            args: [
                "{dropFilePath}"                    
            ]
            nodeMax: 0
            tooManyArt: DOORMANY
            io: stdio
        }            
    }
    doorAceU8: {
        desc: Space Ace
        module: abracadabra
        config: {
            name: Space Construct
            dropFileType: DOOR
            cmd: /home/enigma/bbs/doors/spaceace.sh
            args: [
                "{dropFilePath}"                    
            ]
            nodeMax: 0
            tooManyArt: DOORMANY
            io: stdio
            encoding: utf8
        }            
    }

spaceace.sh

#!/bin/bash
trap "" SIGINT

cd /home/enigma/bbs/doors/spaceace/
./space-ace -d $1 

While space-ace can detect CP437/unicode, under Enigma it can't.

Talisman

In menus/doors.toml add an entry:

[[menuitem]]
command = "RUNDOOR"
hotkey = "S"
data = "doors/spaceace.sh"

In the doors directory, create spaceace.sh:

#!/bin/bash
trap "" SIGINT

cd doors/spaceace
./space-ace -d ../../temp/$1/door.sys

And space-ace would be in doors/spaceace directory.

Look for space-ace.yaml, space-ace.log, and space-data.db to be created on first run.