Commit Graph

5 Commits

Author SHA1 Message Date
Barra Ó Catháin 701335c236 Squashed version of:
Altered some header files to prevent cycles confusing LSP

Switched to correct ncurses function for just printing a string.

Make cleaning manual in the makefile. It's getting bigger.

Squash the warning about strncpy.

Added LSP shtuff to the gitignore
2023-04-11 15:22:40 +01:00
Barry Kane f5cb3ad16e More cleaning up.
- Brought remaining files in line with style guides, and improved comments.
2023-02-15 22:09:21 +00:00
Barry Kane 8ae3eaf2b8 Added queue.c and queue.h.
- Added a singular queue type for input/output messages and commands.
- Added a test of the queue type in tests.
- Made some edits to the Makefile to enable the addition of debug code using the preprocessor.
- Minor styling and spelling updates in gamelogic.c/h and text effects .h.
- Ready to integrate the new queue type in place of the previous ones.
2022-12-18 21:07:10 +00:00
Barry Kane 582a0d02ae Refactored paths to use linked lists.
- Removed the code for the now-obsolete-before-actually-being-used pathLists.
- playerAreas now contain a list called pathList.
- Refactored createArea, createPath, and the /move and /look commands.
- Added typedefs to prevent the compiler being unable to link.
2022-11-13 00:23:42 +00:00
Barry Kane f3ad758e4f Preliminary implementation of linked-list.c
- Implemented first pass of linked-list.c.

TODO:
- Polish linked-list.c 'till you can see a reflection in it.
- Refactor existing codebase to use linked-list.c.y
2022-11-11 22:58:05 +00:00