Commit Graph

104 Commits

Author SHA1 Message Date
Barra Ó Catháin e6b6b86abf Basic groundwork on objects 2023-08-11 01:33:32 +01:00
Barra Ó Catháin 82f3d7164d Added design document, and began designing areas and dungeons. 2023-08-10 01:10:01 +01:00
Barra Ó Catháin 22e74ebfc1 Initial directory structure of rewrite.
Set up the initial directory structure for the rewrite of SilverMUD.
	- data/ - Stores any multi-media or binary assets.
	- documentation/ - Contains user-facing documentation for any programs in the repository.
	- lisp/ - Contains Scheme source files.
	- notes/ - Contains developer-facing documentation and design documents.
	- source/ - Contains C source files.
	- tests/ - Contains any tests for any programs in the repository.
2023-07-30 23:08:06 +01:00
Barra Ó Catháin facee564b5 Starting over, see old branch for old codebase 2023-07-30 22:23:25 +01:00
Barra Ó Catháin b83dfb7782 Merge branch 'dev' 2023-07-30 22:20:32 +01:00
Barra Ó Catháin 2059aa0b21 Starting again, see old branch for old codebase. 2023-07-30 22:18:23 +01:00
Barra Ó Catháin fe444ac8c8 Added a docstring explaining what shout does. 2023-04-15 23:46:56 +01:00
Barra Ó Catháin f488a4ac7c Add a comment explaining what shout does. 2023-04-15 23:46:06 +01:00
Barra Ó Catháin 191cf8fcdb Improved connection tutorial 2023-04-14 21:53:29 +01:00
Barra Ó Catháin fde867d25b Noted that GNU Guile is now required to build SilverMUD. 2023-04-14 21:35:38 +01:00
Barra Ó Catháin adfba9afe4 Documented /shout in Player's Guide 2023-04-14 21:34:27 +01:00
Barra Ó Catháin db00fc94a8 Why not both a REPL and a REPL server? 2023-04-13 03:00:28 +01:00
Barra Ó Catháin 70bdb879bf Remove debugging message. 2023-04-13 02:51:06 +01:00
Barra Ó Catháin a9c600219f Replaced the Guile REPL with a Guile REPL server for Emacs glory. 2023-04-13 02:42:22 +01:00
Barra Ó Catháin 7118d8e3d7 Add "shout" as an example of a scheme procedure. 2023-04-13 02:26:36 +01:00
Barra Ó Catháin f1673754bf Fix a typo in the makefile. 2023-04-13 02:26:12 +01:00
Barra Ó Catháin c032aa7dad Fix a segfault that happens when a client fails a handshake. 2023-04-13 02:25:43 +01:00
Barra Ó Catháin b3ef4c1bb9 Added a basic-functions scheme file.
I'll need a consistent way to load these files.
Perhaps I actually need a proper build system now.
Autotools, here we come?
2023-04-12 23:29:57 +01:00
Barra Ó Catháin 35b3e939f1 Fixed typo that causes the compile to fail. 2023-04-12 22:24:38 +01:00
Barra Ó Catháin 7b266bfc51 Enable readline for Guile and enable Guile for the game logic thread 2023-04-11 23:41:28 +01:00
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
Barra Ó Catháin 3419ef1804 Added scheme_create_area and scheme_create_path. 2023-04-11 13:27:54 +01:00
Barra Ó Catháin c9e19364d7 Switched from _exit to exit in the sigintHandler.
Not sure why I ended up with _exit. Perhaps an unlucky keypress, but it's the incorrect function to use in this case.
2023-04-11 11:56:57 +01:00
Barra Ó Catháin b5f2f44fcc Improved makefile.
- Makefile now doesn't hardcode gcc. (Whether SilverMUD is compiler agnostic remains to be seen.)
- The first target is now all, which compiles a "release" build.
- General cleanup, removal of duplicate variables, and commenting.
2023-04-11 11:33:36 +01:00
Barra Ó Catháin 7e1a94820d Added gitignore - took a while! 2023-04-11 11:16:29 +01:00
Barra Ó Catháin 6fd7f65326 Made SCM values use snake_case 2023-04-09 23:52:14 +01:00
Barra Ó Catháin ce74a78576 Added /talk to the manual, and added some rules about casing. 2023-04-08 23:23:24 +01:00
Barra Ó Catháin ce54fb8033 Added change-area-name to Scheme, and ensured strings are terminated 2023-04-07 22:49:15 +01:00
Barra Ó Catháin 8d4758bea1 Forgot to add to previous commit. 2023-04-07 22:13:45 +01:00
Barra Ó Catháin fd846c7744 Added change-area-description to the Scheme functions. 2023-04-07 22:13:26 +01:00
Barra Ó Catháin 4696a1ec32 Adedd some comments to schemeintegration.c 2023-04-06 23:09:20 +01:00
Barra Ó Catháin 6b01917c11 Added a message-everyone scheme function. 2023-04-05 21:34:57 +01:00
Barra Ó Catháin adc036a1ae Added create-skill to the Scheme intepreter. 2023-03-25 23:56:25 +00:00
Barra Ó Catháin 8dab8bfd06 Begin adding Scheme intepreretation.
We now have a scheme thread and a interpreter.
2023-03-25 21:38:00 +00:00
Barra Ó Catháin 995a177c37 Increased prompt reprint delay.
- The client's prompt now delays for twice as long to ensure that an updated prompt is displayed next.
2023-03-01 23:14:37 +00:00
Barra Ó Catháin 8f08265c52 Talking messages now appear in the chat log correctly.
- Added logic to properly add the relevant users in the correct order to ensure message delivery.
2023-02-27 20:00:50 +00:00
Barra Ó Catháin 84c20dfdbf Actually fixed it this time, and squashed some warnings. 2023-02-27 17:12:03 +00:00
Barra Ó Catháin f83c03aadf Fixed the name being sent to the wrong user's prompt while talking.
- The talking prompt was being sent to the receiving user, not the sending user.
2023-02-27 17:07:03 +00:00
Barra Ó Catháin 50f4e6c38a Forgot to pull.
Merge branch 'dev' of ssh://dunseverick.ocathain.ie:2222/barra/SilverMUD into dev
2023-02-27 16:39:05 +00:00
Barra Ó Catháin a99296e31e Added a list of players in the area to /look.
- /look now lists the current players in the area.
2023-02-27 16:35:32 +00:00
Barra Ó Catháin 408033d48a Talking now changes the prompt.
- The server will now change the prompt for a user who begins a conversation with another player to that player's name.
2023-02-26 00:16:07 +00:00
Barra Ó Catháin 8814a45c52 ALlowed for the server to change client prompt.
- The server can now send some data in the normally unused "senderName" field for a server mesasge.
- This will be set as the prompt for the client.
2023-02-25 23:04:35 +00:00
Barra Ó Catháin 0add957224 Changed from bzero to memset
- All instances of bzero have been replaced in an effort to make SilverMUD slightly easier to port.
2023-02-25 19:51:47 +00:00
Barra Ó Catháin 26a5496594 Added shouting.
- Players can now use /shout to send a message to the current room while talking.
- No longer adding unnecessary newlines to /talk.
2023-02-20 23:30:41 +00:00
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 6d209c5a40 Merging Alpha 0.5 to add the license as the repo is going public. 2023-02-19 11:32:57 +00:00
Barry Kane caa792de8d Added the AGPLv3 as the license, and renamed SilverMUD.org. 2023-02-19 11:28:16 +00:00
Barry Kane afedf15c63 Updated the evaluateNextCommand to use a hash instead of strncmp
- Added hashCommand.
- Refactored evaluateNextCommand to use hashCommand to jump to the correct functionality with a switch.
2023-02-19 00:32:03 +00:00
Barry Kane e6a13ed2ac Added a MOTD command-line option to SilverMUD Server.
- Added a message of the day option, -m, to SilverMUDServer.
- Adjusted the character delay to 800 in SilverMUDServer.
2023-02-17 15:05:49 +00:00
Barry Kane 9dabdcfba7 Oops, wrong word. Changed "try" to "talk." 2023-02-16 23:15:02 +00:00