Simple clone for Fallout 3/NV terminal hacking in curses

Josh Bicking 276943b955 bundled a default config file with the binaries 10 rokov pred
bin 276943b955 bundled a default config file with the binaries 10 rokov pred
.gitignore d42a1c802b removed recusive binary exclusion 10 rokov pred
FalloutTerminal.cfg a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 10 rokov pred
LICENSE.md fe9216e10c added getline source for Windows build. Updated license accordingly. 10 rokov pred
Makefile 9923aaf90e added clean for windows. explained defaultWords.txt 10 rokov pred
README.md 84c1562cde updated Windows and OSX building instructions 10 rokov pred
defaultWords.txt 9923aaf90e added clean for windows. explained defaultWords.txt 10 rokov pred
getdelim.c fe9216e10c added getline source for Windows build. Updated license accordingly. 10 rokov pred
getdelim.h fe9216e10c added getline source for Windows build. Updated license accordingly. 10 rokov pred
getline.c fe9216e10c added getline source for Windows build. Updated license accordingly. 10 rokov pred
getline.h fe9216e10c added getline source for Windows build. Updated license accordingly. 10 rokov pred
intro.c 1e079977b6 move everything to the top for easier access 10 rokov pred
intro.h 1e079977b6 move everything to the top for easier access 10 rokov pred
main.c a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 10 rokov pred
pass.c 97d6efcca4 added osx binary. fixed an overflow error in pass 10 rokov pred
pass.h 1e079977b6 move everything to the top for easier access 10 rokov pred
print.c 1e079977b6 move everything to the top for easier access 10 rokov pred
print.h 1e079977b6 move everything to the top for easier access 10 rokov pred
wordParse.c ff5d0fd89e fixed some memory leaks 10 rokov pred
wordParse.h a230bf4126 added program launching after victory/completion. works fine on Linux. still need to test it a bit on other platforms 10 rokov pred

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

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

    If you get an error about gcc not being found, you most
    likely didn't add MinGW tools to your path. Either do
    that, or change the line:
CC = gcc
    to read:
CC = C:\MinGW\bin
    (assuming you installed MinGW in that location)

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 (just run xcode-select --install)

    Once this is finished, simply open 
    a terminal in the source directory and run:
        make

TODO list:

Custom movement keys
Screen centering
Possible mouse support?

Bugs:

Fallout 3 doesn't seem to play nice with the launching. But I haven't
tested this much. You may just be better off putting this program in a
batch file.

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.