Commit Graph

272 Commits

Author SHA1 Message Date
Brian Barto
5f63653ff3 More README Updates
modified:   README.md
2016-04-25 16:45:52 -04:00
Brian Barto
f08cf7d39d README updates
modified:   README.md
2016-04-25 14:14:28 -04:00
Brian Barto
0393e842e1 README updates
modified:   README.md
2016-04-25 13:54:05 -04:00
Brian Barto
58764b6cb8 README updates
modified:   README.md
2016-04-25 13:52:08 -04:00
Brian Barto
09b7011894 README updates
modified:   README.md
2016-04-25 13:51:10 -04:00
Brian Barto
3a97c24064 README updates
modified:   README.md
2016-04-25 13:49:53 -04:00
Brian Barto
285dceb50a README updates
modified:   README.md
2016-04-25 13:41:19 -04:00
Brian Barto
035356e266 README update
modified:   README.md
2016-04-25 13:40:19 -04:00
Brian Barto
c4dc73f62c Added screen cap of 'sneakers' program
modified:   README.md
2016-04-24 18:17:49 -04:00
Brian Barto
9c91f6eeec README updates
modified:   README.md
2016-04-22 16:40:16 -04:00
Brian Barto
cca569ae4a README Updates
modified:   README.md
2016-04-22 16:34:40 -04:00
Brian Barto
3275cbf371 README updates
modified:   README.md
2016-04-22 16:25:21 -04:00
Brian Barto
555ed4fcd3 README updates
modified:   README.md
2016-04-22 16:16:27 -04:00
Brian Barto
471caccc29 README updates
modified:   README.md
2016-04-22 16:14:55 -04:00
Brian Barto
1b2f14029d Some README updates
modified:   README.md
2016-04-22 16:13:39 -04:00
Brian Barto
26c5cbbd32 Some initial info for README
modified:   README.md
2016-04-21 16:59:08 -04:00
Brian Barto
125cf82b42 Added beep when user chooses an invalid selection (when selections are enabled)
modified:   src/nms.c
2016-04-20 18:33:51 -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
9f1ec97e3f Added cursor position options
modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
2016-04-20 17:51:36 -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
1782f6d248 Flushing input prior to getch()
modified:   src/nms.c
2016-04-20 12:39:39 -04:00
Brian Barto
0f5db67cac Added default case to nmsexec() return value
modified:   src/sneakers.c
2016-04-20 12:27:33 -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
17348f7c85 Defining some constants to replace variables that should have never been.
modified:   src/nms.c
2016-04-19 18:57:29 -04:00
Brian Barto
b97d1cbc4a Bump up the type speed a touch
modified:   src/nms.c
2016-04-19 18:36:29 -04:00
Brian Barto
e223b46bfc Typo fix
modified:   src/sneakers.c
2016-04-19 18:27:51 -04:00
Brian Barto
99d1fc318e Some typo fixes
modified:   src/sneakers.c
2016-04-19 18:24:48 -04:00
Brian Barto
7bfe0b9ff5 Commiting an example use case that mimicks the movie scene in sneakers. 2016-04-19 18:18:02 -04:00
Brian Barto
164d487349 Quick bug fix for my last commit
modified:   src/nms.c
2016-04-19 15:05:21 -04:00
Brian Barto
39390b673c Had to reopen stdin to get keyboard input back when piped data is used
modified:   src/nms.c
2016-04-19 13:46:58 -04:00
Brian Barto
ed59cb1070 Removing a line I don't need anymnore due to previous commit.
modified:   src/nms.c
2016-04-18 18:45:34 -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
4ccde16721 No need to loop to increase buffer size when snprintf() tells me exactly how much space I need.
modified:   src/nms.c
2016-04-18 14:51:16 -04:00
Brian Barto
9b5471838a Forgot to free() my malloc'd character array
modified:   src/nms.c
2016-04-18 14:38:02 -04:00
Brian Barto
385cacab05 Follow up to previous commit.
modified:   src/nms.c
2016-04-18 14:35:25 -04:00
Brian Barto
1b6ba0bf7f Used snprintf to dynamically grow print buffer size as needed.
modified:   src/nms.c
2016-04-18 14:27:41 -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
80d37d7dc4 Quick change to the makefile
modified:   Makefile
2016-04-18 11:12:56 -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
4ecd5fcfb3 Changed up the Makefile a bit to make it simpler. Also changed it's location
and added a bin dir.

	new file:   Makefile
	renamed:    src/obj/.gitignore -> bin/.gitignore
	new file:   obj/.gitignore
	deleted:    src/Makefile
2016-04-15 14:02:09 -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
0567e7f3b6 Updated Makefile to include the new header file
modified:   src/Makefile
	modified:   src/obj/.gitignore
2016-04-12 17:15:38 -04:00