Commit Graph

8 Commits

Author SHA1 Message Date
Barra Ó Catháin b3a0345b19 Added initial support for talking.
- /talk now allows you to begin a conversation, given a player name, or end one, given no arguments.
- The client now properly clears previous messages when sending to the server.
- Added talkingWith to playerInfo.
2023-02-19 22:13:06 +00: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 c2c77d6343 Cleaned and styled SilverMUDClient.c
- Brought SilverMUDClient.c to a consistent style.
- Cleaned and neatened various parts of SilverMUDClient.c.
- Minor cleanup of playerdata.h.
- Began writing the SilverMUD Style Guide.
- Removed outputQueue-test.c, because outputQueue no longer exists.
2022-12-21 20:31:32 +00:00
Barry Kane 4cc0d3a0f6 Completed the conversion to the new linked-list type.
- Moved all code relating to skills to use the new linked-lists.
- Removed all old code relating to other lists.
- Improved linked lists to get nodes more efficiently in the second half of the list.
2022-11-29 21:13:03 +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 d9497679cb Implemented Skill Checks.
- Implemented skillCheck.
- Allowed for the in-game testing of skillCheck via /try.
- Slightly reorganized the Makefile.
- Tweaked the logoString to display correctly.
- Edited the client and server to generate gprof data when in debug builds.
2022-10-30 12:58:39 +00:00
Barry Kane f2dd83857f Completed Reorganization of Area Data
- Moved the appropriate data structures and functions into areaData.
- Made movePlayerToArea a gameplay primitive.
2022-10-23 17:07:13 +01:00
Barry Kane b8189ae2de Began implementation of skills and stats.
- Added text wrapping in client.
- Implemented functions for managing skill data.
- Rewrote some existing functionality to allow for variable length game messages over multiple userMessages.
- Reorganized the code yet again.
- Introduced enums for coreStats and outcomes.
- Implemented core stat checks.
- Added more example skills.
- Rewrote test areas to have longer descriptions.
2022-10-16 16:13:33 +01:00