Simple clone for Fallout 3/NV terminal hacking in curses

Josh Bicking 01d56102c7 fixed an operational error 10 жил өмнө
bin a89ba75c0c Separated files and cleaned up code is preparation for word reading. Removed crashing OSX build. 10 жил өмнө
dep 1e079977b6 move everything to the top for easier access 10 жил өмнө
.gitignore 5242bda9cf readded config file 10 жил өмнө
FalloutTerminal.cfg a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 10 жил өмнө
LICENSE.md fe9216e10c added getline source for Windows build. Updated license accordingly. 10 жил өмнө
Makefile fe9216e10c added getline source for Windows build. Updated license accordingly. 10 жил өмнө
README.md f4cb24ce8a updated with changes from master 10 жил өмнө
defaultWords.txt 1e079977b6 move everything to the top for easier access 10 жил өмнө
getdelim.c fe9216e10c added getline source for Windows build. Updated license accordingly. 10 жил өмнө
getdelim.h fe9216e10c added getline source for Windows build. Updated license accordingly. 10 жил өмнө
getline.c fe9216e10c added getline source for Windows build. Updated license accordingly. 10 жил өмнө
getline.h fe9216e10c added getline source for Windows build. Updated license accordingly. 10 жил өмнө
intro.c 1e079977b6 move everything to the top for easier access 10 жил өмнө
intro.h 1e079977b6 move everything to the top for easier access 10 жил өмнө
main.c a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 10 жил өмнө
pass.c a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 10 жил өмнө
pass.h 1e079977b6 move everything to the top for easier access 10 жил өмнө
print.c 1e079977b6 move everything to the top for easier access 10 жил өмнө
print.h 1e079977b6 move everything to the top for easier access 10 жил өмнө
wordParse.c 01d56102c7 fixed an operational error 10 жил өмнө
wordParse.h a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 10 жил өмнө

README.md

fallout-terminal-clone

What is fallout-terminal-clone?

fallout-terminal-clone is a modest recreation of the terminal hacking system
in Fallout 3 and Fallout: New Vegas developed with curses. It runs directly
in your terminal or command prompt. I mostly did this as a fun and 
interesting way to explore C.

Instructions

Use WASD to move, and ENTER to choose your selected letter. Ctrl-C to quit.

Building

WINDOWS

    Requirements:
        - mingw-g++ (C/C++ support for MinGW)

    Once MinGW is installed with support for C/C++ compilation, simply copy
    everything from src\deps\ into your MinGW folder. This will install the
    necessary PDcurses libraries.

    Once this is finished, you can compile by running:
    gcc FalloutTerminal.c -lpdcurses -o FalloutTerminal.exe

    Make sure you include pdcurses.dll (found in src\dep\bin)
    with your binary.

LINUX

    Requirements:
        - gcc
        - ncurses

    Once the above dependencies are satisfied, simply open 
    a terminal in the src/ directory and run:
    gcc FalloutTerminalU.c -lncurses -o FalloutTerminal

OSX

    Requirements:
        Xcode Tools

    Install nurses on OS X as described here:
        https://gist.github.com/cnruby/960344

    Once this is finished, simply open 
    a terminal in the src/ directory and run:
    gcc FalloutTerminal.c -lncurses -o FalloutTerminal

Plans for the Future

ADD a config file that allows you to:
    change difficulty
    change whether skips/shortcuts are available
    launch another program after it's done
Possible mouse support?

Thanks to:

/u/aftli_work for suggesting macros (before I knew what they were)

I do not own the idea for this game, nor do I claim any ownership of Fallout 3 or Fallout: New Vegas. Those copyrights are the property of Bethesda Softworks.

The included PDCurses dependencies are listed as Public Domain, and can be found at http://pdcurses.sourceforge.net/