Free askname's widgets after use and free getlin's and yn_function's persistent widgets at end of game. When loading an entire text file into one long string in memory, use strcpy on a pointer to the end of the string instead of having strcat repeatedly churn through the entire string as it grows for each line. [Since that's only used for small help files (biggest is dat/history), this optimization is probably not noticeable.] Also, a handful of new comments and quite a bit of reformatting.
69 KiB
69 KiB