Commit Graph

21 Commits

Author SHA1 Message Date
Brian Barto
1c65c9a218 Renamed the files
modified:   Makefile
	modified:   README.md
	renamed:    src/nms.c -> src/main.c
	renamed:    src/libnms.c -> src/nms.c
	renamed:    src/libnms.h -> src/nms.h
	modified:   src/sneakers.c
2017-01-16 16:28:12 -05:00
Brian Barto
e7ec1e9b9a Change main.c file name to nms.c
modified:   Makefile
	renamed:    src/main.c -> src/nms.c
2017-01-13 15:58:05 -05:00
Brian Barto
15d033a93c Add clear-screen functionality
modified:   README.md
	modified:   src/main.c
2017-01-12 16:38:24 -05:00
Brian Barto
da514019de Initial update with code from libnms
modified:   Makefile
	new file:   src/libnms.c
	new file:   src/libnms.h
	modified:   src/main.c
	modified:   src/sneakers.c
2017-01-08 17:22:03 -05:00
Brian Barto
b95317c382 Fixing some indent issues
modified:   src/main.c
2016-09-18 19:03:18 -04:00
Brian Barto
0af55b446a Updated version number for new release
modified:   src/main.c
2016-07-14 08:48:22 -04:00
Brian Barto
e07eddaee2 Updating version number for -v switch
modified:   src/main.c
2016-05-19 10:19:51 -04:00
Brian Barto
9ab70d1948 Small refactor of the forground color code
modified:   README.md
	modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
2016-05-03 10:30:11 -04:00
Brian Barto
eef49d2ce6 Merge branch 'feature/colour' of https://github.com/anthonysterling/no-more-secrets into anthonysterling-feature/colour 2016-05-03 09:44:41 -04:00
Anthony Sterling
469a24b85d Added the -f flag to change the foreground color
The `-f` flag enabling the selection of the following colors:-

- white
- yellow
- black
- magenta
- blue
- green
- red

By default the foreground is blue, as per the current implementation.
2016-05-02 20:03:10 +01:00
Brian Barto
c043388bad Incorporated geometric size expansion for input array to reduce the amount of memory reallocations.
modified:   src/main.c
2016-05-02 13:56:35 -04:00
Brian Barto
e988dac87c Added -v command line option to print version number
modified:   src/main.c
2016-05-01 17:19:27 -04:00
Brian Barto
ed5e9f689f Support for the '-a' command line option to auto-start the decryption effect
modified:   README.md
	modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
2016-05-01 17:09:38 -04:00
Brian Barto
e06aa4ebf5 Initializing character pointer to NULL
modified:   src/main.c
2016-04-27 11:01:41 -04:00
Brian Barto
53f3835195 Added option to show cursor during "type" and "jumble" loops.
modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
2016-04-20 18:16:19 -04:00
Brian Barto
36cf124a0d Changed nmsexec() to nms_exec()
modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 17:55:07 -04:00
Brian Barto
227b5a7344 Changed my typedef name to proper camel case
modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 17:24:11 -04:00
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
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