Commit Graph

125 Commits

Author SHA1 Message Date
Barra Ó Catháin 81fc72a1d7 Added system messages to client and added welcome message from server. 2023-10-29 17:20:14 +00:00
Barra Ó Catháin a1b1b80449 Removed now unneeded placeholders, added stubs for "rulebooks" in documentation. 2023-09-12 23:25:44 +01:00
Barra Ó Catháin 54b613befe Basic implementation of player lists and tying connections to players 2023-09-12 22:32:19 +01:00
Barra Ó Catháin 5a53e9f197 Added basic player type containing a name, and made the server echo messages with player name. 2023-09-10 17:24:46 +01:00
Barra Ó Catháin 3fc75ef30f Basic message receiver, server now echoes messages to all clients. 2023-08-31 01:44:17 +01:00
Barra Ó Catháin b292966588 Fixed window height calculations. 2023-08-28 02:53:31 +01:00
Barra Ó Catháin 50dcddfc56 Initial ncurses setup, and layout of client. 2023-08-28 02:29:21 +01:00
Barra Ó Catháin c043da64a2 Modify server and client to begin using ClientToServer messages. 2023-08-26 00:48:28 +01:00
Barra Ó Catháin 0104a11a7e Added basic client capable of connecting to the server. 2023-08-25 00:34:05 +01:00
Barra Ó Catháin 080e46fe99 Set up GNU Autotools as build system. 2023-08-24 00:12:27 +01:00
Barra Ó Catháin 0814e437cd Basic connection handling (using previous version of client) 2023-08-22 02:02:29 +01:00
Barra Ó Catháin 9801be3622 Renamed src back to source, because I liked it better 2023-08-19 16:00:57 +01:00
Barra Ó Catháin e2ef744e87 Moved scheme initialization to main thread, added basic networking
The server can now listen on a port and send data to a client.
2023-08-19 00:18:03 +01:00
Barra Ó Catháin 8b0920c35d Added basic implemantation of message structures. 2023-08-18 00:45:24 +01:00
Barra Ó Catháin 6ed532c368 Added structure section. 2023-08-17 00:21:20 +01:00
Barra Ó Catháin 48f0858735 Began implementation planning document. 2023-08-17 00:14:40 +01:00
Barra Ó Catháin 32503cdbca Rename source/ to src/ for Autotools. 2023-08-14 03:15:37 +01:00
Barra Ó Catháin 2b488477f5 Added initial stubs for server.
- Server now launches a thread to initialize Scheme, and drops into a REPL.
2023-08-14 02:46:43 +01:00
Barra Ó Catháin 3189312340 Create placeholder files in client and server source. 2023-08-14 01:59:45 +01:00
Barra Ó Catháin 168740ec34 Finished initial design document. 2023-08-14 01:39:05 +01:00
Barra Ó Catháin aaf1221304 Added initial details on abilities. 2023-08-13 03:20:09 +01:00
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