Simple clone for Fallout 3/NV terminal hacking in curses

Josh Bicking 9923aaf90e added clean for windows. explained defaultWords.txt 8 years ago
bin a89ba75c0c Separated files and cleaned up code is preparation for word reading. Removed crashing OSX build. 8 years ago
.gitignore 5242bda9cf readded config file 8 years ago
FalloutTerminal.cfg a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 8 years ago
LICENSE.md fe9216e10c added getline source for Windows build. Updated license accordingly. 8 years ago
Makefile 9923aaf90e added clean for windows. explained defaultWords.txt 8 years ago
README.md 632693181b removed old deps. Updated readme 8 years ago
defaultWords.txt 9923aaf90e added clean for windows. explained defaultWords.txt 8 years ago
getdelim.c fe9216e10c added getline source for Windows build. Updated license accordingly. 8 years ago
getdelim.h fe9216e10c added getline source for Windows build. Updated license accordingly. 8 years ago
getline.c fe9216e10c added getline source for Windows build. Updated license accordingly. 8 years ago
getline.h fe9216e10c added getline source for Windows build. Updated license accordingly. 8 years ago
intro.c 1e079977b6 move everything to the top for easier access 8 years ago
intro.h 1e079977b6 move everything to the top for easier access 8 years ago
main.c a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 8 years ago
pass.c a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 8 years ago
pass.h 1e079977b6 move everything to the top for easier access 8 years ago
print.c 1e079977b6 move everything to the top for easier access 8 years ago
print.h 1e079977b6 move everything to the top for easier access 8 years ago
wordParse.c ff5d0fd89e fixed some memory leaks 8 years ago
wordParse.h a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 8 years ago

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:
        Have MinGW installed with the following packages:
        - mingw32-gcc
        - mingw32-pdcurses (dev and dll)

    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:
        make
    In the source directory.

LINUX

    Requirements:
        - gcc
        - ncurses

    Once the above dependencies are satisfied, simply open 
    a terminal in the source directory and run:
        make

OSX

    Requirements:
        Xcode Tools

    Install ncurses 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

TODO list:

Custom movement keys
Screen centering
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.