From 312f505443c63ba2d68d1787fc5e061f455ebc5c Mon Sep 17 00:00:00 2001 From: UtoECat Date: Thu, 1 Feb 2024 04:32:06 +0300 Subject: [PATCH] little doc improvements --- base/readme.md | 12 ++++++++++++ engine/readme.md | 12 ++++++++++++ game/version.hpp | 6 +++--- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/base/readme.md b/base/readme.md index 4dce6cf..cc42ea7 100644 --- a/base/readme.md +++ b/base/readme.md @@ -11,3 +11,15 @@ functions/libraries/systems all over the place : - Constexpr Endian detection (TODO: may not work anymore on C++23) - Resources for multithreading (local to get resource, destruction does unlock mutex) - Scopeguard to add quick RAII types without much of boilerplate +- Highly used Base classes : + - Static - object is non-moable and non-copyable. Important when you keep references/pointers on it. + - Copyable - default one. Move and copy construction and assignment are allowed + - Moveable - only move construction and assignment are allowed + - Abstract (or virtual) - self explanotary. Used when RTTI is required or proper destruction. + - `Shared` - basically it's std::enable_shared_from_this + - Default (Deprecatd) - used in some places, == Moveable. Do not use it, should be removed soon +- HString - string with a hash inside. Kinda wonky, not always properly recalculates hash, but very useful +- locale-independent strtod() + +# todo +- Locale and implementation-independent vsnprintf() :p \ No newline at end of file diff --git a/engine/readme.md b/engine/readme.md index 05c52e8..d0a8bd8 100644 --- a/engine/readme.md +++ b/engine/readme.md @@ -1,3 +1,15 @@ # engine here are all basic game types and systems are placed + all unique stuff to make it work. Rendering is placed separately, because there should be no rendering on the server :) . + +## enet wrapper +todo + +## luau +todo in far future + +## database +basic sqlite wrapper with some useful functions + +## vfs +not implemented properly still. TODO: rename to asset manager \ No newline at end of file diff --git a/game/version.hpp b/game/version.hpp index 6730d40..cdc4a45 100644 --- a/game/version.hpp +++ b/game/version.hpp @@ -21,9 +21,9 @@ namespace pb { static constexpr int VERSION_MAJOR = 0; - static constexpr int VERSION_MINOR = 8; - static constexpr int VERSION_PATCH = 8; + static constexpr int VERSION_MINOR = 9; + static constexpr int VERSION_PATCH = 1; - static constexpr std::string VERSION_STR = "0.9.0"; + static constexpr std::string VERSION_STR = "0.9.1"; }; \ No newline at end of file