C++ MudBase 0.1 reviewDownload
C++ MudBase project is a small embryo of basic mudrelated functions that could be extended into a fullfeatured game
C++ MudBase project is a small embryo of basic mudrelated functions that could be extended into a fullfeatured game. It contains a basic map system with editor, a character definition, and an easy to extend command parser. The source code is released under the GNU GPL license.
The map consists of different areas. Each area consists of interlinked chunks with an absolute size which is the same for all chunks in the area. Chunks can be linked in all directions as well as up and down. Different areas can be linked together using portals. The C++ MudBase contains a basic map editor.
The character class contains only the information needed to support the map and editor function. Each character must also select a Race, which will determine in-game attributes such as sight.
The command parser
Each command is a C++ class which extends the Command class. When all necessary methods are implemented and the new class added to the global commands list, all parsing and help text generation is done automatically.
The Database Support
The C++ MudBase supports sqlite through the sqlitewrapped C++ wrapper. That wrapper also exists for MySQL and ODBC. The sqlite and MySQL wrappers are cross-platform. Database access classes are generated by sql2class, a sql to C++ code generator.
All socket communication is implemented using the C++ sockets library, which also is cross-platform.
SQL C++ code generator
C++ MudBase 0.1 search tags