Commit Graph

8 Commits

Author SHA1 Message Date
6618b0e0a2 [Add] Implement VFS permissions and ls -l 2025-11-04 21:11:43 +00:00
7b58ecc4d5 [Refactor] Simulate executable files in VFS. 2025-10-21 20:51:49 +01:00
4f5436f376 [Refactor] Implement in-memory VFS cache.
Refactors VFS to use a cetralised, in memory caching on the server. This
resolves performance and state sync issues from the previous
implementation.
2025-10-12 01:05:23 +01:00
2a50d937ea [Refactor] Abstract database logic with Repository classes. 2025-10-10 20:17:20 +01:00
e0ef512969 [Add] Make machine services persistant. 2025-10-08 19:06:29 +01:00
97b60488de [Add] Persistent VFS and database aware commands. 2025-10-07 00:05:40 +01:00
44ca427c0e [Add] Completed the persistance layer. 2025-10-06 20:41:22 +01:00
fce3b3aad6 [Add] Implement database persistance and Login UI.
[Build System]
- Integrate 'sqlite3' and 'sqlite_modern_cpp' using FetchContent.
- Enabled 'C' language to allow compilation of 'sqlite3' lib.

[Persistance]
- Adds a 'DatabaseManager' class to handle all SQLite operations.
- Creates a 'players' table on server startup.
- Server uses separate database for single-player 'bettola_sp.db' and
  'bettola.db'

[UI]
- Adds a new 'LoginScreen' UI.
- Game flow is now MainMenu -> LoginScreen -> bootSequence -> Desktop.
- 'LoginScreen' has interactive tabs to switch between "Login" and
  "Create Account" 'modes'.
- Full client-server communication for creating accounts and
  authentication.

[Server]
- Refactor 'NetworkManager' to handle an 'AUTHENTICATING' state for new
  connectiosn.
- Player state is only set to 'ACTIVE' after a successful login
2025-10-05 22:45:33 +01:00