Commit Graph

13 Commits

Author SHA1 Message Date
Brian Barto
9959d6f98f Changes nmsexec() to accept a structure containing it's multiple arguments. This made
more sense than passing a growing list of arguments.

	modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 17:08:35 -04:00
Brian Barto
f91d5601c4 Added "returnOptions" parameter that limits which keys will continue execution
once the src text is revealed.

	modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 14:52:37 -04:00
Brian Barto
dd50839dae Returning the character that the user pressed after the reveal.
modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 12:23:37 -04:00
Brian Barto
103e164106 Decided I didn't need the nmsprintf() function. Instead teh main program should
build the character array however it pleases and pass it in to nmsexec().

	modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
2016-04-18 18:39:56 -04:00
Brian Barto
6da3bbdce5 Restructured the application file a bit.
modified:   Makefile
	renamed:    src/nms.c -> src/main.c
	copied:     src/nms.h -> src/nms.c
	modified:   src/nms.h
2016-04-18 12:00:57 -04:00
Brian Barto
3f0c272f44 nmsprintBuffer doesn't need to be a global.
modified:   src/nms.h
2016-04-15 17:39:58 -04:00
Brian Barto
00dd424e9b Making global vars static
modified:   src/nms.h
2016-04-15 17:30:55 -04:00
Brian Barto
e2ab6966a7 Updated the handling of "overflow" data
modified:   nms.h
2016-04-15 15:14:06 -04:00
Brian Barto
61f05b0307 Some needed commenting
modified:   src/nms.h
2016-04-15 14:28:06 -04:00
Brian Barto
a82d55717a Integrated ncurses color functions to replace my raw escape characters I used for color.
modified:   src/nms.h
2016-04-14 16:25:16 -04:00
Brian Barto
46fc803fe7 Initial curses integration
modified:   src/Makefile
	modified:   src/nms.h
2016-04-14 16:18:42 -04:00
Brian Barto
ece2551814 Couple OCD changes
modified:   nms.h
2016-04-14 15:48:27 -04:00
Brian Barto
3f2b28a352 Placed all of the logic in to a header file so that it can be included
inside other applications.

	modified:   src/nms.c
	copied:     src/nms.c -> src/nms.h
2016-04-12 16:18:53 -04:00